Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-22 23:59:03.142234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.6344006061553955 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-22 23:59:32.141303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.827000379562378 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:00:02.594475
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5969758033752441 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:00:32.217169
no port, creating one or fotonower_config_path unavailable : /home/nano/.fotonower_config
new_name : Sevran_3025_23042025
 fc.token : e243aac39fb012c084cfefeb2a6a3641
True
0
2750420
0
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_45_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_35_9700.jpg', 2), ('/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_25_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_15_9742.jpg', 2), ('/home/nano/Desktop/images/22042025/23/59/image_23042025_00_00_05_9708.jpg', 2)]
{'portfolio_id': 22322020, 'actiontaken': ['Created new portfolio'], 'error': 'Photos id not exist !', 'updated_at': 1745359292000}
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_45_9715.jpg', '/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_35_9700.jpg', '/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_25_10721.jpg', '/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_15_9742.jpg', '/home/nano/Desktop/images/22042025/23/59/image_23042025_00_00_05_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_45_9715.jpg
/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_35_9700.jpg
/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_25_10721.jpg
/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_15_9742.jpg
/home/nano/Desktop/images/22042025/23/59/image_23042025_00_00_05_9708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352858968","1352858848","1352858938","1352858908","1352858877"],"photo_ids_order":["1352858848","1352858877","1352858908","1352858938","1352858968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f89157bfa21d21f380e6e7def9e5113.jpg","text":"TemporaryFile(/tmp/multipartBody8147292821994479329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359294914,"filename":"image_23042025_00_00_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50cda245d28eeca86c3d63e80a9384a2.jpg","text":"TemporaryFile(/tmp/multipartBody5604358832592718039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359294914,"filename":"image_23042025_00_00_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/161b8645f3fd2ee303f08979357e87c0.jpg","text":"TemporaryFile(/tmp/multipartBody3507618848470456028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359294914,"filename":"image_23042025_00_00_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eda269be5641d9261a7eb78affc24455.jpg","text":"TemporaryFile(/tmp/multipartBody6038190985036889789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359294914,"filename":"image_23042025_00_00_25_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10f332bb16e29aabbd9c3cad2f2167d5.jpg","text":"TemporaryFile(/tmp/multipartBody8137456926506009840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359294914,"filename":"image_23042025_00_00_35_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352858908","file1":"1352858877","file0":"1352858848","file4":"1352858968","file3":"1352858938"},"map_files_photo_id_array":[{"photo_id":"1352858908","filename":"file2"},{"photo_id":"1352858968","filename":"file4"},{"photo_id":"1352858877","filename":"file1"},{"photo_id":"1352858848","filename":"file0"},{"photo_id":"1352858938","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352858968":["hashtag1","hashtag2"]},{"1352858848":["hashtag1","hashtag2"]},{"1352858938":["hashtag1","hashtag2"]},{"1352858908":["hashtag1","hashtag2"]},{"1352858877":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352858968, 1352858848, 1352858938, 1352858908, 1352858877)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.723299026489258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:01:02.870637
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8347671031951904 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:01:32.321421
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_45_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_35_10709.jpg', 2), ('/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_25_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_15_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/00/00/image_23042025_00_01_05_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_55_10706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_45_9699.jpg', '/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_35_10709.jpg', '/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_25_9697.jpg', '/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_15_9720.jpg', '/home/nano/Desktop/images/23042025/00/00/image_23042025_00_01_05_9718.jpg', '/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_55_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_45_9699.jpg
/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_35_10709.jpg
/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_25_9697.jpg
/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_15_9720.jpg
/home/nano/Desktop/images/23042025/00/00/image_23042025_00_01_05_9718.jpg
/home/nano/Desktop/images/23042025/00/00/image_23042025_00_00_55_10706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352859587","1352859530","1352859295","1352859460","1352859352","1352859406"],"photo_ids_order":["1352859295","1352859352","1352859406","1352859460","1352859530","1352859587"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d017a6f05bb82a02e2ebfd80ce3dba2b.jpg","text":"TemporaryFile(/tmp/multipartBody4195966424840233258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359353745,"filename":"image_23042025_00_00_55_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/610a6f00cfe5d1c7e33da46c8bcc6260.jpg","text":"TemporaryFile(/tmp/multipartBody7480066230375155169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359353745,"filename":"image_23042025_00_01_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61c3d120fdebfa31b878898dc574d59e.jpg","text":"TemporaryFile(/tmp/multipartBody3436431527470407679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359353745,"filename":"image_23042025_00_01_45_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ec3f5f7507cfa24b3d35cff65297827.jpg","text":"TemporaryFile(/tmp/multipartBody5630983809419678804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359353745,"filename":"image_23042025_00_01_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d01740993db2f1e66ccb14510d869659.jpg","text":"TemporaryFile(/tmp/multipartBody6341953802946153049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359353745,"filename":"image_23042025_00_01_35_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2004f5572b6f7bfa403b225edaefa829.jpg","text":"TemporaryFile(/tmp/multipartBody5600775234593283465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359353745,"filename":"image_23042025_00_01_25_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352859406","file1":"1352859352","file0":"1352859295","file4":"1352859530","file5":"1352859587","file3":"1352859460"},"map_files_photo_id_array":[{"photo_id":"1352859587","filename":"file5"},{"photo_id":"1352859406","filename":"file2"},{"photo_id":"1352859530","filename":"file4"},{"photo_id":"1352859352","filename":"file1"},{"photo_id":"1352859295","filename":"file0"},{"photo_id":"1352859460","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352859587":["hashtag1","hashtag2"]},{"1352859530":["hashtag1","hashtag2"]},{"1352859295":["hashtag1","hashtag2"]},{"1352859460":["hashtag1","hashtag2"]},{"1352859352":["hashtag1","hashtag2"]},{"1352859406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352859587, 1352859530, 1352859295, 1352859460, 1352859352, 1352859406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13712430000305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:02:32.451230
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_45_10713.jpg', 2), ('/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_35_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_15_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/00/01/image_23042025_00_02_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_55_9697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_45_10713.jpg', '/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_35_9727.jpg', '/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_25_9708.jpg', '/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_15_9714.jpg', '/home/nano/Desktop/images/23042025/00/01/image_23042025_00_02_05_10719.jpg', '/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_45_10713.jpg
/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_35_9727.jpg
/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_25_9708.jpg
/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_15_9714.jpg
/home/nano/Desktop/images/23042025/00/01/image_23042025_00_02_05_10719.jpg
/home/nano/Desktop/images/23042025/00/01/image_23042025_00_01_55_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352860314","1352860427","1352860590","1352860371","1352860533","1352860236"],"photo_ids_order":["1352860236","1352860314","1352860371","1352860427","1352860533","1352860590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a95001b7b339e86eaed2b401e9959b24.jpg","text":"TemporaryFile(/tmp/multipartBody7150335499740675362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359414025,"filename":"image_23042025_00_02_35_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f044dc996b10f6ff4f5bb1b994b7cc1b.jpg","text":"TemporaryFile(/tmp/multipartBody9045386505658613043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359414025,"filename":"image_23042025_00_02_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9a36524d2f609307b2257126c76e8d3.jpg","text":"TemporaryFile(/tmp/multipartBody5422732685181716391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359414025,"filename":"image_23042025_00_01_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0197873ecb75e0700157da36611fba2.jpg","text":"TemporaryFile(/tmp/multipartBody695636577753507135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359414025,"filename":"image_23042025_00_02_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5cff8bad435ab733288a3afbaccac781.jpg","text":"TemporaryFile(/tmp/multipartBody6967374078584630816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359414025,"filename":"image_23042025_00_02_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0046e7126e6096d715a894998e634eb1.jpg","text":"TemporaryFile(/tmp/multipartBody8970799901010539512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359414025,"filename":"image_23042025_00_02_45_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352860371","file1":"1352860314","file0":"1352860236","file4":"1352860533","file5":"1352860590","file3":"1352860427"},"map_files_photo_id_array":[{"photo_id":"1352860590","filename":"file5"},{"photo_id":"1352860371","filename":"file2"},{"photo_id":"1352860533","filename":"file4"},{"photo_id":"1352860314","filename":"file1"},{"photo_id":"1352860236","filename":"file0"},{"photo_id":"1352860427","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352860314":["hashtag1","hashtag2"]},{"1352860427":["hashtag1","hashtag2"]},{"1352860590":["hashtag1","hashtag2"]},{"1352860371":["hashtag1","hashtag2"]},{"1352860533":["hashtag1","hashtag2"]},{"1352860236":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352860314, 1352860427, 1352860590, 1352860371, 1352860533, 1352860236)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.08103942871094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:03:32.559878
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_15_10755.jpg', 2), ('/home/nano/Desktop/images/23042025/00/02/image_23042025_00_03_05_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_45_9708.jpg', '/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_35_9707.jpg', '/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_25_9707.jpg', '/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_15_10755.jpg', '/home/nano/Desktop/images/23042025/00/02/image_23042025_00_03_05_9710.jpg', '/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_45_9708.jpg
/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_35_9707.jpg
/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_25_9707.jpg
/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_15_10755.jpg
/home/nano/Desktop/images/23042025/00/02/image_23042025_00_03_05_9710.jpg
/home/nano/Desktop/images/23042025/00/02/image_23042025_00_02_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352861318","1352861249","1352861545","1352861461","1352861394","1352861195"],"photo_ids_order":["1352861195","1352861249","1352861318","1352861394","1352861461","1352861545"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cc0dc192d85281f183ee2f9a759ee12.jpg","text":"TemporaryFile(/tmp/multipartBody3843144540528656738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359473893,"filename":"image_23042025_00_03_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4defe9fa6d5ff56942db13862ca5881c.jpg","text":"TemporaryFile(/tmp/multipartBody687228511658096477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359473893,"filename":"image_23042025_00_03_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8142f099bc2d6abad8db697e73128c71.jpg","text":"TemporaryFile(/tmp/multipartBody1603295425703515867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359473893,"filename":"image_23042025_00_02_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de528e46d07d9d3660c74bd56bfbf4e2.jpg","text":"TemporaryFile(/tmp/multipartBody4502798553940936265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359473893,"filename":"image_23042025_00_03_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a4e8b859cfdf7c72badf7874aed4cd2.jpg","text":"TemporaryFile(/tmp/multipartBody1205094701479111002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359473893,"filename":"image_23042025_00_03_15_10755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/022eb8fbb1ffd6354f55ed3fe2a38cef.jpg","text":"TemporaryFile(/tmp/multipartBody20862359548462018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359473893,"filename":"image_23042025_00_03_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352861318","file1":"1352861249","file0":"1352861195","file4":"1352861461","file5":"1352861545","file3":"1352861394"},"map_files_photo_id_array":[{"photo_id":"1352861545","filename":"file5"},{"photo_id":"1352861318","filename":"file2"},{"photo_id":"1352861461","filename":"file4"},{"photo_id":"1352861249","filename":"file1"},{"photo_id":"1352861195","filename":"file0"},{"photo_id":"1352861394","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352861318":["hashtag1","hashtag2"]},{"1352861249":["hashtag1","hashtag2"]},{"1352861545":["hashtag1","hashtag2"]},{"1352861461":["hashtag1","hashtag2"]},{"1352861394":["hashtag1","hashtag2"]},{"1352861195":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352861318, 1352861249, 1352861545, 1352861461, 1352861394, 1352861195)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.250648975372314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:04:32.632054
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_25_10736.jpg', 2), ('/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_15_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/00/03/image_23042025_00_04_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_55_10717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_45_9706.jpg', '/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_35_9707.jpg', '/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_25_10736.jpg', '/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_15_9730.jpg', '/home/nano/Desktop/images/23042025/00/03/image_23042025_00_04_05_9720.jpg', '/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_55_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_45_9706.jpg
/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_35_9707.jpg
/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_25_10736.jpg
/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_15_9730.jpg
/home/nano/Desktop/images/23042025/00/03/image_23042025_00_04_05_9720.jpg
/home/nano/Desktop/images/23042025/00/03/image_23042025_00_03_55_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352861954","1352861971","1352861974","1352861860","1352861926","1352861895"],"photo_ids_order":["1352861860","1352861895","1352861926","1352861954","1352861971","1352861974"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1185d461bec3168ce89d8a70d41f3e07.jpg","text":"TemporaryFile(/tmp/multipartBody8714027466840706697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359534222,"filename":"image_23042025_00_04_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79575040993578b70fcb9827eb4e11a8.jpg","text":"TemporaryFile(/tmp/multipartBody139055960387659802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359534222,"filename":"image_23042025_00_04_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d67e0b55a44288bc98ce55ffe882db06.jpg","text":"TemporaryFile(/tmp/multipartBody5216517033160544916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359534222,"filename":"image_23042025_00_03_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17b58b349b5e66bfcbbb7231d9273b20.jpg","text":"TemporaryFile(/tmp/multipartBody8159753605199125003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359534222,"filename":"image_23042025_00_04_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d84e3df49010e37c6d2f73220d57d178.jpg","text":"TemporaryFile(/tmp/multipartBody6166372191691600980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359534222,"filename":"image_23042025_00_04_25_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a36546ccbcdb2c1c7fe4190062d9af0f.jpg","text":"TemporaryFile(/tmp/multipartBody2336187080977602102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359534222,"filename":"image_23042025_00_04_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352861926","file1":"1352861895","file0":"1352861860","file4":"1352861971","file5":"1352861974","file3":"1352861954"},"map_files_photo_id_array":[{"photo_id":"1352861974","filename":"file5"},{"photo_id":"1352861926","filename":"file2"},{"photo_id":"1352861971","filename":"file4"},{"photo_id":"1352861895","filename":"file1"},{"photo_id":"1352861860","filename":"file0"},{"photo_id":"1352861954","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352861954":["hashtag1","hashtag2"]},{"1352861971":["hashtag1","hashtag2"]},{"1352861974":["hashtag1","hashtag2"]},{"1352861860":["hashtag1","hashtag2"]},{"1352861926":["hashtag1","hashtag2"]},{"1352861895":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352861954, 1352861971, 1352861974, 1352861860, 1352861926, 1352861895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.966904163360596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:05:32.736078
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_15_9756.jpg', 2), ('/home/nano/Desktop/images/23042025/00/04/image_23042025_00_05_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_35_10716.jpg', '/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_25_9704.jpg', '/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_15_9756.jpg', '/home/nano/Desktop/images/23042025/00/04/image_23042025_00_05_05_10719.jpg', '/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_35_10716.jpg
/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_25_9704.jpg
/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_15_9756.jpg
/home/nano/Desktop/images/23042025/00/04/image_23042025_00_05_05_10719.jpg
/home/nano/Desktop/images/23042025/00/04/image_23042025_00_04_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352862196","1352862107","1352862226","1352862138","1352862167"],"photo_ids_order":["1352862107","1352862138","1352862167","1352862196","1352862226"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae7623683e23569ad7782a0f2b0f5249.jpg","text":"TemporaryFile(/tmp/multipartBody7512270499736658969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359594373,"filename":"image_23042025_00_05_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45ed9f6b744d003ae66215026e01d19a.jpg","text":"TemporaryFile(/tmp/multipartBody7046476250237246309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359594373,"filename":"image_23042025_00_05_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/062ebfe1a3ff0ae9910c3bb1940b2127.jpg","text":"TemporaryFile(/tmp/multipartBody7674146089793245219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359594373,"filename":"image_23042025_00_04_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/945a97fe5a9587632a6c155f19b780db.jpg","text":"TemporaryFile(/tmp/multipartBody5747786082532185245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359594373,"filename":"image_23042025_00_05_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57bdf4dc05800ff294ad933c942d06bc.jpg","text":"TemporaryFile(/tmp/multipartBody8747001848359170609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359594373,"filename":"image_23042025_00_05_15_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352862167","file1":"1352862138","file0":"1352862107","file4":"1352862226","file3":"1352862196"},"map_files_photo_id_array":[{"photo_id":"1352862167","filename":"file2"},{"photo_id":"1352862226","filename":"file4"},{"photo_id":"1352862138","filename":"file1"},{"photo_id":"1352862107","filename":"file0"},{"photo_id":"1352862196","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352862196":["hashtag1","hashtag2"]},{"1352862107":["hashtag1","hashtag2"]},{"1352862226":["hashtag1","hashtag2"]},{"1352862138":["hashtag1","hashtag2"]},{"1352862167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352862196, 1352862107, 1352862226, 1352862138, 1352862167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.880452871322632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:06:02.206620
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8476636409759521 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:06:31.863132
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_25_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_15_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/00/05/image_23042025_00_06_05_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_45_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_35_9707.jpg', '/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_25_9725.jpg', '/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_15_10745.jpg', '/home/nano/Desktop/images/23042025/00/05/image_23042025_00_06_05_9709.jpg', '/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_45_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_35_9707.jpg
/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_25_9725.jpg
/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_15_10745.jpg
/home/nano/Desktop/images/23042025/00/05/image_23042025_00_06_05_9709.jpg
/home/nano/Desktop/images/23042025/00/05/image_23042025_00_05_45_9724.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352862623","1352862676","1352862539","1352862569","1352862509"],"photo_ids_order":["1352862509","1352862539","1352862569","1352862623","1352862676"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc87435734c6334c8ee1f1c9d018c856.jpg","text":"TemporaryFile(/tmp/multipartBody6761363019025929655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359653238,"filename":"image_23042025_00_06_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a12f5efeb0b1e4b38e3c8fe3a68ab44.jpg","text":"TemporaryFile(/tmp/multipartBody4103386609101571281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359653238,"filename":"image_23042025_00_05_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b6726e53ea6a1b00439af45dd9f67e4.jpg","text":"TemporaryFile(/tmp/multipartBody1670852204707460977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359653238,"filename":"image_23042025_00_06_25_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4623ea705f5941941f41744675623e67.jpg","text":"TemporaryFile(/tmp/multipartBody4663541962760353228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359653238,"filename":"image_23042025_00_06_15_10745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bd7859ce0be1833a18d26102adc1f73.jpg","text":"TemporaryFile(/tmp/multipartBody7142768242799035273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359653238,"filename":"image_23042025_00_06_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352862569","file1":"1352862539","file0":"1352862509","file4":"1352862676","file3":"1352862623"},"map_files_photo_id_array":[{"photo_id":"1352862569","filename":"file2"},{"photo_id":"1352862676","filename":"file4"},{"photo_id":"1352862539","filename":"file1"},{"photo_id":"1352862509","filename":"file0"},{"photo_id":"1352862623","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352862623":["hashtag1","hashtag2"]},{"1352862676":["hashtag1","hashtag2"]},{"1352862539":["hashtag1","hashtag2"]},{"1352862569":["hashtag1","hashtag2"]},{"1352862509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352862623, 1352862676, 1352862539, 1352862569, 1352862509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.155578136444092 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:07:02.390831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8875210285186768 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:07:31.937266
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/06/image_23042025_00_07_05_9743.jpg', 2), ('/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/06/image_23042025_00_07_05_9743.jpg', '/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/06/image_23042025_00_07_05_9743.jpg
/home/nano/Desktop/images/23042025/00/06/image_23042025_00_06_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352862922","1352862919"],"photo_ids_order":["1352862919","1352862922"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a31666c6516d88d76e3e5590cc68a3a7.jpg","text":"TemporaryFile(/tmp/multipartBody8889019842297266371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359713050,"filename":"image_23042025_00_06_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98d60c96a50b941036e48c71dc8882b6.jpg","text":"TemporaryFile(/tmp/multipartBody1929233192568239584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359713050,"filename":"image_23042025_00_07_05_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352862922","file0":"1352862919"},"map_files_photo_id_array":[{"photo_id":"1352862922","filename":"file1"},{"photo_id":"1352862919","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352862922":["hashtag1","hashtag2"]},{"1352862919":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352862922, 1352862919)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.00148296356201 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:08:02.282958
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7512931823730469 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:08:32.036680
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/07/image_23042025_00_07_15_9728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/07/image_23042025_00_07_15_9728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/07/image_23042025_00_07_15_9728.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352863040"],"photo_id":"1352863040","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ce86c7cd876bb07c634ba49e9272971.jpg","text":"TemporaryFile(/tmp/multipartBody4713029290028747367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359772611,"filename":"image_23042025_00_07_15_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352863040"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352863040"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.706974983215332 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:09:02.949350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6689724922180176 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:09:32.120310
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_35_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_25_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/00/08/image_23042025_00_08_25_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_35_9560.jpg', '/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_25_9573.jpg', '/home/nano/Desktop/images/23042025/00/08/image_23042025_00_08_25_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_35_9560.jpg
/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_25_9573.jpg
/home/nano/Desktop/images/23042025/00/08/image_23042025_00_08_25_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352863135","1352863145","1352863142"],"photo_ids_order":["1352863135","1352863142","1352863145"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3d83b2f6d42f68976f77f901d681bc2.jpg","text":"TemporaryFile(/tmp/multipartBody54715804028505675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359832845,"filename":"image_23042025_00_09_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aaf0ce80ebf2e9f8d1864113727b55c0.jpg","text":"TemporaryFile(/tmp/multipartBody6230454017593786410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359832845,"filename":"image_23042025_00_08_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d0e669f7590a80f67fc4bee0e1dff50.jpg","text":"TemporaryFile(/tmp/multipartBody4739614841551127296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359832845,"filename":"image_23042025_00_09_25_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352863145","file1":"1352863142","file0":"1352863135"},"map_files_photo_id_array":[{"photo_id":"1352863145","filename":"file2"},{"photo_id":"1352863142","filename":"file1"},{"photo_id":"1352863135","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352863135":["hashtag1","hashtag2"]},{"1352863145":["hashtag1","hashtag2"]},{"1352863142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352863135, 1352863145, 1352863142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.284472942352295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:10:02.424280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8358798027038574 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:10:32.209896
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_45_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_35_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_24_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_45_9565.jpg', '/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_35_10575.jpg', '/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_24_9565.jpg', '/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_45_9565.jpg
/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_35_10575.jpg
/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_24_9565.jpg
/home/nano/Desktop/images/23042025/00/09/image_23042025_00_09_55_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352863285","1352863279","1352863254","1352863261"],"photo_ids_order":["1352863254","1352863261","1352863279","1352863285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e85ef9c848754744e30cac14422481b.jpg","text":"TemporaryFile(/tmp/multipartBody4642776027706248088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359893252,"filename":"image_23042025_00_09_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/601da68669ff23810926cbd20d4777a8.jpg","text":"TemporaryFile(/tmp/multipartBody2858188236850183328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359893252,"filename":"image_23042025_00_10_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99e98cbb02213b736b5496a1f7b4a8d0.jpg","text":"TemporaryFile(/tmp/multipartBody6538306595088793642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359893252,"filename":"image_23042025_00_10_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cecf86ae2a2a2652ff7c96cbe13d37f.jpg","text":"TemporaryFile(/tmp/multipartBody7562740240914481448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359893252,"filename":"image_23042025_00_10_35_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352863279","file1":"1352863261","file0":"1352863254","file3":"1352863285"},"map_files_photo_id_array":[{"photo_id":"1352863279","filename":"file2"},{"photo_id":"1352863261","filename":"file1"},{"photo_id":"1352863254","filename":"file0"},{"photo_id":"1352863285","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352863285":["hashtag1","hashtag2"]},{"1352863279":["hashtag1","hashtag2"]},{"1352863254":["hashtag1","hashtag2"]},{"1352863261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352863285, 1352863279, 1352863254, 1352863261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.7952024936676 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:11:32.298812
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_45_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/00/10/image_23042025_00_11_05_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_45_10575.jpg', '/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_35_9565.jpg', '/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_25_9562.jpg', '/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_15_10593.jpg', '/home/nano/Desktop/images/23042025/00/10/image_23042025_00_11_05_9575.jpg', '/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_45_10575.jpg
/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_35_9565.jpg
/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_25_9562.jpg
/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_15_10593.jpg
/home/nano/Desktop/images/23042025/00/10/image_23042025_00_11_05_9575.jpg
/home/nano/Desktop/images/23042025/00/10/image_23042025_00_10_55_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352863600","1352863512","1352863559","1352863436","1352863474","1352863354"],"photo_ids_order":["1352863354","1352863436","1352863474","1352863512","1352863559","1352863600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dae80f9106d0656cb939e09ea1b8d2c.jpg","text":"TemporaryFile(/tmp/multipartBody741637864663150642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359953362,"filename":"image_23042025_00_10_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85ffa4afa9a103780198421157926eba.jpg","text":"TemporaryFile(/tmp/multipartBody5487019651822345584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359953362,"filename":"image_23042025_00_11_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/743ebd241ecf31b81d1b8673472e32d8.jpg","text":"TemporaryFile(/tmp/multipartBody4806371524279582990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359953362,"filename":"image_23042025_00_11_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/755d3bcc2fbf87c8eab3ef750a9900c2.jpg","text":"TemporaryFile(/tmp/multipartBody8732656617562623526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359953362,"filename":"image_23042025_00_11_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d149e23c44c88a0852d86db1e724abb1.jpg","text":"TemporaryFile(/tmp/multipartBody2954501048390980258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359953362,"filename":"image_23042025_00_11_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d5707059ff064d6357822524e3d7dd8.jpg","text":"TemporaryFile(/tmp/multipartBody6303693254643147042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745359953362,"filename":"image_23042025_00_11_45_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352863474","file1":"1352863436","file0":"1352863354","file4":"1352863559","file5":"1352863600","file3":"1352863512"},"map_files_photo_id_array":[{"photo_id":"1352863600","filename":"file5"},{"photo_id":"1352863474","filename":"file2"},{"photo_id":"1352863559","filename":"file4"},{"photo_id":"1352863436","filename":"file1"},{"photo_id":"1352863354","filename":"file0"},{"photo_id":"1352863512","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352863600":["hashtag1","hashtag2"]},{"1352863512":["hashtag1","hashtag2"]},{"1352863559":["hashtag1","hashtag2"]},{"1352863436":["hashtag1","hashtag2"]},{"1352863474":["hashtag1","hashtag2"]},{"1352863354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352863600, 1352863512, 1352863559, 1352863436, 1352863474, 1352863354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.012022256851196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:12:32.402212
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_45_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_55_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_45_9577.jpg', '/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_25_10575.jpg', '/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_15_9564.jpg', '/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_55_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_45_9577.jpg
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_25_10575.jpg
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_15_9564.jpg
/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_55_9565.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5319674015045166 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:13:03.126711
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_45_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_55_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_45_9577.jpg', '/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_25_10575.jpg', '/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_15_9564.jpg', '/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_55_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_45_9577.jpg
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_25_10575.jpg
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_15_9564.jpg
/home/nano/Desktop/images/23042025/00/11/image_23042025_00_11_55_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352864100","1352864030","1352864050","1352864023"],"photo_ids_order":["1352864023","1352864030","1352864050","1352864100"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37efe90f21dc25c0ee69580b1c58c5dd.jpg","text":"TemporaryFile(/tmp/multipartBody2782544579860765415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360044017,"filename":"image_23042025_00_11_55_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4d0962ac56482b9b775c7a7bad9c3a6.jpg","text":"TemporaryFile(/tmp/multipartBody758721536967510585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360044017,"filename":"image_23042025_00_12_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a97106688bd375228dc212c824e653ad.jpg","text":"TemporaryFile(/tmp/multipartBody7049783582276968189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360044017,"filename":"image_23042025_00_12_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7215857918cc807a4e700d5d5ac1119.jpg","text":"TemporaryFile(/tmp/multipartBody8994127456446462700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360044017,"filename":"image_23042025_00_12_45_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352864050","file1":"1352864030","file0":"1352864023","file3":"1352864100"},"map_files_photo_id_array":[{"photo_id":"1352864050","filename":"file2"},{"photo_id":"1352864030","filename":"file1"},{"photo_id":"1352864023","filename":"file0"},{"photo_id":"1352864100","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352864100":["hashtag1","hashtag2"]},{"1352864030":["hashtag1","hashtag2"]},{"1352864050":["hashtag1","hashtag2"]},{"1352864023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352864100, 1352864030, 1352864050, 1352864023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.379982233047485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:13:32.512100
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_13_05_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_45_9562.jpg', '/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_25_9562.jpg', '/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_15_10594.jpg', '/home/nano/Desktop/images/23042025/00/12/image_23042025_00_13_05_9578.jpg', '/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_45_9562.jpg
/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_25_9562.jpg
/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_15_10594.jpg
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_13_05_9578.jpg
/home/nano/Desktop/images/23042025/00/12/image_23042025_00_12_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352864361","1352864281","1352864254","1352864356","1352864338"],"photo_ids_order":["1352864254","1352864281","1352864338","1352864356","1352864361"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/330ab60b4a5847b83e7f0e1995d432c1.jpg","text":"TemporaryFile(/tmp/multipartBody1421194413670686199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360073470,"filename":"image_23042025_00_12_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb21905e35b3a4b2211feb0abf494ae2.jpg","text":"TemporaryFile(/tmp/multipartBody4790985565468692779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360073470,"filename":"image_23042025_00_13_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2b0da34e69cc26aefbcdea64d83147f.jpg","text":"TemporaryFile(/tmp/multipartBody5890132435477976632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360073470,"filename":"image_23042025_00_13_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed77514cc863901d4aa081a840bd4c6b.jpg","text":"TemporaryFile(/tmp/multipartBody3114004493253328889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360073470,"filename":"image_23042025_00_13_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8b31bbdf4884e2e0a35abf2657adee5.jpg","text":"TemporaryFile(/tmp/multipartBody3087135968102311038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360073470,"filename":"image_23042025_00_13_15_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352864338","file1":"1352864281","file0":"1352864254","file4":"1352864361","file3":"1352864356"},"map_files_photo_id_array":[{"photo_id":"1352864338","filename":"file2"},{"photo_id":"1352864361","filename":"file4"},{"photo_id":"1352864281","filename":"file1"},{"photo_id":"1352864254","filename":"file0"},{"photo_id":"1352864356","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352864361":["hashtag1","hashtag2"]},{"1352864281":["hashtag1","hashtag2"]},{"1352864254":["hashtag1","hashtag2"]},{"1352864356":["hashtag1","hashtag2"]},{"1352864338":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352864361, 1352864281, 1352864254, 1352864356, 1352864338)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.357077836990356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:14:03.166917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.017345666885376 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:14:32.608353
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_45_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_15_9588.jpg', 2), ('/home/nano/Desktop/images/23042025/00/13/image_23042025_00_14_05_10577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_45_10575.jpg', '/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_15_9588.jpg', '/home/nano/Desktop/images/23042025/00/13/image_23042025_00_14_05_10577.jpg', '/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_45_10575.jpg
/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_15_9588.jpg
/home/nano/Desktop/images/23042025/00/13/image_23042025_00_14_05_10577.jpg
/home/nano/Desktop/images/23042025/00/13/image_23042025_00_13_55_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352864419","1352864427","1352864423","1352864432"],"photo_ids_order":["1352864419","1352864423","1352864427","1352864432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11f60e068034a481a520a7d5f082614b.jpg","text":"TemporaryFile(/tmp/multipartBody5162128687221780543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360133342,"filename":"image_23042025_00_14_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9de929ebd4afbafd141b73d46bb3922.jpg","text":"TemporaryFile(/tmp/multipartBody7441923907377275817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360133342,"filename":"image_23042025_00_14_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a946252c2b295eaa59ed5f16e3421674.jpg","text":"TemporaryFile(/tmp/multipartBody1755769668016389893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360133342,"filename":"image_23042025_00_14_15_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/becfd7946c09adae21f46f29b0730321.jpg","text":"TemporaryFile(/tmp/multipartBody5165208877132027232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360133342,"filename":"image_23042025_00_13_55_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352864427","file1":"1352864423","file0":"1352864419","file3":"1352864432"},"map_files_photo_id_array":[{"photo_id":"1352864427","filename":"file2"},{"photo_id":"1352864423","filename":"file1"},{"photo_id":"1352864419","filename":"file0"},{"photo_id":"1352864432","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352864419":["hashtag1","hashtag2"]},{"1352864427":["hashtag1","hashtag2"]},{"1352864423":["hashtag1","hashtag2"]},{"1352864432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352864419, 1352864427, 1352864423, 1352864432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.612980604171753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:15:03.251760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.626783847808838 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:15:32.745073
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_45_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/00/14/image_23042025_00_15_05_9602.jpg', 2), ('/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_35_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_45_9577.jpg', '/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_25_9563.jpg', '/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_15_10593.jpg', '/home/nano/Desktop/images/23042025/00/14/image_23042025_00_15_05_9602.jpg', '/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_35_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_45_9577.jpg
/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_25_9563.jpg
/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_15_10593.jpg
/home/nano/Desktop/images/23042025/00/14/image_23042025_00_15_05_9602.jpg
/home/nano/Desktop/images/23042025/00/14/image_23042025_00_14_35_9579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352864493","1352864456","1352864525","1352864464","1352864458"],"photo_ids_order":["1352864456","1352864458","1352864464","1352864493","1352864525"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf0dd02fb994e9f6a29bb41dd7e2961a.jpg","text":"TemporaryFile(/tmp/multipartBody2541266579517221148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360193420,"filename":"image_23042025_00_15_05_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f15685250fd1cf6ca744141eaf867cb0.jpg","text":"TemporaryFile(/tmp/multipartBody1087676114205342440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360193420,"filename":"image_23042025_00_15_45_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7701f43026be847b2261736659140267.jpg","text":"TemporaryFile(/tmp/multipartBody4936329993112607374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360193420,"filename":"image_23042025_00_14_35_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2df4ac3e908f2e5f720821e2609d2dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2826694498562731607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360193420,"filename":"image_23042025_00_15_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38dfd30d2c15151ea9520edd503f6779.jpg","text":"TemporaryFile(/tmp/multipartBody8257350990776881606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360193420,"filename":"image_23042025_00_15_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352864464","file1":"1352864458","file0":"1352864456","file4":"1352864525","file3":"1352864493"},"map_files_photo_id_array":[{"photo_id":"1352864464","filename":"file2"},{"photo_id":"1352864525","filename":"file4"},{"photo_id":"1352864458","filename":"file1"},{"photo_id":"1352864456","filename":"file0"},{"photo_id":"1352864493","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352864493":["hashtag1","hashtag2"]},{"1352864456":["hashtag1","hashtag2"]},{"1352864525":["hashtag1","hashtag2"]},{"1352864464":["hashtag1","hashtag2"]},{"1352864458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352864493, 1352864456, 1352864525, 1352864464, 1352864458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.74924945831299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:16:02.152577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5005407333374023 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:16:31.847793
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/16/image_23042025_00_16_45_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/00/15/image_23042025_00_16_05_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/16/image_23042025_00_16_45_10589.jpg', '/home/nano/Desktop/images/23042025/00/15/image_23042025_00_16_05_9577.jpg', '/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/16/image_23042025_00_16_45_10589.jpg
/home/nano/Desktop/images/23042025/00/15/image_23042025_00_16_05_9577.jpg
/home/nano/Desktop/images/23042025/00/15/image_23042025_00_15_55_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352865098","1352865029","1352864953"],"photo_ids_order":["1352864953","1352865029","1352865098"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e20c61fa5ac8731de9dabfa564de215.jpg","text":"TemporaryFile(/tmp/multipartBody181548729210936108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360252599,"filename":"image_23042025_00_15_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ade22a5a9e7365203eddce42cedf0b79.jpg","text":"TemporaryFile(/tmp/multipartBody3137073778225869904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360252599,"filename":"image_23042025_00_16_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33c9f3ce7dbfe789495a1804a04ff021.jpg","text":"TemporaryFile(/tmp/multipartBody8247795325834113578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360252599,"filename":"image_23042025_00_16_45_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352865098","file1":"1352865029","file0":"1352864953"},"map_files_photo_id_array":[{"photo_id":"1352865098","filename":"file2"},{"photo_id":"1352865029","filename":"file1"},{"photo_id":"1352864953","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352865098":["hashtag1","hashtag2"]},{"1352865029":["hashtag1","hashtag2"]},{"1352864953":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352865098, 1352865029, 1352864953)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.55217146873474 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:17:02.439860
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7444789409637451 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:17:31.944511
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_45_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_25_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_15_10598.jpg', 2), ('/home/nano/Desktop/images/23042025/00/16/image_23042025_00_16_55_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_45_9583.jpg', '/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_25_9581.jpg', '/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_15_10598.jpg', '/home/nano/Desktop/images/23042025/00/16/image_23042025_00_16_55_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_45_9583.jpg
/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_25_9581.jpg
/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_15_10598.jpg
/home/nano/Desktop/images/23042025/00/16/image_23042025_00_16_55_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352865501","1352865491","1352865371","1352865421"],"photo_ids_order":["1352865371","1352865421","1352865491","1352865501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95f5ca049cad995b5ed460fffadd8d95.jpg","text":"TemporaryFile(/tmp/multipartBody6784574193454112156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360312732,"filename":"image_23042025_00_16_55_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e436a44ce8e8935609e6e0af26c4611c.jpg","text":"TemporaryFile(/tmp/multipartBody5463723563364146095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360312732,"filename":"image_23042025_00_17_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a50fc31e570e172ec83a461440fda9f.jpg","text":"TemporaryFile(/tmp/multipartBody3219872264690054353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360312732,"filename":"image_23042025_00_17_45_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d837be29759b932f6e46511df11f3414.jpg","text":"TemporaryFile(/tmp/multipartBody3129207852311047167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360312732,"filename":"image_23042025_00_17_25_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352865491","file1":"1352865421","file0":"1352865371","file3":"1352865501"},"map_files_photo_id_array":[{"photo_id":"1352865491","filename":"file2"},{"photo_id":"1352865421","filename":"file1"},{"photo_id":"1352865371","filename":"file0"},{"photo_id":"1352865501","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352865501":["hashtag1","hashtag2"]},{"1352865491":["hashtag1","hashtag2"]},{"1352865371":["hashtag1","hashtag2"]},{"1352865421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352865501, 1352865491, 1352865371, 1352865421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.80733370780945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:18:02.330782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6296484470367432 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:18:32.032025
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_25_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_15_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/00/17/image_23042025_00_18_05_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_45_10574.jpg', '/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_35_9565.jpg', '/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_25_10588.jpg', '/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_15_9572.jpg', '/home/nano/Desktop/images/23042025/00/17/image_23042025_00_18_05_9577.jpg', '/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_45_10574.jpg
/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_35_9565.jpg
/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_25_10588.jpg
/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_15_9572.jpg
/home/nano/Desktop/images/23042025/00/17/image_23042025_00_18_05_9577.jpg
/home/nano/Desktop/images/23042025/00/17/image_23042025_00_17_55_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352866419","1352866187","1352866325","1352866229","1352866057","1352866391"],"photo_ids_order":["1352866057","1352866187","1352866229","1352866325","1352866391","1352866419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd955a57698121eabb629e411dc037b9.jpg","text":"TemporaryFile(/tmp/multipartBody8711055783558852576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360372966,"filename":"image_23042025_00_17_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba818347be168a4d1f7d862b82bdf505.jpg","text":"TemporaryFile(/tmp/multipartBody5258501617223948196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360372966,"filename":"image_23042025_00_18_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7956d0968015b55cc9d829b18d3ecd8.jpg","text":"TemporaryFile(/tmp/multipartBody569912627871460381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360372966,"filename":"image_23042025_00_18_15_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56c25a47bd4dbb38f793668620fff816.jpg","text":"TemporaryFile(/tmp/multipartBody4564421454848898907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360372966,"filename":"image_23042025_00_18_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/491bfffffdeef036816e678736d60137.jpg","text":"TemporaryFile(/tmp/multipartBody2538721894038808981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360372966,"filename":"image_23042025_00_18_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33da230033194719c09fa0df55ad63ed.jpg","text":"TemporaryFile(/tmp/multipartBody7385371850313412949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360372966,"filename":"image_23042025_00_18_05_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352866229","file1":"1352866187","file0":"1352866057","file4":"1352866391","file5":"1352866419","file3":"1352866325"},"map_files_photo_id_array":[{"photo_id":"1352866419","filename":"file5"},{"photo_id":"1352866229","filename":"file2"},{"photo_id":"1352866391","filename":"file4"},{"photo_id":"1352866187","filename":"file1"},{"photo_id":"1352866057","filename":"file0"},{"photo_id":"1352866325","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352866419":["hashtag1","hashtag2"]},{"1352866187":["hashtag1","hashtag2"]},{"1352866325":["hashtag1","hashtag2"]},{"1352866229":["hashtag1","hashtag2"]},{"1352866057":["hashtag1","hashtag2"]},{"1352866391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352866419, 1352866187, 1352866325, 1352866229, 1352866057, 1352866391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.244767904281616 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:19:32.144381
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/18/image_23042025_00_19_05_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/18/image_23042025_00_19_05_10597.jpg', '/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/18/image_23042025_00_19_05_10597.jpg
/home/nano/Desktop/images/23042025/00/18/image_23042025_00_18_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352866716","1352866783"],"photo_ids_order":["1352866716","1352866783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e66a31334a9b4ea318c1e844bd5861af.jpg","text":"TemporaryFile(/tmp/multipartBody6342002462647612593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360432723,"filename":"image_23042025_00_19_05_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9f131e7188f04a72e584961359bf951.jpg","text":"TemporaryFile(/tmp/multipartBody2493133382281603925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360432723,"filename":"image_23042025_00_18_55_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352866783","file0":"1352866716"},"map_files_photo_id_array":[{"photo_id":"1352866783","filename":"file1"},{"photo_id":"1352866716","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352866716":["hashtag1","hashtag2"]},{"1352866783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352866716, 1352866783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.634634494781494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:20:02.518013
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8068697452545166 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:20:32.241049
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_25_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_14_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/00/19/image_23042025_00_19_25_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_45_10574.jpg', '/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_35_9564.jpg', '/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_25_10576.jpg', '/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_14_9579.jpg', '/home/nano/Desktop/images/23042025/00/19/image_23042025_00_19_25_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_45_10574.jpg
/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_35_9564.jpg
/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_25_10576.jpg
/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_14_9579.jpg
/home/nano/Desktop/images/23042025/00/19/image_23042025_00_19_25_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352867543","1352867635","1352867631","1352867604","1352867576"],"photo_ids_order":["1352867543","1352867576","1352867604","1352867631","1352867635"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a91def6f6b7b0800a69e57a0603b3dd.jpg","text":"TemporaryFile(/tmp/multipartBody6065754667985856092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360493032,"filename":"image_23042025_00_20_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bfc616b0ccbf092f82a9b57ab5690a1.jpg","text":"TemporaryFile(/tmp/multipartBody2858501701077953728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360493032,"filename":"image_23042025_00_19_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/733d4cd6564a86c7a4de6a6fbae2042a.jpg","text":"TemporaryFile(/tmp/multipartBody65715776478684178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360493032,"filename":"image_23042025_00_20_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e6bbaf9e27dafa92e6765930b96435b.jpg","text":"TemporaryFile(/tmp/multipartBody8510549534711077973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360493032,"filename":"image_23042025_00_20_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3615fddeb3afa535b341954f5792bbb1.jpg","text":"TemporaryFile(/tmp/multipartBody3486046660791087170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360493032,"filename":"image_23042025_00_20_35_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352867604","file1":"1352867576","file0":"1352867543","file4":"1352867635","file3":"1352867631"},"map_files_photo_id_array":[{"photo_id":"1352867604","filename":"file2"},{"photo_id":"1352867635","filename":"file4"},{"photo_id":"1352867576","filename":"file1"},{"photo_id":"1352867543","filename":"file0"},{"photo_id":"1352867631","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352867543":["hashtag1","hashtag2"]},{"1352867635":["hashtag1","hashtag2"]},{"1352867631":["hashtag1","hashtag2"]},{"1352867604":["hashtag1","hashtag2"]},{"1352867576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352867543, 1352867635, 1352867631, 1352867604, 1352867576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.4362895488739 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:21:02.808574
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.759528398513794 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:21:32.334017
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/20/image_23042025_00_20_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352867664"],"photo_id":"1352867664","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21ed621868f5f5bbaa04a6e5b4b074f8.jpg","text":"TemporaryFile(/tmp/multipartBody8408368427647481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360552801,"filename":"image_23042025_00_20_55_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352867664"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352867664"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.327610731124878 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:22:02.712856
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7764039039611816 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:22:32.429103
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_35_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_15_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/00/20/image_23042025_00_21_05_10581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_35_9561.jpg', '/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_25_9564.jpg', '/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_15_10597.jpg', '/home/nano/Desktop/images/23042025/00/20/image_23042025_00_21_05_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_35_9561.jpg
/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_25_9564.jpg
/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_15_10597.jpg
/home/nano/Desktop/images/23042025/00/20/image_23042025_00_21_05_10581.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352867711","1352867714","1352867723","1352867719"],"photo_ids_order":["1352867711","1352867714","1352867719","1352867723"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/349866ac765d4019c61f5a67012623b3.jpg","text":"TemporaryFile(/tmp/multipartBody3550466114968186549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360613231,"filename":"image_23042025_00_22_35_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a3ff83a402823cce4c3b197a2a0a3f2.jpg","text":"TemporaryFile(/tmp/multipartBody5947276973954187725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360613231,"filename":"image_23042025_00_22_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/651c057a086db2f15355df15ecd312e8.jpg","text":"TemporaryFile(/tmp/multipartBody5022974437203522533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360613231,"filename":"image_23042025_00_21_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f16c096c8094d66a3fe2d180d7389ac9.jpg","text":"TemporaryFile(/tmp/multipartBody5429953057114524192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360613231,"filename":"image_23042025_00_22_15_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352867719","file1":"1352867714","file0":"1352867711","file3":"1352867723"},"map_files_photo_id_array":[{"photo_id":"1352867719","filename":"file2"},{"photo_id":"1352867714","filename":"file1"},{"photo_id":"1352867711","filename":"file0"},{"photo_id":"1352867723","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352867711":["hashtag1","hashtag2"]},{"1352867714":["hashtag1","hashtag2"]},{"1352867723":["hashtag1","hashtag2"]},{"1352867719":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352867711, 1352867714, 1352867723, 1352867719)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.319036960601807 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:23:02.953766
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.780954122543335 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:23:32.522707
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/23/image_23042025_00_23_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/23/image_23042025_00_23_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/23/image_23042025_00_23_55_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352867752"],"photo_id":"1352867752","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d5223132bb7c1f70955342e397bed7c.jpg","text":"TemporaryFile(/tmp/multipartBody376615277847686008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360673079,"filename":"image_23042025_00_23_55_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352867752"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352867752"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.773712158203125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:24:03.241285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9677457809448242 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:24:32.617287
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_35_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_45_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_45_9561.jpg', '/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_35_10573.jpg', '/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_25_9563.jpg', '/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_45_9561.jpg
/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_35_10573.jpg
/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_25_9563.jpg
/home/nano/Desktop/images/23042025/00/22/image_23042025_00_22_45_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352867819","1352867941","1352867883","1352867847"],"photo_ids_order":["1352867819","1352867847","1352867883","1352867941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95d64422c71d7d2319304641ad688cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5470810164598985779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360733579,"filename":"image_23042025_00_24_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f8934a12f12ff52cff3b360ad62a418.jpg","text":"TemporaryFile(/tmp/multipartBody1747527166924265191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360733579,"filename":"image_23042025_00_22_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fef9738ffca4a689906d408cd538d9a3.jpg","text":"TemporaryFile(/tmp/multipartBody826533368237519267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360733579,"filename":"image_23042025_00_24_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/981501d14490e16383665fa12a85c17b.jpg","text":"TemporaryFile(/tmp/multipartBody1512622707012483804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360733579,"filename":"image_23042025_00_24_35_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352867883","file1":"1352867847","file0":"1352867819","file3":"1352867941"},"map_files_photo_id_array":[{"photo_id":"1352867883","filename":"file2"},{"photo_id":"1352867847","filename":"file1"},{"photo_id":"1352867819","filename":"file0"},{"photo_id":"1352867941","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352867819":["hashtag1","hashtag2"]},{"1352867941":["hashtag1","hashtag2"]},{"1352867883":["hashtag1","hashtag2"]},{"1352867847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352867819, 1352867941, 1352867883, 1352867847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 33.41575622558594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:25:32.704104
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/25/image_23042025_00_25_25_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/25/image_23042025_00_25_25_10571.jpg', '/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/25/image_23042025_00_25_25_10571.jpg
/home/nano/Desktop/images/23042025/00/24/image_23042025_00_24_55_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352868101","1352868116"],"photo_ids_order":["1352868101","1352868116"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5eb2f483d8d27b5c61bb144bf6aa28e5.jpg","text":"TemporaryFile(/tmp/multipartBody5765085479506722963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360793503,"filename":"image_23042025_00_25_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf69fa22553c2e3bb0f5e7954f1aec62.jpg","text":"TemporaryFile(/tmp/multipartBody599033095123053955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360793503,"filename":"image_23042025_00_24_55_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352868116","file0":"1352868101"},"map_files_photo_id_array":[{"photo_id":"1352868116","filename":"file1"},{"photo_id":"1352868101","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352868101":["hashtag1","hashtag2"]},{"1352868116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352868101, 1352868116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.870561599731445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:26:02.142316
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.892080545425415 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:26:31.811072
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/26/image_23042025_00_26_35_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/00/25/image_23042025_00_25_35_9577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/26/image_23042025_00_26_35_10574.jpg', '/home/nano/Desktop/images/23042025/00/25/image_23042025_00_25_35_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/26/image_23042025_00_26_35_10574.jpg
/home/nano/Desktop/images/23042025/00/25/image_23042025_00_25_35_9577.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352868396","1352868368"],"photo_ids_order":["1352868368","1352868396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baf10498329102d9e8f9b632222466dd.jpg","text":"TemporaryFile(/tmp/multipartBody4190940297259804378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360852462,"filename":"image_23042025_00_25_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0195d97d6208d68c4830510fc85c7ec9.jpg","text":"TemporaryFile(/tmp/multipartBody6183886075188391184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360852462,"filename":"image_23042025_00_26_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352868396","file0":"1352868368"},"map_files_photo_id_array":[{"photo_id":"1352868396","filename":"file1"},{"photo_id":"1352868368","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352868396":["hashtag1","hashtag2"]},{"1352868368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352868396, 1352868368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 23.37953281402588 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:27:02.287342
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.692939043045044 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:27:31.905649
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/26/image_23042025_00_26_45_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/26/image_23042025_00_26_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/26/image_23042025_00_26_45_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352868544"],"photo_id":"1352868544","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a4f4a90051c50728fea851b67c3a371.jpg","text":"TemporaryFile(/tmp/multipartBody5762068464305841334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360912425,"filename":"image_23042025_00_26_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352868544"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352868544"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.55597734451294 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:28:02.334626
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8424806594848633 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:28:31.993734
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/28/image_23042025_00_28_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/00/27/image_23042025_00_28_05_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/00/27/image_23042025_00_27_55_9578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/28/image_23042025_00_28_45_9563.jpg', '/home/nano/Desktop/images/23042025/00/27/image_23042025_00_28_05_10580.jpg', '/home/nano/Desktop/images/23042025/00/27/image_23042025_00_27_55_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/28/image_23042025_00_28_45_9563.jpg
/home/nano/Desktop/images/23042025/00/27/image_23042025_00_28_05_10580.jpg
/home/nano/Desktop/images/23042025/00/27/image_23042025_00_27_55_9578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352868675","1352868663","1352868671"],"photo_ids_order":["1352868663","1352868671","1352868675"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4adbe47986cd12e2aa70201ac301fdee.jpg","text":"TemporaryFile(/tmp/multipartBody31845363061665514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360972681,"filename":"image_23042025_00_27_55_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ca7ca68535d9ff9de500d6c41581c8a.jpg","text":"TemporaryFile(/tmp/multipartBody7900909617961797965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360972681,"filename":"image_23042025_00_28_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f70cd82a8b693f2b110cceb93720d09.jpg","text":"TemporaryFile(/tmp/multipartBody1540393029435898694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745360972681,"filename":"image_23042025_00_28_05_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352868675","file1":"1352868671","file0":"1352868663"},"map_files_photo_id_array":[{"photo_id":"1352868675","filename":"file2"},{"photo_id":"1352868671","filename":"file1"},{"photo_id":"1352868663","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352868675":["hashtag1","hashtag2"]},{"1352868663":["hashtag1","hashtag2"]},{"1352868671":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352868675, 1352868663, 1352868671)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.04022216796875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:29:02.984917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8601524829864502 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:29:32.104018
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/29/image_23042025_00_29_15_10577.jpg', 2), ('/home/nano/Desktop/images/23042025/00/28/image_23042025_00_29_05_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/00/28/image_23042025_00_28_55_10575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/29/image_23042025_00_29_15_10577.jpg', '/home/nano/Desktop/images/23042025/00/28/image_23042025_00_29_05_9578.jpg', '/home/nano/Desktop/images/23042025/00/28/image_23042025_00_28_55_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/29/image_23042025_00_29_15_10577.jpg
/home/nano/Desktop/images/23042025/00/28/image_23042025_00_29_05_9578.jpg
/home/nano/Desktop/images/23042025/00/28/image_23042025_00_28_55_10575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352869330","1352869326","1352869257"],"photo_ids_order":["1352869257","1352869326","1352869330"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dae1e19318d53ea8db7dd7d70817dbbe.jpg","text":"TemporaryFile(/tmp/multipartBody9205519294392814412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361032804,"filename":"image_23042025_00_28_55_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c562fca1aca67cfdd28e0aaf2295677.jpg","text":"TemporaryFile(/tmp/multipartBody6847113303237580192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361032804,"filename":"image_23042025_00_29_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ec7c0e99fc2a2419448d9f458815d28.jpg","text":"TemporaryFile(/tmp/multipartBody6340153514998686761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361032804,"filename":"image_23042025_00_29_15_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352869330","file1":"1352869326","file0":"1352869257"},"map_files_photo_id_array":[{"photo_id":"1352869330","filename":"file2"},{"photo_id":"1352869326","filename":"file1"},{"photo_id":"1352869257","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352869330":["hashtag1","hashtag2"]},{"1352869326":["hashtag1","hashtag2"]},{"1352869257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352869330, 1352869326, 1352869257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.460000038146973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:30:02.559936
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.03711199760437 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:30:32.218232
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_45_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_25_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/00/29/image_23042025_00_29_25_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_45_9578.jpg', '/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_25_10589.jpg', '/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_15_9569.jpg', '/home/nano/Desktop/images/23042025/00/29/image_23042025_00_29_25_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_45_9578.jpg
/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_25_10589.jpg
/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_15_9569.jpg
/home/nano/Desktop/images/23042025/00/29/image_23042025_00_29_25_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352869501","1352869491","1352869497","1352869487"],"photo_ids_order":["1352869487","1352869491","1352869497","1352869501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5563e8b50474bf927ea41bb2551552da.jpg","text":"TemporaryFile(/tmp/multipartBody4943999955520317046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361092980,"filename":"image_23042025_00_29_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb34a34373dbef2f80f4a50f1f8fa0a2.jpg","text":"TemporaryFile(/tmp/multipartBody3319534375176144597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361092980,"filename":"image_23042025_00_30_25_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7346441b3b7cb240abe43aea3cda55f0.jpg","text":"TemporaryFile(/tmp/multipartBody7486032450145311250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361092980,"filename":"image_23042025_00_30_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b25bf7e9bb008497225a0e0f102c2040.jpg","text":"TemporaryFile(/tmp/multipartBody5734832649531698393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361092980,"filename":"image_23042025_00_30_45_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352869497","file1":"1352869491","file0":"1352869487","file3":"1352869501"},"map_files_photo_id_array":[{"photo_id":"1352869497","filename":"file2"},{"photo_id":"1352869491","filename":"file1"},{"photo_id":"1352869487","filename":"file0"},{"photo_id":"1352869501","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352869501":["hashtag1","hashtag2"]},{"1352869491":["hashtag1","hashtag2"]},{"1352869497":["hashtag1","hashtag2"]},{"1352869487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352869501, 1352869491, 1352869497, 1352869487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.114986419677734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:31:02.677260
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6973466873168945 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:31:32.286841
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/31/image_23042025_00_31_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_55_10575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/31/image_23042025_00_31_25_9562.jpg', '/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_55_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/31/image_23042025_00_31_25_9562.jpg
/home/nano/Desktop/images/23042025/00/30/image_23042025_00_30_55_10575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352869534","1352869539"],"photo_ids_order":["1352869534","1352869539"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/328dc8202770244ab1b0b97ebbfa1be9.jpg","text":"TemporaryFile(/tmp/multipartBody4576111253644087633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361152875,"filename":"image_23042025_00_31_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb47a2cf3a421c606ae1f98c320e4840.jpg","text":"TemporaryFile(/tmp/multipartBody7097256922560441512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361152875,"filename":"image_23042025_00_30_55_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352869539","file0":"1352869534"},"map_files_photo_id_array":[{"photo_id":"1352869539","filename":"file1"},{"photo_id":"1352869534","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352869534":["hashtag1","hashtag2"]},{"1352869539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352869534, 1352869539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.25711989402771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:32:02.661679
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8769466876983643 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:32:32.383487
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_15_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/00/31/image_23042025_00_32_05_10583.jpg', 2), ('/home/nano/Desktop/images/23042025/00/31/image_23042025_00_31_34_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_45_10574.jpg', '/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_35_9564.jpg', '/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_15_9573.jpg', '/home/nano/Desktop/images/23042025/00/31/image_23042025_00_32_05_10583.jpg', '/home/nano/Desktop/images/23042025/00/31/image_23042025_00_31_34_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_45_10574.jpg
/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_35_9564.jpg
/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_15_9573.jpg
/home/nano/Desktop/images/23042025/00/31/image_23042025_00_32_05_10583.jpg
/home/nano/Desktop/images/23042025/00/31/image_23042025_00_31_34_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352869785","1352869779","1352869772","1352869769","1352869789"],"photo_ids_order":["1352869769","1352869772","1352869779","1352869785","1352869789"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a7a2de62e0196a3f728ef98d0fa3c21.jpg","text":"TemporaryFile(/tmp/multipartBody8610174236638623923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361213284,"filename":"image_23042025_00_32_05_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e0e0dbdca5d4bd15996980bfe55840f.jpg","text":"TemporaryFile(/tmp/multipartBody845336459028220671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361213284,"filename":"image_23042025_00_32_15_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d80514c1e8dceb01704371dc3756ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2838762639719930429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361213284,"filename":"image_23042025_00_32_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fd670564fbb8494df13a849c75dd83f.jpg","text":"TemporaryFile(/tmp/multipartBody7067254011430960600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361213284,"filename":"image_23042025_00_32_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a52385e42231591f108f3636654e5d1.jpg","text":"TemporaryFile(/tmp/multipartBody2983659255787361490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361213284,"filename":"image_23042025_00_31_34_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352869779","file1":"1352869772","file0":"1352869769","file4":"1352869789","file3":"1352869785"},"map_files_photo_id_array":[{"photo_id":"1352869779","filename":"file2"},{"photo_id":"1352869789","filename":"file4"},{"photo_id":"1352869772","filename":"file1"},{"photo_id":"1352869769","filename":"file0"},{"photo_id":"1352869785","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352869785":["hashtag1","hashtag2"]},{"1352869779":["hashtag1","hashtag2"]},{"1352869772":["hashtag1","hashtag2"]},{"1352869769":["hashtag1","hashtag2"]},{"1352869789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352869785, 1352869779, 1352869772, 1352869769, 1352869789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.938668966293335 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:33:03.085214
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8282840251922607 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:33:32.513266
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_15_10594.jpg', '/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_15_10594.jpg
/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_55_9562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6595184803009033 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:34:03.234841
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_15_10594.jpg', '/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_15_10594.jpg
/home/nano/Desktop/images/23042025/00/32/image_23042025_00_32_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352869844","1352869847"],"photo_ids_order":["1352869844","1352869847"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/917a8b2e553e7ac06cf94b330703ef49.jpg","text":"TemporaryFile(/tmp/multipartBody5488652414310884047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361303848,"filename":"image_23042025_00_33_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d463284883fb219b20a1eb3c76098bf.jpg","text":"TemporaryFile(/tmp/multipartBody3028845559948195193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361303848,"filename":"image_23042025_00_32_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352869847","file0":"1352869844"},"map_files_photo_id_array":[{"photo_id":"1352869847","filename":"file1"},{"photo_id":"1352869844","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352869844":["hashtag1","hashtag2"]},{"1352869847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352869844, 1352869847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.286064624786377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:34:32.696267
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/34/image_23042025_00_34_15_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_25_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/34/image_23042025_00_34_15_9581.jpg', '/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_25_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/34/image_23042025_00_34_15_9581.jpg
/home/nano/Desktop/images/23042025/00/33/image_23042025_00_33_25_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352869866","1352869870"],"photo_ids_order":["1352869866","1352869870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/943abf8f9b43895ca00a7b11330ae1f0.jpg","text":"TemporaryFile(/tmp/multipartBody8150612587870640768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361333398,"filename":"image_23042025_00_34_15_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/881c02acc410bd0450bf774c992ffc12.jpg","text":"TemporaryFile(/tmp/multipartBody4525208383160106124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361333398,"filename":"image_23042025_00_33_25_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352869870","file0":"1352869866"},"map_files_photo_id_array":[{"photo_id":"1352869870","filename":"file1"},{"photo_id":"1352869866","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352869866":["hashtag1","hashtag2"]},{"1352869870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352869866, 1352869870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.831118106842041 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:35:02.311247
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5846436023712158 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:35:31.808089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.060267686843872 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:36:02.213233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7145514488220215 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:36:31.894785
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/36/image_23042025_00_36_45_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/34/image_23042025_00_34_25_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/36/image_23042025_00_36_45_10575.jpg', '/home/nano/Desktop/images/23042025/00/34/image_23042025_00_34_25_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/36/image_23042025_00_36_45_10575.jpg
/home/nano/Desktop/images/23042025/00/34/image_23042025_00_34_25_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352870315","1352870340"],"photo_ids_order":["1352870315","1352870340"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08485e7025cf12c03bf3517ccf38d7ad.jpg","text":"TemporaryFile(/tmp/multipartBody1514154369139526157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361453514,"filename":"image_23042025_00_36_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5891ef89412f7d7d66b0f22361b0a05c.jpg","text":"TemporaryFile(/tmp/multipartBody4595234734447575822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361453514,"filename":"image_23042025_00_34_25_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352870340","file0":"1352870315"},"map_files_photo_id_array":[{"photo_id":"1352870340","filename":"file1"},{"photo_id":"1352870315","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352870315":["hashtag1","hashtag2"]},{"1352870340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352870315, 1352870340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.617102861404419 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:37:02.555471
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7618327140808105 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:37:32.054036
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/37/image_23042025_00_37_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/36/image_23042025_00_36_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/37/image_23042025_00_37_15_9564.jpg', '/home/nano/Desktop/images/23042025/00/36/image_23042025_00_36_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/37/image_23042025_00_37_15_9564.jpg
/home/nano/Desktop/images/23042025/00/36/image_23042025_00_36_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871048","1352871011"],"photo_ids_order":["1352871011","1352871048"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e2e41ba4ef46e398b60fbf67f0b678e.jpg","text":"TemporaryFile(/tmp/multipartBody2787727887302007857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361512846,"filename":"image_23042025_00_36_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/805cff046aed7d87da2e52783b4837b8.jpg","text":"TemporaryFile(/tmp/multipartBody7304230065410670768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361512846,"filename":"image_23042025_00_37_15_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352871048","file0":"1352871011"},"map_files_photo_id_array":[{"photo_id":"1352871048","filename":"file1"},{"photo_id":"1352871011","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871048":["hashtag1","hashtag2"]},{"1352871011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871048, 1352871011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.837674617767334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:38:02.469234
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6714997291564941 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:38:32.144121
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/38/image_23042025_00_38_35_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/00/37/image_23042025_00_37_25_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/38/image_23042025_00_38_35_9561.jpg', '/home/nano/Desktop/images/23042025/00/37/image_23042025_00_37_25_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/38/image_23042025_00_38_35_9561.jpg
/home/nano/Desktop/images/23042025/00/37/image_23042025_00_37_25_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871232","1352871228"],"photo_ids_order":["1352871228","1352871232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4594d35d3427fc9e4ae6b662df9e2a2.jpg","text":"TemporaryFile(/tmp/multipartBody8375013151550170071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361572779,"filename":"image_23042025_00_37_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/037c77ac5f44287de73f3fd785938bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7520993170207702758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361572779,"filename":"image_23042025_00_38_35_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352871232","file0":"1352871228"},"map_files_photo_id_array":[{"photo_id":"1352871232","filename":"file1"},{"photo_id":"1352871228","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871232":["hashtag1","hashtag2"]},{"1352871228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871232, 1352871228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.332128047943115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:39:03.092169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6352286338806152 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:39:32.281748
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_35_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_25_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_15_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/00/38/image_23042025_00_39_05_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/00/38/image_23042025_00_38_45_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_45_9564.jpg', '/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_35_9561.jpg', '/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_25_10571.jpg', '/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_15_9580.jpg', '/home/nano/Desktop/images/23042025/00/38/image_23042025_00_39_05_10586.jpg', '/home/nano/Desktop/images/23042025/00/38/image_23042025_00_38_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_45_9564.jpg
/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_35_9561.jpg
/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_25_10571.jpg
/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_15_9580.jpg
/home/nano/Desktop/images/23042025/00/38/image_23042025_00_39_05_10586.jpg
/home/nano/Desktop/images/23042025/00/38/image_23042025_00_38_45_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871348","1352871345","1352871355","1352871385","1352871379","1352871358"],"photo_ids_order":["1352871345","1352871348","1352871355","1352871358","1352871379","1352871385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79bc976c13c3100f5ed95be6036376c4.jpg","text":"TemporaryFile(/tmp/multipartBody4036601890493262351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361633139,"filename":"image_23042025_00_39_35_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea659297ddcd2c4705a6360605b6d99f.jpg","text":"TemporaryFile(/tmp/multipartBody3642586501436312495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361633139,"filename":"image_23042025_00_39_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf94ce05e8f37f72b2704548c5f6e73a.jpg","text":"TemporaryFile(/tmp/multipartBody1196175569526440581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361633139,"filename":"image_23042025_00_39_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8bd2475207f7a7f16cbda12e0c0e787.jpg","text":"TemporaryFile(/tmp/multipartBody8585129025337462977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361633139,"filename":"image_23042025_00_38_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33372236542835ae90f9a199bdb74661.jpg","text":"TemporaryFile(/tmp/multipartBody6414889577946144496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361633139,"filename":"image_23042025_00_39_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c5f236d62f791e82143e989f71450ba.jpg","text":"TemporaryFile(/tmp/multipartBody2145011314237522151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361633139,"filename":"image_23042025_00_39_15_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352871355","file1":"1352871348","file0":"1352871345","file4":"1352871379","file5":"1352871385","file3":"1352871358"},"map_files_photo_id_array":[{"photo_id":"1352871385","filename":"file5"},{"photo_id":"1352871355","filename":"file2"},{"photo_id":"1352871379","filename":"file4"},{"photo_id":"1352871348","filename":"file1"},{"photo_id":"1352871345","filename":"file0"},{"photo_id":"1352871358","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871348":["hashtag1","hashtag2"]},{"1352871345":["hashtag1","hashtag2"]},{"1352871355":["hashtag1","hashtag2"]},{"1352871385":["hashtag1","hashtag2"]},{"1352871379":["hashtag1","hashtag2"]},{"1352871358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871348, 1352871345, 1352871355, 1352871385, 1352871379, 1352871358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.849310159683228 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:40:32.345187
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/40/image_23042025_00_40_45_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_55_10587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/40/image_23042025_00_40_45_10576.jpg', '/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/40/image_23042025_00_40_45_10576.jpg
/home/nano/Desktop/images/23042025/00/39/image_23042025_00_39_55_10587.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871470","1352871467"],"photo_ids_order":["1352871467","1352871470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88f62aec349490aefdaa6f1f329343db.jpg","text":"TemporaryFile(/tmp/multipartBody3378257457310419847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361693053,"filename":"image_23042025_00_39_55_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6faabe5e2939415cbe96ac720105c275.jpg","text":"TemporaryFile(/tmp/multipartBody8674148809469752640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361693053,"filename":"image_23042025_00_40_45_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352871470","file0":"1352871467"},"map_files_photo_id_array":[{"photo_id":"1352871470","filename":"file1"},{"photo_id":"1352871467","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871470":["hashtag1","hashtag2"]},{"1352871467":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871470, 1352871467)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.237674474716187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:41:02.999507
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7280144691467285 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:41:32.455370
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/41/image_23042025_00_41_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/00/40/image_23042025_00_41_05_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/00/40/image_23042025_00_40_55_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/41/image_23042025_00_41_45_9563.jpg', '/home/nano/Desktop/images/23042025/00/40/image_23042025_00_41_05_10588.jpg', '/home/nano/Desktop/images/23042025/00/40/image_23042025_00_40_55_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/41/image_23042025_00_41_45_9563.jpg
/home/nano/Desktop/images/23042025/00/40/image_23042025_00_41_05_10588.jpg
/home/nano/Desktop/images/23042025/00/40/image_23042025_00_40_55_9579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871550","1352871561","1352871542"],"photo_ids_order":["1352871542","1352871550","1352871561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf878635e7329777ae67717b7ffe8158.jpg","text":"TemporaryFile(/tmp/multipartBody5798863949289533361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361753184,"filename":"image_23042025_00_41_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1253a57f93ed16e41110106ee393181.jpg","text":"TemporaryFile(/tmp/multipartBody3723605833016614470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361753184,"filename":"image_23042025_00_40_55_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1f9307d66b17aeaf79b8571876b3d57.jpg","text":"TemporaryFile(/tmp/multipartBody6969077703115263855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361753184,"filename":"image_23042025_00_41_45_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352871561","file1":"1352871550","file0":"1352871542"},"map_files_photo_id_array":[{"photo_id":"1352871561","filename":"file2"},{"photo_id":"1352871550","filename":"file1"},{"photo_id":"1352871542","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871550":["hashtag1","hashtag2"]},{"1352871561":["hashtag1","hashtag2"]},{"1352871542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871550, 1352871561, 1352871542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.388662099838257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:42:02.881518
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.667595863342285 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:42:32.539252
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5194950103759766 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:43:03.134387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.909454345703125 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:43:32.629619
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/43/image_23042025_00_43_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/00/41/image_23042025_00_41_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/43/image_23042025_00_43_35_9563.jpg', '/home/nano/Desktop/images/23042025/00/41/image_23042025_00_41_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/43/image_23042025_00_43_35_9563.jpg
/home/nano/Desktop/images/23042025/00/41/image_23042025_00_41_55_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871876","1352871878"],"photo_ids_order":["1352871876","1352871878"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79ebe5ad1940a71ac957414278e06e17.jpg","text":"TemporaryFile(/tmp/multipartBody514475482462067659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361873291,"filename":"image_23042025_00_43_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/654f2edba43cbb8d95d5d86c321e3fad.jpg","text":"TemporaryFile(/tmp/multipartBody7364273126128407363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361873291,"filename":"image_23042025_00_41_55_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352871878","file0":"1352871876"},"map_files_photo_id_array":[{"photo_id":"1352871878","filename":"file1"},{"photo_id":"1352871876","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871876":["hashtag1","hashtag2"]},{"1352871878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871876, 1352871878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.736912965774536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:44:03.282982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5939130783081055 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:44:32.796484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.751880407333374 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:45:02.234868
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7738847732543945 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:45:31.902075
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/45/image_23042025_00_45_15_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/00/43/image_23042025_00_43_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/45/image_23042025_00_45_15_9583.jpg', '/home/nano/Desktop/images/23042025/00/43/image_23042025_00_43_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/45/image_23042025_00_45_15_9583.jpg
/home/nano/Desktop/images/23042025/00/43/image_23042025_00_43_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871966","1352871961"],"photo_ids_order":["1352871961","1352871966"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1be50813ce6886f28c9b5e09a483eae8.jpg","text":"TemporaryFile(/tmp/multipartBody7844316073064631214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361992615,"filename":"image_23042025_00_43_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8685c070d8ce755ce11f4a38ec5178e.jpg","text":"TemporaryFile(/tmp/multipartBody3467832737066955886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745361992615,"filename":"image_23042025_00_45_15_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352871966","file0":"1352871961"},"map_files_photo_id_array":[{"photo_id":"1352871966","filename":"file1"},{"photo_id":"1352871961","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871966":["hashtag1","hashtag2"]},{"1352871961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871966, 1352871961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.810575008392334 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:46:02.343015
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4853250980377197 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:46:32.003289
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_35_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_15_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/00/45/image_23042025_00_46_05_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/00/45/image_23042025_00_45_25_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_35_10574.jpg', '/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_15_10592.jpg', '/home/nano/Desktop/images/23042025/00/45/image_23042025_00_46_05_9581.jpg', '/home/nano/Desktop/images/23042025/00/45/image_23042025_00_45_25_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_35_10574.jpg
/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_15_10592.jpg
/home/nano/Desktop/images/23042025/00/45/image_23042025_00_46_05_9581.jpg
/home/nano/Desktop/images/23042025/00/45/image_23042025_00_45_25_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352871999","1352872005","1352872002","1352871995"],"photo_ids_order":["1352871995","1352871999","1352872002","1352872005"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f73ba86a43d9975938f8f73102199fce.jpg","text":"TemporaryFile(/tmp/multipartBody8586032342315010916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362052802,"filename":"image_23042025_00_46_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/285e5fc47a9b53ff0681047850337478.jpg","text":"TemporaryFile(/tmp/multipartBody8156906415085224124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362052802,"filename":"image_23042025_00_45_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/706532e4899451efe83907bd59d1ffeb.jpg","text":"TemporaryFile(/tmp/multipartBody1033729048706690714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362052802,"filename":"image_23042025_00_46_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c93ff588fb25579890341f45c165a709.jpg","text":"TemporaryFile(/tmp/multipartBody2562061400741602747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362052802,"filename":"image_23042025_00_46_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352872002","file1":"1352871999","file0":"1352871995","file3":"1352872005"},"map_files_photo_id_array":[{"photo_id":"1352872002","filename":"file2"},{"photo_id":"1352871999","filename":"file1"},{"photo_id":"1352871995","filename":"file0"},{"photo_id":"1352872005","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352871999":["hashtag1","hashtag2"]},{"1352872005":["hashtag1","hashtag2"]},{"1352872002":["hashtag1","hashtag2"]},{"1352871995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352871999, 1352872005, 1352872002, 1352871995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.52690625190735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:47:02.539993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6700115203857422 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:47:32.133154
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/47/image_23042025_00_47_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_45_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/47/image_23042025_00_47_25_10574.jpg', '/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_45_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/47/image_23042025_00_47_25_10574.jpg
/home/nano/Desktop/images/23042025/00/46/image_23042025_00_46_45_9579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352872041","1352872037"],"photo_ids_order":["1352872037","1352872041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fa176326159f38f33a7f4f057c41da5.jpg","text":"TemporaryFile(/tmp/multipartBody2626551653913922617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362112793,"filename":"image_23042025_00_46_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebf4195ed5f44e6f7a5f571cf8e8b66a.jpg","text":"TemporaryFile(/tmp/multipartBody7026369600481160560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362112793,"filename":"image_23042025_00_47_25_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352872041","file0":"1352872037"},"map_files_photo_id_array":[{"photo_id":"1352872041","filename":"file1"},{"photo_id":"1352872037","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352872041":["hashtag1","hashtag2"]},{"1352872037":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352872041, 1352872037)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.905678272247314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:48:02.608281
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6494522094726562 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:48:32.213750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6552321910858154 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:49:03.186682
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.705775260925293 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:49:32.318785
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5965948104858398 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:50:02.664503
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5913589000701904 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:50:32.428105
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/50/image_23042025_00_50_25_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/00/47/image_23042025_00_47_35_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/50/image_23042025_00_50_25_10571.jpg', '/home/nano/Desktop/images/23042025/00/47/image_23042025_00_47_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/50/image_23042025_00_50_25_10571.jpg
/home/nano/Desktop/images/23042025/00/47/image_23042025_00_47_35_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352872629","1352872678"],"photo_ids_order":["1352872629","1352872678"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc884ec65a96004c03e99d2c07251ea2.jpg","text":"TemporaryFile(/tmp/multipartBody5301112330430071963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362292987,"filename":"image_23042025_00_50_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b06ddda059386b2d60dece50a17c082.jpg","text":"TemporaryFile(/tmp/multipartBody8520532854794265266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362292987,"filename":"image_23042025_00_47_35_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352872678","file0":"1352872629"},"map_files_photo_id_array":[{"photo_id":"1352872678","filename":"file1"},{"photo_id":"1352872629","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352872629":["hashtag1","hashtag2"]},{"1352872678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352872629, 1352872678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.137767791748047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:51:03.062212
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5667946338653564 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:51:32.583400
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5700404644012451 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:52:02.950718
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.545917272567749 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:52:32.658732
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/52/image_23042025_00_52_44_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/00/50/image_23042025_00_50_35_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/52/image_23042025_00_52_44_9562.jpg', '/home/nano/Desktop/images/23042025/00/50/image_23042025_00_50_35_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/52/image_23042025_00_52_44_9562.jpg
/home/nano/Desktop/images/23042025/00/50/image_23042025_00_50_35_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352873120","1352873091"],"photo_ids_order":["1352873091","1352873120"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07881a520810d071866966c9f448b697.jpg","text":"TemporaryFile(/tmp/multipartBody1962086539229196417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362413322,"filename":"image_23042025_00_50_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b165c1caec7a9c452c71b366ea0056fd.jpg","text":"TemporaryFile(/tmp/multipartBody9119297158116683212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362413322,"filename":"image_23042025_00_52_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352873120","file0":"1352873091"},"map_files_photo_id_array":[{"photo_id":"1352873120","filename":"file1"},{"photo_id":"1352873091","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352873120":["hashtag1","hashtag2"]},{"1352873091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352873120, 1352873091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.640434265136719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:53:02.281112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7443912029266357 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:53:31.790242
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/53/image_23042025_00_53_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/00/52/image_23042025_00_52_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/53/image_23042025_00_53_45_9561.jpg', '/home/nano/Desktop/images/23042025/00/52/image_23042025_00_52_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/53/image_23042025_00_53_45_9561.jpg
/home/nano/Desktop/images/23042025/00/52/image_23042025_00_52_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352873319","1352873351"],"photo_ids_order":["1352873319","1352873351"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d198fdb3b98112e0e70fcd55b82cb865.jpg","text":"TemporaryFile(/tmp/multipartBody7205646174454539380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362472486,"filename":"image_23042025_00_53_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/597e0ebe594c04d54814942e9b670e2e.jpg","text":"TemporaryFile(/tmp/multipartBody1793176150283657330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362472486,"filename":"image_23042025_00_52_55_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352873351","file0":"1352873319"},"map_files_photo_id_array":[{"photo_id":"1352873351","filename":"file1"},{"photo_id":"1352873319","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352873319":["hashtag1","hashtag2"]},{"1352873351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352873319, 1352873351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.930372714996338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:54:02.410532
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.547996997833252 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:54:31.873086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.620845079421997 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:55:02.510552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7557721138000488 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:55:31.967469
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_15_10601.jpg', 2), ('/home/nano/Desktop/images/23042025/00/54/image_23042025_00_55_05_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/00/53/image_23042025_00_53_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_25_9565.jpg', '/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_15_10601.jpg', '/home/nano/Desktop/images/23042025/00/54/image_23042025_00_55_05_9584.jpg', '/home/nano/Desktop/images/23042025/00/53/image_23042025_00_53_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_25_9565.jpg
/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_15_10601.jpg
/home/nano/Desktop/images/23042025/00/54/image_23042025_00_55_05_9584.jpg
/home/nano/Desktop/images/23042025/00/53/image_23042025_00_53_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352873465","1352873468","1352873470","1352873472"],"photo_ids_order":["1352873465","1352873468","1352873470","1352873472"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f845e5a9643fe9ed515c9447dd912411.jpg","text":"TemporaryFile(/tmp/multipartBody8876845094152918360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362592749,"filename":"image_23042025_00_55_25_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29c903350fc018acc57cd99069262b1d.jpg","text":"TemporaryFile(/tmp/multipartBody4486171834613506687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362592749,"filename":"image_23042025_00_55_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ec5c8d15df747501d229bd8bdf7891f.jpg","text":"TemporaryFile(/tmp/multipartBody3276270895539216368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362592749,"filename":"image_23042025_00_55_05_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea775d0a8896eab35e3584e421e9f9d8.jpg","text":"TemporaryFile(/tmp/multipartBody4140648672994016500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362592749,"filename":"image_23042025_00_53_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352873470","file1":"1352873468","file0":"1352873465","file3":"1352873472"},"map_files_photo_id_array":[{"photo_id":"1352873470","filename":"file2"},{"photo_id":"1352873468","filename":"file1"},{"photo_id":"1352873465","filename":"file0"},{"photo_id":"1352873472","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352873465":["hashtag1","hashtag2"]},{"1352873468":["hashtag1","hashtag2"]},{"1352873470":["hashtag1","hashtag2"]},{"1352873472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352873465, 1352873468, 1352873470, 1352873472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.31228804588318 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:56:02.224101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6092891693115234 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:56:32.122250
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_35_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_35_10572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6299607753753662 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:57:02.806245
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_35_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/55/image_23042025_00_55_35_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352873497"],"photo_id":"1352873497","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22e5ee4de6bfb14bf5fcf41c8502dbdf.jpg","text":"TemporaryFile(/tmp/multipartBody671911006614342923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362683254,"filename":"image_23042025_00_55_35_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352873497"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352873497"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.471306085586548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:57:32.286047
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/00/56/image_23042025_00_57_05_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/00/56/image_23042025_00_56_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_25_9561.jpg', '/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_15_9564.jpg', '/home/nano/Desktop/images/23042025/00/56/image_23042025_00_57_05_10587.jpg', '/home/nano/Desktop/images/23042025/00/56/image_23042025_00_56_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_25_9561.jpg
/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_15_9564.jpg
/home/nano/Desktop/images/23042025/00/56/image_23042025_00_57_05_10587.jpg
/home/nano/Desktop/images/23042025/00/56/image_23042025_00_56_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352873514","1352873516","1352873596","1352873571"],"photo_ids_order":["1352873514","1352873516","1352873571","1352873596"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df85de28b8fd43a541a11379df7c2fa1.jpg","text":"TemporaryFile(/tmp/multipartBody101336968737263644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362713164,"filename":"image_23042025_00_57_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d66658cdc558eb769970d6abf54048f1.jpg","text":"TemporaryFile(/tmp/multipartBody7108135349543232488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362713164,"filename":"image_23042025_00_57_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bdf449799061be3ad8b4f1a8f72cfbf.jpg","text":"TemporaryFile(/tmp/multipartBody5647903015182610291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362713164,"filename":"image_23042025_00_56_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d6bd863c7256046740a96588cbf986f.jpg","text":"TemporaryFile(/tmp/multipartBody425595269308474957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362713164,"filename":"image_23042025_00_57_05_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352873571","file1":"1352873516","file0":"1352873514","file3":"1352873596"},"map_files_photo_id_array":[{"photo_id":"1352873571","filename":"file2"},{"photo_id":"1352873516","filename":"file1"},{"photo_id":"1352873514","filename":"file0"},{"photo_id":"1352873596","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352873514":["hashtag1","hashtag2"]},{"1352873516":["hashtag1","hashtag2"]},{"1352873596":["hashtag1","hashtag2"]},{"1352873571":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352873514, 1352873516, 1352873596, 1352873571)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.29852843284607 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:58:02.506914
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6180953979492188 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:59:02.873843
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.857969045639038 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 00:59:32.289586
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_35_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_15_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/00/58/image_23042025_00_59_05_10601.jpg', 2), ('/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_55_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_45_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_35_9566.jpg', '/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_25_10575.jpg', '/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_15_9566.jpg', '/home/nano/Desktop/images/23042025/00/58/image_23042025_00_59_05_10601.jpg', '/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_55_9581.jpg', '/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_45_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_35_9566.jpg
/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_25_10575.jpg
/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_15_9566.jpg
/home/nano/Desktop/images/23042025/00/58/image_23042025_00_59_05_10601.jpg
/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_55_9581.jpg
/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_45_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352874287","1352874227","1352874274","1352874291","1352874255","1352874234"],"photo_ids_order":["1352874227","1352874234","1352874255","1352874274","1352874287","1352874291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/778fa1ee0484356710bcd6b74146d0db.jpg","text":"TemporaryFile(/tmp/multipartBody1915389253911343933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362833428,"filename":"image_23042025_00_58_55_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbc3383d0b69b162d492d6a062cf71c6.jpg","text":"TemporaryFile(/tmp/multipartBody2623555115934026587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362833428,"filename":"image_23042025_00_59_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5de118d4c72160055df4fec2790e9ed.jpg","text":"TemporaryFile(/tmp/multipartBody6964820004797804157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362833428,"filename":"image_23042025_00_59_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d51f602928cd97027dfa75b31f76f550.jpg","text":"TemporaryFile(/tmp/multipartBody8506236118391527238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362833428,"filename":"image_23042025_00_58_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0273ade170ac52a1cdd20ebce583746b.jpg","text":"TemporaryFile(/tmp/multipartBody243860557174654803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362833428,"filename":"image_23042025_00_59_15_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73ae26665597e867a4b9647868f7cffc.jpg","text":"TemporaryFile(/tmp/multipartBody1778440966526857097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362833428,"filename":"image_23042025_00_59_25_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352874255","file1":"1352874234","file0":"1352874227","file4":"1352874287","file5":"1352874291","file3":"1352874274"},"map_files_photo_id_array":[{"photo_id":"1352874291","filename":"file5"},{"photo_id":"1352874255","filename":"file2"},{"photo_id":"1352874287","filename":"file4"},{"photo_id":"1352874234","filename":"file1"},{"photo_id":"1352874227","filename":"file0"},{"photo_id":"1352874274","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352874287":["hashtag1","hashtag2"]},{"1352874227":["hashtag1","hashtag2"]},{"1352874274":["hashtag1","hashtag2"]},{"1352874291":["hashtag1","hashtag2"]},{"1352874255":["hashtag1","hashtag2"]},{"1352874234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352874287, 1352874227, 1352874274, 1352874291, 1352874255, 1352874234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.86654806137085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:00:32.386596
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_34_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_25_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_15_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/00/59/image_23042025_01_00_05_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_55_10581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_45_10574.jpg', '/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_34_9564.jpg', '/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_25_9583.jpg', '/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_15_10589.jpg', '/home/nano/Desktop/images/23042025/00/59/image_23042025_01_00_05_9573.jpg', '/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_55_10581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_45_10574.jpg
/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_34_9564.jpg
/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_25_9583.jpg
/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_15_10589.jpg
/home/nano/Desktop/images/23042025/00/59/image_23042025_01_00_05_9573.jpg
/home/nano/Desktop/images/23042025/00/59/image_23042025_00_59_55_10581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352874386","1352874382","1352874370","1352874399","1352874378","1352874374"],"photo_ids_order":["1352874370","1352874374","1352874378","1352874382","1352874386","1352874399"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29cbe8409012302ca3a6304a8f22e1c5.jpg","text":"TemporaryFile(/tmp/multipartBody2905600515162002453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362893747,"filename":"image_23042025_01_00_05_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1bf5b8765bd798dad0c5166c1229787.jpg","text":"TemporaryFile(/tmp/multipartBody7343682054948499394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362893747,"filename":"image_23042025_01_00_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cda5095f80c6ac148f84c52385191469.jpg","text":"TemporaryFile(/tmp/multipartBody2168103185111083980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362893747,"filename":"image_23042025_01_00_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bd18b1301f8ca889cd160ba24a4078d.jpg","text":"TemporaryFile(/tmp/multipartBody4623124041863425623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362893747,"filename":"image_23042025_00_59_55_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73e2db3e49b42e33ed052e08142edf60.jpg","text":"TemporaryFile(/tmp/multipartBody2820504789829579929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362893747,"filename":"image_23042025_01_00_25_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65ab21bccf1e368a970913d803b1bdb0.jpg","text":"TemporaryFile(/tmp/multipartBody7954518151663038005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362893747,"filename":"image_23042025_01_00_34_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352874378","file1":"1352874374","file0":"1352874370","file4":"1352874386","file5":"1352874399","file3":"1352874382"},"map_files_photo_id_array":[{"photo_id":"1352874399","filename":"file5"},{"photo_id":"1352874378","filename":"file2"},{"photo_id":"1352874386","filename":"file4"},{"photo_id":"1352874374","filename":"file1"},{"photo_id":"1352874370","filename":"file0"},{"photo_id":"1352874382","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352874386":["hashtag1","hashtag2"]},{"1352874382":["hashtag1","hashtag2"]},{"1352874370":["hashtag1","hashtag2"]},{"1352874399":["hashtag1","hashtag2"]},{"1352874378":["hashtag1","hashtag2"]},{"1352874374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352874386, 1352874382, 1352874370, 1352874399, 1352874378, 1352874374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78219723701477 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:01:32.504200
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_45_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_15_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/00/image_23042025_01_01_05_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_55_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_35_9577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_45_9578.jpg', '/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_25_10572.jpg', '/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_15_9563.jpg', '/home/nano/Desktop/images/23042025/01/00/image_23042025_01_01_05_10589.jpg', '/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_55_9562.jpg', '/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_35_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_45_9578.jpg
/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_25_10572.jpg
/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_15_9563.jpg
/home/nano/Desktop/images/23042025/01/00/image_23042025_01_01_05_10589.jpg
/home/nano/Desktop/images/23042025/01/00/image_23042025_01_00_55_9562.jpg
/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_35_9577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352874635","1352874661","1352874715","1352874687","1352874771","1352874744"],"photo_ids_order":["1352874635","1352874661","1352874687","1352874715","1352874744","1352874771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8a0b3b6a044f09b1ab7d0e5d5f95d69.jpg","text":"TemporaryFile(/tmp/multipartBody725967474923858493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362953413,"filename":"image_23042025_01_01_45_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d67ef521fb90d841ecddba31be5bb95f.jpg","text":"TemporaryFile(/tmp/multipartBody4362075802276788931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362953413,"filename":"image_23042025_01_01_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aea862d99e84fbb223c471dec8aad545.jpg","text":"TemporaryFile(/tmp/multipartBody553743970151660205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362953413,"filename":"image_23042025_01_01_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/362a818030deba3c2f77dc5b175a8e4d.jpg","text":"TemporaryFile(/tmp/multipartBody1805007536730642976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362953413,"filename":"image_23042025_01_01_15_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab75a623c9b909193d58f88d3affbcb5.jpg","text":"TemporaryFile(/tmp/multipartBody9077238787997815302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362953413,"filename":"image_23042025_00_58_35_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43f211d61e8f885d4a26480caa2945b1.jpg","text":"TemporaryFile(/tmp/multipartBody6927064706152347169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745362953413,"filename":"image_23042025_01_00_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352874687","file1":"1352874661","file0":"1352874635","file4":"1352874744","file5":"1352874771","file3":"1352874715"},"map_files_photo_id_array":[{"photo_id":"1352874771","filename":"file5"},{"photo_id":"1352874687","filename":"file2"},{"photo_id":"1352874744","filename":"file4"},{"photo_id":"1352874661","filename":"file1"},{"photo_id":"1352874635","filename":"file0"},{"photo_id":"1352874715","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352874635":["hashtag1","hashtag2"]},{"1352874661":["hashtag1","hashtag2"]},{"1352874715":["hashtag1","hashtag2"]},{"1352874687":["hashtag1","hashtag2"]},{"1352874771":["hashtag1","hashtag2"]},{"1352874744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352874635, 1352874661, 1352874715, 1352874687, 1352874771, 1352874744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.101030111312866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:02:32.582202
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_35_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/01/image_23042025_01_02_05_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_55_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_25_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_45_9564.jpg', '/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_35_10576.jpg', '/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_25_9564.jpg', '/home/nano/Desktop/images/23042025/01/01/image_23042025_01_02_05_9572.jpg', '/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_55_10570.jpg', '/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_25_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_45_9564.jpg
/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_35_10576.jpg
/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_25_9564.jpg
/home/nano/Desktop/images/23042025/01/01/image_23042025_01_02_05_9572.jpg
/home/nano/Desktop/images/23042025/01/01/image_23042025_01_01_55_10570.jpg
/home/nano/Desktop/images/23042025/00/58/image_23042025_00_58_25_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352875214","1352875162","1352875266","1352875239","1352875188","1352875134"],"photo_ids_order":["1352875134","1352875162","1352875188","1352875214","1352875239","1352875266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9d6ceaac142f8db4a7d0b5a4a985680.jpg","text":"TemporaryFile(/tmp/multipartBody7836121392398909270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363013453,"filename":"image_23042025_01_02_05_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fea8d1b5f44cb344e8b19a5d25def05.jpg","text":"TemporaryFile(/tmp/multipartBody4977683505542176534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363013453,"filename":"image_23042025_01_02_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3bbb65da9b0ebdf72cf5d02cefc5210.jpg","text":"TemporaryFile(/tmp/multipartBody7758366886200946970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363013453,"filename":"image_23042025_00_58_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5ddd6af037b61937190561b1ad2df8d.jpg","text":"TemporaryFile(/tmp/multipartBody1403828712886117510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363013453,"filename":"image_23042025_01_01_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98d6c9012468acaf721644c36e70555a.jpg","text":"TemporaryFile(/tmp/multipartBody7337972587050800608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363013453,"filename":"image_23042025_01_02_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6137df6af97f114fb61edd9e0b9887ab.jpg","text":"TemporaryFile(/tmp/multipartBody4277068921435017297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363013453,"filename":"image_23042025_01_02_45_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352875188","file1":"1352875162","file0":"1352875134","file4":"1352875239","file5":"1352875266","file3":"1352875214"},"map_files_photo_id_array":[{"photo_id":"1352875266","filename":"file5"},{"photo_id":"1352875188","filename":"file2"},{"photo_id":"1352875239","filename":"file4"},{"photo_id":"1352875162","filename":"file1"},{"photo_id":"1352875134","filename":"file0"},{"photo_id":"1352875214","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352875214":["hashtag1","hashtag2"]},{"1352875162":["hashtag1","hashtag2"]},{"1352875266":["hashtag1","hashtag2"]},{"1352875239":["hashtag1","hashtag2"]},{"1352875188":["hashtag1","hashtag2"]},{"1352875134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352875214, 1352875162, 1352875266, 1352875239, 1352875188, 1352875134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.77457094192505 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:03:32.691705
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_45_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/02/image_23042025_01_03_05_10581.jpg', 2), ('/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_55_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_45_10572.jpg', '/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/02/image_23042025_01_03_05_10581.jpg', '/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_55_9563.jpg', '/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_45_10572.jpg
/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_25_10574.jpg
/home/nano/Desktop/images/23042025/01/02/image_23042025_01_03_05_10581.jpg
/home/nano/Desktop/images/23042025/01/02/image_23042025_01_02_55_9563.jpg
/home/nano/Desktop/images/23042025/00/57/image_23042025_00_57_55_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352875325","1352875392","1352875339","1352875365","1352875329"],"photo_ids_order":["1352875325","1352875329","1352875339","1352875365","1352875392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ed0612fc34a72456ea5f3b75c06e724.jpg","text":"TemporaryFile(/tmp/multipartBody5175672648838046645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363073584,"filename":"image_23042025_01_03_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30a7931afdb0262239e51d6a100a1a1a.jpg","text":"TemporaryFile(/tmp/multipartBody3164299393031764003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363073584,"filename":"image_23042025_00_57_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0dae6a31a982c63ea049f092ba0783d5.jpg","text":"TemporaryFile(/tmp/multipartBody2807494546712419832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363073584,"filename":"image_23042025_01_03_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c853b8645c4c9bb374e5d2f3bc25a8a.jpg","text":"TemporaryFile(/tmp/multipartBody2112255462641235704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363073584,"filename":"image_23042025_01_02_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/518add22d66d472c24ac30e80bbf5125.jpg","text":"TemporaryFile(/tmp/multipartBody945271214270918274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363073584,"filename":"image_23042025_01_03_25_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352875339","file1":"1352875329","file0":"1352875325","file4":"1352875392","file3":"1352875365"},"map_files_photo_id_array":[{"photo_id":"1352875339","filename":"file2"},{"photo_id":"1352875392","filename":"file4"},{"photo_id":"1352875329","filename":"file1"},{"photo_id":"1352875325","filename":"file0"},{"photo_id":"1352875365","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352875325":["hashtag1","hashtag2"]},{"1352875392":["hashtag1","hashtag2"]},{"1352875339":["hashtag1","hashtag2"]},{"1352875365":["hashtag1","hashtag2"]},{"1352875329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352875325, 1352875392, 1352875339, 1352875365, 1352875329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.50985550880432 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:04:02.327590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6633448600769043 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:04:31.821115
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/04/image_23042025_01_04_15_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_55_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/04/image_23042025_01_04_15_10591.jpg', '/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_55_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/04/image_23042025_01_04_15_10591.jpg
/home/nano/Desktop/images/23042025/01/03/image_23042025_01_03_55_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352875528","1352875556"],"photo_ids_order":["1352875528","1352875556"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf5c54ca7ecd8002c88cf525460d8d53.jpg","text":"TemporaryFile(/tmp/multipartBody4785803029439773692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363132458,"filename":"image_23042025_01_04_15_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08539f68fdb1205d29dd45e475ec9ca7.jpg","text":"TemporaryFile(/tmp/multipartBody1529581968099316390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363132458,"filename":"image_23042025_01_03_55_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352875556","file0":"1352875528"},"map_files_photo_id_array":[{"photo_id":"1352875556","filename":"file1"},{"photo_id":"1352875528","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352875528":["hashtag1","hashtag2"]},{"1352875556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352875528, 1352875556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.955840349197388 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:05:02.421044
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.699655294418335 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:05:31.912101
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/04/image_23042025_01_04_45_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_25_10572.jpg', '/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_15_9564.jpg', '/home/nano/Desktop/images/23042025/01/04/image_23042025_01_04_45_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_25_10572.jpg
/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_15_9564.jpg
/home/nano/Desktop/images/23042025/01/04/image_23042025_01_04_45_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352875660","1352875663","1352875658"],"photo_ids_order":["1352875658","1352875660","1352875663"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0086fd10ceb72933832418bebc1ce277.jpg","text":"TemporaryFile(/tmp/multipartBody2459117401692970995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363192652,"filename":"image_23042025_01_05_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76dc2f3641ddf574f02690a451cc4b21.jpg","text":"TemporaryFile(/tmp/multipartBody6669964664953252232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363192652,"filename":"image_23042025_01_04_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4398e51f13d06cbc7a9b3fbf55feeac.jpg","text":"TemporaryFile(/tmp/multipartBody7285491237543719666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363192652,"filename":"image_23042025_01_05_25_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352875663","file1":"1352875660","file0":"1352875658"},"map_files_photo_id_array":[{"photo_id":"1352875663","filename":"file2"},{"photo_id":"1352875660","filename":"file1"},{"photo_id":"1352875658","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352875660":["hashtag1","hashtag2"]},{"1352875663":["hashtag1","hashtag2"]},{"1352875658":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352875660, 1352875663, 1352875658)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.262206077575684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:06:02.372285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.268974542617798 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:06:32.036757
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_25_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_15_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_35_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_25_9580.jpg', '/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_15_9573.jpg', '/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_25_9580.jpg
/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_15_9573.jpg
/home/nano/Desktop/images/23042025/01/05/image_23042025_01_05_35_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352875782","1352875803","1352875787"],"photo_ids_order":["1352875782","1352875787","1352875803"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e59d6290217937777e094e8a9850ad13.jpg","text":"TemporaryFile(/tmp/multipartBody6532451126587699121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363252948,"filename":"image_23042025_01_06_25_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6562e53d501c0c21059afd9bcc9bb6de.jpg","text":"TemporaryFile(/tmp/multipartBody8496431666338694711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363252948,"filename":"image_23042025_01_05_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b4a3468d08e3e0a36c87c0ce3d53a76.jpg","text":"TemporaryFile(/tmp/multipartBody6906126533856228108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363252948,"filename":"image_23042025_01_06_15_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352875803","file1":"1352875787","file0":"1352875782"},"map_files_photo_id_array":[{"photo_id":"1352875803","filename":"file2"},{"photo_id":"1352875787","filename":"file1"},{"photo_id":"1352875782","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352875782":["hashtag1","hashtag2"]},{"1352875803":["hashtag1","hashtag2"]},{"1352875787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352875782, 1352875803, 1352875787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.681538581848145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:07:02.565366
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6747691631317139 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:07:32.161559
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_15_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/01/06/image_23042025_01_07_05_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_45_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_25_9564.jpg', '/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_15_10587.jpg', '/home/nano/Desktop/images/23042025/01/06/image_23042025_01_07_05_9574.jpg', '/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_45_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_25_9564.jpg
/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_15_10587.jpg
/home/nano/Desktop/images/23042025/01/06/image_23042025_01_07_05_9574.jpg
/home/nano/Desktop/images/23042025/01/06/image_23042025_01_06_45_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352875843","1352875834","1352875848","1352875838"],"photo_ids_order":["1352875834","1352875838","1352875843","1352875848"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b8daff3f2bdd7e143a84291029fef69.jpg","text":"TemporaryFile(/tmp/multipartBody4417819173651669496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363313019,"filename":"image_23042025_01_07_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64b6885a15848dbf570af168cef4b669.jpg","text":"TemporaryFile(/tmp/multipartBody1270683791340311887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363313019,"filename":"image_23042025_01_07_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1a240861e4d5cf35455dbb691fc1d20.jpg","text":"TemporaryFile(/tmp/multipartBody1357136465908110120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363313019,"filename":"image_23042025_01_06_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3af2f9b2f6289287ffe9f87c8530c51.jpg","text":"TemporaryFile(/tmp/multipartBody5690402978698526428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363313019,"filename":"image_23042025_01_07_15_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352875843","file1":"1352875838","file0":"1352875834","file3":"1352875848"},"map_files_photo_id_array":[{"photo_id":"1352875843","filename":"file2"},{"photo_id":"1352875838","filename":"file1"},{"photo_id":"1352875834","filename":"file0"},{"photo_id":"1352875848","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352875843":["hashtag1","hashtag2"]},{"1352875834":["hashtag1","hashtag2"]},{"1352875848":["hashtag1","hashtag2"]},{"1352875838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352875843, 1352875834, 1352875848, 1352875838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.900782108306885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:08:02.551255
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7203021049499512 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:08:32.275605
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_15_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/07/image_23042025_01_08_05_10581.jpg', 2), ('/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_45_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_35_9565.jpg', '/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_15_9565.jpg', '/home/nano/Desktop/images/23042025/01/07/image_23042025_01_08_05_10581.jpg', '/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_45_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_35_9565.jpg
/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_15_9565.jpg
/home/nano/Desktop/images/23042025/01/07/image_23042025_01_08_05_10581.jpg
/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_45_10572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6190879344940186 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:09:02.963865
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_15_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/07/image_23042025_01_08_05_10581.jpg', 2), ('/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_45_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_35_9565.jpg', '/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_15_9565.jpg', '/home/nano/Desktop/images/23042025/01/07/image_23042025_01_08_05_10581.jpg', '/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_45_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_35_9565.jpg
/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_15_9565.jpg
/home/nano/Desktop/images/23042025/01/07/image_23042025_01_08_05_10581.jpg
/home/nano/Desktop/images/23042025/01/07/image_23042025_01_07_45_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352876044","1352876038","1352876043","1352876042"],"photo_ids_order":["1352876038","1352876042","1352876043","1352876044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e36fea54ba6cdb1747d7179181c25757.jpg","text":"TemporaryFile(/tmp/multipartBody3486321808695128734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363403783,"filename":"image_23042025_01_07_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35da1a241df318489dfd521659170252.jpg","text":"TemporaryFile(/tmp/multipartBody2004918702845048167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363403783,"filename":"image_23042025_01_08_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea4955bb030c5c4f79e0ac66ee5d629d.jpg","text":"TemporaryFile(/tmp/multipartBody3992557038005929179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363403783,"filename":"image_23042025_01_08_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8515fd0c727e3b8f56092e45c4691daf.jpg","text":"TemporaryFile(/tmp/multipartBody4891525389790516102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363403783,"filename":"image_23042025_01_08_15_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352876043","file1":"1352876042","file0":"1352876038","file3":"1352876044"},"map_files_photo_id_array":[{"photo_id":"1352876043","filename":"file2"},{"photo_id":"1352876042","filename":"file1"},{"photo_id":"1352876038","filename":"file0"},{"photo_id":"1352876044","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352876044":["hashtag1","hashtag2"]},{"1352876038":["hashtag1","hashtag2"]},{"1352876043":["hashtag1","hashtag2"]},{"1352876042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352876044, 1352876038, 1352876043, 1352876042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.937405109405518 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:09:32.364868
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_35_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/08/image_23042025_01_09_05_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_45_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_45_9563.jpg', '/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_35_10574.jpg', '/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_25_9565.jpg', '/home/nano/Desktop/images/23042025/01/08/image_23042025_01_09_05_9571.jpg', '/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_45_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_45_9563.jpg
/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_35_10574.jpg
/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_25_9565.jpg
/home/nano/Desktop/images/23042025/01/08/image_23042025_01_09_05_9571.jpg
/home/nano/Desktop/images/23042025/01/08/image_23042025_01_08_45_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352876092","1352876082","1352876085","1352876087","1352876096"],"photo_ids_order":["1352876082","1352876085","1352876087","1352876092","1352876096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b3484dc189a4f83a3053346c4d5b09b.jpg","text":"TemporaryFile(/tmp/multipartBody8822585226555585220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363433184,"filename":"image_23042025_01_09_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81c415197d06361a43eb7ee0efc1c73e.jpg","text":"TemporaryFile(/tmp/multipartBody8483402108297109108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363433184,"filename":"image_23042025_01_09_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c210aa52591f8dc04be3425a463f3bb4.jpg","text":"TemporaryFile(/tmp/multipartBody13749140948698978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363433184,"filename":"image_23042025_01_09_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecc709cbbef368e0bd1cdfd60222bfa7.jpg","text":"TemporaryFile(/tmp/multipartBody1987406716302903073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363433184,"filename":"image_23042025_01_09_25_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c856d7049a34a77d950249a05ff93434.jpg","text":"TemporaryFile(/tmp/multipartBody129174847004059829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363433184,"filename":"image_23042025_01_08_45_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352876087","file1":"1352876085","file0":"1352876082","file4":"1352876096","file3":"1352876092"},"map_files_photo_id_array":[{"photo_id":"1352876087","filename":"file2"},{"photo_id":"1352876096","filename":"file4"},{"photo_id":"1352876085","filename":"file1"},{"photo_id":"1352876082","filename":"file0"},{"photo_id":"1352876092","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352876092":["hashtag1","hashtag2"]},{"1352876082":["hashtag1","hashtag2"]},{"1352876085":["hashtag1","hashtag2"]},{"1352876087":["hashtag1","hashtag2"]},{"1352876096":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352876092, 1352876082, 1352876085, 1352876087, 1352876096)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.835148096084595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:10:02.773408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5113024711608887 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:10:32.474264
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/10/image_23042025_01_10_15_9597.jpg', 2), ('/home/nano/Desktop/images/23042025/01/09/image_23042025_01_10_05_10585.jpg', 2), ('/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_55_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/10/image_23042025_01_10_15_9597.jpg', '/home/nano/Desktop/images/23042025/01/09/image_23042025_01_10_05_10585.jpg', '/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_55_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/10/image_23042025_01_10_15_9597.jpg
/home/nano/Desktop/images/23042025/01/09/image_23042025_01_10_05_10585.jpg
/home/nano/Desktop/images/23042025/01/09/image_23042025_01_09_55_9579.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352876142","1352876150","1352876147"],"photo_ids_order":["1352876142","1352876147","1352876150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5f967f36624bb25715c4b8a3b05d4e4.jpg","text":"TemporaryFile(/tmp/multipartBody2267436102082609493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363493051,"filename":"image_23042025_01_10_15_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df45bbc76e4adef3a65ec57a01f62746.jpg","text":"TemporaryFile(/tmp/multipartBody8453006336640379376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363493051,"filename":"image_23042025_01_09_55_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b4af9868428103ae66580e76bb83ed5.jpg","text":"TemporaryFile(/tmp/multipartBody7547246118376815856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363493051,"filename":"image_23042025_01_10_05_10585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352876150","file1":"1352876147","file0":"1352876142"},"map_files_photo_id_array":[{"photo_id":"1352876150","filename":"file2"},{"photo_id":"1352876147","filename":"file1"},{"photo_id":"1352876142","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352876142":["hashtag1","hashtag2"]},{"1352876150":["hashtag1","hashtag2"]},{"1352876147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352876142, 1352876150, 1352876147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.349515438079834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:11:03.159172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.770939588546753 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:11:32.602502
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_35_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_15_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/01/10/image_23042025_01_11_05_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/01/10/image_23042025_01_10_35_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_35_10576.jpg', '/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_25_9563.jpg', '/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_15_10590.jpg', '/home/nano/Desktop/images/23042025/01/10/image_23042025_01_11_05_9580.jpg', '/home/nano/Desktop/images/23042025/01/10/image_23042025_01_10_35_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_35_10576.jpg
/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_25_9563.jpg
/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_15_10590.jpg
/home/nano/Desktop/images/23042025/01/10/image_23042025_01_11_05_9580.jpg
/home/nano/Desktop/images/23042025/01/10/image_23042025_01_10_35_9569.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352876266","1352876332","1352876319","1352876294","1352876306"],"photo_ids_order":["1352876266","1352876294","1352876306","1352876319","1352876332"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f26f938181f6e8641ad8d9cf6b65391.jpg","text":"TemporaryFile(/tmp/multipartBody1121250631254808652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363553441,"filename":"image_23042025_01_11_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ced43b1c0f1cc7c1b67e881c7ac681cc.jpg","text":"TemporaryFile(/tmp/multipartBody5640156899993045933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363553441,"filename":"image_23042025_01_10_35_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9dd0d7e23afe4a0ba403aa478d2db673.jpg","text":"TemporaryFile(/tmp/multipartBody915798666721178859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363553441,"filename":"image_23042025_01_11_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/957bc8a6666dc110a17733b817f2969c.jpg","text":"TemporaryFile(/tmp/multipartBody2689367890528786042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363553441,"filename":"image_23042025_01_11_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cf74141876172793e308c18276f5857.jpg","text":"TemporaryFile(/tmp/multipartBody3598495450800449032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363553441,"filename":"image_23042025_01_11_15_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352876306","file1":"1352876294","file0":"1352876266","file4":"1352876332","file3":"1352876319"},"map_files_photo_id_array":[{"photo_id":"1352876306","filename":"file2"},{"photo_id":"1352876332","filename":"file4"},{"photo_id":"1352876294","filename":"file1"},{"photo_id":"1352876266","filename":"file0"},{"photo_id":"1352876319","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352876266":["hashtag1","hashtag2"]},{"1352876332":["hashtag1","hashtag2"]},{"1352876319":["hashtag1","hashtag2"]},{"1352876294":["hashtag1","hashtag2"]},{"1352876306":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352876266, 1352876332, 1352876319, 1352876294, 1352876306)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.821675300598145 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:12:03.108066
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7801921367645264 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:12:32.682414
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_45_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_45_10575.jpg', '/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_35_9565.jpg', '/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_25_10573.jpg', '/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_45_10575.jpg
/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_35_9565.jpg
/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_25_10573.jpg
/home/nano/Desktop/images/23042025/01/11/image_23042025_01_11_45_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352876734","1352876656","1352876856","1352876804"],"photo_ids_order":["1352876656","1352876734","1352876804","1352876856"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0f232e33f75cc7854e578eec51d043d.jpg","text":"TemporaryFile(/tmp/multipartBody8887243448210812853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363613542,"filename":"image_23042025_01_12_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da6d6d74f2cd4c2a2ad1da20460d69df.jpg","text":"TemporaryFile(/tmp/multipartBody6916142235756101330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363613542,"filename":"image_23042025_01_12_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d361b6acfd6fd2c11c73c2dcbf65b578.jpg","text":"TemporaryFile(/tmp/multipartBody7647186681192748074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363613542,"filename":"image_23042025_01_11_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bf8d1266ae65bf234067ba903b06663.jpg","text":"TemporaryFile(/tmp/multipartBody3962592157688626773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363613542,"filename":"image_23042025_01_12_25_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352876804","file1":"1352876734","file0":"1352876656","file3":"1352876856"},"map_files_photo_id_array":[{"photo_id":"1352876804","filename":"file2"},{"photo_id":"1352876734","filename":"file1"},{"photo_id":"1352876656","filename":"file0"},{"photo_id":"1352876856","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352876734":["hashtag1","hashtag2"]},{"1352876656":["hashtag1","hashtag2"]},{"1352876856":["hashtag1","hashtag2"]},{"1352876804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352876734, 1352876656, 1352876856, 1352876804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.925691843032837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:13:02.216645
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0040605068206787 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:13:31.784690
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_35_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_25_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_15_10600.jpg', 2), ('/home/nano/Desktop/images/23042025/01/12/image_23042025_01_13_05_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_35_10573.jpg', '/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_25_9580.jpg', '/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_15_10600.jpg', '/home/nano/Desktop/images/23042025/01/12/image_23042025_01_13_05_9575.jpg', '/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_35_10573.jpg
/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_25_9580.jpg
/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_15_10600.jpg
/home/nano/Desktop/images/23042025/01/12/image_23042025_01_13_05_9575.jpg
/home/nano/Desktop/images/23042025/01/12/image_23042025_01_12_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352877567","1352877600","1352877455","1352877515","1352877628"],"photo_ids_order":["1352877455","1352877515","1352877567","1352877600","1352877628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69553dabfcbcfa474a1f002b481b15d3.jpg","text":"TemporaryFile(/tmp/multipartBody7814395817047830862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363672584,"filename":"image_23042025_01_13_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3c29c983e6648eee60b8b0f83863768.jpg","text":"TemporaryFile(/tmp/multipartBody3313309885241757010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363672584,"filename":"image_23042025_01_13_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/855aee6f1737f835c8e6716ad98ec359.jpg","text":"TemporaryFile(/tmp/multipartBody8273583140105147513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363672584,"filename":"image_23042025_01_13_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8ddff817f55fca3d5bbd45031186f71.jpg","text":"TemporaryFile(/tmp/multipartBody1128971255047614460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363672584,"filename":"image_23042025_01_13_25_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/080a69c7cbd880fc8c088c8173ed5319.jpg","text":"TemporaryFile(/tmp/multipartBody2009085664699339487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363672584,"filename":"image_23042025_01_12_55_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352877567","file1":"1352877515","file0":"1352877455","file4":"1352877628","file3":"1352877600"},"map_files_photo_id_array":[{"photo_id":"1352877567","filename":"file2"},{"photo_id":"1352877628","filename":"file4"},{"photo_id":"1352877515","filename":"file1"},{"photo_id":"1352877455","filename":"file0"},{"photo_id":"1352877600","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352877567":["hashtag1","hashtag2"]},{"1352877600":["hashtag1","hashtag2"]},{"1352877455":["hashtag1","hashtag2"]},{"1352877515":["hashtag1","hashtag2"]},{"1352877628":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352877567, 1352877600, 1352877455, 1352877515, 1352877628)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.426128387451172 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:14:02.550466
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0909206867218018 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:14:31.878283
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_25_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_15_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/13/image_23042025_01_14_05_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_25_10588.jpg', '/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_15_9573.jpg', '/home/nano/Desktop/images/23042025/01/13/image_23042025_01_14_05_9574.jpg', '/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_25_10588.jpg
/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_15_9573.jpg
/home/nano/Desktop/images/23042025/01/13/image_23042025_01_14_05_9574.jpg
/home/nano/Desktop/images/23042025/01/13/image_23042025_01_13_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352878167","1352878217","1352878060","1352878111"],"photo_ids_order":["1352878060","1352878111","1352878167","1352878217"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a69400fe4bb6741ac610321ea959c72.jpg","text":"TemporaryFile(/tmp/multipartBody7486389358393019628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363732770,"filename":"image_23042025_01_14_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3097ac04a8e7b1d46c292069bc55311d.jpg","text":"TemporaryFile(/tmp/multipartBody4779414888051053913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363732770,"filename":"image_23042025_01_13_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18937f97bb9417bc072ce696a78d52d2.jpg","text":"TemporaryFile(/tmp/multipartBody5389510936552394250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363732770,"filename":"image_23042025_01_14_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a57a51e932fd09c48bc47e54028cf90.jpg","text":"TemporaryFile(/tmp/multipartBody3387488218718832056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363732770,"filename":"image_23042025_01_14_15_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352878167","file1":"1352878111","file0":"1352878060","file3":"1352878217"},"map_files_photo_id_array":[{"photo_id":"1352878167","filename":"file2"},{"photo_id":"1352878111","filename":"file1"},{"photo_id":"1352878060","filename":"file0"},{"photo_id":"1352878217","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352878167":["hashtag1","hashtag2"]},{"1352878217":["hashtag1","hashtag2"]},{"1352878060":["hashtag1","hashtag2"]},{"1352878111":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352878167, 1352878217, 1352878060, 1352878111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.846365690231323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:15:02.520169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6442914009094238 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:15:31.966608
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/15/image_23042025_01_15_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/14/image_23042025_01_15_05_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/15/image_23042025_01_15_25_9563.jpg', '/home/nano/Desktop/images/23042025/01/14/image_23042025_01_15_05_10582.jpg', '/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/15/image_23042025_01_15_25_9563.jpg
/home/nano/Desktop/images/23042025/01/14/image_23042025_01_15_05_10582.jpg
/home/nano/Desktop/images/23042025/01/14/image_23042025_01_14_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352879232","1352879342","1352879281"],"photo_ids_order":["1352879232","1352879281","1352879342"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b5e0e7bc314845e95acd8da591c017b.jpg","text":"TemporaryFile(/tmp/multipartBody4085875219704436793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363792721,"filename":"image_23042025_01_15_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14f032447e4042e64698befb29f1cd00.jpg","text":"TemporaryFile(/tmp/multipartBody4346864632780151793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363792721,"filename":"image_23042025_01_14_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/944c13c89aded8a3ded39f39c1daec50.jpg","text":"TemporaryFile(/tmp/multipartBody5657284731357491389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363792721,"filename":"image_23042025_01_15_05_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352879342","file1":"1352879281","file0":"1352879232"},"map_files_photo_id_array":[{"photo_id":"1352879342","filename":"file2"},{"photo_id":"1352879281","filename":"file1"},{"photo_id":"1352879232","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352879232":["hashtag1","hashtag2"]},{"1352879342":["hashtag1","hashtag2"]},{"1352879281":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352879232, 1352879342, 1352879281)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.162902116775513 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:16:02.414002
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5752637386322021 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:16:32.136017
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_25_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_14_9594.jpg', 2), ('/home/nano/Desktop/images/23042025/01/15/image_23042025_01_15_55_10578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_45_10574.jpg', '/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_35_9562.jpg', '/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_25_10586.jpg', '/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_14_9594.jpg', '/home/nano/Desktop/images/23042025/01/15/image_23042025_01_15_55_10578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_45_10574.jpg
/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_35_9562.jpg
/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_25_10586.jpg
/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_14_9594.jpg
/home/nano/Desktop/images/23042025/01/15/image_23042025_01_15_55_10578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352880012","1352879926","1352879793","1352879850","1352879724"],"photo_ids_order":["1352879724","1352879793","1352879850","1352879926","1352880012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49f8ac93664b6ef57b94e62b5c9c5e4d.jpg","text":"TemporaryFile(/tmp/multipartBody136000132879478117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363853104,"filename":"image_23042025_01_15_55_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f8d3c0f1d92071cc597c2591c00a168.jpg","text":"TemporaryFile(/tmp/multipartBody3327135613296390400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363853104,"filename":"image_23042025_01_16_14_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3725a5be56cf9e1d91b7f63c62972e84.jpg","text":"TemporaryFile(/tmp/multipartBody2030491171812528024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363853104,"filename":"image_23042025_01_16_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0f438a44f7fefdb9cd6c13c4141c082.jpg","text":"TemporaryFile(/tmp/multipartBody8586848417276630691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363853104,"filename":"image_23042025_01_16_25_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1212ad6361a47070b751b9281dedb2e.jpg","text":"TemporaryFile(/tmp/multipartBody91699379566661458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363853104,"filename":"image_23042025_01_16_45_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352879850","file1":"1352879793","file0":"1352879724","file4":"1352880012","file3":"1352879926"},"map_files_photo_id_array":[{"photo_id":"1352879850","filename":"file2"},{"photo_id":"1352880012","filename":"file4"},{"photo_id":"1352879793","filename":"file1"},{"photo_id":"1352879724","filename":"file0"},{"photo_id":"1352879926","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352880012":["hashtag1","hashtag2"]},{"1352879926":["hashtag1","hashtag2"]},{"1352879793":["hashtag1","hashtag2"]},{"1352879850":["hashtag1","hashtag2"]},{"1352879724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352880012, 1352879926, 1352879793, 1352879850, 1352879724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.900224208831787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:17:02.688649
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6285688877105713 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:17:32.244850
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/16/image_23042025_01_17_05_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_25_9565.jpg', '/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_15_9564.jpg', '/home/nano/Desktop/images/23042025/01/16/image_23042025_01_17_05_10591.jpg', '/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_25_9565.jpg
/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_15_9564.jpg
/home/nano/Desktop/images/23042025/01/16/image_23042025_01_17_05_10591.jpg
/home/nano/Desktop/images/23042025/01/16/image_23042025_01_16_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352880621","1352880599","1352880673","1352880562"],"photo_ids_order":["1352880562","1352880599","1352880621","1352880673"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2abb6a0c594383d8e0cbb95d2962fb6f.jpg","text":"TemporaryFile(/tmp/multipartBody7212752171468002118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363913050,"filename":"image_23042025_01_17_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f30a36ff3ada5bc21bf2111b1c54bdd7.jpg","text":"TemporaryFile(/tmp/multipartBody2766254401485291597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363913050,"filename":"image_23042025_01_17_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0427ea38fbd70d10aff9b9f9ce53d548.jpg","text":"TemporaryFile(/tmp/multipartBody2531338080648592807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363913050,"filename":"image_23042025_01_16_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22302387e7fd6e7541a60a1702d1eb1f.jpg","text":"TemporaryFile(/tmp/multipartBody6481708558301121711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745363913050,"filename":"image_23042025_01_17_25_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352880621","file1":"1352880599","file0":"1352880562","file3":"1352880673"},"map_files_photo_id_array":[{"photo_id":"1352880621","filename":"file2"},{"photo_id":"1352880599","filename":"file1"},{"photo_id":"1352880562","filename":"file0"},{"photo_id":"1352880673","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352880621":["hashtag1","hashtag2"]},{"1352880599":["hashtag1","hashtag2"]},{"1352880673":["hashtag1","hashtag2"]},{"1352880562":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352880621, 1352880599, 1352880673, 1352880562)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.462836980819702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:18:02.621609
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.57126784324646 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:18:32.324335
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_35_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_25_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/01/17/image_23042025_01_18_05_9589.jpg', 2), ('/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_45_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_35_9566.jpg', '/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_25_9578.jpg', '/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_15_10593.jpg', '/home/nano/Desktop/images/23042025/01/17/image_23042025_01_18_05_9589.jpg', '/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_45_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_35_9566.jpg
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_25_9578.jpg
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_15_10593.jpg
/home/nano/Desktop/images/23042025/01/17/image_23042025_01_18_05_9589.jpg
/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_45_9565.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8185694217681885 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:19:02.853011
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_35_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_25_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/01/17/image_23042025_01_18_05_9589.jpg', 2), ('/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_45_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_35_9566.jpg', '/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_25_9578.jpg', '/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_15_10593.jpg', '/home/nano/Desktop/images/23042025/01/17/image_23042025_01_18_05_9589.jpg', '/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_45_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_35_9566.jpg
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_25_9578.jpg
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_15_10593.jpg
/home/nano/Desktop/images/23042025/01/17/image_23042025_01_18_05_9589.jpg
/home/nano/Desktop/images/23042025/01/17/image_23042025_01_17_45_9565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352881385","1352881361","1352881409","1352881414","1352881336"],"photo_ids_order":["1352881336","1352881361","1352881385","1352881409","1352881414"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fddef5bbc82d60f580a4b9c0e63c86b9.jpg","text":"TemporaryFile(/tmp/multipartBody722360454790189722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364003644,"filename":"image_23042025_01_18_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c64c5f2ff0ec44f3ab5e885c0f5477a.jpg","text":"TemporaryFile(/tmp/multipartBody8114627985535816807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364003644,"filename":"image_23042025_01_18_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91c6827acc2f74fd28083c4119b9e9a8.jpg","text":"TemporaryFile(/tmp/multipartBody1657400866867682863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364003644,"filename":"image_23042025_01_18_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bd531334bc5cdc56f4272473737e311.jpg","text":"TemporaryFile(/tmp/multipartBody1496934431645815463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364003644,"filename":"image_23042025_01_17_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7f7e11309eb762045ba066d8a711ba2.jpg","text":"TemporaryFile(/tmp/multipartBody2500811778452817376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364003644,"filename":"image_23042025_01_18_35_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352881385","file1":"1352881361","file0":"1352881336","file4":"1352881414","file3":"1352881409"},"map_files_photo_id_array":[{"photo_id":"1352881385","filename":"file2"},{"photo_id":"1352881414","filename":"file4"},{"photo_id":"1352881361","filename":"file1"},{"photo_id":"1352881336","filename":"file0"},{"photo_id":"1352881409","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352881385":["hashtag1","hashtag2"]},{"1352881361":["hashtag1","hashtag2"]},{"1352881409":["hashtag1","hashtag2"]},{"1352881414":["hashtag1","hashtag2"]},{"1352881336":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352881385, 1352881361, 1352881409, 1352881414, 1352881336)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.32316708564758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:20:02.845161
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_45_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_35_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_25_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_45_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_45_9579.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_35_9584.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_25_10590.jpg', '/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_45_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_45_9579.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_35_9584.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_25_10590.jpg
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_45_10589.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.6305370330810547 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:20:32.509939
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_20_05_9588.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_45_10574.jpg', '/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_35_9562.jpg', '/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_25_9564.jpg', '/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_15_10594.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_20_05_9588.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_45_10574.jpg
/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_35_9562.jpg
/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_25_9564.jpg
/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_15_10594.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_20_05_9588.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_55_10572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352881796","1352881685","1352881633","1352881720","1352881866","1352881746"],"photo_ids_order":["1352881633","1352881685","1352881720","1352881746","1352881796","1352881866"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2e70b3f467786ddfab67dd63b962710.jpg","text":"TemporaryFile(/tmp/multipartBody7132844129015467560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364093389,"filename":"image_23042025_01_20_05_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b43967193ce39ee1b70d2be7c442b6c4.jpg","text":"TemporaryFile(/tmp/multipartBody6339772024003962170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364093389,"filename":"image_23042025_01_20_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94ca696ddc97b113a2435c98bb93bf41.jpg","text":"TemporaryFile(/tmp/multipartBody6781086683581847630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364093389,"filename":"image_23042025_01_20_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45b3bf054aed32af714b355b6fce3db5.jpg","text":"TemporaryFile(/tmp/multipartBody510615754351910157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364093389,"filename":"image_23042025_01_20_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be9dfee10fb9d77991f01decdd85ea86.jpg","text":"TemporaryFile(/tmp/multipartBody2966782440328197590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364093389,"filename":"image_23042025_01_19_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8378325180c7ff07064f8afc581fec7.jpg","text":"TemporaryFile(/tmp/multipartBody1055150353720451053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364093389,"filename":"image_23042025_01_20_15_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352881720","file1":"1352881685","file0":"1352881633","file4":"1352881796","file5":"1352881866","file3":"1352881746"},"map_files_photo_id_array":[{"photo_id":"1352881866","filename":"file5"},{"photo_id":"1352881720","filename":"file2"},{"photo_id":"1352881796","filename":"file4"},{"photo_id":"1352881685","filename":"file1"},{"photo_id":"1352881633","filename":"file0"},{"photo_id":"1352881746","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352881796":["hashtag1","hashtag2"]},{"1352881685":["hashtag1","hashtag2"]},{"1352881633":["hashtag1","hashtag2"]},{"1352881720":["hashtag1","hashtag2"]},{"1352881866":["hashtag1","hashtag2"]},{"1352881746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352881796, 1352881685, 1352881633, 1352881720, 1352881866, 1352881746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.4898841381073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:21:32.605510
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_15_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/20/image_23042025_01_21_05_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_55_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_45_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_35_9563.jpg', '/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_25_10575.jpg', '/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_15_9572.jpg', '/home/nano/Desktop/images/23042025/01/20/image_23042025_01_21_05_10574.jpg', '/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_55_9566.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_45_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_35_9563.jpg
/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_25_10575.jpg
/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_15_9572.jpg
/home/nano/Desktop/images/23042025/01/20/image_23042025_01_21_05_10574.jpg
/home/nano/Desktop/images/23042025/01/20/image_23042025_01_20_55_9566.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_45_9579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882333","1352882321","1352882324","1352882318","1352882331","1352882328"],"photo_ids_order":["1352882318","1352882321","1352882324","1352882328","1352882331","1352882333"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7209ed6d74b8b5f57dce117ab6a9921.jpg","text":"TemporaryFile(/tmp/multipartBody418184073232453343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364153889,"filename":"image_23042025_01_19_45_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4da6ee94c1f5ac34a3bb3f6ce04bb3c1.jpg","text":"TemporaryFile(/tmp/multipartBody7558443042838172754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364153889,"filename":"image_23042025_01_21_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e3ca0eb348b658506300df5b9431f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3310536945424148334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364153889,"filename":"image_23042025_01_21_15_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78dbf4649b135d020121a95745cb9bcb.jpg","text":"TemporaryFile(/tmp/multipartBody5599583541703960593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364153889,"filename":"image_23042025_01_21_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/623043056ea9b2d93ee032b05b560334.jpg","text":"TemporaryFile(/tmp/multipartBody1051586165661225067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364153889,"filename":"image_23042025_01_20_55_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc2261df1a4768aac0eb22b95fbf1e22.jpg","text":"TemporaryFile(/tmp/multipartBody6870115398413514484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364153889,"filename":"image_23042025_01_21_05_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352882324","file1":"1352882321","file0":"1352882318","file4":"1352882331","file5":"1352882333","file3":"1352882328"},"map_files_photo_id_array":[{"photo_id":"1352882333","filename":"file5"},{"photo_id":"1352882324","filename":"file2"},{"photo_id":"1352882331","filename":"file4"},{"photo_id":"1352882321","filename":"file1"},{"photo_id":"1352882318","filename":"file0"},{"photo_id":"1352882328","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352882333":["hashtag1","hashtag2"]},{"1352882321":["hashtag1","hashtag2"]},{"1352882324":["hashtag1","hashtag2"]},{"1352882318":["hashtag1","hashtag2"]},{"1352882331":["hashtag1","hashtag2"]},{"1352882328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352882333, 1352882321, 1352882324, 1352882318, 1352882331, 1352882328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.23266577720642 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:22:32.697691
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_35_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_15_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/01/21/image_23042025_01_22_05_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_55_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_35_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_45_9563.jpg', '/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_35_10573.jpg', '/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_15_10597.jpg', '/home/nano/Desktop/images/23042025/01/21/image_23042025_01_22_05_9567.jpg', '/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_55_10593.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_35_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_45_9563.jpg
/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_35_10573.jpg
/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_15_10597.jpg
/home/nano/Desktop/images/23042025/01/21/image_23042025_01_22_05_9567.jpg
/home/nano/Desktop/images/23042025/01/21/image_23042025_01_21_55_10593.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_35_9584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882347","1352882397","1352882391","1352882364","1352882400","1352882399"],"photo_ids_order":["1352882347","1352882364","1352882391","1352882397","1352882399","1352882400"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed91b4b5243fe2728d330a0a3dc86a88.jpg","text":"TemporaryFile(/tmp/multipartBody5804853507456964556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364213500,"filename":"image_23042025_01_22_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17a4920cf922a7fc8b58a941b97f50c5.jpg","text":"TemporaryFile(/tmp/multipartBody8118029143200252139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364213500,"filename":"image_23042025_01_22_05_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d162addb08cd49a4a855f13ead101624.jpg","text":"TemporaryFile(/tmp/multipartBody1278922364893016462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364213500,"filename":"image_23042025_01_22_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e00cf7c9527022b08c27c7c1c37dae1e.jpg","text":"TemporaryFile(/tmp/multipartBody5896489548885983956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364213500,"filename":"image_23042025_01_22_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7e8ac052c0e56b3de464516e1b0fac0.jpg","text":"TemporaryFile(/tmp/multipartBody8987669332549452036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364213500,"filename":"image_23042025_01_19_35_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/657cefb81708b01a464e5010ccdd44df.jpg","text":"TemporaryFile(/tmp/multipartBody4688012100844831845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364213500,"filename":"image_23042025_01_21_55_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352882391","file1":"1352882364","file0":"1352882347","file4":"1352882399","file5":"1352882400","file3":"1352882397"},"map_files_photo_id_array":[{"photo_id":"1352882400","filename":"file5"},{"photo_id":"1352882391","filename":"file2"},{"photo_id":"1352882399","filename":"file4"},{"photo_id":"1352882364","filename":"file1"},{"photo_id":"1352882347","filename":"file0"},{"photo_id":"1352882397","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352882347":["hashtag1","hashtag2"]},{"1352882397":["hashtag1","hashtag2"]},{"1352882391":["hashtag1","hashtag2"]},{"1352882364":["hashtag1","hashtag2"]},{"1352882400":["hashtag1","hashtag2"]},{"1352882399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352882347, 1352882397, 1352882391, 1352882364, 1352882400, 1352882399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42177391052246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:23:31.813594
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_35_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_15_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_55_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_25_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_45_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_35_9574.jpg', '/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_25_10572.jpg', '/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_15_9577.jpg', '/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_55_9564.jpg', '/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_25_10590.jpg', '/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_45_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_35_9574.jpg
/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_25_10572.jpg
/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_15_9577.jpg
/home/nano/Desktop/images/23042025/01/22/image_23042025_01_22_55_9564.jpg
/home/nano/Desktop/images/23042025/01/19/image_23042025_01_19_25_10590.jpg
/home/nano/Desktop/images/23042025/01/18/image_23042025_01_18_45_10589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882414","1352882405","1352882425","1352882419","1352882410","1352882424"],"photo_ids_order":["1352882405","1352882410","1352882414","1352882419","1352882424","1352882425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/756216df7cdc05d807171ff94e73f4e9.jpg","text":"TemporaryFile(/tmp/multipartBody1551348872777805144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364272722,"filename":"image_23042025_01_23_15_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87c1f292c26c389c8e6c85e682b96939.jpg","text":"TemporaryFile(/tmp/multipartBody1319103873051852069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364272722,"filename":"image_23042025_01_23_35_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7b3c634055e6becf49233f01b598d1e.jpg","text":"TemporaryFile(/tmp/multipartBody5420933404798087119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364272722,"filename":"image_23042025_01_18_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7bbea3541b58148ba53e9b7ff6464268.jpg","text":"TemporaryFile(/tmp/multipartBody2427053440097174640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364272722,"filename":"image_23042025_01_22_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/322a4c890b0083b688356ce949c84ab4.jpg","text":"TemporaryFile(/tmp/multipartBody7260590600207880385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364272722,"filename":"image_23042025_01_23_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/462a3950233bc8a6ffbcc7bc9328dbdd.jpg","text":"TemporaryFile(/tmp/multipartBody1601959003786429135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364272722,"filename":"image_23042025_01_19_25_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352882414","file1":"1352882410","file0":"1352882405","file4":"1352882424","file5":"1352882425","file3":"1352882419"},"map_files_photo_id_array":[{"photo_id":"1352882425","filename":"file5"},{"photo_id":"1352882414","filename":"file2"},{"photo_id":"1352882424","filename":"file4"},{"photo_id":"1352882410","filename":"file1"},{"photo_id":"1352882405","filename":"file0"},{"photo_id":"1352882419","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352882414":["hashtag1","hashtag2"]},{"1352882405":["hashtag1","hashtag2"]},{"1352882425":["hashtag1","hashtag2"]},{"1352882419":["hashtag1","hashtag2"]},{"1352882410":["hashtag1","hashtag2"]},{"1352882424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352882414, 1352882405, 1352882425, 1352882419, 1352882410, 1352882424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.750032901763916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:24:31.886651
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_35_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_15_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/01/23/image_23042025_01_24_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_45_10576.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_35_10574.jpg', '/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_25_9563.jpg', '/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_15_10596.jpg', '/home/nano/Desktop/images/23042025/01/23/image_23042025_01_24_05_9568.jpg', '/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_45_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_35_10574.jpg
/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_25_9563.jpg
/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_15_10596.jpg
/home/nano/Desktop/images/23042025/01/23/image_23042025_01_24_05_9568.jpg
/home/nano/Desktop/images/23042025/01/23/image_23042025_01_23_45_10576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882451","1352882454","1352882448","1352882442","1352882445"],"photo_ids_order":["1352882442","1352882445","1352882448","1352882451","1352882454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec5552a9ed7c02697c10253a2fc259d9.jpg","text":"TemporaryFile(/tmp/multipartBody6747451325459168817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364332694,"filename":"image_23042025_01_24_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/636af812549b6eb88896caa3079d154f.jpg","text":"TemporaryFile(/tmp/multipartBody3651685641698932694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364332694,"filename":"image_23042025_01_23_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b739d4f8cca45dfcbbb186e1ed978a71.jpg","text":"TemporaryFile(/tmp/multipartBody6739058345520412305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364332694,"filename":"image_23042025_01_24_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/983eed6eb9817884df05669edd833985.jpg","text":"TemporaryFile(/tmp/multipartBody6190437634784069778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364332694,"filename":"image_23042025_01_24_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a9253328d4b13d0e8e771306d0c71a4.jpg","text":"TemporaryFile(/tmp/multipartBody5101334022229998394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364332694,"filename":"image_23042025_01_24_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352882448","file1":"1352882445","file0":"1352882442","file4":"1352882454","file3":"1352882451"},"map_files_photo_id_array":[{"photo_id":"1352882448","filename":"file2"},{"photo_id":"1352882454","filename":"file4"},{"photo_id":"1352882445","filename":"file1"},{"photo_id":"1352882442","filename":"file0"},{"photo_id":"1352882451","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352882451":["hashtag1","hashtag2"]},{"1352882454":["hashtag1","hashtag2"]},{"1352882448":["hashtag1","hashtag2"]},{"1352882442":["hashtag1","hashtag2"]},{"1352882445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352882451, 1352882454, 1352882448, 1352882442, 1352882445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.014363765716553 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:25:32.005776
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/25/image_23042025_01_25_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/24/image_23042025_01_25_05_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_45_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/25/image_23042025_01_25_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/24/image_23042025_01_25_05_9574.jpg', '/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_45_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/25/image_23042025_01_25_25_10574.jpg
/home/nano/Desktop/images/23042025/01/24/image_23042025_01_25_05_9574.jpg
/home/nano/Desktop/images/23042025/01/24/image_23042025_01_24_45_9581.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882473","1352882470","1352882475"],"photo_ids_order":["1352882470","1352882473","1352882475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fbacc13d24a40a65b3b31f9a772d574.jpg","text":"TemporaryFile(/tmp/multipartBody7582320372513267306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364392654,"filename":"image_23042025_01_25_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07d08fe1053c3f471fdca7b5320bc0a2.jpg","text":"TemporaryFile(/tmp/multipartBody8126987461509356486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364392654,"filename":"image_23042025_01_25_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16152b9ea9beb4fddca4a36deaafb56e.jpg","text":"TemporaryFile(/tmp/multipartBody2007253679658366626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364392654,"filename":"image_23042025_01_24_45_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352882475","file1":"1352882473","file0":"1352882470"},"map_files_photo_id_array":[{"photo_id":"1352882475","filename":"file2"},{"photo_id":"1352882473","filename":"file1"},{"photo_id":"1352882470","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352882473":["hashtag1","hashtag2"]},{"1352882470":["hashtag1","hashtag2"]},{"1352882475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352882473, 1352882470, 1352882475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.656795501708984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:26:02.356419
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.436044454574585 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:26:32.079341
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_15_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/01/25/image_23042025_01_25_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_25_9562.jpg', '/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_15_9566.jpg', '/home/nano/Desktop/images/23042025/01/25/image_23042025_01_25_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_25_9562.jpg
/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_15_9566.jpg
/home/nano/Desktop/images/23042025/01/25/image_23042025_01_25_55_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882722","1352882754","1352882780"],"photo_ids_order":["1352882722","1352882754","1352882780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6871f09d7ffcdb8743bde23b30c653c.jpg","text":"TemporaryFile(/tmp/multipartBody2576894053093521562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364452822,"filename":"image_23042025_01_26_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23f128fa23a4f5f6c726d9d18b9656a9.jpg","text":"TemporaryFile(/tmp/multipartBody3061097943096388114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364452822,"filename":"image_23042025_01_26_15_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a73d7972435e60e73481c9832af0b18.jpg","text":"TemporaryFile(/tmp/multipartBody5037079028476222293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364452822,"filename":"image_23042025_01_25_55_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352882780","file1":"1352882754","file0":"1352882722"},"map_files_photo_id_array":[{"photo_id":"1352882780","filename":"file2"},{"photo_id":"1352882754","filename":"file1"},{"photo_id":"1352882722","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352882722":["hashtag1","hashtag2"]},{"1352882754":["hashtag1","hashtag2"]},{"1352882780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352882722, 1352882754, 1352882780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.951154708862305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:27:02.699763
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/27/image_23042025_01_27_15_10590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/27/image_23042025_01_27_15_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/27/image_23042025_01_27_15_10590.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352882953"],"photo_id":"1352882953","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32a083723f82147df9a15b77da351fa5.jpg","text":"TemporaryFile(/tmp/multipartBody6905304400832563916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364483248,"filename":"image_23042025_01_27_15_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352882953"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352882953"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.44313907623291 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:27:32.252793
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/26/image_23042025_01_26_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352883252"],"photo_id":"1352883252","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ac67feb1659f58e1c6c5903fe30becb.jpg","text":"TemporaryFile(/tmp/multipartBody20479407544494526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364512693,"filename":"image_23042025_01_26_55_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352883252"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352883252"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.858354568481445 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:28:02.668642
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4552512168884277 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:28:32.345050
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_15_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/27/image_23042025_01_27_35_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_45_9564.jpg', '/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_35_9562.jpg', '/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_15_9565.jpg', '/home/nano/Desktop/images/23042025/01/27/image_23042025_01_27_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_45_9564.jpg
/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_35_9562.jpg
/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_15_9565.jpg
/home/nano/Desktop/images/23042025/01/27/image_23042025_01_27_35_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352883670","1352883672","1352883665","1352883668"],"photo_ids_order":["1352883665","1352883668","1352883670","1352883672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a3a96d90a480e6a6b392c4a6a468540.jpg","text":"TemporaryFile(/tmp/multipartBody8166054418787076721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364574080,"filename":"image_23042025_01_28_15_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee3f17d64cb131d4406da702fce88cdc.jpg","text":"TemporaryFile(/tmp/multipartBody6611559620322280776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364574080,"filename":"image_23042025_01_27_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62a99edd008f1b6d5c2a7aa02ac9cb49.jpg","text":"TemporaryFile(/tmp/multipartBody712538608989249862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364574080,"filename":"image_23042025_01_28_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f775238f756cb3fb23c550db348c71a.jpg","text":"TemporaryFile(/tmp/multipartBody4179963561135958463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364574080,"filename":"image_23042025_01_28_35_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352883670","file1":"1352883668","file0":"1352883665","file3":"1352883672"},"map_files_photo_id_array":[{"photo_id":"1352883670","filename":"file2"},{"photo_id":"1352883668","filename":"file1"},{"photo_id":"1352883665","filename":"file0"},{"photo_id":"1352883672","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352883670":["hashtag1","hashtag2"]},{"1352883672":["hashtag1","hashtag2"]},{"1352883665":["hashtag1","hashtag2"]},{"1352883668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352883670, 1352883672, 1352883665, 1352883668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.716214895248413 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:29:03.268797
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6107172966003418 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:29:32.452649
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_45_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/01/28/image_23042025_01_29_05_9586.jpg', 2), ('/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_55_10590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_45_10576.jpg', '/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_25_9561.jpg', '/home/nano/Desktop/images/23042025/01/28/image_23042025_01_29_05_9586.jpg', '/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_55_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_45_10576.jpg
/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_25_9561.jpg
/home/nano/Desktop/images/23042025/01/28/image_23042025_01_29_05_9586.jpg
/home/nano/Desktop/images/23042025/01/28/image_23042025_01_28_55_10590.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352884009","1352884155","1352884104","1352884055"],"photo_ids_order":["1352884009","1352884055","1352884104","1352884155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d22189debd7d92b8ad6581059acac3b3.jpg","text":"TemporaryFile(/tmp/multipartBody3533067122119485908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364633389,"filename":"image_23042025_01_29_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a45f59bcf3b8181270a578ef680886ef.jpg","text":"TemporaryFile(/tmp/multipartBody5807152629133387030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364633389,"filename":"image_23042025_01_28_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c3a8c55abd3ce7728e287d143c22cea.jpg","text":"TemporaryFile(/tmp/multipartBody9014184680365592742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364633389,"filename":"image_23042025_01_29_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b41f369408b58cdc2ec9d79131b7ff71.jpg","text":"TemporaryFile(/tmp/multipartBody5514490971679257561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364633389,"filename":"image_23042025_01_29_25_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352884104","file1":"1352884055","file0":"1352884009","file3":"1352884155"},"map_files_photo_id_array":[{"photo_id":"1352884104","filename":"file2"},{"photo_id":"1352884055","filename":"file1"},{"photo_id":"1352884009","filename":"file0"},{"photo_id":"1352884155","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352884009":["hashtag1","hashtag2"]},{"1352884155":["hashtag1","hashtag2"]},{"1352884104":["hashtag1","hashtag2"]},{"1352884055":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352884009, 1352884155, 1352884104, 1352884055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.215913772583008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:30:02.856948
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7179598808288574 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:30:32.521410
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_25_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_15_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_45_9564.jpg', '/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_25_10588.jpg', '/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_15_9580.jpg', '/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_45_9564.jpg
/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_25_10588.jpg
/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_15_9580.jpg
/home/nano/Desktop/images/23042025/01/29/image_23042025_01_29_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352884438","1352884445","1352884433","1352884457"],"photo_ids_order":["1352884433","1352884438","1352884445","1352884457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d965c7756a3c9bea98aef966bc349c18.jpg","text":"TemporaryFile(/tmp/multipartBody3929878077569964009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364693253,"filename":"image_23042025_01_30_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fde10a4e0f0eb6f9d386c563cbbc5037.jpg","text":"TemporaryFile(/tmp/multipartBody4406037172544927647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364693253,"filename":"image_23042025_01_30_15_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c1cffe7652a912058fc2c229aa6d943.jpg","text":"TemporaryFile(/tmp/multipartBody7786813686872325043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364693253,"filename":"image_23042025_01_30_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc02d7aec83169649964276f4061d1b9.jpg","text":"TemporaryFile(/tmp/multipartBody6996637347253784641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364693253,"filename":"image_23042025_01_29_55_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352884445","file1":"1352884438","file0":"1352884433","file3":"1352884457"},"map_files_photo_id_array":[{"photo_id":"1352884445","filename":"file2"},{"photo_id":"1352884438","filename":"file1"},{"photo_id":"1352884433","filename":"file0"},{"photo_id":"1352884457","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352884438":["hashtag1","hashtag2"]},{"1352884445":["hashtag1","hashtag2"]},{"1352884433":["hashtag1","hashtag2"]},{"1352884457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352884438, 1352884445, 1352884433, 1352884457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.619104146957397 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:31:03.180436
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.528562307357788 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:31:32.641497
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_35_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_15_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/01/30/image_23042025_01_31_05_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_35_10588.jpg', '/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_25_9564.jpg', '/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_15_10590.jpg', '/home/nano/Desktop/images/23042025/01/30/image_23042025_01_31_05_9580.jpg', '/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_35_10588.jpg
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_25_9564.jpg
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_15_10590.jpg
/home/nano/Desktop/images/23042025/01/30/image_23042025_01_31_05_9580.jpg
/home/nano/Desktop/images/23042025/01/30/image_23042025_01_30_55_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352884615","1352884626","1352884628","1352884622","1352884619"],"photo_ids_order":["1352884615","1352884619","1352884622","1352884626","1352884628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d54c8ad4afb4a66c09d9757885e9f209.jpg","text":"TemporaryFile(/tmp/multipartBody3356587684961231020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364753442,"filename":"image_23042025_01_31_35_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdd779179bf4ecf0b7cda2cf61e88fea.jpg","text":"TemporaryFile(/tmp/multipartBody2525480916140144650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364753442,"filename":"image_23042025_01_31_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60c03d57aaf5e6a41b88ec4a671f7032.jpg","text":"TemporaryFile(/tmp/multipartBody2424646576317584604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364753442,"filename":"image_23042025_01_30_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d708a4da6ea6650e8e595f97a24b0a33.jpg","text":"TemporaryFile(/tmp/multipartBody1158794711170313204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364753442,"filename":"image_23042025_01_31_15_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/525caedacd849b97f24706a06eeda32f.jpg","text":"TemporaryFile(/tmp/multipartBody3440677406438273532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364753442,"filename":"image_23042025_01_31_25_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352884622","file1":"1352884619","file0":"1352884615","file4":"1352884628","file3":"1352884626"},"map_files_photo_id_array":[{"photo_id":"1352884622","filename":"file2"},{"photo_id":"1352884628","filename":"file4"},{"photo_id":"1352884619","filename":"file1"},{"photo_id":"1352884615","filename":"file0"},{"photo_id":"1352884626","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352884615":["hashtag1","hashtag2"]},{"1352884626":["hashtag1","hashtag2"]},{"1352884628":["hashtag1","hashtag2"]},{"1352884622":["hashtag1","hashtag2"]},{"1352884619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352884615, 1352884626, 1352884628, 1352884622, 1352884619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.500791549682617 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:32:03.072033
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5788018703460693 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:32:32.737760
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_15_9600.jpg', 2), ('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_32_05_10578.jpg', 2), ('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_35_9564.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_15_9600.jpg', '/home/nano/Desktop/images/23042025/01/31/image_23042025_01_32_05_10578.jpg', '/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_35_9564.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_25_10574.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_15_9600.jpg
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_32_05_10578.jpg
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_45_9563.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8019917011260986 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:33:02.290030
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_15_9600.jpg', 2), ('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_32_05_10578.jpg', 2), ('/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_35_9564.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_15_9600.jpg', '/home/nano/Desktop/images/23042025/01/31/image_23042025_01_32_05_10578.jpg', '/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_35_9564.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_25_10574.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_15_9600.jpg
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_32_05_10578.jpg
/home/nano/Desktop/images/23042025/01/31/image_23042025_01_31_45_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352884750","1352884711","1352884653","1352884662","1352884687"],"photo_ids_order":["1352884653","1352884662","1352884687","1352884711","1352884750"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/776573b36a44bb1b33f7e65e00979722.jpg","text":"TemporaryFile(/tmp/multipartBody4047830441883504381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364843020,"filename":"image_23042025_01_31_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ccff1a379765295570b26013ef3a316.jpg","text":"TemporaryFile(/tmp/multipartBody1625596308723821712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364843020,"filename":"image_23042025_01_32_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/436bb5a31ef490ad6a18b8953cecaa73.jpg","text":"TemporaryFile(/tmp/multipartBody2615828021810419250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364843020,"filename":"image_23042025_01_32_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/289503a42285de3782d15653d3fc8f17.jpg","text":"TemporaryFile(/tmp/multipartBody3380930901927427393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364843020,"filename":"image_23042025_01_32_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c819864ad9b67c42124cbf332d1a065.jpg","text":"TemporaryFile(/tmp/multipartBody2294685964811977096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745364843020,"filename":"image_23042025_01_32_15_9600.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352884687","file1":"1352884662","file0":"1352884653","file4":"1352884750","file3":"1352884711"},"map_files_photo_id_array":[{"photo_id":"1352884687","filename":"file2"},{"photo_id":"1352884750","filename":"file4"},{"photo_id":"1352884662","filename":"file1"},{"photo_id":"1352884653","filename":"file0"},{"photo_id":"1352884711","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352884750":["hashtag1","hashtag2"]},{"1352884711":["hashtag1","hashtag2"]},{"1352884653":["hashtag1","hashtag2"]},{"1352884662":["hashtag1","hashtag2"]},{"1352884687":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352884750, 1352884711, 1352884653, 1352884662, 1352884687)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 42.81889605522156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:34:02.431173
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_45_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_33_05_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_45_9565.jpg', '/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_25_9563.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_33_05_9569.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_45_9565.jpg
/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_25_9563.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_33_05_9569.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_55_9562.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
'int' object is not iterable
time to upload: 131.74464535713196 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 0x7fa97d80f0>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:36:32.205637
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_15_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/35/image_23042025_01_36_05_9588.jpg', 2), ('/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_55_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_35_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_35_9564.jpg', '/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_15_9572.jpg', '/home/nano/Desktop/images/23042025/01/35/image_23042025_01_36_05_9588.jpg', '/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_55_10575.jpg', '/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_35_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_35_9564.jpg
/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_25_10574.jpg
/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_15_9572.jpg
/home/nano/Desktop/images/23042025/01/35/image_23042025_01_36_05_9588.jpg
/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_55_10575.jpg
/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_35_10589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885475","1352885471","1352885485","1352885479","1352885488","1352885482"],"photo_ids_order":["1352885471","1352885475","1352885479","1352885482","1352885485","1352885488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6df950f65df278c6441bf8753207ae63.jpg","text":"TemporaryFile(/tmp/multipartBody4807033239469097252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365052914,"filename":"image_23042025_01_36_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ce3b7daa5a4befe49739ce4c1e62f17.jpg","text":"TemporaryFile(/tmp/multipartBody6575721681218663058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365052914,"filename":"image_23042025_01_36_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edeaad30d927c8dc841b0a0f59f2d24b.jpg","text":"TemporaryFile(/tmp/multipartBody664109447923383931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365052914,"filename":"image_23042025_01_35_55_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9a71a38d3af03c9a7adda287c0354d1.jpg","text":"TemporaryFile(/tmp/multipartBody2077930064175915396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365052914,"filename":"image_23042025_01_36_15_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54f0545123ea9c4bdd49b9a56083e70f.jpg","text":"TemporaryFile(/tmp/multipartBody5883024725192163075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365052914,"filename":"image_23042025_01_35_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fcc2290f1d8aac14294c061bd445a47.jpg","text":"TemporaryFile(/tmp/multipartBody3440248174002626975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365052914,"filename":"image_23042025_01_36_05_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885479","file1":"1352885475","file0":"1352885471","file4":"1352885485","file5":"1352885488","file3":"1352885482"},"map_files_photo_id_array":[{"photo_id":"1352885488","filename":"file5"},{"photo_id":"1352885479","filename":"file2"},{"photo_id":"1352885485","filename":"file4"},{"photo_id":"1352885475","filename":"file1"},{"photo_id":"1352885471","filename":"file0"},{"photo_id":"1352885482","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885475":["hashtag1","hashtag2"]},{"1352885471":["hashtag1","hashtag2"]},{"1352885485":["hashtag1","hashtag2"]},{"1352885479":["hashtag1","hashtag2"]},{"1352885488":["hashtag1","hashtag2"]},{"1352885482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885475, 1352885471, 1352885485, 1352885479, 1352885488, 1352885482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.002461194992065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:37:32.308200
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_45_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_35_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_15_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/01/36/image_23042025_01_37_05_10579.jpg', 2), ('/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_45_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_45_9565.jpg', '/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_35_10575.jpg', '/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_25_9564.jpg', '/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_15_9568.jpg', '/home/nano/Desktop/images/23042025/01/36/image_23042025_01_37_05_10579.jpg', '/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_45_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_45_9565.jpg
/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_35_10575.jpg
/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_25_9564.jpg
/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_15_9568.jpg
/home/nano/Desktop/images/23042025/01/36/image_23042025_01_37_05_10579.jpg
/home/nano/Desktop/images/23042025/01/36/image_23042025_01_36_45_10572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885506","1352885509","1352885499","1352885502","1352885511","1352885495"],"photo_ids_order":["1352885495","1352885499","1352885502","1352885506","1352885509","1352885511"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a3fc8aa8cb28a5cc50f245db4b156ad.jpg","text":"TemporaryFile(/tmp/multipartBody38381106934925829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365113077,"filename":"image_23042025_01_37_15_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64b3c62f55e77d4b3852bc88e598c442.jpg","text":"TemporaryFile(/tmp/multipartBody9193604244125905876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365113077,"filename":"image_23042025_01_37_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9a74db0c14a6f6bac353430fd46090c.jpg","text":"TemporaryFile(/tmp/multipartBody7160426430477227976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365113077,"filename":"image_23042025_01_37_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0768f7e5a4d6666b848f680ce2e50bee.jpg","text":"TemporaryFile(/tmp/multipartBody8795697788574444815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365113077,"filename":"image_23042025_01_37_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffc1186c3d1699c43bc59ef896c3b638.jpg","text":"TemporaryFile(/tmp/multipartBody8520959873548192688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365113077,"filename":"image_23042025_01_36_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac02d6a63af11cfaa6d7a798ef42fcf9.jpg","text":"TemporaryFile(/tmp/multipartBody8238111464927270842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365113077,"filename":"image_23042025_01_37_45_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885502","file1":"1352885499","file0":"1352885495","file4":"1352885509","file5":"1352885511","file3":"1352885506"},"map_files_photo_id_array":[{"photo_id":"1352885511","filename":"file5"},{"photo_id":"1352885502","filename":"file2"},{"photo_id":"1352885509","filename":"file4"},{"photo_id":"1352885499","filename":"file1"},{"photo_id":"1352885495","filename":"file0"},{"photo_id":"1352885506","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885506":["hashtag1","hashtag2"]},{"1352885509":["hashtag1","hashtag2"]},{"1352885499":["hashtag1","hashtag2"]},{"1352885502":["hashtag1","hashtag2"]},{"1352885511":["hashtag1","hashtag2"]},{"1352885495":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885506, 1352885509, 1352885499, 1352885502, 1352885511, 1352885495)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.519157648086548 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:38:32.396380
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_45_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_25_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_15_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/01/37/image_23042025_01_38_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_55_10588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_45_10573.jpg', '/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_35_9564.jpg', '/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_25_9567.jpg', '/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_15_10592.jpg', '/home/nano/Desktop/images/23042025/01/37/image_23042025_01_38_05_9566.jpg', '/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_55_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_45_10573.jpg
/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_35_9564.jpg
/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_25_9567.jpg
/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_15_10592.jpg
/home/nano/Desktop/images/23042025/01/37/image_23042025_01_38_05_9566.jpg
/home/nano/Desktop/images/23042025/01/37/image_23042025_01_37_55_10588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885529","1352885519","1352885533","1352885536","1352885539","1352885524"],"photo_ids_order":["1352885519","1352885524","1352885529","1352885533","1352885536","1352885539"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0725cd6c53bc98c3fdc92e33bc8ccc1.jpg","text":"TemporaryFile(/tmp/multipartBody1691619149361838663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365173231,"filename":"image_23042025_01_38_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1953428a60e1f085ce7737a72eadee33.jpg","text":"TemporaryFile(/tmp/multipartBody1581358515263290099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365173231,"filename":"image_23042025_01_38_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a931e7b48f9dd0a0ec7a83f939f94686.jpg","text":"TemporaryFile(/tmp/multipartBody4576350288059720356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365173231,"filename":"image_23042025_01_38_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c38cf42fa3060b661113df0ba659556.jpg","text":"TemporaryFile(/tmp/multipartBody970089981155660892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365173231,"filename":"image_23042025_01_38_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2279558bb26d2213ba50728325b99302.jpg","text":"TemporaryFile(/tmp/multipartBody4494317615844559879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365173231,"filename":"image_23042025_01_37_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/809fd262cf5c26af9cd7f75f4acf0306.jpg","text":"TemporaryFile(/tmp/multipartBody1061152476592681837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365173231,"filename":"image_23042025_01_38_35_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885529","file1":"1352885524","file0":"1352885519","file4":"1352885536","file5":"1352885539","file3":"1352885533"},"map_files_photo_id_array":[{"photo_id":"1352885539","filename":"file5"},{"photo_id":"1352885529","filename":"file2"},{"photo_id":"1352885536","filename":"file4"},{"photo_id":"1352885524","filename":"file1"},{"photo_id":"1352885519","filename":"file0"},{"photo_id":"1352885533","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885529":["hashtag1","hashtag2"]},{"1352885519":["hashtag1","hashtag2"]},{"1352885533":["hashtag1","hashtag2"]},{"1352885536":["hashtag1","hashtag2"]},{"1352885539":["hashtag1","hashtag2"]},{"1352885524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885529, 1352885519, 1352885533, 1352885536, 1352885539, 1352885524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3313512802124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:39:32.607304
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_45_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_15_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_55_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_15_10595.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_45_9580.jpg', '/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_25_10573.jpg', '/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_15_9563.jpg', '/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_55_9563.jpg', '/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_25_9565.jpg', '/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_15_10595.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_45_9580.jpg
/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_25_10573.jpg
/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_15_9563.jpg
/home/nano/Desktop/images/23042025/01/38/image_23042025_01_38_55_9563.jpg
/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_25_9565.jpg
/home/nano/Desktop/images/23042025/01/35/image_23042025_01_35_15_10595.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885565","1352885553","1352885567","1352885560","1352885563","1352885557"],"photo_ids_order":["1352885553","1352885557","1352885560","1352885563","1352885565","1352885567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/805a10b33739bd5d3884c584284c4865.jpg","text":"TemporaryFile(/tmp/multipartBody341110095884363197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365233317,"filename":"image_23042025_01_35_25_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f25c85c962b6435a119d71562e91acc.jpg","text":"TemporaryFile(/tmp/multipartBody1180150303979926870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365233317,"filename":"image_23042025_01_39_45_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2417fc13fde69c7e206c31a9cb95b8b7.jpg","text":"TemporaryFile(/tmp/multipartBody1769615775421711534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365233317,"filename":"image_23042025_01_35_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7cb70022db0ed02521a325b1e832c22.jpg","text":"TemporaryFile(/tmp/multipartBody2165449607202626857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365233317,"filename":"image_23042025_01_39_15_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8032fa08e55a62865c4a77dcc0f11651.jpg","text":"TemporaryFile(/tmp/multipartBody735989154218471459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365233317,"filename":"image_23042025_01_38_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25211a330094991041ab88badf8888e4.jpg","text":"TemporaryFile(/tmp/multipartBody1047926254331751664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365233317,"filename":"image_23042025_01_39_25_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885560","file1":"1352885557","file0":"1352885553","file4":"1352885565","file5":"1352885567","file3":"1352885563"},"map_files_photo_id_array":[{"photo_id":"1352885567","filename":"file5"},{"photo_id":"1352885560","filename":"file2"},{"photo_id":"1352885565","filename":"file4"},{"photo_id":"1352885557","filename":"file1"},{"photo_id":"1352885553","filename":"file0"},{"photo_id":"1352885563","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885565":["hashtag1","hashtag2"]},{"1352885553":["hashtag1","hashtag2"]},{"1352885567":["hashtag1","hashtag2"]},{"1352885560":["hashtag1","hashtag2"]},{"1352885563":["hashtag1","hashtag2"]},{"1352885557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885565, 1352885553, 1352885567, 1352885560, 1352885563, 1352885557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.693742752075195 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:40:32.670513
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_45_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_34_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_25_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_15_10599.jpg', 2), ('/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_55_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/01/34/image_23042025_01_35_05_9574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_45_10573.jpg', '/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_34_9564.jpg', '/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_25_9578.jpg', '/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_15_10599.jpg', '/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_55_10590.jpg', '/home/nano/Desktop/images/23042025/01/34/image_23042025_01_35_05_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_45_10573.jpg
/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_34_9564.jpg
/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_25_9578.jpg
/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_15_10599.jpg
/home/nano/Desktop/images/23042025/01/39/image_23042025_01_39_55_10590.jpg
/home/nano/Desktop/images/23042025/01/34/image_23042025_01_35_05_9574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885577","1352885591","1352885594","1352885597","1352885582","1352885587"],"photo_ids_order":["1352885577","1352885582","1352885587","1352885591","1352885594","1352885597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39add6e093a725c0224a6f93ad4e00fb.jpg","text":"TemporaryFile(/tmp/multipartBody3729841525300475516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365293503,"filename":"image_23042025_01_40_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eacb263a310650fef65c3999c2083bac.jpg","text":"TemporaryFile(/tmp/multipartBody1259092477761690820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365293503,"filename":"image_23042025_01_40_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/560aef305abbabde0bea16e2dba94c43.jpg","text":"TemporaryFile(/tmp/multipartBody7130948355131270843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365293503,"filename":"image_23042025_01_39_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b29343d82fcc0e64a1108ba273e8f2ea.jpg","text":"TemporaryFile(/tmp/multipartBody4023018841778033149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365293503,"filename":"image_23042025_01_35_05_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76ec218515c3fa66959f639a9a090673.jpg","text":"TemporaryFile(/tmp/multipartBody5303113688665283800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365293503,"filename":"image_23042025_01_40_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/844389f33ff0b6937474341261167d14.jpg","text":"TemporaryFile(/tmp/multipartBody7090019551780564136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365293503,"filename":"image_23042025_01_40_25_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885587","file1":"1352885582","file0":"1352885577","file4":"1352885594","file5":"1352885597","file3":"1352885591"},"map_files_photo_id_array":[{"photo_id":"1352885597","filename":"file5"},{"photo_id":"1352885587","filename":"file2"},{"photo_id":"1352885594","filename":"file4"},{"photo_id":"1352885582","filename":"file1"},{"photo_id":"1352885577","filename":"file0"},{"photo_id":"1352885591","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885577":["hashtag1","hashtag2"]},{"1352885591":["hashtag1","hashtag2"]},{"1352885594":["hashtag1","hashtag2"]},{"1352885597":["hashtag1","hashtag2"]},{"1352885582":["hashtag1","hashtag2"]},{"1352885587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885577, 1352885591, 1352885594, 1352885597, 1352885582, 1352885587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.195473194122314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:41:32.759494
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_44_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_25_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_15_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/01/40/image_23042025_01_41_05_10579.jpg', 2), ('/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_44_9563.jpg', '/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_35_9565.jpg', '/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_25_10576.jpg', '/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_15_9572.jpg', '/home/nano/Desktop/images/23042025/01/40/image_23042025_01_41_05_10579.jpg', '/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_44_9563.jpg
/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_35_9565.jpg
/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_25_10576.jpg
/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_15_9572.jpg
/home/nano/Desktop/images/23042025/01/40/image_23042025_01_41_05_10579.jpg
/home/nano/Desktop/images/23042025/01/40/image_23042025_01_40_55_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885667","1352885669","1352885660","1352885663","1352885653","1352885656"],"photo_ids_order":["1352885653","1352885656","1352885660","1352885663","1352885667","1352885669"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a80f5d7dbe58ca0d16fb3d1f5a27abe4.jpg","text":"TemporaryFile(/tmp/multipartBody4786757220241562539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365353681,"filename":"image_23042025_01_41_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efb0a749dc1c2dd211a2b463031a7856.jpg","text":"TemporaryFile(/tmp/multipartBody7041431004116211774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365353681,"filename":"image_23042025_01_40_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32cc43361a93fc038b91eced81fb11b6.jpg","text":"TemporaryFile(/tmp/multipartBody1373007065548553619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365353681,"filename":"image_23042025_01_41_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86af7cc2c0305f5e3cff5e4d3aaaaa54.jpg","text":"TemporaryFile(/tmp/multipartBody8057211377445187031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365353681,"filename":"image_23042025_01_41_15_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55040a328573eb5501f24d9887ef283b.jpg","text":"TemporaryFile(/tmp/multipartBody6124280940705366333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365353681,"filename":"image_23042025_01_41_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7afe3c7c76dceea55d830d39e5658f47.jpg","text":"TemporaryFile(/tmp/multipartBody8153691287659508804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365353681,"filename":"image_23042025_01_41_35_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885660","file1":"1352885656","file0":"1352885653","file4":"1352885667","file5":"1352885669","file3":"1352885663"},"map_files_photo_id_array":[{"photo_id":"1352885669","filename":"file5"},{"photo_id":"1352885660","filename":"file2"},{"photo_id":"1352885667","filename":"file4"},{"photo_id":"1352885656","filename":"file1"},{"photo_id":"1352885653","filename":"file0"},{"photo_id":"1352885663","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885667":["hashtag1","hashtag2"]},{"1352885669":["hashtag1","hashtag2"]},{"1352885660":["hashtag1","hashtag2"]},{"1352885663":["hashtag1","hashtag2"]},{"1352885653":["hashtag1","hashtag2"]},{"1352885656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885667, 1352885669, 1352885660, 1352885663, 1352885653, 1352885656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.88984298706055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:42:31.832906
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/42/image_23042025_01_42_15_10611.jpg', 2), ('/home/nano/Desktop/images/23042025/01/41/image_23042025_01_42_05_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_55_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_55_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_25_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_15_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/42/image_23042025_01_42_15_10611.jpg', '/home/nano/Desktop/images/23042025/01/41/image_23042025_01_42_05_9564.jpg', '/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_55_10571.jpg', '/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_55_9563.jpg', '/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_25_10576.jpg', '/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_15_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/42/image_23042025_01_42_15_10611.jpg
/home/nano/Desktop/images/23042025/01/41/image_23042025_01_42_05_9564.jpg
/home/nano/Desktop/images/23042025/01/41/image_23042025_01_41_55_10571.jpg
/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_55_9563.jpg
/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_25_10576.jpg
/home/nano/Desktop/images/23042025/01/34/image_23042025_01_34_15_9579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352885994","1352885964","1352886002","1352885744","1352885893","1352885821"],"photo_ids_order":["1352885744","1352885821","1352885893","1352885964","1352885994","1352886002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c76607dc6ab5fa9c10cfd641a8a67f1c.jpg","text":"TemporaryFile(/tmp/multipartBody1572790284060345436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365412669,"filename":"image_23042025_01_34_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8795d694fcdbea3f1abfb7a7b7a5d236.jpg","text":"TemporaryFile(/tmp/multipartBody6923542690052376441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365412669,"filename":"image_23042025_01_34_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71995e2a799b812ac36d28484a5ca83d.jpg","text":"TemporaryFile(/tmp/multipartBody5820141991714806460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365412669,"filename":"image_23042025_01_34_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3483af1574b67690b8967a5e8fc1da72.jpg","text":"TemporaryFile(/tmp/multipartBody2783951571487491357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365412669,"filename":"image_23042025_01_42_15_10611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0956e53a322199f79b39e1be9916dd3.jpg","text":"TemporaryFile(/tmp/multipartBody3277303622235498008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365412669,"filename":"image_23042025_01_41_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6fb2adb3d7ffb54849e091fcc2c70d3.jpg","text":"TemporaryFile(/tmp/multipartBody33589384284802318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365412669,"filename":"image_23042025_01_42_05_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352885893","file1":"1352885821","file0":"1352885744","file4":"1352885994","file5":"1352886002","file3":"1352885964"},"map_files_photo_id_array":[{"photo_id":"1352886002","filename":"file5"},{"photo_id":"1352885893","filename":"file2"},{"photo_id":"1352885994","filename":"file4"},{"photo_id":"1352885821","filename":"file1"},{"photo_id":"1352885744","filename":"file0"},{"photo_id":"1352885964","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352885994":["hashtag1","hashtag2"]},{"1352885964":["hashtag1","hashtag2"]},{"1352886002":["hashtag1","hashtag2"]},{"1352885744":["hashtag1","hashtag2"]},{"1352885893":["hashtag1","hashtag2"]},{"1352885821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352885994, 1352885964, 1352886002, 1352885744, 1352885893, 1352885821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.579912424087524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:43:31.930241
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_15_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/42/image_23042025_01_43_05_10608.jpg', 2), ('/home/nano/Desktop/images/23042025/01/42/image_23042025_01_42_55_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/33/image_23042025_01_34_05_9594.jpg', 2), ('/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_15_9565.jpg', '/home/nano/Desktop/images/23042025/01/42/image_23042025_01_43_05_10608.jpg', '/home/nano/Desktop/images/23042025/01/42/image_23042025_01_42_55_9565.jpg', '/home/nano/Desktop/images/23042025/01/33/image_23042025_01_34_05_9594.jpg', '/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_25_10574.jpg
/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_15_9565.jpg
/home/nano/Desktop/images/23042025/01/42/image_23042025_01_43_05_10608.jpg
/home/nano/Desktop/images/23042025/01/42/image_23042025_01_42_55_9565.jpg
/home/nano/Desktop/images/23042025/01/33/image_23042025_01_34_05_9594.jpg
/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_55_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352886189","1352886251","1352886283","1352886195","1352886192","1352886186"],"photo_ids_order":["1352886186","1352886189","1352886192","1352886195","1352886251","1352886283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07021e786bbd0597fd844e65ade18ad3.jpg","text":"TemporaryFile(/tmp/multipartBody3878471364746121059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365472713,"filename":"image_23042025_01_43_15_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5cb53ade55ddf76a6d0ea0f892fc29e8.jpg","text":"TemporaryFile(/tmp/multipartBody2633807398987719651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365472713,"filename":"image_23042025_01_34_05_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34d5a4d371dd6fba034714f097101339.jpg","text":"TemporaryFile(/tmp/multipartBody8714152358867234237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365472713,"filename":"image_23042025_01_33_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab5d8451cc27f44f9e70bd76a0329528.jpg","text":"TemporaryFile(/tmp/multipartBody5718351756966585059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365472713,"filename":"image_23042025_01_42_55_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f38ad234b90046cbcc68e94d83882a8.jpg","text":"TemporaryFile(/tmp/multipartBody5409326528295118324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365472713,"filename":"image_23042025_01_43_05_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1418ff332e1c77a03caf36b2101a77ac.jpg","text":"TemporaryFile(/tmp/multipartBody3129910067052683867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365472713,"filename":"image_23042025_01_43_25_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352886192","file1":"1352886189","file0":"1352886186","file4":"1352886251","file5":"1352886283","file3":"1352886195"},"map_files_photo_id_array":[{"photo_id":"1352886283","filename":"file5"},{"photo_id":"1352886192","filename":"file2"},{"photo_id":"1352886251","filename":"file4"},{"photo_id":"1352886189","filename":"file1"},{"photo_id":"1352886186","filename":"file0"},{"photo_id":"1352886195","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352886189":["hashtag1","hashtag2"]},{"1352886251":["hashtag1","hashtag2"]},{"1352886283":["hashtag1","hashtag2"]},{"1352886195":["hashtag1","hashtag2"]},{"1352886192":["hashtag1","hashtag2"]},{"1352886186":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352886189, 1352886251, 1352886283, 1352886195, 1352886192, 1352886186)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.34647488594055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:44:32.033354
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_45_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_33_05_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_45_9565.jpg', '/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_25_9563.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_33_05_9569.jpg', '/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_45_9565.jpg
/home/nano/Desktop/images/23042025/01/33/image_23042025_01_33_25_9563.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_33_05_9569.jpg
/home/nano/Desktop/images/23042025/01/32/image_23042025_01_32_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352886558","1352886586","1352886613","1352886672"],"photo_ids_order":["1352886558","1352886586","1352886613","1352886672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/583f8ad6ede4cf37be393affbde8b201.jpg","text":"TemporaryFile(/tmp/multipartBody6177203620485075752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365532934,"filename":"image_23042025_01_33_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6430625218684273880a24da2f4eab04.jpg","text":"TemporaryFile(/tmp/multipartBody5252999975970710721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365532934,"filename":"image_23042025_01_33_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4dd7ba32d268416a3decffe3aeab52b.jpg","text":"TemporaryFile(/tmp/multipartBody1511903935590523048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365532934,"filename":"image_23042025_01_33_05_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c959e22417f961bdb42b5200d60d202.jpg","text":"TemporaryFile(/tmp/multipartBody6945503805217365978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365532934,"filename":"image_23042025_01_32_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352886613","file1":"1352886586","file0":"1352886558","file3":"1352886672"},"map_files_photo_id_array":[{"photo_id":"1352886613","filename":"file2"},{"photo_id":"1352886586","filename":"file1"},{"photo_id":"1352886558","filename":"file0"},{"photo_id":"1352886672","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352886558":["hashtag1","hashtag2"]},{"1352886586":["hashtag1","hashtag2"]},{"1352886613":["hashtag1","hashtag2"]},{"1352886672":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352886558, 1352886586, 1352886613, 1352886672)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.364782333374023 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:45:02.584585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5543403625488281 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:45:32.110342
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/45/image_23042025_01_45_35_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/45/image_23042025_01_45_35_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/45/image_23042025_01_45_35_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887037"],"photo_id":"1352887037","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b25fca4034f6d719658c4108539b740e.jpg","text":"TemporaryFile(/tmp/multipartBody5971724235166162020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365592617,"filename":"image_23042025_01_45_35_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352887037"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352887037"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.27974271774292 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:46:02.467185
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7018420696258545 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:46:32.220422
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/45/image_23042025_01_46_05_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_35_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/45/image_23042025_01_46_05_10582.jpg', '/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_35_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/45/image_23042025_01_46_05_10582.jpg
/home/nano/Desktop/images/23042025/01/43/image_23042025_01_43_35_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887258","1352887266"],"photo_ids_order":["1352887258","1352887266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d1af400e56a02cebe910a40137f329c.jpg","text":"TemporaryFile(/tmp/multipartBody8234872601869932503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365652862,"filename":"image_23042025_01_46_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b649a5cf8a8597c6a396c2ade64ef722.jpg","text":"TemporaryFile(/tmp/multipartBody8051224564266782829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365652862,"filename":"image_23042025_01_43_35_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352887266","file0":"1352887258"},"map_files_photo_id_array":[{"photo_id":"1352887266","filename":"file1"},{"photo_id":"1352887258","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352887258":["hashtag1","hashtag2"]},{"1352887266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352887258, 1352887266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.143300771713257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:47:02.856991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6204149723052979 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:47:32.325616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.872814655303955 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:48:02.819577
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6735823154449463 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:48:32.409054
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6082661151885986 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:49:03.258106
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9575400352478027 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:49:32.562785
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/46/image_23042025_01_46_15_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/46/image_23042025_01_46_15_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/46/image_23042025_01_46_15_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887408"],"photo_id":"1352887408","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4baf4c2a4070656c9104c77d55f3099a.jpg","text":"TemporaryFile(/tmp/multipartBody1882452350905349905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365833011,"filename":"image_23042025_01_46_15_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352887408"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352887408"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.940201759338379 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:50:02.935264
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.637024164199829 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:50:32.657658
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_15_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/01/49/image_23042025_01_49_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_25_10573.jpg', '/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_15_9582.jpg', '/home/nano/Desktop/images/23042025/01/49/image_23042025_01_49_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_25_10573.jpg
/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_15_9582.jpg
/home/nano/Desktop/images/23042025/01/49/image_23042025_01_49_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887441","1352887438","1352887435"],"photo_ids_order":["1352887435","1352887438","1352887441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/caa33e4bd9a2abd336b902c0d3ec0ffd.jpg","text":"TemporaryFile(/tmp/multipartBody8630193735566543549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365893265,"filename":"image_23042025_01_49_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e27ad75be48e071b6d63445d0842105c.jpg","text":"TemporaryFile(/tmp/multipartBody7927840805714420514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365893265,"filename":"image_23042025_01_50_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f114484e877181fb1bbc064b40af492.jpg","text":"TemporaryFile(/tmp/multipartBody1130164562836189225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365893265,"filename":"image_23042025_01_50_25_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352887441","file1":"1352887438","file0":"1352887435"},"map_files_photo_id_array":[{"photo_id":"1352887441","filename":"file2"},{"photo_id":"1352887438","filename":"file1"},{"photo_id":"1352887435","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352887441":["hashtag1","hashtag2"]},{"1352887438":["hashtag1","hashtag2"]},{"1352887435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352887441, 1352887438, 1352887435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.718865156173706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:51:03.201045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.579958200454712 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:51:32.734114
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_35_9580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_45_9563.jpg', '/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_35_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_45_9563.jpg
/home/nano/Desktop/images/23042025/01/50/image_23042025_01_50_35_9580.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887463","1352887460"],"photo_ids_order":["1352887460","1352887463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b20611df6fbdbb6ec31e6f0d0f0994b4.jpg","text":"TemporaryFile(/tmp/multipartBody7071840363617262876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365953298,"filename":"image_23042025_01_50_35_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1af5c45bc229ff57aacc4bd9ac0db326.jpg","text":"TemporaryFile(/tmp/multipartBody5708275308467343065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745365953298,"filename":"image_23042025_01_51_45_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352887463","file0":"1352887460"},"map_files_photo_id_array":[{"photo_id":"1352887463","filename":"file1"},{"photo_id":"1352887460","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352887463":["hashtag1","hashtag2"]},{"1352887460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352887463, 1352887460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.963347434997559 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:52:02.155991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6806471347808838 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:52:31.880650
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_55_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_35_9563.jpg', '/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_25_10573.jpg', '/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_55_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_35_9563.jpg
/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_25_10573.jpg
/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_55_9566.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5654234886169434 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:53:02.430172
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_55_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_35_9563.jpg', '/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_25_10573.jpg', '/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_55_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_35_9563.jpg
/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_25_10573.jpg
/home/nano/Desktop/images/23042025/01/51/image_23042025_01_51_55_9566.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887506","1352887509","1352887511"],"photo_ids_order":["1352887506","1352887509","1352887511"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe1de26c1c58d28f20320d43b819880d.jpg","text":"TemporaryFile(/tmp/multipartBody5430066549398587969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366042972,"filename":"image_23042025_01_52_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fa2af5ec54824c77c89cbd7d6525f17.jpg","text":"TemporaryFile(/tmp/multipartBody4406002112045548824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366042972,"filename":"image_23042025_01_52_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d434c30a69358d66e2e1c7a461f02bc.jpg","text":"TemporaryFile(/tmp/multipartBody8377466092270775068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366042972,"filename":"image_23042025_01_51_55_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352887511","file1":"1352887509","file0":"1352887506"},"map_files_photo_id_array":[{"photo_id":"1352887511","filename":"file2"},{"photo_id":"1352887509","filename":"file1"},{"photo_id":"1352887506","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352887506":["hashtag1","hashtag2"]},{"1352887509":["hashtag1","hashtag2"]},{"1352887511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352887506, 1352887509, 1352887511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.041970252990723 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:53:31.996565
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/53/image_23042025_01_53_15_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/01/52/image_23042025_01_53_05_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/53/image_23042025_01_53_15_10584.jpg', '/home/nano/Desktop/images/23042025/01/52/image_23042025_01_53_05_9569.jpg', '/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/53/image_23042025_01_53_15_10584.jpg
/home/nano/Desktop/images/23042025/01/52/image_23042025_01_53_05_9569.jpg
/home/nano/Desktop/images/23042025/01/52/image_23042025_01_52_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887520","1352887516","1352887524"],"photo_ids_order":["1352887516","1352887520","1352887524"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1687af86bc1984859eadf5fcc7d117cd.jpg","text":"TemporaryFile(/tmp/multipartBody4260573155415806277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366072857,"filename":"image_23042025_01_53_05_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b31bf7a93d3f0d8ab9ad187ba8eafc18.jpg","text":"TemporaryFile(/tmp/multipartBody4922862998656638523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366072857,"filename":"image_23042025_01_53_15_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3204236514a8a222c2a47b642500f4c.jpg","text":"TemporaryFile(/tmp/multipartBody4363071497420324811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366072857,"filename":"image_23042025_01_52_55_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352887524","file1":"1352887520","file0":"1352887516"},"map_files_photo_id_array":[{"photo_id":"1352887524","filename":"file2"},{"photo_id":"1352887520","filename":"file1"},{"photo_id":"1352887516","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352887520":["hashtag1","hashtag2"]},{"1352887516":["hashtag1","hashtag2"]},{"1352887524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352887520, 1352887516, 1352887524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.501090049743652 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:54:02.718507
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/54/image_23042025_01_54_45_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/54/image_23042025_01_54_45_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/54/image_23042025_01_54_45_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887539"],"photo_id":"1352887539","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48b0cecf3668f231768a1775fef63c7f.jpg","text":"TemporaryFile(/tmp/multipartBody6153372096254941601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366103147,"filename":"image_23042025_01_54_45_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352887539"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352887539"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.311957836151123 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:54:32.079632
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/53/image_23042025_01_53_25_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/53/image_23042025_01_53_25_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/53/image_23042025_01_53_25_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887551"],"photo_id":"1352887551","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83c483be4d7f53e88fcd9dacdadd6bb3.jpg","text":"TemporaryFile(/tmp/multipartBody9210917083946605333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366132570,"filename":"image_23042025_01_53_25_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352887551"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352887551"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.946367263793945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:55:02.527411
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.651221513748169 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:55:32.182145
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/54/image_23042025_01_54_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/54/image_23042025_01_54_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/54/image_23042025_01_54_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887582"],"photo_id":"1352887582","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccdfbb3d1dd34da3938210876a61b545.jpg","text":"TemporaryFile(/tmp/multipartBody2333339618099208662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366192628,"filename":"image_23042025_01_54_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352887582"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352887582"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.38109040260315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:56:02.597669
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4945216178894043 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:56:32.294966
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_15_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/01/55/image_23042025_01_56_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/01/54/image_23042025_01_55_05_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_25_10574.jpg', '/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_15_9584.jpg', '/home/nano/Desktop/images/23042025/01/55/image_23042025_01_56_05_9568.jpg', '/home/nano/Desktop/images/23042025/01/54/image_23042025_01_55_05_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_25_10574.jpg
/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_15_9584.jpg
/home/nano/Desktop/images/23042025/01/55/image_23042025_01_56_05_9568.jpg
/home/nano/Desktop/images/23042025/01/54/image_23042025_01_55_05_9606.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352887613","1352887633","1352887606","1352887609"],"photo_ids_order":["1352887606","1352887609","1352887613","1352887633"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee364496332527d9b0a0da7a5159fab9.jpg","text":"TemporaryFile(/tmp/multipartBody2782926160451893402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366254078,"filename":"image_23042025_01_56_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c49246781cddb6e02a5deab8aef999a7.jpg","text":"TemporaryFile(/tmp/multipartBody5434876946004283193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366254078,"filename":"image_23042025_01_55_05_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59d1ae76ddcef603018b22a29212a7f7.jpg","text":"TemporaryFile(/tmp/multipartBody625888365368144788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366254078,"filename":"image_23042025_01_56_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d00f7369d73fedad5edffbb2bad19d24.jpg","text":"TemporaryFile(/tmp/multipartBody7511959366772199021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366254078,"filename":"image_23042025_01_56_15_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352887613","file1":"1352887609","file0":"1352887606","file3":"1352887633"},"map_files_photo_id_array":[{"photo_id":"1352887613","filename":"file2"},{"photo_id":"1352887609","filename":"file1"},{"photo_id":"1352887606","filename":"file0"},{"photo_id":"1352887633","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352887613":["hashtag1","hashtag2"]},{"1352887633":["hashtag1","hashtag2"]},{"1352887606":["hashtag1","hashtag2"]},{"1352887609":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352887613, 1352887633, 1352887606, 1352887609)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.559396505355835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:57:02.811501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5052368640899658 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:57:32.372386
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5523669719696045 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:59:02.956653
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.544609785079956 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 01:59:32.363296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.791792869567871 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:00:02.889226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6283411979675293 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:00:32.454007
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_35_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_15_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/01/59/image_23042025_02_00_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_35_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_35_10574.jpg', '/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_15_10592.jpg', '/home/nano/Desktop/images/23042025/01/59/image_23042025_02_00_05_9568.jpg', '/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_35_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_35_10574.jpg
/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_15_10592.jpg
/home/nano/Desktop/images/23042025/01/59/image_23042025_02_00_05_9568.jpg
/home/nano/Desktop/images/23042025/01/56/image_23042025_01_56_35_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352889771","1352889570","1352889482","1352889668"],"photo_ids_order":["1352889482","1352889570","1352889668","1352889771"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cc6401f77bee9b206a6b531edf8aa78.jpg","text":"TemporaryFile(/tmp/multipartBody5283177310222309305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366493160,"filename":"image_23042025_01_56_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06ade88dab9dd4ce9c19592d6d09414b.jpg","text":"TemporaryFile(/tmp/multipartBody1393935454968305133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366493160,"filename":"image_23042025_02_00_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23234f6c92a8494093882e44d5b48b8a.jpg","text":"TemporaryFile(/tmp/multipartBody881860921164898171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366493160,"filename":"image_23042025_02_00_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e568eae279c2d429336a029d9cda03a.jpg","text":"TemporaryFile(/tmp/multipartBody4985367953564266406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366493160,"filename":"image_23042025_02_00_05_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352889668","file1":"1352889570","file0":"1352889482","file3":"1352889771"},"map_files_photo_id_array":[{"photo_id":"1352889668","filename":"file2"},{"photo_id":"1352889570","filename":"file1"},{"photo_id":"1352889482","filename":"file0"},{"photo_id":"1352889771","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352889771":["hashtag1","hashtag2"]},{"1352889570":["hashtag1","hashtag2"]},{"1352889482":["hashtag1","hashtag2"]},{"1352889668":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352889771, 1352889570, 1352889482, 1352889668)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.758180856704712 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:01:02.941982
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4959943294525146 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:01:32.548257
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/01/image_23042025_02_01_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_45_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/01/image_23042025_02_01_25_10575.jpg', '/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_45_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/01/image_23042025_02_01_25_10575.jpg
/home/nano/Desktop/images/23042025/02/00/image_23042025_02_00_45_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352890943","1352891153"],"photo_ids_order":["1352890943","1352891153"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd956c5a665a679f56c9f0827e8df8d3.jpg","text":"TemporaryFile(/tmp/multipartBody561972067474538285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366553163,"filename":"image_23042025_02_01_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b403893329e81512f0bd3e0dd1b4be2f.jpg","text":"TemporaryFile(/tmp/multipartBody741139789079564140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366553163,"filename":"image_23042025_02_00_45_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352891153","file0":"1352890943"},"map_files_photo_id_array":[{"photo_id":"1352891153","filename":"file1"},{"photo_id":"1352890943","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352890943":["hashtag1","hashtag2"]},{"1352891153":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352890943, 1352891153)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.517192363739014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:02:03.103444
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8533415794372559 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:02:32.650009
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/01/image_23042025_02_02_05_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/02/01/image_23042025_02_01_35_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/01/image_23042025_02_02_05_9576.jpg', '/home/nano/Desktop/images/23042025/02/01/image_23042025_02_01_35_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/01/image_23042025_02_02_05_9576.jpg
/home/nano/Desktop/images/23042025/02/01/image_23042025_02_01_35_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352892028","1352892077"],"photo_ids_order":["1352892028","1352892077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b74fa826f34fd6a6d6999336fb2cda9.jpg","text":"TemporaryFile(/tmp/multipartBody4411760325560825688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366613219,"filename":"image_23042025_02_02_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ecfcae1ad3203552f88469cf16b7cd7.jpg","text":"TemporaryFile(/tmp/multipartBody3469392709097574516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366613219,"filename":"image_23042025_02_01_35_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352892077","file0":"1352892028"},"map_files_photo_id_array":[{"photo_id":"1352892077","filename":"file1"},{"photo_id":"1352892028","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352892028":["hashtag1","hashtag2"]},{"1352892077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352892028, 1352892077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.58305311203003 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:03:03.211526
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.575819492340088 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:03:32.753374
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/03/image_23042025_02_03_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/03/image_23042025_02_03_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/03/image_23042025_02_03_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352892701"],"photo_id":"1352892701","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94a6235de511bbe36063369beba5bad4.jpg","text":"TemporaryFile(/tmp/multipartBody3123543314163917906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745366673231,"filename":"image_23042025_02_03_55_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352892701"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352892701"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.79766321182251 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:04:02.414945
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.630232572555542 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:04:31.832514
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5651156902313232 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:05:02.478616
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6022849082946777 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:05:31.950063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5596797466278076 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:06:02.367835
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5788002014160156 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:06:32.038132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6077733039855957 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:07:02.534666
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5170581340789795 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:07:32.160330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.509683609008789 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:08:02.510805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5164101123809814 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:08:32.245023
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8362360000610352 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:09:03.136789
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4361884593963623 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:09:32.341585
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5298707485198975 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:10:02.716946
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5738980770111084 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:10:32.426206
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/10/image_23042025_02_10_35_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/02/02/image_23042025_02_02_25_9567.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/10/image_23042025_02_10_35_9566.jpg', '/home/nano/Desktop/images/23042025/02/02/image_23042025_02_02_25_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/10/image_23042025_02_10_35_9566.jpg
/home/nano/Desktop/images/23042025/02/02/image_23042025_02_02_25_9567.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894411","1352894407"],"photo_ids_order":["1352894407","1352894411"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5b1311b9d39214edff72784a52e1522.jpg","text":"TemporaryFile(/tmp/multipartBody846534214262993238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367093151,"filename":"image_23042025_02_02_25_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50e86922563474436f3598e79a94119f.jpg","text":"TemporaryFile(/tmp/multipartBody307022564385366696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367093151,"filename":"image_23042025_02_10_35_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352894411","file0":"1352894407"},"map_files_photo_id_array":[{"photo_id":"1352894411","filename":"file1"},{"photo_id":"1352894407","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894411":["hashtag1","hashtag2"]},{"1352894407":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894411, 1352894407)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.472352266311646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:11:03.042326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.619063138961792 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:11:32.525463
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5977604389190674 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:12:02.884520
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5986018180847168 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:12:32.606356
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6084885597229004 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:13:03.201425
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.448777437210083 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:13:32.735932
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_35_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_15_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/02/12/image_23042025_02_13_05_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/02/10/image_23042025_02_10_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_35_10575.jpg', '/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_25_9563.jpg', '/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_15_10592.jpg', '/home/nano/Desktop/images/23042025/02/12/image_23042025_02_13_05_9565.jpg', '/home/nano/Desktop/images/23042025/02/10/image_23042025_02_10_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_35_10575.jpg
/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_25_9563.jpg
/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_15_10592.jpg
/home/nano/Desktop/images/23042025/02/12/image_23042025_02_13_05_9565.jpg
/home/nano/Desktop/images/23042025/02/10/image_23042025_02_10_45_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894631","1352894634","1352894628","1352894642","1352894638"],"photo_ids_order":["1352894628","1352894631","1352894634","1352894638","1352894642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/caa0442af95125f23a925add7e39bcb6.jpg","text":"TemporaryFile(/tmp/multipartBody474483102020747270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367273457,"filename":"image_23042025_02_13_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eacf3688f74fe76175e4930c5c0a0bf6.jpg","text":"TemporaryFile(/tmp/multipartBody5075511276265282939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367273457,"filename":"image_23042025_02_13_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a19a93c9faae40c437cdda0c3384bfc6.jpg","text":"TemporaryFile(/tmp/multipartBody1022662316396925162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367273457,"filename":"image_23042025_02_13_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bfee8df485a06906772443d3e172493c.jpg","text":"TemporaryFile(/tmp/multipartBody655818084237713970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367273457,"filename":"image_23042025_02_10_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9d8b5e2c8b4b258b26d0d23d2aaf812.jpg","text":"TemporaryFile(/tmp/multipartBody5032752589233997698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367273457,"filename":"image_23042025_02_13_05_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352894634","file1":"1352894631","file0":"1352894628","file4":"1352894642","file3":"1352894638"},"map_files_photo_id_array":[{"photo_id":"1352894634","filename":"file2"},{"photo_id":"1352894642","filename":"file4"},{"photo_id":"1352894631","filename":"file1"},{"photo_id":"1352894628","filename":"file0"},{"photo_id":"1352894638","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894631":["hashtag1","hashtag2"]},{"1352894634":["hashtag1","hashtag2"]},{"1352894628":["hashtag1","hashtag2"]},{"1352894642":["hashtag1","hashtag2"]},{"1352894638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894631, 1352894634, 1352894628, 1352894642, 1352894638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.853726863861084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:14:02.364757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.261364221572876 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:14:31.807422
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/13/image_23042025_02_13_55_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894662"],"photo_id":"1352894662","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49db3cc8db87cad1d9468886caf75f74.jpg","text":"TemporaryFile(/tmp/multipartBody4895156187330354114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367332173,"filename":"image_23042025_02_13_55_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352894662"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352894662"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.05046796798706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:15:02.383888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4721205234527588 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:15:31.913538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6701533794403076 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:16:02.269943
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5321485996246338 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:16:32.060609
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_15_10607.jpg', 2), ('/home/nano/Desktop/images/23042025/02/15/image_23042025_02_16_05_9599.jpg', 2), ('/home/nano/Desktop/images/23042025/02/13/image_23042025_02_14_05_9567.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_25_9562.jpg', '/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_15_10607.jpg', '/home/nano/Desktop/images/23042025/02/15/image_23042025_02_16_05_9599.jpg', '/home/nano/Desktop/images/23042025/02/13/image_23042025_02_14_05_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_25_9562.jpg
/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_15_10607.jpg
/home/nano/Desktop/images/23042025/02/15/image_23042025_02_16_05_9599.jpg
/home/nano/Desktop/images/23042025/02/13/image_23042025_02_14_05_9567.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5278842449188232 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:17:02.648851
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_15_10607.jpg', 2), ('/home/nano/Desktop/images/23042025/02/15/image_23042025_02_16_05_9599.jpg', 2), ('/home/nano/Desktop/images/23042025/02/13/image_23042025_02_14_05_9567.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_25_9562.jpg', '/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_15_10607.jpg', '/home/nano/Desktop/images/23042025/02/15/image_23042025_02_16_05_9599.jpg', '/home/nano/Desktop/images/23042025/02/13/image_23042025_02_14_05_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_25_9562.jpg
/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_15_10607.jpg
/home/nano/Desktop/images/23042025/02/15/image_23042025_02_16_05_9599.jpg
/home/nano/Desktop/images/23042025/02/13/image_23042025_02_14_05_9567.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894741","1352894738","1352894742","1352894736"],"photo_ids_order":["1352894736","1352894738","1352894741","1352894742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69317d728e95f22e068a87338d6c4024.jpg","text":"TemporaryFile(/tmp/multipartBody7802048791719679523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367483195,"filename":"image_23042025_02_16_05_9599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bafb3ad04795be56e9766ad34bfefc9.jpg","text":"TemporaryFile(/tmp/multipartBody1119697963695573043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367483195,"filename":"image_23042025_02_16_15_10607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fd1366458ca754105cb8fc12af07399.jpg","text":"TemporaryFile(/tmp/multipartBody7759113582966406187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367483195,"filename":"image_23042025_02_14_05_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/adddc5a6d601ff21bc9cfeef752323b6.jpg","text":"TemporaryFile(/tmp/multipartBody2110264386950163527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367483195,"filename":"image_23042025_02_16_25_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352894741","file1":"1352894738","file0":"1352894736","file3":"1352894742"},"map_files_photo_id_array":[{"photo_id":"1352894741","filename":"file2"},{"photo_id":"1352894738","filename":"file1"},{"photo_id":"1352894736","filename":"file0"},{"photo_id":"1352894742","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894741":["hashtag1","hashtag2"]},{"1352894738":["hashtag1","hashtag2"]},{"1352894742":["hashtag1","hashtag2"]},{"1352894736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894741, 1352894738, 1352894742, 1352894736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.316162824630737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:17:32.163756
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/17/image_23042025_02_17_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_35_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/17/image_23042025_02_17_35_9563.jpg', '/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_35_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/17/image_23042025_02_17_35_9563.jpg
/home/nano/Desktop/images/23042025/02/16/image_23042025_02_16_35_9566.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894751","1352894746"],"photo_ids_order":["1352894746","1352894751"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8e576e0eda11d88d4874e40d584e3ce.jpg","text":"TemporaryFile(/tmp/multipartBody3024080071582343705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367512649,"filename":"image_23042025_02_16_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b473dfb880cde9fed6b89ea82457580.jpg","text":"TemporaryFile(/tmp/multipartBody7736913917741108968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367512649,"filename":"image_23042025_02_17_35_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352894751","file0":"1352894746"},"map_files_photo_id_array":[{"photo_id":"1352894751","filename":"file1"},{"photo_id":"1352894746","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894751":["hashtag1","hashtag2"]},{"1352894746":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894751, 1352894746)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.543441534042358 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:18:02.598527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6663422584533691 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:18:32.261302
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/18/image_23042025_02_18_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/02/17/image_23042025_02_17_45_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/18/image_23042025_02_18_45_9561.jpg', '/home/nano/Desktop/images/23042025/02/17/image_23042025_02_17_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/18/image_23042025_02_18_45_9561.jpg
/home/nano/Desktop/images/23042025/02/17/image_23042025_02_17_45_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894823","1352894819"],"photo_ids_order":["1352894819","1352894823"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50531c5b68f97cf375b0a95226d7ea20.jpg","text":"TemporaryFile(/tmp/multipartBody5874686479944163138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367572769,"filename":"image_23042025_02_17_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80ad51a4798c94fb41ccdda1325930a7.jpg","text":"TemporaryFile(/tmp/multipartBody8535295011335942667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367572769,"filename":"image_23042025_02_18_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352894823","file0":"1352894819"},"map_files_photo_id_array":[{"photo_id":"1352894823","filename":"file1"},{"photo_id":"1352894819","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894823":["hashtag1","hashtag2"]},{"1352894819":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894823, 1352894819)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.067200660705566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:19:03.161248
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7053968906402588 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:19:32.356917
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/19/image_23042025_02_19_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/02/18/image_23042025_02_18_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/19/image_23042025_02_19_45_10571.jpg', '/home/nano/Desktop/images/23042025/02/18/image_23042025_02_18_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/19/image_23042025_02_19_45_10571.jpg
/home/nano/Desktop/images/23042025/02/18/image_23042025_02_18_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894844","1352894849"],"photo_ids_order":["1352894844","1352894849"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/537259698f4c967778b7ad0613cdcb12.jpg","text":"TemporaryFile(/tmp/multipartBody2786103095390940887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367632891,"filename":"image_23042025_02_19_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b3cc554b7f6818b0a8e70d7e0008e91.jpg","text":"TemporaryFile(/tmp/multipartBody1048914056752088623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367632891,"filename":"image_23042025_02_18_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352894849","file0":"1352894844"},"map_files_photo_id_array":[{"photo_id":"1352894849","filename":"file1"},{"photo_id":"1352894844","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894844":["hashtag1","hashtag2"]},{"1352894849":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894844, 1352894849)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.97101068496704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:20:02.723600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4486563205718994 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:20:32.444724
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4638473987579346 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:21:03.010265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4361672401428223 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:21:32.537850
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/21/image_23042025_02_21_25_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/02/19/image_23042025_02_19_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/21/image_23042025_02_21_25_10589.jpg', '/home/nano/Desktop/images/23042025/02/19/image_23042025_02_19_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/21/image_23042025_02_21_25_10589.jpg
/home/nano/Desktop/images/23042025/02/19/image_23042025_02_19_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352894894","1352894911"],"photo_ids_order":["1352894894","1352894911"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cda797043c6ab7801a396ef2be2cc588.jpg","text":"TemporaryFile(/tmp/multipartBody7332200319642763770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367753044,"filename":"image_23042025_02_21_25_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1baa8c55b72460cc8c1557e5c2949a6.jpg","text":"TemporaryFile(/tmp/multipartBody7876464753995505501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367753044,"filename":"image_23042025_02_19_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352894911","file0":"1352894894"},"map_files_photo_id_array":[{"photo_id":"1352894911","filename":"file1"},{"photo_id":"1352894894","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352894894":["hashtag1","hashtag2"]},{"1352894911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352894894, 1352894911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.45497488975525 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:22:03.020778
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5315499305725098 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:22:32.624135
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.560565710067749 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:23:02.978059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5212373733520508 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:23:32.721050
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8985774517059326 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:24:02.360644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5662500858306885 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:24:31.818436
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/24/image_23042025_02_24_25_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/02/21/image_23042025_02_21_35_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/24/image_23042025_02_24_25_9578.jpg', '/home/nano/Desktop/images/23042025/02/21/image_23042025_02_21_35_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/24/image_23042025_02_24_25_9578.jpg
/home/nano/Desktop/images/23042025/02/21/image_23042025_02_21_35_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352895012","1352895008"],"photo_ids_order":["1352895008","1352895012"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/923defe11ac3769e98be81d302413e46.jpg","text":"TemporaryFile(/tmp/multipartBody3851925219932601097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367932422,"filename":"image_23042025_02_21_35_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f6a7612e2490f65ceb08f4a12673474.jpg","text":"TemporaryFile(/tmp/multipartBody5312215728052716716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745367932422,"filename":"image_23042025_02_24_25_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352895012","file0":"1352895008"},"map_files_photo_id_array":[{"photo_id":"1352895012","filename":"file1"},{"photo_id":"1352895008","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352895012":["hashtag1","hashtag2"]},{"1352895008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352895012, 1352895008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.147443532943726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:25:02.286300
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.501344919204712 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:25:31.922359
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7461555004119873 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:26:02.273707
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.50876784324646 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:26:32.013777
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/26/image_23042025_02_26_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/02/24/image_23042025_02_24_35_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/26/image_23042025_02_26_35_9565.jpg', '/home/nano/Desktop/images/23042025/02/24/image_23042025_02_24_35_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/26/image_23042025_02_26_35_9565.jpg
/home/nano/Desktop/images/23042025/02/24/image_23042025_02_24_35_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352895056","1352895052"],"photo_ids_order":["1352895052","1352895056"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e301c653dc365b5fa8d85bf953505e2.jpg","text":"TemporaryFile(/tmp/multipartBody7877119263508283245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368052586,"filename":"image_23042025_02_24_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f9d5c0ed2cb99bd32eba40847076b68.jpg","text":"TemporaryFile(/tmp/multipartBody3309780153008516244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368052586,"filename":"image_23042025_02_26_35_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352895056","file0":"1352895052"},"map_files_photo_id_array":[{"photo_id":"1352895056","filename":"file1"},{"photo_id":"1352895052","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352895056":["hashtag1","hashtag2"]},{"1352895052":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352895056, 1352895052)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.274085998535156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:27:02.474166
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4891371726989746 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:27:32.106242
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/27/image_23042025_02_27_15_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/02/26/image_23042025_02_26_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/27/image_23042025_02_27_15_10580.jpg', '/home/nano/Desktop/images/23042025/02/26/image_23042025_02_26_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/27/image_23042025_02_27_15_10580.jpg
/home/nano/Desktop/images/23042025/02/26/image_23042025_02_26_45_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352895151","1352895121"],"photo_ids_order":["1352895121","1352895151"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eddae26c25c92396dd7cf217406fff7d.jpg","text":"TemporaryFile(/tmp/multipartBody2015699726516360944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368112613,"filename":"image_23042025_02_26_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1817556c2b033ea02d906bff8a7654b.jpg","text":"TemporaryFile(/tmp/multipartBody8899183404804525749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368112613,"filename":"image_23042025_02_27_15_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352895151","file0":"1352895121"},"map_files_photo_id_array":[{"photo_id":"1352895151","filename":"file1"},{"photo_id":"1352895121","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352895151":["hashtag1","hashtag2"]},{"1352895121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352895151, 1352895121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.73245620727539 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:28:02.596809
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.667018175125122 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:28:32.208129
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4729571342468262 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:29:03.175672
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7807176113128662 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:29:32.321852
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/27/image_23042025_02_27_25_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/27/image_23042025_02_27_25_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/27/image_23042025_02_27_25_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352895735"],"photo_id":"1352895735","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b57f37410b82caa827e1c357cb4690f.jpg","text":"TemporaryFile(/tmp/multipartBody5703506789506977516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368232854,"filename":"image_23042025_02_27_25_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352895735"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352895735"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 13.865795135498047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:30:02.705186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6497581005096436 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:30:32.413769
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/29/image_23042025_02_29_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/29/image_23042025_02_29_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/29/image_23042025_02_29_55_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352895793"],"photo_id":"1352895793","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c52b4751d0c6ab1109ecd6d60f038d8.jpg","text":"TemporaryFile(/tmp/multipartBody629294709834521534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368292805,"filename":"image_23042025_02_29_55_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352895793"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352895793"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.966092348098755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:31:03.037804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6978676319122314 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:31:32.527868
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/31/image_23042025_02_31_15_10614.jpg', 2), ('/home/nano/Desktop/images/23042025/02/29/image_23042025_02_30_05_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/31/image_23042025_02_31_15_10614.jpg', '/home/nano/Desktop/images/23042025/02/29/image_23042025_02_30_05_9572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/31/image_23042025_02_31_15_10614.jpg
/home/nano/Desktop/images/23042025/02/29/image_23042025_02_30_05_9572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352895991","1352895987"],"photo_ids_order":["1352895987","1352895991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/705ec7e290871c6f33da5586efdc94b3.jpg","text":"TemporaryFile(/tmp/multipartBody162359160812497508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368353102,"filename":"image_23042025_02_30_05_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/876d3dc478843e675fa81d2ce93a5d22.jpg","text":"TemporaryFile(/tmp/multipartBody1041889949852670813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368353102,"filename":"image_23042025_02_31_15_10614.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352895991","file0":"1352895987"},"map_files_photo_id_array":[{"photo_id":"1352895991","filename":"file1"},{"photo_id":"1352895987","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352895991":["hashtag1","hashtag2"]},{"1352895987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352895991, 1352895987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.54863715171814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:32:02.947981
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4905869960784912 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:32:32.625060
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_45_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/02/31/image_23042025_02_31_25_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_45_10573.jpg', '/home/nano/Desktop/images/23042025/02/31/image_23042025_02_31_25_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_45_10573.jpg
/home/nano/Desktop/images/23042025/02/31/image_23042025_02_31_25_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352896045","1352896050"],"photo_ids_order":["1352896045","1352896050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47344ae0712edf280b50c1bcf1abd8fa.jpg","text":"TemporaryFile(/tmp/multipartBody5941317859884311327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368413152,"filename":"image_23042025_02_32_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8363354491e7154a154eba0dea26ae8.jpg","text":"TemporaryFile(/tmp/multipartBody806291334907585199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368413152,"filename":"image_23042025_02_31_25_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352896050","file0":"1352896045"},"map_files_photo_id_array":[{"photo_id":"1352896050","filename":"file1"},{"photo_id":"1352896045","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352896045":["hashtag1","hashtag2"]},{"1352896050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352896045, 1352896050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.263437986373901 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:33:03.139881
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5948410034179688 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:33:32.725284
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_25_9563.jpg', '/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_25_9563.jpg
/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_55_9564.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.5062010288238525 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:34:02.323005
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_25_9563.jpg', '/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_25_9563.jpg
/home/nano/Desktop/images/23042025/02/32/image_23042025_02_32_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352896096","1352896093"],"photo_ids_order":["1352896093","1352896096"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15650b32844c3e4a80ed1bff92d505d7.jpg","text":"TemporaryFile(/tmp/multipartBody5236431285783154519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368503027,"filename":"image_23042025_02_32_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cac3bdd7270b663ef970cf22a7faf4ce.jpg","text":"TemporaryFile(/tmp/multipartBody455141542710769848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368503027,"filename":"image_23042025_02_33_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352896096","file0":"1352896093"},"map_files_photo_id_array":[{"photo_id":"1352896096","filename":"file1"},{"photo_id":"1352896093","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352896096":["hashtag1","hashtag2"]},{"1352896093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352896096, 1352896093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.574822902679443 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:34:31.812492
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_35_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_35_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/33/image_23042025_02_33_35_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352896102"],"photo_id":"1352896102","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e6bd037b5e7c4addccff28d105e17c3.jpg","text":"TemporaryFile(/tmp/multipartBody2343494928188630120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368532392,"filename":"image_23042025_02_33_35_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352896102"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352896102"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 14.896242141723633 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:35:02.467875
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2068965435028076 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:35:31.977357
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/34/image_23042025_02_35_05_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/02/34/image_23042025_02_34_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/34/image_23042025_02_35_05_10592.jpg', '/home/nano/Desktop/images/23042025/02/34/image_23042025_02_34_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/34/image_23042025_02_35_05_10592.jpg
/home/nano/Desktop/images/23042025/02/34/image_23042025_02_34_55_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352896127","1352896129"],"photo_ids_order":["1352896127","1352896129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df68538731b67346adc6d5708fc3510c.jpg","text":"TemporaryFile(/tmp/multipartBody9061817842494573594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368592680,"filename":"image_23042025_02_35_05_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3693cbb089676554270dcce2b92e880.jpg","text":"TemporaryFile(/tmp/multipartBody1542893205331337627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368592680,"filename":"image_23042025_02_34_55_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352896129","file0":"1352896127"},"map_files_photo_id_array":[{"photo_id":"1352896129","filename":"file1"},{"photo_id":"1352896127","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352896127":["hashtag1","hashtag2"]},{"1352896129":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352896127, 1352896129)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.884104490280151 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:36:02.421008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5784714221954346 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:36:32.052816
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/36/image_23042025_02_36_15_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/02/35/image_23042025_02_35_15_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/36/image_23042025_02_36_15_10596.jpg', '/home/nano/Desktop/images/23042025/02/35/image_23042025_02_35_15_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/36/image_23042025_02_36_15_10596.jpg
/home/nano/Desktop/images/23042025/02/35/image_23042025_02_35_15_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352896149","1352896152"],"photo_ids_order":["1352896149","1352896152"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fc80faf5c419cbbbb054a4fe085779a.jpg","text":"TemporaryFile(/tmp/multipartBody2353266337441499220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368652923,"filename":"image_23042025_02_36_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa42cd71a411dead5a0c62b770393f09.jpg","text":"TemporaryFile(/tmp/multipartBody7352297219940406852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368652923,"filename":"image_23042025_02_35_15_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352896152","file0":"1352896149"},"map_files_photo_id_array":[{"photo_id":"1352896152","filename":"file1"},{"photo_id":"1352896149","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352896149":["hashtag1","hashtag2"]},{"1352896152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352896149, 1352896152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.571082592010498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:37:02.650389
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3463873863220215 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:37:32.168393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3746371269226074 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:38:02.524282
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3772590160369873 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:38:32.230193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4761226177215576 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:39:03.025799
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.431457042694092 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:39:32.335025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3528048992156982 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:40:02.715322
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.327183485031128 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:40:32.431615
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/40/image_23042025_02_40_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/02/36/image_23042025_02_36_25_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/40/image_23042025_02_40_25_9561.jpg', '/home/nano/Desktop/images/23042025/02/36/image_23042025_02_36_25_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/40/image_23042025_02_40_25_9561.jpg
/home/nano/Desktop/images/23042025/02/36/image_23042025_02_36_25_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897167","1352897192"],"photo_ids_order":["1352897167","1352897192"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0be026b0cb781f0d73e8e6272893255.jpg","text":"TemporaryFile(/tmp/multipartBody5119294614004795940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368893296,"filename":"image_23042025_02_40_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7eb2f41cf16ba5c88430176c726d374.jpg","text":"TemporaryFile(/tmp/multipartBody8876208856934965921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368893296,"filename":"image_23042025_02_36_25_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352897192","file0":"1352897167"},"map_files_photo_id_array":[{"photo_id":"1352897192","filename":"file1"},{"photo_id":"1352897167","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897167":["hashtag1","hashtag2"]},{"1352897192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897167, 1352897192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.32996940612793 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:41:02.965500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.51069974899292 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:41:32.553659
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/41/image_23042025_02_41_25_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/02/40/image_23042025_02_40_35_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/41/image_23042025_02_41_25_9578.jpg', '/home/nano/Desktop/images/23042025/02/40/image_23042025_02_40_35_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/41/image_23042025_02_41_25_9578.jpg
/home/nano/Desktop/images/23042025/02/40/image_23042025_02_40_35_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897424","1352897427"],"photo_ids_order":["1352897424","1352897427"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97c79dbe3483af3dc7ec3a49977f6e4a.jpg","text":"TemporaryFile(/tmp/multipartBody4395830583998308427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368953452,"filename":"image_23042025_02_41_25_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c74aa98a18fdc7b52436fe1f958f95e.jpg","text":"TemporaryFile(/tmp/multipartBody1928311462176928190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745368953452,"filename":"image_23042025_02_40_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352897427","file0":"1352897424"},"map_files_photo_id_array":[{"photo_id":"1352897427","filename":"file1"},{"photo_id":"1352897424","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897424":["hashtag1","hashtag2"]},{"1352897427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897424, 1352897427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.397605180740356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:42:03.000201
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2084717750549316 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:42:32.645532
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/42/image_23042025_02_42_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/41/image_23042025_02_41_35_9578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/42/image_23042025_02_42_25_9563.jpg', '/home/nano/Desktop/images/23042025/02/41/image_23042025_02_41_35_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/42/image_23042025_02_42_25_9563.jpg
/home/nano/Desktop/images/23042025/02/41/image_23042025_02_41_35_9578.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897454","1352897450"],"photo_ids_order":["1352897450","1352897454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d70110fae3bf6dfc757f9cbf1b693090.jpg","text":"TemporaryFile(/tmp/multipartBody1154752518729272913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369013428,"filename":"image_23042025_02_41_35_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12d85403919bc886b5cebd08ed186e63.jpg","text":"TemporaryFile(/tmp/multipartBody5875209122046493559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369013428,"filename":"image_23042025_02_42_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352897454","file0":"1352897450"},"map_files_photo_id_array":[{"photo_id":"1352897454","filename":"file1"},{"photo_id":"1352897450","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897454":["hashtag1","hashtag2"]},{"1352897450":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897454, 1352897450)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.564872741699219 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:43:03.263018
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7892534732818604 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:43:32.730745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.595090627670288 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:44:02.426804
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7242352962493896 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:44:31.834728
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/44/image_23042025_02_44_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/02/42/image_23042025_02_42_35_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/44/image_23042025_02_44_45_9562.jpg', '/home/nano/Desktop/images/23042025/02/42/image_23042025_02_42_35_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/44/image_23042025_02_44_45_9562.jpg
/home/nano/Desktop/images/23042025/02/42/image_23042025_02_42_35_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897500","1352897503"],"photo_ids_order":["1352897500","1352897503"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7d33d3ad680fa654912249b03dbf6b0.jpg","text":"TemporaryFile(/tmp/multipartBody3746221132705673204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369132587,"filename":"image_23042025_02_44_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00dd2c3d3162ae49060fa3c7271ed66b.jpg","text":"TemporaryFile(/tmp/multipartBody1902658373150161623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369132587,"filename":"image_23042025_02_42_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352897503","file0":"1352897500"},"map_files_photo_id_array":[{"photo_id":"1352897503","filename":"file1"},{"photo_id":"1352897500","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897500":["hashtag1","hashtag2"]},{"1352897503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897500, 1352897503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.819701671600342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:45:02.420393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6802136898040771 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:45:31.946603
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8197591304779053 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:46:02.420590
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7956292629241943 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:46:32.039584
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/02/44/image_23042025_02_44_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_35_9563.jpg', '/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_25_10572.jpg', '/home/nano/Desktop/images/23042025/02/44/image_23042025_02_44_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_35_9563.jpg
/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_25_10572.jpg
/home/nano/Desktop/images/23042025/02/44/image_23042025_02_44_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897551","1352897554","1352897558"],"photo_ids_order":["1352897551","1352897554","1352897558"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c81a2f6998a2c81380d03edec102acb.jpg","text":"TemporaryFile(/tmp/multipartBody167503305583847484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369252850,"filename":"image_23042025_02_46_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85e37dc3b71a08976072f0d7f2fc1f66.jpg","text":"TemporaryFile(/tmp/multipartBody369005935464357526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369252850,"filename":"image_23042025_02_46_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7755145f0c3b4ace4f55196265045545.jpg","text":"TemporaryFile(/tmp/multipartBody8603873370676523769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369252850,"filename":"image_23042025_02_44_55_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352897558","file1":"1352897554","file0":"1352897551"},"map_files_photo_id_array":[{"photo_id":"1352897558","filename":"file2"},{"photo_id":"1352897554","filename":"file1"},{"photo_id":"1352897551","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897551":["hashtag1","hashtag2"]},{"1352897554":["hashtag1","hashtag2"]},{"1352897558":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897551, 1352897554, 1352897558)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.095409154891968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:47:02.576017
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6904666423797607 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:47:32.188249
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_35_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_45_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_35_10575.jpg', '/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_25_9565.jpg', '/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_35_10575.jpg
/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_25_9565.jpg
/home/nano/Desktop/images/23042025/02/46/image_23042025_02_46_45_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897600","1352897597","1352897582"],"photo_ids_order":["1352897582","1352897597","1352897600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93a08f0236bd386d10b6cd31737edc62.jpg","text":"TemporaryFile(/tmp/multipartBody1808829388655626854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369312807,"filename":"image_23042025_02_46_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a022ad1c0bec049e790384bb4c53a36.jpg","text":"TemporaryFile(/tmp/multipartBody7676341792978440807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369312807,"filename":"image_23042025_02_47_25_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cebbee7daea5b1a9ffcf0011d9823ad9.jpg","text":"TemporaryFile(/tmp/multipartBody6475214653723018783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369312807,"filename":"image_23042025_02_47_35_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352897600","file1":"1352897597","file0":"1352897582"},"map_files_photo_id_array":[{"photo_id":"1352897600","filename":"file2"},{"photo_id":"1352897597","filename":"file1"},{"photo_id":"1352897582","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897600":["hashtag1","hashtag2"]},{"1352897597":["hashtag1","hashtag2"]},{"1352897582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897600, 1352897597, 1352897582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.753968000411987 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:48:02.685393
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7182655334472656 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:48:32.281016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7402088642120361 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:49:03.063063
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.583815336227417 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:49:32.371831
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_25_9561.jpg', '/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_15_9564.jpg', '/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_25_9561.jpg
/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_15_9564.jpg
/home/nano/Desktop/images/23042025/02/47/image_23042025_02_47_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897767","1352897762","1352897759"],"photo_ids_order":["1352897759","1352897762","1352897767"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18839c5718e9ac272203e166cacdbfcc.jpg","text":"TemporaryFile(/tmp/multipartBody2291230340579189054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369433022,"filename":"image_23042025_02_47_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a71af2427453ba2c4f8ac1ce27f35bd4.jpg","text":"TemporaryFile(/tmp/multipartBody1152451028847916892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369433022,"filename":"image_23042025_02_49_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33b55ff40b75954f4f8eae87154252fd.jpg","text":"TemporaryFile(/tmp/multipartBody7470631193623419550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369433022,"filename":"image_23042025_02_49_25_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352897767","file1":"1352897762","file0":"1352897759"},"map_files_photo_id_array":[{"photo_id":"1352897767","filename":"file2"},{"photo_id":"1352897762","filename":"file1"},{"photo_id":"1352897759","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897767":["hashtag1","hashtag2"]},{"1352897762":["hashtag1","hashtag2"]},{"1352897759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897767, 1352897762, 1352897759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.83896255493164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:50:02.705825
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7379603385925293 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:50:32.487665
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.593653917312622 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:51:03.017965
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7550160884857178 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:51:32.591704
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/51/image_23042025_02_51_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_35_10575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/51/image_23042025_02_51_15_9569.jpg', '/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_35_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/51/image_23042025_02_51_15_9569.jpg
/home/nano/Desktop/images/23042025/02/49/image_23042025_02_49_35_10575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352897814","1352897811"],"photo_ids_order":["1352897811","1352897814"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f6914e462574deac36ed2e08cbc7cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1432205484743456698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369553157,"filename":"image_23042025_02_49_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92e0f989452f21edb6ac5e02e839aab8.jpg","text":"TemporaryFile(/tmp/multipartBody5597178479616775123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369553157,"filename":"image_23042025_02_51_15_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352897814","file0":"1352897811"},"map_files_photo_id_array":[{"photo_id":"1352897814","filename":"file1"},{"photo_id":"1352897811","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352897814":["hashtag1","hashtag2"]},{"1352897811":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352897814, 1352897811)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.221498727798462 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:52:03.009861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7426557540893555 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:52:32.668688
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.788370132446289 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:53:03.201199
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6302006244659424 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:53:32.768114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 8.778475761413574 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:54:02.454263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5496578216552734 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:54:31.866489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7940447330474854 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:55:02.394123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4748363494873047 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:55:31.966951
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_45_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_15_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/02/51/image_23042025_02_51_25_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_45_10572.jpg', '/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_25_10575.jpg', '/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_15_9578.jpg', '/home/nano/Desktop/images/23042025/02/51/image_23042025_02_51_25_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_45_10572.jpg
/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_25_10575.jpg
/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_15_9578.jpg
/home/nano/Desktop/images/23042025/02/51/image_23042025_02_51_25_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352898403","1352898420","1352898408","1352898419"],"photo_ids_order":["1352898403","1352898408","1352898419","1352898420"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4652d63ec3b394170dbdf2563208f811.jpg","text":"TemporaryFile(/tmp/multipartBody1939460737336265404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369792767,"filename":"image_23042025_02_55_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0311fa7d65f9068f732b40acced66f9c.jpg","text":"TemporaryFile(/tmp/multipartBody8095308229756723113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369792767,"filename":"image_23042025_02_51_25_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c02e4f7d34c48d65b8429e457aef779d.jpg","text":"TemporaryFile(/tmp/multipartBody2073014744294692363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369792767,"filename":"image_23042025_02_55_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e39cb85ea74873fada11dadd6563299.jpg","text":"TemporaryFile(/tmp/multipartBody8208148660139107448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369792767,"filename":"image_23042025_02_55_15_9578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352898419","file1":"1352898408","file0":"1352898403","file3":"1352898420"},"map_files_photo_id_array":[{"photo_id":"1352898419","filename":"file2"},{"photo_id":"1352898408","filename":"file1"},{"photo_id":"1352898403","filename":"file0"},{"photo_id":"1352898420","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352898403":["hashtag1","hashtag2"]},{"1352898420":["hashtag1","hashtag2"]},{"1352898408":["hashtag1","hashtag2"]},{"1352898419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352898403, 1352898420, 1352898408, 1352898419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 37.42288947105408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:56:32.041202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7563347816467285 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:57:02.578027
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5714137554168701 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:57:32.165805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.62276291847229 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:58:02.647792
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/57/image_23042025_02_58_05_10583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/57/image_23042025_02_58_05_10583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/57/image_23042025_02_58_05_10583.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352898693"],"photo_id":"1352898693","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/691b43e6be207b0b7bbef4d56f7916bd.jpg","text":"TemporaryFile(/tmp/multipartBody661159162711259774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745369943131,"filename":"image_23042025_02_58_05_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352898693"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352898693"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.416352033615112 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:59:03.161956
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/58/image_23042025_02_58_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/58/image_23042025_02_58_35_10572.jpg', '/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/58/image_23042025_02_58_35_10572.jpg
/home/nano/Desktop/images/23042025/02/55/image_23042025_02_55_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352898919","1352898888"],"photo_ids_order":["1352898888","1352898919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bb6110f178d19ca0fbe432cba8c29ea.jpg","text":"TemporaryFile(/tmp/multipartBody7612702231586862443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370006406,"filename":"image_23042025_02_55_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/143bb6355c3476505ce1fda87e4bda6e.jpg","text":"TemporaryFile(/tmp/multipartBody6564494008435326031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370006406,"filename":"image_23042025_02_58_35_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352898919","file0":"1352898888"},"map_files_photo_id_array":[{"photo_id":"1352898919","filename":"file1"},{"photo_id":"1352898888","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352898919":["hashtag1","hashtag2"]},{"1352898888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352898919, 1352898888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.004695415496826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 02:59:32.305719
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/02/59/image_23042025_02_59_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/02/58/image_23042025_02_58_45_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/02/59/image_23042025_02_59_35_9563.jpg', '/home/nano/Desktop/images/23042025/02/58/image_23042025_02_58_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/02/59/image_23042025_02_59_35_9563.jpg
/home/nano/Desktop/images/23042025/02/58/image_23042025_02_58_45_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899081","1352899108"],"photo_ids_order":["1352899081","1352899108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e470db5169e979a01140463f7146de4e.jpg","text":"TemporaryFile(/tmp/multipartBody7695167712272202958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370033056,"filename":"image_23042025_02_59_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8ea617f26ead5849089d654ad66e8d9.jpg","text":"TemporaryFile(/tmp/multipartBody4981944249799897315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370033056,"filename":"image_23042025_02_58_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352899108","file0":"1352899081"},"map_files_photo_id_array":[{"photo_id":"1352899108","filename":"file1"},{"photo_id":"1352899081","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352899081":["hashtag1","hashtag2"]},{"1352899108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352899081, 1352899108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.370036363601685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:00:02.730347
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9263203144073486 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:00:32.454125
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_15_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/02/59/image_23042025_02_59_45_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_25_10574.jpg', '/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_15_9575.jpg', '/home/nano/Desktop/images/23042025/02/59/image_23042025_02_59_45_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_25_10574.jpg
/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_15_9575.jpg
/home/nano/Desktop/images/23042025/02/59/image_23042025_02_59_45_10570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899392","1352899389","1352899396"],"photo_ids_order":["1352899389","1352899392","1352899396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d80a5c6ee6b3bdad9ad6f394711d53fb.jpg","text":"TemporaryFile(/tmp/multipartBody5461591864351370925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370093424,"filename":"image_23042025_03_00_15_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eea2cfbbfbec188bb02fe8b184bdf61c.jpg","text":"TemporaryFile(/tmp/multipartBody8982912563664727911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370093424,"filename":"image_23042025_03_00_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6956d83bfb7796b2df46c762bade2b6.jpg","text":"TemporaryFile(/tmp/multipartBody5243722784437065558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370093424,"filename":"image_23042025_02_59_45_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352899396","file1":"1352899392","file0":"1352899389"},"map_files_photo_id_array":[{"photo_id":"1352899396","filename":"file2"},{"photo_id":"1352899392","filename":"file1"},{"photo_id":"1352899389","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352899392":["hashtag1","hashtag2"]},{"1352899389":["hashtag1","hashtag2"]},{"1352899396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352899392, 1352899389, 1352899396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.65453314781189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:01:03.089638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7914152145385742 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:01:32.574433
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_55_10586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_55_10586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/00/image_23042025_03_00_55_10586.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899571"],"photo_id":"1352899571","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab86cd3a9bb076e1af52ea55b20ebaf0.jpg","text":"TemporaryFile(/tmp/multipartBody1066094952201214540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370152994,"filename":"image_23042025_03_00_55_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352899571"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352899571"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.905993461608887 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:02:02.965368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.690889835357666 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:02:32.678056
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/01/image_23042025_03_02_05_10581.jpg', 2), ('/home/nano/Desktop/images/23042025/03/00/image_23042025_03_01_05_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/01/image_23042025_03_02_05_10581.jpg', '/home/nano/Desktop/images/23042025/03/00/image_23042025_03_01_05_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/01/image_23042025_03_02_05_10581.jpg
/home/nano/Desktop/images/23042025/03/00/image_23042025_03_01_05_9569.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899607","1352899603"],"photo_ids_order":["1352899603","1352899607"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f88594daf0c020dc4df8b360dde2ce0e.jpg","text":"TemporaryFile(/tmp/multipartBody6758259122742537105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370213406,"filename":"image_23042025_03_01_05_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40b4bc355e146eb6718ceb9cc530d852.jpg","text":"TemporaryFile(/tmp/multipartBody5282674309281657726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370213406,"filename":"image_23042025_03_02_05_10581.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352899607","file0":"1352899603"},"map_files_photo_id_array":[{"photo_id":"1352899607","filename":"file1"},{"photo_id":"1352899603","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352899607":["hashtag1","hashtag2"]},{"1352899603":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352899607, 1352899603)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.566088914871216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:03:02.164515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5935163497924805 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:03:31.805377
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/02/image_23042025_03_02_15_9575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/02/image_23042025_03_02_15_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/02/image_23042025_03_02_15_9575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899630"],"photo_id":"1352899630","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2c8e31355d78925cae5845c14e76463.jpg","text":"TemporaryFile(/tmp/multipartBody2034343359771174331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370272245,"filename":"image_23042025_03_02_15_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352899630"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352899630"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 9.908216714859009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:04:02.348999
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4986634254455566 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:04:31.861945
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/04/image_23042025_03_04_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/03/03/image_23042025_03_04_05_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/03/03/image_23042025_03_03_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/04/image_23042025_03_04_25_10573.jpg', '/home/nano/Desktop/images/23042025/03/03/image_23042025_03_04_05_10588.jpg', '/home/nano/Desktop/images/23042025/03/03/image_23042025_03_03_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/04/image_23042025_03_04_25_10573.jpg
/home/nano/Desktop/images/23042025/03/03/image_23042025_03_04_05_10588.jpg
/home/nano/Desktop/images/23042025/03/03/image_23042025_03_03_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899667","1352899664","1352899660"],"photo_ids_order":["1352899660","1352899664","1352899667"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/224f749a5bcf29c907c2e421a2731442.jpg","text":"TemporaryFile(/tmp/multipartBody1819948931553372563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370334125,"filename":"image_23042025_03_03_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7b1dc1e925c5761e915f9dda345b22b.jpg","text":"TemporaryFile(/tmp/multipartBody9160783419315160636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370334125,"filename":"image_23042025_03_04_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7728fe42afadafa3c2df4c76d41bd74d.jpg","text":"TemporaryFile(/tmp/multipartBody969733124559696030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370334125,"filename":"image_23042025_03_04_25_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352899667","file1":"1352899664","file0":"1352899660"},"map_files_photo_id_array":[{"photo_id":"1352899667","filename":"file2"},{"photo_id":"1352899664","filename":"file1"},{"photo_id":"1352899660","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352899667":["hashtag1","hashtag2"]},{"1352899664":["hashtag1","hashtag2"]},{"1352899660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352899667, 1352899664, 1352899660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.818570613861084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:05:02.368942
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.735541820526123 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:05:31.973260
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_15_10595.jpg', 2), ('/home/nano/Desktop/images/23042025/03/04/image_23042025_03_05_05_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/03/04/image_23042025_03_04_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_35_10572.jpg', '/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_15_10595.jpg', '/home/nano/Desktop/images/23042025/03/04/image_23042025_03_05_05_9582.jpg', '/home/nano/Desktop/images/23042025/03/04/image_23042025_03_04_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_35_10572.jpg
/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_15_10595.jpg
/home/nano/Desktop/images/23042025/03/04/image_23042025_03_05_05_9582.jpg
/home/nano/Desktop/images/23042025/03/04/image_23042025_03_04_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899685","1352899682","1352899684","1352899680"],"photo_ids_order":["1352899680","1352899682","1352899684","1352899685"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0dc1fbe2bb3603f69c1b32694894efc.jpg","text":"TemporaryFile(/tmp/multipartBody6249525894346311311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370395884,"filename":"image_23042025_03_04_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1144d3d6980771cc99018e941fee5143.jpg","text":"TemporaryFile(/tmp/multipartBody5216990908417414802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370395884,"filename":"image_23042025_03_05_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8af45a6f888011385c90ba5b949ac84b.jpg","text":"TemporaryFile(/tmp/multipartBody5278238832870072837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370395884,"filename":"image_23042025_03_05_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/112f630fa93201b93ba6c606a4be2037.jpg","text":"TemporaryFile(/tmp/multipartBody5960114839726018769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370395884,"filename":"image_23042025_03_05_35_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352899684","file1":"1352899682","file0":"1352899680","file3":"1352899685"},"map_files_photo_id_array":[{"photo_id":"1352899684","filename":"file2"},{"photo_id":"1352899682","filename":"file1"},{"photo_id":"1352899680","filename":"file0"},{"photo_id":"1352899685","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352899685":["hashtag1","hashtag2"]},{"1352899682":["hashtag1","hashtag2"]},{"1352899684":["hashtag1","hashtag2"]},{"1352899680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352899685, 1352899682, 1352899684, 1352899680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.362172603607178 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:06:02.449986
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.255341291427612 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:06:32.050702
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4930305480957031 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:07:02.640759
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/07/image_23042025_03_07_15_9583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/07/image_23042025_03_07_15_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/07/image_23042025_03_07_15_9583.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899786"],"photo_id":"1352899786","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/561f8da075ffd7d120ac97a34d6765a5.jpg","text":"TemporaryFile(/tmp/multipartBody9163401304663615033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370483422,"filename":"image_23042025_03_07_15_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352899786"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352899786"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.355422973632812 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:07:32.159350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 6.53874659538269 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:08:02.609174
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.2250897884368896 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:08:32.252879
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/08/image_23042025_03_08_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_45_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/08/image_23042025_03_08_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/08/image_23042025_03_08_35_9563.jpg
/home/nano/Desktop/images/23042025/03/05/image_23042025_03_05_45_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352899902","1352899905"],"photo_ids_order":["1352899902","1352899905"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b39f238b6692fce8d1b328846b13e7e.jpg","text":"TemporaryFile(/tmp/multipartBody1988642010881417363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370573271,"filename":"image_23042025_03_08_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfd742119c58e3fc28957fc2bee2f57c.jpg","text":"TemporaryFile(/tmp/multipartBody6264938393592474882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370573271,"filename":"image_23042025_03_05_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352899905","file0":"1352899902"},"map_files_photo_id_array":[{"photo_id":"1352899905","filename":"file1"},{"photo_id":"1352899902","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352899902":["hashtag1","hashtag2"]},{"1352899905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352899902, 1352899905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 17.206176280975342 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:09:03.158602
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.257026433944702 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:09:32.323265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 7.385106563568115 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:10:02.823112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 10.499396085739136 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:10:32.435899
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/09/image_23042025_03_10_05_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/03/08/image_23042025_03_08_45_10576.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/09/image_23042025_03_10_05_9580.jpg', '/home/nano/Desktop/images/23042025/03/08/image_23042025_03_08_45_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/09/image_23042025_03_10_05_9580.jpg
/home/nano/Desktop/images/23042025/03/08/image_23042025_03_08_45_10576.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352900020","1352900016"],"photo_ids_order":["1352900016","1352900020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba00055c7477b7b3fc1a55e7f4915a48.jpg","text":"TemporaryFile(/tmp/multipartBody6146677522797605206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370693929,"filename":"image_23042025_03_08_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/077e9a3fe9493ff54faf72c8a6ac2e2e.jpg","text":"TemporaryFile(/tmp/multipartBody6620109920628471546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370693929,"filename":"image_23042025_03_10_05_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352900020","file0":"1352900016"},"map_files_photo_id_array":[{"photo_id":"1352900020","filename":"file1"},{"photo_id":"1352900016","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352900020":["hashtag1","hashtag2"]},{"1352900016":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352900020, 1352900016)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.76246428489685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:11:03.028518
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 10.042955875396729 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:11:32.530197
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/11/image_23042025_03_11_45_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/03/10/image_23042025_03_10_35_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/11/image_23042025_03_11_45_10589.jpg', '/home/nano/Desktop/images/23042025/03/10/image_23042025_03_10_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/11/image_23042025_03_11_45_10589.jpg
/home/nano/Desktop/images/23042025/03/10/image_23042025_03_10_35_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352900087","1352900084"],"photo_ids_order":["1352900084","1352900087"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d846c161c03eb34a1d714c83567ca7b.jpg","text":"TemporaryFile(/tmp/multipartBody7635716411851500442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370754679,"filename":"image_23042025_03_10_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c867b42460dbd9036f53dd0513755ab.jpg","text":"TemporaryFile(/tmp/multipartBody2036680549781280060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370754679,"filename":"image_23042025_03_11_45_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352900087","file0":"1352900084"},"map_files_photo_id_array":[{"photo_id":"1352900087","filename":"file1"},{"photo_id":"1352900084","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352900087":["hashtag1","hashtag2"]},{"1352900084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352900087, 1352900084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.610509395599365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:12:03.015651
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 8.64382266998291 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:12:32.655894
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/11/image_23042025_03_11_55_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_35_10572.jpg', '/home/nano/Desktop/images/23042025/03/11/image_23042025_03_11_55_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_35_10572.jpg
/home/nano/Desktop/images/23042025/03/11/image_23042025_03_11_55_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352900221","1352900229"],"photo_ids_order":["1352900221","1352900229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18504ce6602910e2148cde57777de709.jpg","text":"TemporaryFile(/tmp/multipartBody954766607239783478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370813730,"filename":"image_23042025_03_12_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ef68594844f1bd19bf5c87c17903391.jpg","text":"TemporaryFile(/tmp/multipartBody7390217397028486945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370813730,"filename":"image_23042025_03_11_55_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352900229","file0":"1352900221"},"map_files_photo_id_array":[{"photo_id":"1352900229","filename":"file1"},{"photo_id":"1352900221","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352900221":["hashtag1","hashtag2"]},{"1352900229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352900221, 1352900229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.918662548065186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:13:03.229691
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.891326189041138 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:13:32.743486
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_45_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_15_9597.jpg', 2), ('/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_45_10587.jpg', '/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_25_10574.jpg', '/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_15_9597.jpg', '/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_45_10587.jpg
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_25_10574.jpg
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_15_9597.jpg
/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_45_9562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.963911533355713 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:14:02.504486
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_45_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_15_9597.jpg', 2), ('/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_45_10587.jpg', '/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_25_10574.jpg', '/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_15_9597.jpg', '/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_45_10587.jpg
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_25_10574.jpg
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_15_9597.jpg
/home/nano/Desktop/images/23042025/03/12/image_23042025_03_12_45_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352900942","1352900941","1352900991","1352900961"],"photo_ids_order":["1352900941","1352900942","1352900961","1352900991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dd37068160afad56694f97b3795ab98.jpg","text":"TemporaryFile(/tmp/multipartBody3284700419981483160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370914100,"filename":"image_23042025_03_13_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d8f39b497a02b53f31bb6bc059668f2.jpg","text":"TemporaryFile(/tmp/multipartBody7470514048513677716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370914100,"filename":"image_23042025_03_13_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0afc8843f2e9873e4b8dd088e96d0d9b.jpg","text":"TemporaryFile(/tmp/multipartBody6677339600950586669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370914100,"filename":"image_23042025_03_12_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7813160dea0bcbffd76b99a1c18b4d8.jpg","text":"TemporaryFile(/tmp/multipartBody4931068380274675430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745370914100,"filename":"image_23042025_03_13_15_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352900961","file1":"1352900942","file0":"1352900941","file3":"1352900991"},"map_files_photo_id_array":[{"photo_id":"1352900961","filename":"file2"},{"photo_id":"1352900942","filename":"file1"},{"photo_id":"1352900941","filename":"file0"},{"photo_id":"1352900991","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352900942":["hashtag1","hashtag2"]},{"1352900941":["hashtag1","hashtag2"]},{"1352900991":["hashtag1","hashtag2"]},{"1352900961":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352900942, 1352900941, 1352900991, 1352900961)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.80242681503296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:15:02.446584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 7.0344624519348145 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:15:31.958838
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 7.154877185821533 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:16:02.399123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 11.15327763557434 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:16:32.066440
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_25_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_45_9564.jpg', '/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_25_9566.jpg', '/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_45_9564.jpg
/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_25_9566.jpg
/home/nano/Desktop/images/23042025/03/13/image_23042025_03_13_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901282","1352901279","1352901276"],"photo_ids_order":["1352901276","1352901279","1352901282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5abbf84d2fb8d7f9543a1f8ae46aeda7.jpg","text":"TemporaryFile(/tmp/multipartBody7416943172144681266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371061097,"filename":"image_23042025_03_13_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3f5a640a4b95294d6dbc2ed673b82c3.jpg","text":"TemporaryFile(/tmp/multipartBody1509251441407576618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371061097,"filename":"image_23042025_03_16_25_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f638d834ef58da271263f9a2c667c1d2.jpg","text":"TemporaryFile(/tmp/multipartBody8023610684891554696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371061097,"filename":"image_23042025_03_16_45_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352901282","file1":"1352901279","file0":"1352901276"},"map_files_photo_id_array":[{"photo_id":"1352901282","filename":"file2"},{"photo_id":"1352901279","filename":"file1"},{"photo_id":"1352901276","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352901282":["hashtag1","hashtag2"]},{"1352901279":["hashtag1","hashtag2"]},{"1352901276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352901282, 1352901279, 1352901276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 28.59091281890869 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:17:02.701877
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 9.581749200820923 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:17:32.180097
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/16/image_23042025_03_16_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901288"],"photo_id":"1352901288","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c53863aaaccc30f05c0922d97b2a082e.jpg","text":"TemporaryFile(/tmp/multipartBody6958742583117938071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371113444,"filename":"image_23042025_03_16_55_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352901288"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352901288"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.689292669296265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:18:02.672326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 11.765248537063599 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:18:32.245701
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/17/image_23042025_03_18_05_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/03/17/image_23042025_03_17_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/17/image_23042025_03_18_05_10582.jpg', '/home/nano/Desktop/images/23042025/03/17/image_23042025_03_17_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/17/image_23042025_03_18_05_10582.jpg
/home/nano/Desktop/images/23042025/03/17/image_23042025_03_17_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901309","1352901312"],"photo_ids_order":["1352901309","1352901312"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46d78156ea4b1fce01b62f7f2679ac64.jpg","text":"TemporaryFile(/tmp/multipartBody297358761354768458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371175770,"filename":"image_23042025_03_18_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/117b51a8f98d623aee94e27c44e5ce5b.jpg","text":"TemporaryFile(/tmp/multipartBody4717623594398217443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371175770,"filename":"image_23042025_03_17_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352901312","file0":"1352901309"},"map_files_photo_id_array":[{"photo_id":"1352901312","filename":"file1"},{"photo_id":"1352901309","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352901309":["hashtag1","hashtag2"]},{"1352901312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352901309, 1352901312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 18.192404985427856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:19:03.154197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 7.225160598754883 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:19:32.352490
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_35_10577.jpg', 2), ('/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_15_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/03/18/image_23042025_03_19_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/18/image_23042025_03_18_35_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_35_10577.jpg', '/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_15_10591.jpg', '/home/nano/Desktop/images/23042025/03/18/image_23042025_03_19_05_9566.jpg', '/home/nano/Desktop/images/23042025/03/18/image_23042025_03_18_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_35_10577.jpg
/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_15_10591.jpg
/home/nano/Desktop/images/23042025/03/18/image_23042025_03_19_05_9566.jpg
/home/nano/Desktop/images/23042025/03/18/image_23042025_03_18_35_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901372","1352901375","1352901354","1352901350"],"photo_ids_order":["1352901350","1352901354","1352901372","1352901375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/041dde3f7a86b879dcf5f7185b9635e5.jpg","text":"TemporaryFile(/tmp/multipartBody8719157476839980750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371239875,"filename":"image_23042025_03_19_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a923986df85a45bd1c03a729e14cde2.jpg","text":"TemporaryFile(/tmp/multipartBody1861486664070642687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371239875,"filename":"image_23042025_03_18_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60ec81d5de121b70cbc7238461997881.jpg","text":"TemporaryFile(/tmp/multipartBody8726742607668883011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371239875,"filename":"image_23042025_03_19_15_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dc58fea8388a7be5690c8f6379220f9.jpg","text":"TemporaryFile(/tmp/multipartBody5292849705240605034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371239875,"filename":"image_23042025_03_19_35_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352901372","file1":"1352901354","file0":"1352901350","file3":"1352901375"},"map_files_photo_id_array":[{"photo_id":"1352901372","filename":"file2"},{"photo_id":"1352901354","filename":"file1"},{"photo_id":"1352901350","filename":"file0"},{"photo_id":"1352901375","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352901372":["hashtag1","hashtag2"]},{"1352901375":["hashtag1","hashtag2"]},{"1352901354":["hashtag1","hashtag2"]},{"1352901350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352901372, 1352901375, 1352901354, 1352901350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 31.67320680618286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:20:32.449285
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/20/image_23042025_03_20_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/03/19/image_23042025_03_20_05_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/20/image_23042025_03_20_35_9564.jpg', '/home/nano/Desktop/images/23042025/03/19/image_23042025_03_20_05_10591.jpg', '/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/20/image_23042025_03_20_35_9564.jpg
/home/nano/Desktop/images/23042025/03/19/image_23042025_03_20_05_10591.jpg
/home/nano/Desktop/images/23042025/03/19/image_23042025_03_19_45_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901394","1352901403","1352901399"],"photo_ids_order":["1352901394","1352901399","1352901403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51989086b6c4fb2f810784c6acaa8928.jpg","text":"TemporaryFile(/tmp/multipartBody8922124513033655074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371294237,"filename":"image_23042025_03_20_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77040a1f0fae08338e2b22bed8def846.jpg","text":"TemporaryFile(/tmp/multipartBody2041433954293383676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371294237,"filename":"image_23042025_03_19_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71e9d087a046bddad523ccc7edbc4e0f.jpg","text":"TemporaryFile(/tmp/multipartBody9196646177548836321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371294237,"filename":"image_23042025_03_20_05_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352901403","file1":"1352901399","file0":"1352901394"},"map_files_photo_id_array":[{"photo_id":"1352901403","filename":"file2"},{"photo_id":"1352901399","filename":"file1"},{"photo_id":"1352901394","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352901394":["hashtag1","hashtag2"]},{"1352901403":["hashtag1","hashtag2"]},{"1352901399":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352901394, 1352901403, 1352901399)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.543777465820312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:21:03.014757
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 7.337722063064575 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:21:32.555844
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_15_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/03/20/image_23042025_03_21_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/20/image_23042025_03_20_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_25_9561.jpg', '/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_15_10587.jpg', '/home/nano/Desktop/images/23042025/03/20/image_23042025_03_21_05_9566.jpg', '/home/nano/Desktop/images/23042025/03/20/image_23042025_03_20_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_25_9561.jpg
/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_15_10587.jpg
/home/nano/Desktop/images/23042025/03/20/image_23042025_03_21_05_9566.jpg
/home/nano/Desktop/images/23042025/03/20/image_23042025_03_20_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901428","1352901424","1352901432","1352901435"],"photo_ids_order":["1352901424","1352901428","1352901432","1352901435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9233a5cf0806c55fa72f90cd9626a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody7269459119684013128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371356458,"filename":"image_23042025_03_21_15_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ae42caf6d723ef0355266f61650ab99.jpg","text":"TemporaryFile(/tmp/multipartBody6903134594893607671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371356458,"filename":"image_23042025_03_21_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a99f38e43aada8d1324cca7c5f030826.jpg","text":"TemporaryFile(/tmp/multipartBody8853709898739774257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371356458,"filename":"image_23042025_03_21_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff858c49c74fbd9967c0d932e45e2ba6.jpg","text":"TemporaryFile(/tmp/multipartBody2681136852603039303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371356458,"filename":"image_23042025_03_20_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352901432","file1":"1352901428","file0":"1352901424","file3":"1352901435"},"map_files_photo_id_array":[{"photo_id":"1352901432","filename":"file2"},{"photo_id":"1352901428","filename":"file1"},{"photo_id":"1352901424","filename":"file0"},{"photo_id":"1352901435","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352901428":["hashtag1","hashtag2"]},{"1352901424":["hashtag1","hashtag2"]},{"1352901432":["hashtag1","hashtag2"]},{"1352901435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352901428, 1352901424, 1352901432, 1352901435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.66318964958191 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:22:03.005815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 5.807536363601685 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:22:32.639200
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/21/image_23042025_03_21_45_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352901496"],"photo_id":"1352901496","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f5e066ea0f430afd44aa44112970634.jpg","text":"TemporaryFile(/tmp/multipartBody8250279355470864443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371413434,"filename":"image_23042025_03_21_45_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352901496"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352901496"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.740017175674438 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:23:03.243291
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.989771604537964 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:23:32.752650
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/22/image_23042025_03_23_04_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/03/22/image_23042025_03_22_25_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/22/image_23042025_03_23_04_9571.jpg', '/home/nano/Desktop/images/23042025/03/22/image_23042025_03_22_25_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/22/image_23042025_03_23_04_9571.jpg
/home/nano/Desktop/images/23042025/03/22/image_23042025_03_22_25_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352902165","1352902169"],"photo_ids_order":["1352902165","1352902169"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffcb3033f31d6adc5a9dc08ba93ef3a5.jpg","text":"TemporaryFile(/tmp/multipartBody129661239273958542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371473711,"filename":"image_23042025_03_23_04_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ad909ae7282101c3d449b903c194ab9.jpg","text":"TemporaryFile(/tmp/multipartBody3835002828687988424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371473711,"filename":"image_23042025_03_22_25_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352902169","file0":"1352902165"},"map_files_photo_id_array":[{"photo_id":"1352902169","filename":"file1"},{"photo_id":"1352902165","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352902165":["hashtag1","hashtag2"]},{"1352902169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352902165, 1352902169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.959237098693848 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:24:02.409998
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.5850372314453125 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:24:31.889978
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/23/image_23042025_03_23_15_10591.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_35_9562.jpg', '/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_25_10572.jpg', '/home/nano/Desktop/images/23042025/03/23/image_23042025_03_23_15_10591.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_35_9562.jpg
/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_25_10572.jpg
/home/nano/Desktop/images/23042025/03/23/image_23042025_03_23_15_10591.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352902575","1352902571","1352902568"],"photo_ids_order":["1352902568","1352902571","1352902575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34e2b4638ff8603f79ada91575eaf267.jpg","text":"TemporaryFile(/tmp/multipartBody3435376586703759176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371533414,"filename":"image_23042025_03_23_15_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b84fd0a9b5e0560328e68951bd72b089.jpg","text":"TemporaryFile(/tmp/multipartBody6241776596104757363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371533414,"filename":"image_23042025_03_24_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aed5066771495b977d1eae3bf9dc60ee.jpg","text":"TemporaryFile(/tmp/multipartBody519636043824627300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371533414,"filename":"image_23042025_03_24_35_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352902575","file1":"1352902571","file0":"1352902568"},"map_files_photo_id_array":[{"photo_id":"1352902575","filename":"file2"},{"photo_id":"1352902571","filename":"file1"},{"photo_id":"1352902568","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352902575":["hashtag1","hashtag2"]},{"1352902571":["hashtag1","hashtag2"]},{"1352902568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352902575, 1352902571, 1352902568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.829259395599365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:25:02.338569
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6509757041931152 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:25:31.975327
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_45_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_45_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_45_9566.jpg', '/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_35_10571.jpg', '/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_45_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_45_9566.jpg
/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_35_10571.jpg
/home/nano/Desktop/images/23042025/03/24/image_23042025_03_24_45_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352902694","1352902688","1352902691"],"photo_ids_order":["1352902688","1352902691","1352902694"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7979de2dfd9c8db9e7e67e22f670dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2669671230316731183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371593170,"filename":"image_23042025_03_24_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eda8199fe4664996d9fad0191cdf96bf.jpg","text":"TemporaryFile(/tmp/multipartBody3383896634781703726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371593170,"filename":"image_23042025_03_25_45_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2bfdb966bae2103697732e906e72d45.jpg","text":"TemporaryFile(/tmp/multipartBody7795646875090372394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371593170,"filename":"image_23042025_03_25_35_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352902694","file1":"1352902691","file0":"1352902688"},"map_files_photo_id_array":[{"photo_id":"1352902694","filename":"file2"},{"photo_id":"1352902691","filename":"file1"},{"photo_id":"1352902688","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352902694":["hashtag1","hashtag2"]},{"1352902688":["hashtag1","hashtag2"]},{"1352902691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352902694, 1352902688, 1352902691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.052107334136963 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:26:02.428122
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.457967519760132 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:26:32.086432
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_15_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/03/25/image_23042025_03_26_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_55_10588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_15_10589.jpg', '/home/nano/Desktop/images/23042025/03/25/image_23042025_03_26_05_9566.jpg', '/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_55_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_35_9563.jpg
/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_15_10589.jpg
/home/nano/Desktop/images/23042025/03/25/image_23042025_03_26_05_9566.jpg
/home/nano/Desktop/images/23042025/03/25/image_23042025_03_25_55_10588.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352902894","1352902878","1352902857","1352902853"],"photo_ids_order":["1352902853","1352902857","1352902878","1352902894"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48b47e2dfc7be752eb856920eafee6b0.jpg","text":"TemporaryFile(/tmp/multipartBody1988968750323394507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371653410,"filename":"image_23042025_03_25_55_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61b1cc54ec455dea778388a04f8b06d1.jpg","text":"TemporaryFile(/tmp/multipartBody7939965131323474936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371653410,"filename":"image_23042025_03_26_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/936cb95765239e301b94aab906c2ae49.jpg","text":"TemporaryFile(/tmp/multipartBody992995076318930328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371653410,"filename":"image_23042025_03_26_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/033ea080f8fa0412b8a4b7a738fb01a4.jpg","text":"TemporaryFile(/tmp/multipartBody4493841556056446827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371653410,"filename":"image_23042025_03_26_35_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352902878","file1":"1352902857","file0":"1352902853","file3":"1352902894"},"map_files_photo_id_array":[{"photo_id":"1352902878","filename":"file2"},{"photo_id":"1352902857","filename":"file1"},{"photo_id":"1352902853","filename":"file0"},{"photo_id":"1352902894","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352902894":["hashtag1","hashtag2"]},{"1352902878":["hashtag1","hashtag2"]},{"1352902857":["hashtag1","hashtag2"]},{"1352902853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352902894, 1352902878, 1352902857, 1352902853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.44320011138916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:27:02.615994
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.0784947872161865 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:27:32.197791
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_45_10575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_45_9561.jpg', '/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_25_10575.jpg', '/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_45_10575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_45_9561.jpg
/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_25_10575.jpg
/home/nano/Desktop/images/23042025/03/26/image_23042025_03_26_45_10575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352902993","1352902989","1352902986"],"photo_ids_order":["1352902986","1352902989","1352902993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3dfd415271eca181015ababdc261da4b.jpg","text":"TemporaryFile(/tmp/multipartBody9073236168025179512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371713358,"filename":"image_23042025_03_26_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce4c6c85649fad390f215cca62e4e9e6.jpg","text":"TemporaryFile(/tmp/multipartBody2706517429459291739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371713358,"filename":"image_23042025_03_27_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15c9c0f05f99cd66baebb6911d24917f.jpg","text":"TemporaryFile(/tmp/multipartBody5968097831064360460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371713358,"filename":"image_23042025_03_27_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352902993","file1":"1352902989","file0":"1352902986"},"map_files_photo_id_array":[{"photo_id":"1352902993","filename":"file2"},{"photo_id":"1352902989","filename":"file1"},{"photo_id":"1352902986","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352902993":["hashtag1","hashtag2"]},{"1352902989":["hashtag1","hashtag2"]},{"1352902986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352902993, 1352902989, 1352902986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.030508279800415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:28:02.572944
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4467060565948486 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:28:32.312013
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/28/image_23042025_03_28_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/27/image_23042025_03_28_05_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_55_10587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/28/image_23042025_03_28_35_10572.jpg', '/home/nano/Desktop/images/23042025/03/27/image_23042025_03_28_05_9582.jpg', '/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_55_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/28/image_23042025_03_28_35_10572.jpg
/home/nano/Desktop/images/23042025/03/27/image_23042025_03_28_05_9582.jpg
/home/nano/Desktop/images/23042025/03/27/image_23042025_03_27_55_10587.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903109","1352903105","1352903114"],"photo_ids_order":["1352903105","1352903109","1352903114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/455b2221c670ee86410a45d67cad49c3.jpg","text":"TemporaryFile(/tmp/multipartBody7112497925967011491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371772860,"filename":"image_23042025_03_28_05_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79c72b89813d1c132305f93b8e997c6a.jpg","text":"TemporaryFile(/tmp/multipartBody7794448970113064576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371772860,"filename":"image_23042025_03_28_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc53c93d74ad460ef3038ada59eae2bb.jpg","text":"TemporaryFile(/tmp/multipartBody8534193636536309710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371772860,"filename":"image_23042025_03_27_55_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903114","file1":"1352903109","file0":"1352903105"},"map_files_photo_id_array":[{"photo_id":"1352903114","filename":"file2"},{"photo_id":"1352903109","filename":"file1"},{"photo_id":"1352903105","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903109":["hashtag1","hashtag2"]},{"1352903105":["hashtag1","hashtag2"]},{"1352903114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903109, 1352903105, 1352903114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.47365379333496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:29:03.129984
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.603395938873291 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:29:32.399573
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_25_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_15_9591.jpg', 2), ('/home/nano/Desktop/images/23042025/03/28/image_23042025_03_28_45_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_25_10588.jpg', '/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_15_9591.jpg', '/home/nano/Desktop/images/23042025/03/28/image_23042025_03_28_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_25_10588.jpg
/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_15_9591.jpg
/home/nano/Desktop/images/23042025/03/28/image_23042025_03_28_45_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903134","1352903136","1352903141"],"photo_ids_order":["1352903134","1352903136","1352903141"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcd014eb664155d1e47d56b61178b6fa.jpg","text":"TemporaryFile(/tmp/multipartBody4103405678105269020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371833191,"filename":"image_23042025_03_29_25_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6137f42caccebcc1bacb044f5040b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody2528115038685660059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371833191,"filename":"image_23042025_03_29_15_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd8034c518f8367010745ea55f10c293.jpg","text":"TemporaryFile(/tmp/multipartBody4983583203477618827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371833191,"filename":"image_23042025_03_28_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903141","file1":"1352903136","file0":"1352903134"},"map_files_photo_id_array":[{"photo_id":"1352903141","filename":"file2"},{"photo_id":"1352903136","filename":"file1"},{"photo_id":"1352903134","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903134":["hashtag1","hashtag2"]},{"1352903136":["hashtag1","hashtag2"]},{"1352903141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903134, 1352903136, 1352903141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.363733291625977 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:30:02.744441
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.658980369567871 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:30:32.497520
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_15_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/03/29/image_23042025_03_30_05_9586.jpg', 2), ('/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_45_9561.jpg', '/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_35_10571.jpg', '/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_25_9562.jpg', '/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_15_10596.jpg', '/home/nano/Desktop/images/23042025/03/29/image_23042025_03_30_05_9586.jpg', '/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_45_9561.jpg
/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_35_10571.jpg
/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_25_9562.jpg
/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_15_10596.jpg
/home/nano/Desktop/images/23042025/03/29/image_23042025_03_30_05_9586.jpg
/home/nano/Desktop/images/23042025/03/29/image_23042025_03_29_55_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903218","1352903223","1352903225","1352903210","1352903204","1352903197"],"photo_ids_order":["1352903197","1352903204","1352903210","1352903218","1352903223","1352903225"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9ef254fc5faeb01541a827a725b776e.jpg","text":"TemporaryFile(/tmp/multipartBody5296099514152972852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371893355,"filename":"image_23042025_03_30_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d963923d525f48f473eaf15837b3e07.jpg","text":"TemporaryFile(/tmp/multipartBody3963771153795134351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371893355,"filename":"image_23042025_03_30_05_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75a6e080375c738c464cc020aad481e1.jpg","text":"TemporaryFile(/tmp/multipartBody7354066076860018826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371893355,"filename":"image_23042025_03_29_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a16bf4558bcf23445484d060e7fe260.jpg","text":"TemporaryFile(/tmp/multipartBody2389072201597422358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371893355,"filename":"image_23042025_03_30_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33bb599a779ac1bb90be63a46a6af41f.jpg","text":"TemporaryFile(/tmp/multipartBody3280551813814366021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371893355,"filename":"image_23042025_03_30_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e057bf28a588968d037464ef09dc650b.jpg","text":"TemporaryFile(/tmp/multipartBody752729820494244268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371893355,"filename":"image_23042025_03_30_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903210","file1":"1352903204","file0":"1352903197","file4":"1352903223","file5":"1352903225","file3":"1352903218"},"map_files_photo_id_array":[{"photo_id":"1352903225","filename":"file5"},{"photo_id":"1352903210","filename":"file2"},{"photo_id":"1352903223","filename":"file4"},{"photo_id":"1352903204","filename":"file1"},{"photo_id":"1352903197","filename":"file0"},{"photo_id":"1352903218","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903218":["hashtag1","hashtag2"]},{"1352903223":["hashtag1","hashtag2"]},{"1352903225":["hashtag1","hashtag2"]},{"1352903210":["hashtag1","hashtag2"]},{"1352903204":["hashtag1","hashtag2"]},{"1352903197":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903218, 1352903223, 1352903225, 1352903210, 1352903204, 1352903197)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35688924789429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:31:32.585930
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_25_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_15_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_45_10571.jpg', '/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_35_9562.jpg', '/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_25_10571.jpg', '/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_15_9584.jpg', '/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_45_10571.jpg
/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_35_9562.jpg
/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_25_10571.jpg
/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_15_9584.jpg
/home/nano/Desktop/images/23042025/03/30/image_23042025_03_30_55_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903248","1352903256","1352903238","1352903252","1352903243"],"photo_ids_order":["1352903238","1352903243","1352903248","1352903252","1352903256"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90ce3741348beec4ca91db950410ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody7231944784360598447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371953326,"filename":"image_23042025_03_31_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c420e57b067b2fefd3fc9f1809f0573.jpg","text":"TemporaryFile(/tmp/multipartBody6993124840409485763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371953326,"filename":"image_23042025_03_30_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6a69fe61ffac5aeb328c5d32a3af4ad.jpg","text":"TemporaryFile(/tmp/multipartBody697001264982820284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371953326,"filename":"image_23042025_03_31_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b7dc402a633cd21b1dab5e5fdf78833.jpg","text":"TemporaryFile(/tmp/multipartBody7037715571110326249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371953326,"filename":"image_23042025_03_31_15_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93d5cfa60463d1b312de6ffc5e8995f0.jpg","text":"TemporaryFile(/tmp/multipartBody6909182209744015834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745371953326,"filename":"image_23042025_03_31_35_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903248","file1":"1352903243","file0":"1352903238","file4":"1352903256","file3":"1352903252"},"map_files_photo_id_array":[{"photo_id":"1352903248","filename":"file2"},{"photo_id":"1352903256","filename":"file4"},{"photo_id":"1352903243","filename":"file1"},{"photo_id":"1352903238","filename":"file0"},{"photo_id":"1352903252","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903248":["hashtag1","hashtag2"]},{"1352903256":["hashtag1","hashtag2"]},{"1352903238":["hashtag1","hashtag2"]},{"1352903252":["hashtag1","hashtag2"]},{"1352903243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903248, 1352903256, 1352903238, 1352903252, 1352903243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.67000961303711 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:32:32.673484
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_15_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/03/31/image_23042025_03_32_05_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_45_9562.jpg', '/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_35_10572.jpg', '/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_25_9561.jpg', '/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_15_9567.jpg', '/home/nano/Desktop/images/23042025/03/31/image_23042025_03_32_05_10591.jpg', '/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_45_9562.jpg
/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_35_10572.jpg
/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_25_9561.jpg
/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_15_9567.jpg
/home/nano/Desktop/images/23042025/03/31/image_23042025_03_32_05_10591.jpg
/home/nano/Desktop/images/23042025/03/31/image_23042025_03_31_55_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903280","1352903288","1352903276","1352903284","1352903272","1352903266"],"photo_ids_order":["1352903266","1352903272","1352903276","1352903280","1352903284","1352903288"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2a55cefe52b678c2a4af330ca18a5f7.jpg","text":"TemporaryFile(/tmp/multipartBody5671721314794020692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372013480,"filename":"image_23042025_03_32_15_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05a38e3b5558e089da4f13ea862d5def.jpg","text":"TemporaryFile(/tmp/multipartBody53381169653127795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372013480,"filename":"image_23042025_03_31_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd7212ac95a62130f92b3734bbcadf44.jpg","text":"TemporaryFile(/tmp/multipartBody7316818984950235478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372013480,"filename":"image_23042025_03_32_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c9d63c59668924c9eea1fd4b2cc3ab6.jpg","text":"TemporaryFile(/tmp/multipartBody8687889478028522566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372013480,"filename":"image_23042025_03_32_05_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d5bed4c9c0e9670884ba627564a12ea.jpg","text":"TemporaryFile(/tmp/multipartBody477760661949278180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372013480,"filename":"image_23042025_03_32_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18db4d329547dd7c90719469545a4c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1740274874615102907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372013480,"filename":"image_23042025_03_32_45_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903276","file1":"1352903272","file0":"1352903266","file4":"1352903284","file5":"1352903288","file3":"1352903280"},"map_files_photo_id_array":[{"photo_id":"1352903288","filename":"file5"},{"photo_id":"1352903276","filename":"file2"},{"photo_id":"1352903284","filename":"file4"},{"photo_id":"1352903272","filename":"file1"},{"photo_id":"1352903266","filename":"file0"},{"photo_id":"1352903280","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903280":["hashtag1","hashtag2"]},{"1352903288":["hashtag1","hashtag2"]},{"1352903276":["hashtag1","hashtag2"]},{"1352903284":["hashtag1","hashtag2"]},{"1352903272":["hashtag1","hashtag2"]},{"1352903266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903280, 1352903288, 1352903276, 1352903284, 1352903272, 1352903266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.448307275772095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:33:31.764368
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_25_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_14_9598.jpg', 2), ('/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_55_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_25_10570.jpg', '/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_14_9598.jpg', '/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_55_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_35_9563.jpg
/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_25_10570.jpg
/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_14_9598.jpg
/home/nano/Desktop/images/23042025/03/32/image_23042025_03_32_55_10589.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903332","1352903322","1352903297","1352903327"],"photo_ids_order":["1352903297","1352903322","1352903327","1352903332"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88188a781b03dbaa64cac9000c8e29ce.jpg","text":"TemporaryFile(/tmp/multipartBody5364660615994036655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372072709,"filename":"image_23042025_03_32_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e05e6a4e31961170248a2fae93e9534c.jpg","text":"TemporaryFile(/tmp/multipartBody5697590458340302258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372072709,"filename":"image_23042025_03_33_25_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fdc504f708debdb42b739b84d97aaea.jpg","text":"TemporaryFile(/tmp/multipartBody6888301347286288893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372072709,"filename":"image_23042025_03_33_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/400806785ff683a2a2690d09133f025f.jpg","text":"TemporaryFile(/tmp/multipartBody8116122193377430813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372072709,"filename":"image_23042025_03_33_14_9598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903327","file1":"1352903322","file0":"1352903297","file3":"1352903332"},"map_files_photo_id_array":[{"photo_id":"1352903327","filename":"file2"},{"photo_id":"1352903322","filename":"file1"},{"photo_id":"1352903297","filename":"file0"},{"photo_id":"1352903332","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903332":["hashtag1","hashtag2"]},{"1352903322":["hashtag1","hashtag2"]},{"1352903297":["hashtag1","hashtag2"]},{"1352903327":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903332, 1352903322, 1352903297, 1352903327)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.92820930480957 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:34:02.590322
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903338"],"photo_id":"1352903338","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e7fe08c889516569f9fe3dfec207c44.jpg","text":"TemporaryFile(/tmp/multipartBody6348698864314488052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372103152,"filename":"image_23042025_03_34_45_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352903338"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352903338"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.287720441818237 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:34:31.858414
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_25_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_45_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_25_10576.jpg', '/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_45_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_35_9563.jpg
/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_25_10576.jpg
/home/nano/Desktop/images/23042025/03/33/image_23042025_03_33_45_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903347","1352903352","1352903350"],"photo_ids_order":["1352903347","1352903350","1352903352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd58f949a159bcd957e0ce5a9ee48b2c.jpg","text":"TemporaryFile(/tmp/multipartBody5056412276073969776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372132458,"filename":"image_23042025_03_34_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0339d97af8a1173e99beaf9992ef935.jpg","text":"TemporaryFile(/tmp/multipartBody2086749596461489128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372132458,"filename":"image_23042025_03_33_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/973b72ca05626a976172cdd8a936dea8.jpg","text":"TemporaryFile(/tmp/multipartBody3163455996791320191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372132458,"filename":"image_23042025_03_34_25_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903352","file1":"1352903350","file0":"1352903347"},"map_files_photo_id_array":[{"photo_id":"1352903352","filename":"file2"},{"photo_id":"1352903350","filename":"file1"},{"photo_id":"1352903347","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903347":["hashtag1","hashtag2"]},{"1352903352":["hashtag1","hashtag2"]},{"1352903350":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903347, 1352903352, 1352903350)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.958651065826416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:35:02.457879
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6760454177856445 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:35:31.978016
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_45_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_35_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/03/34/image_23042025_03_35_05_9589.jpg', 2), ('/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_45_9580.jpg', '/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_35_10573.jpg', '/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_25_9561.jpg', '/home/nano/Desktop/images/23042025/03/34/image_23042025_03_35_05_9589.jpg', '/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_45_9580.jpg
/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_35_10573.jpg
/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_25_9561.jpg
/home/nano/Desktop/images/23042025/03/34/image_23042025_03_35_05_9589.jpg
/home/nano/Desktop/images/23042025/03/34/image_23042025_03_34_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903530","1352903436","1352903412","1352903491","1352903464"],"photo_ids_order":["1352903412","1352903436","1352903464","1352903491","1352903530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e220c58fdda45d5c3aff2144049db04e.jpg","text":"TemporaryFile(/tmp/multipartBody4115482486745885616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372192875,"filename":"image_23042025_03_34_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26d9a54332c3e332cd1eee8ed803181d.jpg","text":"TemporaryFile(/tmp/multipartBody3182480570390625766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372192875,"filename":"image_23042025_03_35_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/474c2801a700598db936914002ab43a7.jpg","text":"TemporaryFile(/tmp/multipartBody5844729902352235498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372192875,"filename":"image_23042025_03_35_45_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24eb0ab9c949fb5bc599e79d857413c7.jpg","text":"TemporaryFile(/tmp/multipartBody6061018554639409169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372192875,"filename":"image_23042025_03_35_05_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01f3e2b42e8400c78607dd71200e08fe.jpg","text":"TemporaryFile(/tmp/multipartBody5038904076686867292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372192875,"filename":"image_23042025_03_35_25_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903464","file1":"1352903436","file0":"1352903412","file4":"1352903530","file3":"1352903491"},"map_files_photo_id_array":[{"photo_id":"1352903464","filename":"file2"},{"photo_id":"1352903530","filename":"file4"},{"photo_id":"1352903436","filename":"file1"},{"photo_id":"1352903412","filename":"file0"},{"photo_id":"1352903491","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903530":["hashtag1","hashtag2"]},{"1352903436":["hashtag1","hashtag2"]},{"1352903412":["hashtag1","hashtag2"]},{"1352903491":["hashtag1","hashtag2"]},{"1352903464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903530, 1352903436, 1352903412, 1352903491, 1352903464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.04155707359314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:36:02.336284
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.707683801651001 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:36:32.065109
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/36/image_23042025_03_36_15_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/03/35/image_23042025_03_36_05_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/36/image_23042025_03_36_15_9579.jpg', '/home/nano/Desktop/images/23042025/03/35/image_23042025_03_36_05_10588.jpg', '/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/36/image_23042025_03_36_15_9579.jpg
/home/nano/Desktop/images/23042025/03/35/image_23042025_03_36_05_10588.jpg
/home/nano/Desktop/images/23042025/03/35/image_23042025_03_35_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903707","1352903715","1352903711"],"photo_ids_order":["1352903707","1352903711","1352903715"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37e5f2090f2762b13d62469e31448ad8.jpg","text":"TemporaryFile(/tmp/multipartBody5664887886911921086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372252874,"filename":"image_23042025_03_36_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77391f4ffead32a06cc9a228fe97542a.jpg","text":"TemporaryFile(/tmp/multipartBody8541972869627015938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372252874,"filename":"image_23042025_03_35_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28524f678a080c9ae701eff89a960898.jpg","text":"TemporaryFile(/tmp/multipartBody6983907433420669301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372252874,"filename":"image_23042025_03_36_05_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903715","file1":"1352903711","file0":"1352903707"},"map_files_photo_id_array":[{"photo_id":"1352903715","filename":"file2"},{"photo_id":"1352903711","filename":"file1"},{"photo_id":"1352903707","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903707":["hashtag1","hashtag2"]},{"1352903715":["hashtag1","hashtag2"]},{"1352903711":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903707, 1352903715, 1352903711)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 23.45954918861389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:37:02.598193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6813549995422363 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:37:32.149844
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/37/image_23042025_03_37_15_10583.jpg', 2), ('/home/nano/Desktop/images/23042025/03/36/image_23042025_03_37_05_9592.jpg', 2), ('/home/nano/Desktop/images/23042025/03/36/image_23042025_03_36_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/37/image_23042025_03_37_15_10583.jpg', '/home/nano/Desktop/images/23042025/03/36/image_23042025_03_37_05_9592.jpg', '/home/nano/Desktop/images/23042025/03/36/image_23042025_03_36_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/37/image_23042025_03_37_15_10583.jpg
/home/nano/Desktop/images/23042025/03/36/image_23042025_03_37_05_9592.jpg
/home/nano/Desktop/images/23042025/03/36/image_23042025_03_36_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903754","1352903777","1352903761"],"photo_ids_order":["1352903754","1352903761","1352903777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/406461201b65f35b72ba5a9a1c060bc0.jpg","text":"TemporaryFile(/tmp/multipartBody5819343517479979313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372312759,"filename":"image_23042025_03_37_15_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7132bce419c5492ca70d27ad699a82f5.jpg","text":"TemporaryFile(/tmp/multipartBody3807959642473812278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372312759,"filename":"image_23042025_03_36_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e147a550f26647481ddc4536fcd24dd.jpg","text":"TemporaryFile(/tmp/multipartBody1216837684622315706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372312759,"filename":"image_23042025_03_37_05_9592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903777","file1":"1352903761","file0":"1352903754"},"map_files_photo_id_array":[{"photo_id":"1352903777","filename":"file2"},{"photo_id":"1352903761","filename":"file1"},{"photo_id":"1352903754","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903754":["hashtag1","hashtag2"]},{"1352903777":["hashtag1","hashtag2"]},{"1352903761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903754, 1352903777, 1352903761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 22.357924938201904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:38:02.554200
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6598608493804932 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:38:32.264078
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_25_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/03/37/image_23042025_03_37_25_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_45_10574.jpg', '/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_25_10575.jpg', '/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_15_9569.jpg', '/home/nano/Desktop/images/23042025/03/37/image_23042025_03_37_25_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_45_10574.jpg
/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_25_10575.jpg
/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_15_9569.jpg
/home/nano/Desktop/images/23042025/03/37/image_23042025_03_37_25_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903824","1352903822","1352903819","1352903827"],"photo_ids_order":["1352903819","1352903822","1352903824","1352903827"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffb2d9d80ce1c6c77d9746f2509b079e.jpg","text":"TemporaryFile(/tmp/multipartBody4801901559691282465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372373045,"filename":"image_23042025_03_38_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a2d1e63833cc2694e18de1e9fa17eb2.jpg","text":"TemporaryFile(/tmp/multipartBody8911493402918754775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372373045,"filename":"image_23042025_03_38_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e80d1d33b1205371b52feebfd63e79e.jpg","text":"TemporaryFile(/tmp/multipartBody2801269459449282610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372373045,"filename":"image_23042025_03_38_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55a1987ddda9760edf1c9aeb39ea95d7.jpg","text":"TemporaryFile(/tmp/multipartBody1800742475569430147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372373045,"filename":"image_23042025_03_37_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903824","file1":"1352903822","file0":"1352903819","file3":"1352903827"},"map_files_photo_id_array":[{"photo_id":"1352903824","filename":"file2"},{"photo_id":"1352903822","filename":"file1"},{"photo_id":"1352903819","filename":"file0"},{"photo_id":"1352903827","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903824":["hashtag1","hashtag2"]},{"1352903822":["hashtag1","hashtag2"]},{"1352903819":["hashtag1","hashtag2"]},{"1352903827":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903824, 1352903822, 1352903819, 1352903827)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.17170238494873 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:39:03.141667
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7319562435150146 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:39:32.348153
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/39/image_23042025_03_39_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/38/image_23042025_03_39_05_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/39/image_23042025_03_39_25_9563.jpg', '/home/nano/Desktop/images/23042025/03/38/image_23042025_03_39_05_9573.jpg', '/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/39/image_23042025_03_39_25_9563.jpg
/home/nano/Desktop/images/23042025/03/38/image_23042025_03_39_05_9573.jpg
/home/nano/Desktop/images/23042025/03/38/image_23042025_03_38_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903856","1352903853","1352903860"],"photo_ids_order":["1352903853","1352903856","1352903860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0ea16475ba767275f2166004cf24f21.jpg","text":"TemporaryFile(/tmp/multipartBody1281955012217404535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372433156,"filename":"image_23042025_03_39_05_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7af2496a47200b5b621e946f3cd3a318.jpg","text":"TemporaryFile(/tmp/multipartBody6709911701302780065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372433156,"filename":"image_23042025_03_39_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9cd527ca9200d2b834474b5d0053a73.jpg","text":"TemporaryFile(/tmp/multipartBody7811002472111560739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372433156,"filename":"image_23042025_03_38_55_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903860","file1":"1352903856","file0":"1352903853"},"map_files_photo_id_array":[{"photo_id":"1352903860","filename":"file2"},{"photo_id":"1352903856","filename":"file1"},{"photo_id":"1352903853","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903856":["hashtag1","hashtag2"]},{"1352903853":["hashtag1","hashtag2"]},{"1352903860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903856, 1352903853, 1352903860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.63142681121826 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:40:02.791818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6551198959350586 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:40:32.423900
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/40/image_23042025_03_40_15_9606.jpg', 2), ('/home/nano/Desktop/images/23042025/03/39/image_23042025_03_39_35_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/40/image_23042025_03_40_15_9606.jpg', '/home/nano/Desktop/images/23042025/03/39/image_23042025_03_39_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/40/image_23042025_03_40_15_9606.jpg
/home/nano/Desktop/images/23042025/03/39/image_23042025_03_39_35_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903923","1352903918"],"photo_ids_order":["1352903918","1352903923"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00a322a7cb78b89ab476e49c9fa068e2.jpg","text":"TemporaryFile(/tmp/multipartBody2830363149785927285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372493133,"filename":"image_23042025_03_39_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27c97b4df04ef545bf646ec20d85f005.jpg","text":"TemporaryFile(/tmp/multipartBody9086110345689612650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372493133,"filename":"image_23042025_03_40_15_9606.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352903923","file0":"1352903918"},"map_files_photo_id_array":[{"photo_id":"1352903923","filename":"file1"},{"photo_id":"1352903918","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903923":["hashtag1","hashtag2"]},{"1352903918":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903923, 1352903918)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.86021113395691 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:41:03.015841
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6349592208862305 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:41:32.542537
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/03/40/image_23042025_03_41_05_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/03/40/image_23042025_03_40_35_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_45_9562.jpg', '/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_25_9564.jpg', '/home/nano/Desktop/images/23042025/03/40/image_23042025_03_41_05_10590.jpg', '/home/nano/Desktop/images/23042025/03/40/image_23042025_03_40_35_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_45_9562.jpg
/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_25_9564.jpg
/home/nano/Desktop/images/23042025/03/40/image_23042025_03_41_05_10590.jpg
/home/nano/Desktop/images/23042025/03/40/image_23042025_03_40_35_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352903973","1352903979","1352903975","1352903969"],"photo_ids_order":["1352903969","1352903973","1352903975","1352903979"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a92a4119d5de9592f7f46ec49225ead2.jpg","text":"TemporaryFile(/tmp/multipartBody6498620627204521125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372553545,"filename":"image_23042025_03_41_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dee63dab706e35bf28aa9b9953348684.jpg","text":"TemporaryFile(/tmp/multipartBody8416028673052967555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372553545,"filename":"image_23042025_03_40_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c70f3b9e6aca38d35d35b7c432b7a04.jpg","text":"TemporaryFile(/tmp/multipartBody3699224374250029950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372553545,"filename":"image_23042025_03_41_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cce98cfe49640f84e4526023b84b938a.jpg","text":"TemporaryFile(/tmp/multipartBody6398538780079835943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372553545,"filename":"image_23042025_03_41_45_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352903975","file1":"1352903973","file0":"1352903969","file3":"1352903979"},"map_files_photo_id_array":[{"photo_id":"1352903975","filename":"file2"},{"photo_id":"1352903973","filename":"file1"},{"photo_id":"1352903969","filename":"file0"},{"photo_id":"1352903979","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352903973":["hashtag1","hashtag2"]},{"1352903979":["hashtag1","hashtag2"]},{"1352903975":["hashtag1","hashtag2"]},{"1352903969":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352903973, 1352903979, 1352903975, 1352903969)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.252150535583496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:42:02.938751
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.662187099456787 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:42:32.614994
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/42/image_23042025_03_42_15_10606.jpg', 2), ('/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/42/image_23042025_03_42_15_10606.jpg', '/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/42/image_23042025_03_42_15_10606.jpg
/home/nano/Desktop/images/23042025/03/41/image_23042025_03_41_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904004","1352904008"],"photo_ids_order":["1352904004","1352904008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aad162f2746dcf783832f2f5a50fb3be.jpg","text":"TemporaryFile(/tmp/multipartBody9084328756227102445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372613156,"filename":"image_23042025_03_42_15_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7a2cb8a33a0e5d6f2a00608659b08c5.jpg","text":"TemporaryFile(/tmp/multipartBody736265600570064519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372613156,"filename":"image_23042025_03_41_55_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352904008","file0":"1352904004"},"map_files_photo_id_array":[{"photo_id":"1352904008","filename":"file1"},{"photo_id":"1352904004","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904004":["hashtag1","hashtag2"]},{"1352904008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904004, 1352904008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.70407748222351 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:43:02.998572
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5423915386199951 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:43:32.704040
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_55_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_15_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/03/42/image_23042025_03_43_05_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/03/42/image_23042025_03_42_25_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_55_10570.jpg', '/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_25_10572.jpg', '/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_15_9579.jpg', '/home/nano/Desktop/images/23042025/03/42/image_23042025_03_43_05_10582.jpg', '/home/nano/Desktop/images/23042025/03/42/image_23042025_03_42_25_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_55_10570.jpg
/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_35_9563.jpg
/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_25_10572.jpg
/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_15_9579.jpg
/home/nano/Desktop/images/23042025/03/42/image_23042025_03_43_05_10582.jpg
/home/nano/Desktop/images/23042025/03/42/image_23042025_03_42_25_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904042","1352904036","1352904039","1352904030","1352904027","1352904025"],"photo_ids_order":["1352904025","1352904027","1352904030","1352904036","1352904039","1352904042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b18401b864c8bc803ed1f40b12d13a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7196943905495377120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372673663,"filename":"image_23042025_03_42_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da938b158b20c5aab0426185deb1a330.jpg","text":"TemporaryFile(/tmp/multipartBody5825539801246457027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372673663,"filename":"image_23042025_03_43_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23c87b781f2833fdeb787561e387a34d.jpg","text":"TemporaryFile(/tmp/multipartBody6043690118269611033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372673663,"filename":"image_23042025_03_43_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f2d7e763b45d95ec63175ccab2500f9.jpg","text":"TemporaryFile(/tmp/multipartBody2403861871870593260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372673663,"filename":"image_23042025_03_43_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14e7b54bae81a0d505511c78fb7e3955.jpg","text":"TemporaryFile(/tmp/multipartBody3645228783384066287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372673663,"filename":"image_23042025_03_43_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfe45c78544b70ec8e730ade8cebb458.jpg","text":"TemporaryFile(/tmp/multipartBody480726516602828207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372673663,"filename":"image_23042025_03_43_55_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904030","file1":"1352904027","file0":"1352904025","file4":"1352904039","file5":"1352904042","file3":"1352904036"},"map_files_photo_id_array":[{"photo_id":"1352904042","filename":"file5"},{"photo_id":"1352904030","filename":"file2"},{"photo_id":"1352904039","filename":"file4"},{"photo_id":"1352904027","filename":"file1"},{"photo_id":"1352904025","filename":"file0"},{"photo_id":"1352904036","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904042":["hashtag1","hashtag2"]},{"1352904036":["hashtag1","hashtag2"]},{"1352904039":["hashtag1","hashtag2"]},{"1352904030":["hashtag1","hashtag2"]},{"1352904027":["hashtag1","hashtag2"]},{"1352904025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904042, 1352904036, 1352904039, 1352904030, 1352904027, 1352904025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.322293996810913 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:44:31.832965
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_45_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_35_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/43/image_23042025_03_44_05_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_45_9569.jpg', '/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_35_10576.jpg', '/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_25_9563.jpg', '/home/nano/Desktop/images/23042025/03/43/image_23042025_03_44_05_9574.jpg', '/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_45_9569.jpg
/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_35_10576.jpg
/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_25_9563.jpg
/home/nano/Desktop/images/23042025/03/43/image_23042025_03_44_05_9574.jpg
/home/nano/Desktop/images/23042025/03/43/image_23042025_03_43_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904060","1352904048","1352904051","1352904055","1352904058"],"photo_ids_order":["1352904048","1352904051","1352904055","1352904058","1352904060"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0465fd363839270b7dfb0a2a6cd54678.jpg","text":"TemporaryFile(/tmp/multipartBody4227149442324642126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372732599,"filename":"image_23042025_03_43_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7043cbb5efdf231d61a4fb57b2533f1f.jpg","text":"TemporaryFile(/tmp/multipartBody3695561158910589745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372732599,"filename":"image_23042025_03_44_45_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d328a4a938ce81989e3f554e01f8b236.jpg","text":"TemporaryFile(/tmp/multipartBody8039371475230736196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372732599,"filename":"image_23042025_03_44_35_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d7fc0bd0de34823866271468fbc636d.jpg","text":"TemporaryFile(/tmp/multipartBody9220485807963634075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372732599,"filename":"image_23042025_03_44_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7d4b66f02e560475b18261bf5c4f598.jpg","text":"TemporaryFile(/tmp/multipartBody4304967281266985990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372732599,"filename":"image_23042025_03_44_05_9574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904055","file1":"1352904051","file0":"1352904048","file4":"1352904060","file3":"1352904058"},"map_files_photo_id_array":[{"photo_id":"1352904055","filename":"file2"},{"photo_id":"1352904060","filename":"file4"},{"photo_id":"1352904051","filename":"file1"},{"photo_id":"1352904048","filename":"file0"},{"photo_id":"1352904058","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904060":["hashtag1","hashtag2"]},{"1352904048":["hashtag1","hashtag2"]},{"1352904051":["hashtag1","hashtag2"]},{"1352904055":["hashtag1","hashtag2"]},{"1352904058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904060, 1352904048, 1352904051, 1352904055, 1352904058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.76632785797119 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:45:02.454550
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5497984886169434 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:45:31.933480
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/45/image_23042025_03_45_15_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_55_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/45/image_23042025_03_45_15_9562.jpg', '/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_55_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/45/image_23042025_03_45_15_9562.jpg
/home/nano/Desktop/images/23042025/03/44/image_23042025_03_44_55_9569.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904146","1352904148"],"photo_ids_order":["1352904146","1352904148"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c59b2c4fdf4854007b27aed202e7e71.jpg","text":"TemporaryFile(/tmp/multipartBody7859870098216136995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372792487,"filename":"image_23042025_03_45_15_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10a6735595c822c4fecbe168f5d8b6e9.jpg","text":"TemporaryFile(/tmp/multipartBody8510603289451115681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372792487,"filename":"image_23042025_03_44_55_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352904148","file0":"1352904146"},"map_files_photo_id_array":[{"photo_id":"1352904148","filename":"file1"},{"photo_id":"1352904146","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904146":["hashtag1","hashtag2"]},{"1352904148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904146, 1352904148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 19.038989305496216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:46:02.431846
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6983942985534668 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:46:32.018112
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_25_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_15_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/03/45/image_23042025_03_46_05_9598.jpg', 2), ('/home/nano/Desktop/images/23042025/03/45/image_23042025_03_45_25_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_25_9576.jpg', '/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_15_10584.jpg', '/home/nano/Desktop/images/23042025/03/45/image_23042025_03_46_05_9598.jpg', '/home/nano/Desktop/images/23042025/03/45/image_23042025_03_45_25_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_25_9576.jpg
/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_15_10584.jpg
/home/nano/Desktop/images/23042025/03/45/image_23042025_03_46_05_9598.jpg
/home/nano/Desktop/images/23042025/03/45/image_23042025_03_45_25_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904269","1352904278","1352904224","1352904265"],"photo_ids_order":["1352904224","1352904265","1352904269","1352904278"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6cff4b7dd6e3559dd97f0f028f82641.jpg","text":"TemporaryFile(/tmp/multipartBody193377553974568922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372852892,"filename":"image_23042025_03_46_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e459fa50ecd8ec29857008a125c64c69.jpg","text":"TemporaryFile(/tmp/multipartBody6323648136358807523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372852892,"filename":"image_23042025_03_45_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14cd15aab3ca10a3a8214883f26f8e10.jpg","text":"TemporaryFile(/tmp/multipartBody8769207567413445770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372852892,"filename":"image_23042025_03_46_25_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96aee4d0863a31041b45276a2fca902f.jpg","text":"TemporaryFile(/tmp/multipartBody3184628483284617261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372852892,"filename":"image_23042025_03_46_15_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904269","file1":"1352904265","file0":"1352904224","file3":"1352904278"},"map_files_photo_id_array":[{"photo_id":"1352904269","filename":"file2"},{"photo_id":"1352904265","filename":"file1"},{"photo_id":"1352904224","filename":"file0"},{"photo_id":"1352904278","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904269":["hashtag1","hashtag2"]},{"1352904278":["hashtag1","hashtag2"]},{"1352904224":["hashtag1","hashtag2"]},{"1352904265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904269, 1352904278, 1352904224, 1352904265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.099365949630737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:47:02.505145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6830739974975586 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:47:32.128968
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_35_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_35_9564.jpg', '/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_25_10572.jpg', '/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_15_9564.jpg', '/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_35_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_35_9564.jpg
/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_25_10572.jpg
/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_15_9564.jpg
/home/nano/Desktop/images/23042025/03/46/image_23042025_03_46_35_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904311","1352904320","1352904314","1352904317"],"photo_ids_order":["1352904311","1352904314","1352904317","1352904320"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81e0a152e837cb5a158522702870437e.jpg","text":"TemporaryFile(/tmp/multipartBody6339836989091740172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372913009,"filename":"image_23042025_03_47_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24f21135f9f5d5238dc0d7e646dfd232.jpg","text":"TemporaryFile(/tmp/multipartBody1114393641641014854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372913009,"filename":"image_23042025_03_46_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c800616a74dad6cb24abf6eeba5cf10b.jpg","text":"TemporaryFile(/tmp/multipartBody2468555704759023400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372913009,"filename":"image_23042025_03_47_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f2a3a0f63870cf8aa67662dcf86764e.jpg","text":"TemporaryFile(/tmp/multipartBody6202731123790260179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372913009,"filename":"image_23042025_03_47_15_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904317","file1":"1352904314","file0":"1352904311","file3":"1352904320"},"map_files_photo_id_array":[{"photo_id":"1352904317","filename":"file2"},{"photo_id":"1352904314","filename":"file1"},{"photo_id":"1352904311","filename":"file0"},{"photo_id":"1352904320","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904311":["hashtag1","hashtag2"]},{"1352904320":["hashtag1","hashtag2"]},{"1352904314":["hashtag1","hashtag2"]},{"1352904317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904311, 1352904320, 1352904314, 1352904317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.71737051010132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:48:02.526223
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7168340682983398 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:48:32.208633
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_45_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_35_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_25_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_15_10599.jpg', 2), ('/home/nano/Desktop/images/23042025/03/47/image_23042025_03_48_05_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_45_9568.jpg', '/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_35_10587.jpg', '/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_25_9580.jpg', '/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_15_10599.jpg', '/home/nano/Desktop/images/23042025/03/47/image_23042025_03_48_05_9565.jpg', '/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_45_9568.jpg
/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_35_10587.jpg
/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_25_9580.jpg
/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_15_10599.jpg
/home/nano/Desktop/images/23042025/03/47/image_23042025_03_48_05_9565.jpg
/home/nano/Desktop/images/23042025/03/47/image_23042025_03_47_55_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904438","1352904426","1352904443","1352904446","1352904431","1352904434"],"photo_ids_order":["1352904426","1352904431","1352904434","1352904438","1352904443","1352904446"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c5b0363ed3a55d1db1581a80a3cd1fd.jpg","text":"TemporaryFile(/tmp/multipartBody1571073964037663961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372973270,"filename":"image_23042025_03_48_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df543e3e68f1c509a53011b308f2a51f.jpg","text":"TemporaryFile(/tmp/multipartBody6738661701017169220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372973270,"filename":"image_23042025_03_48_45_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b58f66ab9136c32893e10f45af79d00a.jpg","text":"TemporaryFile(/tmp/multipartBody7977062102321406088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372973270,"filename":"image_23042025_03_48_05_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1d0a3752698d2f3d7c747c60b309978.jpg","text":"TemporaryFile(/tmp/multipartBody5545287957265051103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372973270,"filename":"image_23042025_03_47_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9d079e681df688fd60bcc663055f909.jpg","text":"TemporaryFile(/tmp/multipartBody7597491693477844208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372973270,"filename":"image_23042025_03_48_35_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9366c2ccc046759cb3212a84d10693e9.jpg","text":"TemporaryFile(/tmp/multipartBody5894298919336384343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745372973270,"filename":"image_23042025_03_48_25_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904434","file1":"1352904431","file0":"1352904426","file4":"1352904443","file5":"1352904446","file3":"1352904438"},"map_files_photo_id_array":[{"photo_id":"1352904446","filename":"file5"},{"photo_id":"1352904434","filename":"file2"},{"photo_id":"1352904443","filename":"file4"},{"photo_id":"1352904431","filename":"file1"},{"photo_id":"1352904426","filename":"file0"},{"photo_id":"1352904438","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904438":["hashtag1","hashtag2"]},{"1352904426":["hashtag1","hashtag2"]},{"1352904443":["hashtag1","hashtag2"]},{"1352904446":["hashtag1","hashtag2"]},{"1352904431":["hashtag1","hashtag2"]},{"1352904434":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904438, 1352904426, 1352904443, 1352904446, 1352904431, 1352904434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.920210123062134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:49:32.322244
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_15_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_25_10574.jpg', '/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_15_9566.jpg', '/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_35_9563.jpg
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_25_10574.jpg
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_15_9566.jpg
/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_55_10572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9111413955688477 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:50:02.859946
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_15_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_35_9563.jpg', '/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_25_10574.jpg', '/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_15_9566.jpg', '/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_35_9563.jpg
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_25_10574.jpg
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_15_9566.jpg
/home/nano/Desktop/images/23042025/03/48/image_23042025_03_48_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904483","1352904471","1352904470","1352904484"],"photo_ids_order":["1352904470","1352904471","1352904483","1352904484"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44330fe64dbe97d263833c8bb4a53dbf.jpg","text":"TemporaryFile(/tmp/multipartBody2264462636091729967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373063590,"filename":"image_23042025_03_49_15_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0d7354f3aef8a2a9b0bbd171e7217e1.jpg","text":"TemporaryFile(/tmp/multipartBody2461892907253849700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373063590,"filename":"image_23042025_03_49_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f94bb14666f91fee1f1284d9744c4910.jpg","text":"TemporaryFile(/tmp/multipartBody1665915699710788156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373063590,"filename":"image_23042025_03_49_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbe0a115457c84e16b8614367967f18c.jpg","text":"TemporaryFile(/tmp/multipartBody4325887240571522085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373063590,"filename":"image_23042025_03_48_55_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904483","file1":"1352904471","file0":"1352904470","file3":"1352904484"},"map_files_photo_id_array":[{"photo_id":"1352904483","filename":"file2"},{"photo_id":"1352904471","filename":"file1"},{"photo_id":"1352904470","filename":"file0"},{"photo_id":"1352904484","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904483":["hashtag1","hashtag2"]},{"1352904471":["hashtag1","hashtag2"]},{"1352904470":["hashtag1","hashtag2"]},{"1352904484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904483, 1352904471, 1352904470, 1352904484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.786794662475586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:50:32.418857
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_35_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_15_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_50_05_10609.jpg', 2), ('/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_35_10587.jpg', '/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_15_9568.jpg', '/home/nano/Desktop/images/23042025/03/49/image_23042025_03_50_05_10609.jpg', '/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_35_10587.jpg
/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_15_9568.jpg
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_50_05_10609.jpg
/home/nano/Desktop/images/23042025/03/49/image_23042025_03_49_55_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904498","1352904496","1352904493","1352904489"],"photo_ids_order":["1352904489","1352904493","1352904496","1352904498"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e103bf33bf686ad0ee6a5beffd570de.jpg","text":"TemporaryFile(/tmp/multipartBody2572088529488379266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373093275,"filename":"image_23042025_03_49_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15010df0497275857e0354060f2464c5.jpg","text":"TemporaryFile(/tmp/multipartBody2791990452478592300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373093275,"filename":"image_23042025_03_50_05_10609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c975eb65d8b419f043077b02bc7543c.jpg","text":"TemporaryFile(/tmp/multipartBody2449152326750114163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373093275,"filename":"image_23042025_03_50_15_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bcf38090e23b5b9c4727d5345b97e84.jpg","text":"TemporaryFile(/tmp/multipartBody501686272313646821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373093275,"filename":"image_23042025_03_50_35_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904496","file1":"1352904493","file0":"1352904489","file3":"1352904498"},"map_files_photo_id_array":[{"photo_id":"1352904496","filename":"file2"},{"photo_id":"1352904493","filename":"file1"},{"photo_id":"1352904489","filename":"file0"},{"photo_id":"1352904498","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904498":["hashtag1","hashtag2"]},{"1352904496":["hashtag1","hashtag2"]},{"1352904493":["hashtag1","hashtag2"]},{"1352904489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904498, 1352904496, 1352904493, 1352904489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.911759853363037 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:51:03.074398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7932698726654053 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:51:32.524292
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_15_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_45_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_25_9562.jpg', '/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_15_10597.jpg', '/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_45_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_25_9562.jpg
/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_15_10597.jpg
/home/nano/Desktop/images/23042025/03/50/image_23042025_03_50_45_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904513","1352904509","1352904517"],"photo_ids_order":["1352904509","1352904513","1352904517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0df4d0f5af736f382c16b13e9b68ea6d.jpg","text":"TemporaryFile(/tmp/multipartBody6161111621642869930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373153184,"filename":"image_23042025_03_51_15_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14e1d2d34bcc26b327c300ca9bd6ca7e.jpg","text":"TemporaryFile(/tmp/multipartBody7646377842980273055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373153184,"filename":"image_23042025_03_51_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98379214cd2ed931461659acd8a03e52.jpg","text":"TemporaryFile(/tmp/multipartBody8684166771023011308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373153184,"filename":"image_23042025_03_50_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904517","file1":"1352904513","file0":"1352904509"},"map_files_photo_id_array":[{"photo_id":"1352904517","filename":"file2"},{"photo_id":"1352904513","filename":"file1"},{"photo_id":"1352904509","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904513":["hashtag1","hashtag2"]},{"1352904509":["hashtag1","hashtag2"]},{"1352904517":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904513, 1352904509, 1352904517)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.06588339805603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:52:02.984690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6577706336975098 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:52:32.618719
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_35_9582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_35_9582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/51/image_23042025_03_51_35_9582.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904531"],"photo_id":"1352904531","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/becc29c67b358f2ff4cd0e0c448f9b99.jpg","text":"TemporaryFile(/tmp/multipartBody5192633850345008682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373213095,"filename":"image_23042025_03_51_35_9582.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352904531"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352904531"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.237458229064941 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:53:03.203162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.040543556213379 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:53:32.734747
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/53/image_23042025_03_53_35_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/03/52/image_23042025_03_52_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/53/image_23042025_03_53_35_10573.jpg', '/home/nano/Desktop/images/23042025/03/52/image_23042025_03_52_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/53/image_23042025_03_53_35_10573.jpg
/home/nano/Desktop/images/23042025/03/52/image_23042025_03_52_55_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904548","1352904545"],"photo_ids_order":["1352904545","1352904548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0807311cae48953405723cd28be8397f.jpg","text":"TemporaryFile(/tmp/multipartBody7619677924794056012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373273525,"filename":"image_23042025_03_52_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7eb5d6c55a389facf04d36f9de6435b7.jpg","text":"TemporaryFile(/tmp/multipartBody7514354976274691401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373273525,"filename":"image_23042025_03_53_35_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352904548","file0":"1352904545"},"map_files_photo_id_array":[{"photo_id":"1352904548","filename":"file1"},{"photo_id":"1352904545","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904548":["hashtag1","hashtag2"]},{"1352904545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904548, 1352904545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.716094970703125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:54:02.343558
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6975247859954834 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:54:31.823598
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_44_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/03/53/image_23042025_03_54_05_10579.jpg', 2), ('/home/nano/Desktop/images/23042025/03/53/image_23042025_03_53_45_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_44_9562.jpg', '/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_35_9565.jpg', '/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_25_10573.jpg', '/home/nano/Desktop/images/23042025/03/53/image_23042025_03_54_05_10579.jpg', '/home/nano/Desktop/images/23042025/03/53/image_23042025_03_53_45_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_44_9562.jpg
/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_35_9565.jpg
/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_25_10573.jpg
/home/nano/Desktop/images/23042025/03/53/image_23042025_03_54_05_10579.jpg
/home/nano/Desktop/images/23042025/03/53/image_23042025_03_53_45_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904562","1352904571","1352904565","1352904574","1352904568"],"photo_ids_order":["1352904562","1352904565","1352904568","1352904571","1352904574"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30434196569154b3b30d28ff3b824196.jpg","text":"TemporaryFile(/tmp/multipartBody4981391273922861970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373332791,"filename":"image_23042025_03_54_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2355f3a234eeb5174da4d507ebdf8bed.jpg","text":"TemporaryFile(/tmp/multipartBody4492408697383146797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373332791,"filename":"image_23042025_03_54_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3338848ff0c6f25d2460690e23dda0d0.jpg","text":"TemporaryFile(/tmp/multipartBody9212635011715624340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373332791,"filename":"image_23042025_03_54_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/904a28e379ea1dad679f43483a576de3.jpg","text":"TemporaryFile(/tmp/multipartBody559964334241126496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373332791,"filename":"image_23042025_03_53_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5937d2fda70a9df463566fc0673c0263.jpg","text":"TemporaryFile(/tmp/multipartBody3735881140066292766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373332791,"filename":"image_23042025_03_54_25_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904568","file1":"1352904565","file0":"1352904562","file4":"1352904574","file3":"1352904571"},"map_files_photo_id_array":[{"photo_id":"1352904568","filename":"file2"},{"photo_id":"1352904574","filename":"file4"},{"photo_id":"1352904565","filename":"file1"},{"photo_id":"1352904562","filename":"file0"},{"photo_id":"1352904571","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904562":["hashtag1","hashtag2"]},{"1352904571":["hashtag1","hashtag2"]},{"1352904565":["hashtag1","hashtag2"]},{"1352904574":["hashtag1","hashtag2"]},{"1352904568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904562, 1352904571, 1352904565, 1352904574, 1352904568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.02394700050354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:55:02.444872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6646733283996582 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:55:31.927876
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.652705430984497 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:56:02.295434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5065715312957764 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:56:32.021689
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/03/55/image_23042025_03_56_05_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_25_10572.jpg', '/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_15_9569.jpg', '/home/nano/Desktop/images/23042025/03/55/image_23042025_03_56_05_10587.jpg', '/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_25_10572.jpg
/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_15_9569.jpg
/home/nano/Desktop/images/23042025/03/55/image_23042025_03_56_05_10587.jpg
/home/nano/Desktop/images/23042025/03/54/image_23042025_03_54_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904597","1352904615","1352904600","1352904594"],"photo_ids_order":["1352904594","1352904597","1352904600","1352904615"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9de451f82a35b8f89ebfa23fff5222bd.jpg","text":"TemporaryFile(/tmp/multipartBody4559443159809327863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373453056,"filename":"image_23042025_03_56_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6ac981c96571cd804619490a749ae90.jpg","text":"TemporaryFile(/tmp/multipartBody4024697180946038530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373453056,"filename":"image_23042025_03_54_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/282115b02685e30db26f459a17d87d1f.jpg","text":"TemporaryFile(/tmp/multipartBody3446985644177969080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373453056,"filename":"image_23042025_03_56_05_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75d07dc846a434c254b17c77ff3391c6.jpg","text":"TemporaryFile(/tmp/multipartBody8165787471189989032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373453056,"filename":"image_23042025_03_56_25_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904600","file1":"1352904597","file0":"1352904594","file3":"1352904615"},"map_files_photo_id_array":[{"photo_id":"1352904600","filename":"file2"},{"photo_id":"1352904597","filename":"file1"},{"photo_id":"1352904594","filename":"file0"},{"photo_id":"1352904615","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904597":["hashtag1","hashtag2"]},{"1352904615":["hashtag1","hashtag2"]},{"1352904600":["hashtag1","hashtag2"]},{"1352904594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904597, 1352904615, 1352904600, 1352904594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.841111183166504 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:57:02.563187
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6395251750946045 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:57:32.109643
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/03/56/image_23042025_03_57_05_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_35_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_35_10571.jpg', '/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_15_10593.jpg', '/home/nano/Desktop/images/23042025/03/56/image_23042025_03_57_05_9564.jpg', '/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_35_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_35_10571.jpg
/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_15_10593.jpg
/home/nano/Desktop/images/23042025/03/56/image_23042025_03_57_05_9564.jpg
/home/nano/Desktop/images/23042025/03/56/image_23042025_03_56_35_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352904666","1352904714","1352904719","1352904673"],"photo_ids_order":["1352904666","1352904673","1352904714","1352904719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22f07f6fdd802a02ad5f3d09e87ec6d4.jpg","text":"TemporaryFile(/tmp/multipartBody1133281290994957354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373512985,"filename":"image_23042025_03_57_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14d029097c46556a78668dad49006c6a.jpg","text":"TemporaryFile(/tmp/multipartBody5720659988817285841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373512985,"filename":"image_23042025_03_57_05_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4742d1f83bdb331136c6716c3746f09a.jpg","text":"TemporaryFile(/tmp/multipartBody4278786710844848562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373512985,"filename":"image_23042025_03_56_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f03991d5b92e1ebaac144566120dff5d.jpg","text":"TemporaryFile(/tmp/multipartBody2327154608745997689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373512985,"filename":"image_23042025_03_57_15_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352904714","file1":"1352904673","file0":"1352904666","file3":"1352904719"},"map_files_photo_id_array":[{"photo_id":"1352904714","filename":"file2"},{"photo_id":"1352904673","filename":"file1"},{"photo_id":"1352904666","filename":"file0"},{"photo_id":"1352904719","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352904666":["hashtag1","hashtag2"]},{"1352904714":["hashtag1","hashtag2"]},{"1352904719":["hashtag1","hashtag2"]},{"1352904673":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352904666, 1352904714, 1352904719, 1352904673)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.36658501625061 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:58:02.429484
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.518918752670288 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:59:02.958022
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7412338256835938 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 03:59:32.270505
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_35_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_15_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/03/58/image_23042025_03_59_05_10579.jpg', 2), ('/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_45_9563.jpg', '/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_35_10589.jpg', '/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_25_9563.jpg', '/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_15_9563.jpg', '/home/nano/Desktop/images/23042025/03/58/image_23042025_03_59_05_10579.jpg', '/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_45_9563.jpg
/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_35_10589.jpg
/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_25_9563.jpg
/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_15_9563.jpg
/home/nano/Desktop/images/23042025/03/58/image_23042025_03_59_05_10579.jpg
/home/nano/Desktop/images/23042025/03/57/image_23042025_03_57_45_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352907352","1352907136","1352907442","1352906997","1352907543","1352907243"],"photo_ids_order":["1352906997","1352907136","1352907243","1352907352","1352907442","1352907543"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48f44f66515edf141001ea824420405e.jpg","text":"TemporaryFile(/tmp/multipartBody8780269438674162265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373633316,"filename":"image_23042025_03_59_15_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae261cd5f4e832d9c3f271f7b7317f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7182652680376051425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373633316,"filename":"image_23042025_03_59_35_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcdbd1ec2e6764564f3122d56091ca7d.jpg","text":"TemporaryFile(/tmp/multipartBody225495215046619825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373633316,"filename":"image_23042025_03_59_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d02be0cbd62267b4ab74fe9553aec790.jpg","text":"TemporaryFile(/tmp/multipartBody5104576082368108282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373633316,"filename":"image_23042025_03_59_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcca76e7ae10452b9b213715ba75451a.jpg","text":"TemporaryFile(/tmp/multipartBody7562240928719670596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373633316,"filename":"image_23042025_03_57_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12225d95a0f569b9d8bc28018ad0dc66.jpg","text":"TemporaryFile(/tmp/multipartBody2598002216284520860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373633316,"filename":"image_23042025_03_59_25_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352907243","file1":"1352907136","file0":"1352906997","file4":"1352907442","file5":"1352907543","file3":"1352907352"},"map_files_photo_id_array":[{"photo_id":"1352907543","filename":"file5"},{"photo_id":"1352907243","filename":"file2"},{"photo_id":"1352907442","filename":"file4"},{"photo_id":"1352907136","filename":"file1"},{"photo_id":"1352906997","filename":"file0"},{"photo_id":"1352907352","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352907352":["hashtag1","hashtag2"]},{"1352907136":["hashtag1","hashtag2"]},{"1352907442":["hashtag1","hashtag2"]},{"1352906997":["hashtag1","hashtag2"]},{"1352907543":["hashtag1","hashtag2"]},{"1352907243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352907352, 1352907136, 1352907442, 1352906997, 1352907543, 1352907243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.502168893814087 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:00:32.382045
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_45_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_25_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_15_10595.jpg', 2), ('/home/nano/Desktop/images/23042025/03/59/image_23042025_04_00_05_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_45_10572.jpg', '/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_35_9562.jpg', '/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_25_9579.jpg', '/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_15_10595.jpg', '/home/nano/Desktop/images/23042025/03/59/image_23042025_04_00_05_9576.jpg', '/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_45_10572.jpg
/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_35_9562.jpg
/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_25_9579.jpg
/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_15_10595.jpg
/home/nano/Desktop/images/23042025/03/59/image_23042025_04_00_05_9576.jpg
/home/nano/Desktop/images/23042025/03/59/image_23042025_03_59_55_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352908339","1352908342","1352908275","1352908185","1352908334","1352908238"],"photo_ids_order":["1352908185","1352908238","1352908275","1352908334","1352908339","1352908342"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f9dcb9f9f9d5301674372b722c24ba2.jpg","text":"TemporaryFile(/tmp/multipartBody8690438162601259678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373693313,"filename":"image_23042025_04_00_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b96119e2329f7f9ddf1ff7b91028fd6.jpg","text":"TemporaryFile(/tmp/multipartBody9040954381775156256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373693313,"filename":"image_23042025_03_59_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/449af5ebc3d52c8df17e18eb02684671.jpg","text":"TemporaryFile(/tmp/multipartBody5956768769621960960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373693313,"filename":"image_23042025_04_00_25_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/394380fc4983bf4d04e10efab3cc767d.jpg","text":"TemporaryFile(/tmp/multipartBody4453063823351217840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373693313,"filename":"image_23042025_04_00_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f9734693b5d350a379bc1a056bf3d8a.jpg","text":"TemporaryFile(/tmp/multipartBody3583710950919880832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373693313,"filename":"image_23042025_04_00_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd7eed5431eeab3070fed34ddcd47d8c.jpg","text":"TemporaryFile(/tmp/multipartBody5165055279020810332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373693313,"filename":"image_23042025_04_00_35_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352908275","file1":"1352908238","file0":"1352908185","file4":"1352908339","file5":"1352908342","file3":"1352908334"},"map_files_photo_id_array":[{"photo_id":"1352908342","filename":"file5"},{"photo_id":"1352908275","filename":"file2"},{"photo_id":"1352908339","filename":"file4"},{"photo_id":"1352908238","filename":"file1"},{"photo_id":"1352908185","filename":"file0"},{"photo_id":"1352908334","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352908339":["hashtag1","hashtag2"]},{"1352908342":["hashtag1","hashtag2"]},{"1352908275":["hashtag1","hashtag2"]},{"1352908185":["hashtag1","hashtag2"]},{"1352908334":["hashtag1","hashtag2"]},{"1352908238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352908339, 1352908342, 1352908275, 1352908185, 1352908334, 1352908238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.032063007354736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:01:32.476571
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_35_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_25_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/04/00/image_23042025_04_01_05_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_45_9562.jpg', '/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_35_9565.jpg', '/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_25_10571.jpg', '/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_15_9564.jpg', '/home/nano/Desktop/images/23042025/04/00/image_23042025_04_01_05_10582.jpg', '/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_45_9562.jpg
/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_35_9565.jpg
/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_25_10571.jpg
/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_15_9564.jpg
/home/nano/Desktop/images/23042025/04/00/image_23042025_04_01_05_10582.jpg
/home/nano/Desktop/images/23042025/04/00/image_23042025_04_00_55_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352908681","1352908843","1352908772","1352908719","1352908652","1352908814"],"photo_ids_order":["1352908652","1352908681","1352908719","1352908772","1352908814","1352908843"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3771a02a95d1f04b397e117e22c3bbc.jpg","text":"TemporaryFile(/tmp/multipartBody8851946123252316652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373755103,"filename":"image_23042025_04_01_35_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d7e6753085c5c87d05588b8c43508ef.jpg","text":"TemporaryFile(/tmp/multipartBody7485582979233975563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373755103,"filename":"image_23042025_04_00_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90af1ba33e809e86bbd91859c6974dae.jpg","text":"TemporaryFile(/tmp/multipartBody7872102541166845655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373755103,"filename":"image_23042025_04_01_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/110924cea696242ae2b5131c21ad8d61.jpg","text":"TemporaryFile(/tmp/multipartBody4424860298557115680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373755103,"filename":"image_23042025_04_01_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/299ced3a2336df0ca7dcf2000cfb0991.jpg","text":"TemporaryFile(/tmp/multipartBody2315731269754753357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373755103,"filename":"image_23042025_04_01_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11e48a463bff4d57e1e150d54b09fca5.jpg","text":"TemporaryFile(/tmp/multipartBody2854361067291430880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373755103,"filename":"image_23042025_04_01_05_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352908719","file1":"1352908681","file0":"1352908652","file4":"1352908814","file5":"1352908843","file3":"1352908772"},"map_files_photo_id_array":[{"photo_id":"1352908843","filename":"file5"},{"photo_id":"1352908719","filename":"file2"},{"photo_id":"1352908814","filename":"file4"},{"photo_id":"1352908681","filename":"file1"},{"photo_id":"1352908652","filename":"file0"},{"photo_id":"1352908772","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352908681":["hashtag1","hashtag2"]},{"1352908843":["hashtag1","hashtag2"]},{"1352908772":["hashtag1","hashtag2"]},{"1352908719":["hashtag1","hashtag2"]},{"1352908652":["hashtag1","hashtag2"]},{"1352908814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352908681, 1352908843, 1352908772, 1352908719, 1352908652, 1352908814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10725116729736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:02:32.569237
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_25_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_15_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/04/01/image_23042025_04_02_05_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_25_9570.jpg', '/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_15_10592.jpg', '/home/nano/Desktop/images/23042025/04/01/image_23042025_04_02_05_9577.jpg', '/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_25_9570.jpg
/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_15_10592.jpg
/home/nano/Desktop/images/23042025/04/01/image_23042025_04_02_05_9577.jpg
/home/nano/Desktop/images/23042025/04/01/image_23042025_04_01_55_10573.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909058","1352909025","1352909039","1352908996"],"photo_ids_order":["1352908996","1352909025","1352909039","1352909058"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73c29452643c80adc983376cd074b46a.jpg","text":"TemporaryFile(/tmp/multipartBody8523562508051244231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373813441,"filename":"image_23042025_04_01_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/247a9a58873a3fd13af93d7f18845a0e.jpg","text":"TemporaryFile(/tmp/multipartBody3057454564324936733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373813441,"filename":"image_23042025_04_02_15_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ea7372ebdc811e03a9f6246116634b4.jpg","text":"TemporaryFile(/tmp/multipartBody4208444322342440913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373813441,"filename":"image_23042025_04_02_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e18fe2d40ddb5dfeb1966f1a073211ba.jpg","text":"TemporaryFile(/tmp/multipartBody239115604106705097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373813441,"filename":"image_23042025_04_02_25_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909039","file1":"1352909025","file0":"1352908996","file3":"1352909058"},"map_files_photo_id_array":[{"photo_id":"1352909039","filename":"file2"},{"photo_id":"1352909025","filename":"file1"},{"photo_id":"1352908996","filename":"file0"},{"photo_id":"1352909058","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909058":["hashtag1","hashtag2"]},{"1352909025":["hashtag1","hashtag2"]},{"1352909039":["hashtag1","hashtag2"]},{"1352908996":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909058, 1352909025, 1352909039, 1352908996)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.081804275512695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:03:03.192114
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6667757034301758 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:03:32.664747
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/03/image_23042025_04_03_15_9593.jpg', 2), ('/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/03/image_23042025_04_03_15_9593.jpg', '/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/03/image_23042025_04_03_15_9593.jpg
/home/nano/Desktop/images/23042025/04/02/image_23042025_04_02_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909082","1352909077"],"photo_ids_order":["1352909077","1352909082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0990173f8c81fd22693b3f02d5d2efac.jpg","text":"TemporaryFile(/tmp/multipartBody2859796029867562925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373873425,"filename":"image_23042025_04_02_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af6a13030ac30c05dad9a78c981098f9.jpg","text":"TemporaryFile(/tmp/multipartBody3789137572298622090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373873425,"filename":"image_23042025_04_03_15_9593.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352909082","file0":"1352909077"},"map_files_photo_id_array":[{"photo_id":"1352909082","filename":"file1"},{"photo_id":"1352909077","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909082":["hashtag1","hashtag2"]},{"1352909077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909082, 1352909077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.455811738967896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:04:02.448026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.771526575088501 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:04:31.795564
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/03/image_23042025_04_04_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/04/03/image_23042025_04_03_25_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/03/image_23042025_04_04_05_9566.jpg', '/home/nano/Desktop/images/23042025/04/03/image_23042025_04_03_25_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/03/image_23042025_04_04_05_9566.jpg
/home/nano/Desktop/images/23042025/04/03/image_23042025_04_03_25_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909109","1352909105"],"photo_ids_order":["1352909105","1352909109"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a98c997f5515b05022ca3aacae3c9da5.jpg","text":"TemporaryFile(/tmp/multipartBody8598312646232154778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373932496,"filename":"image_23042025_04_03_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/773dd01fbbe3df88bc029cf8a3841074.jpg","text":"TemporaryFile(/tmp/multipartBody2899869308971904468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745373932496,"filename":"image_23042025_04_04_05_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352909109","file0":"1352909105"},"map_files_photo_id_array":[{"photo_id":"1352909109","filename":"file1"},{"photo_id":"1352909105","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909109":["hashtag1","hashtag2"]},{"1352909105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909109, 1352909105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.869098901748657 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:05:02.305512
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5451314449310303 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:05:31.898997
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4972808361053467 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:06:02.400917
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.645613431930542 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:06:31.984000
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/06/image_23042025_04_06_15_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/05/image_23042025_04_06_05_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/04/04/image_23042025_04_04_15_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/06/image_23042025_04_06_15_9561.jpg', '/home/nano/Desktop/images/23042025/04/05/image_23042025_04_06_05_10590.jpg', '/home/nano/Desktop/images/23042025/04/04/image_23042025_04_04_15_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/06/image_23042025_04_06_15_9561.jpg
/home/nano/Desktop/images/23042025/04/05/image_23042025_04_06_05_10590.jpg
/home/nano/Desktop/images/23042025/04/04/image_23042025_04_04_15_10589.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909166","1352909163","1352909158"],"photo_ids_order":["1352909158","1352909163","1352909166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f015186d84bfbcb90c4b1df67c5908c.jpg","text":"TemporaryFile(/tmp/multipartBody3396600106215584738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374052839,"filename":"image_23042025_04_04_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76635be36e6eb88c13630b6fd6e5d889.jpg","text":"TemporaryFile(/tmp/multipartBody4147310710033900221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374052839,"filename":"image_23042025_04_06_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16883daf97ea995439f69c5520cfe16f.jpg","text":"TemporaryFile(/tmp/multipartBody4321344283408991227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374052839,"filename":"image_23042025_04_06_15_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909166","file1":"1352909163","file0":"1352909158"},"map_files_photo_id_array":[{"photo_id":"1352909166","filename":"file2"},{"photo_id":"1352909163","filename":"file1"},{"photo_id":"1352909158","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909166":["hashtag1","hashtag2"]},{"1352909163":["hashtag1","hashtag2"]},{"1352909158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909166, 1352909163, 1352909158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.15041422843933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:07:02.691165
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7662794589996338 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:07:32.098842
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/06/image_23042025_04_07_05_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/04/06/image_23042025_04_06_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/06/image_23042025_04_07_05_9573.jpg', '/home/nano/Desktop/images/23042025/04/06/image_23042025_04_06_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/06/image_23042025_04_07_05_9573.jpg
/home/nano/Desktop/images/23042025/04/06/image_23042025_04_06_55_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909196","1352909191"],"photo_ids_order":["1352909191","1352909196"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e38f6ed5e01dcb616ab5c1764b114502.jpg","text":"TemporaryFile(/tmp/multipartBody8884429266033968559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374113928,"filename":"image_23042025_04_06_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e74c74cc1cd689f40c908c160386d8b.jpg","text":"TemporaryFile(/tmp/multipartBody6344920680465654432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374113928,"filename":"image_23042025_04_07_05_9573.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352909196","file0":"1352909191"},"map_files_photo_id_array":[{"photo_id":"1352909196","filename":"file1"},{"photo_id":"1352909191","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909196":["hashtag1","hashtag2"]},{"1352909191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909196, 1352909191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.302199125289917 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:08:02.375528
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6962945461273193 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:08:32.182284
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/07/image_23042025_04_08_05_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/04/07/image_23042025_04_07_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/07/image_23042025_04_08_05_10586.jpg', '/home/nano/Desktop/images/23042025/04/07/image_23042025_04_07_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/07/image_23042025_04_08_05_10586.jpg
/home/nano/Desktop/images/23042025/04/07/image_23042025_04_07_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909222","1352909219"],"photo_ids_order":["1352909219","1352909222"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a4393ff5f6b390ac0feb20c59530951.jpg","text":"TemporaryFile(/tmp/multipartBody8474085805340627464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374172937,"filename":"image_23042025_04_07_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aacd72af4ad0df1358a0d4b1ed4cd109.jpg","text":"TemporaryFile(/tmp/multipartBody3081294154402446162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374172937,"filename":"image_23042025_04_08_05_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352909222","file0":"1352909219"},"map_files_photo_id_array":[{"photo_id":"1352909222","filename":"file1"},{"photo_id":"1352909219","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909222":["hashtag1","hashtag2"]},{"1352909219":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909222, 1352909219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.77703070640564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:09:02.947057
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.653132677078247 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:09:32.281572
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_15_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/04/08/image_23042025_04_09_05_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/08/image_23042025_04_08_15_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_25_9561.jpg', '/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_15_10591.jpg', '/home/nano/Desktop/images/23042025/04/08/image_23042025_04_09_05_9571.jpg', '/home/nano/Desktop/images/23042025/04/08/image_23042025_04_08_15_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_25_9561.jpg
/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_15_10591.jpg
/home/nano/Desktop/images/23042025/04/08/image_23042025_04_09_05_9571.jpg
/home/nano/Desktop/images/23042025/04/08/image_23042025_04_08_15_9563.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8793392181396484 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:10:02.662219
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_15_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/04/08/image_23042025_04_09_05_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/08/image_23042025_04_08_15_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_25_9561.jpg', '/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_15_10591.jpg', '/home/nano/Desktop/images/23042025/04/08/image_23042025_04_09_05_9571.jpg', '/home/nano/Desktop/images/23042025/04/08/image_23042025_04_08_15_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_25_9561.jpg
/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_15_10591.jpg
/home/nano/Desktop/images/23042025/04/08/image_23042025_04_09_05_9571.jpg
/home/nano/Desktop/images/23042025/04/08/image_23042025_04_08_15_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909298","1352909282","1352909293","1352909296"],"photo_ids_order":["1352909282","1352909293","1352909296","1352909298"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bb1cb46aec06727732b5af98410e0a3.jpg","text":"TemporaryFile(/tmp/multipartBody194325599394162818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374263352,"filename":"image_23042025_04_08_15_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/733d473df63e473bc42da90e3ecc6b8b.jpg","text":"TemporaryFile(/tmp/multipartBody682048597092028449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374263352,"filename":"image_23042025_04_09_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/152be17c21719943c88dd66d611056f8.jpg","text":"TemporaryFile(/tmp/multipartBody2573456564879400461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374263352,"filename":"image_23042025_04_09_15_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56d51a0f496c28cedb75bec43ebee21a.jpg","text":"TemporaryFile(/tmp/multipartBody666017799816424347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374263352,"filename":"image_23042025_04_09_05_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909296","file1":"1352909293","file0":"1352909282","file3":"1352909298"},"map_files_photo_id_array":[{"photo_id":"1352909296","filename":"file2"},{"photo_id":"1352909293","filename":"file1"},{"photo_id":"1352909282","filename":"file0"},{"photo_id":"1352909298","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909298":["hashtag1","hashtag2"]},{"1352909282":["hashtag1","hashtag2"]},{"1352909293":["hashtag1","hashtag2"]},{"1352909296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909298, 1352909282, 1352909293, 1352909296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.448281288146973 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:10:32.363191
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/10/image_23042025_04_10_25_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_35_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/10/image_23042025_04_10_25_10573.jpg', '/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_35_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/10/image_23042025_04_10_25_10573.jpg
/home/nano/Desktop/images/23042025/04/09/image_23042025_04_09_35_10574.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909305","1352909308"],"photo_ids_order":["1352909305","1352909308"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/244140f6ad12ea809c61dfe27d248e07.jpg","text":"TemporaryFile(/tmp/multipartBody5416927033696306730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374293116,"filename":"image_23042025_04_10_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fcc424f73c1bf2e04114468e3a72e116.jpg","text":"TemporaryFile(/tmp/multipartBody5952335489769468958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374293116,"filename":"image_23042025_04_09_35_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352909308","file0":"1352909305"},"map_files_photo_id_array":[{"photo_id":"1352909308","filename":"file1"},{"photo_id":"1352909305","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909305":["hashtag1","hashtag2"]},{"1352909308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909305, 1352909308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.600365400314331 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:11:02.963491
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6151387691497803 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:11:32.465063
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_15_10699.jpg', 2), ('/home/nano/Desktop/images/23042025/04/10/image_23042025_04_11_05_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/04/10/image_23042025_04_10_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_25_9561.jpg', '/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_15_10699.jpg', '/home/nano/Desktop/images/23042025/04/10/image_23042025_04_11_05_9565.jpg', '/home/nano/Desktop/images/23042025/04/10/image_23042025_04_10_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_25_9561.jpg
/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_15_10699.jpg
/home/nano/Desktop/images/23042025/04/10/image_23042025_04_11_05_9565.jpg
/home/nano/Desktop/images/23042025/04/10/image_23042025_04_10_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909334","1352909343","1352909339","1352909348"],"photo_ids_order":["1352909334","1352909339","1352909343","1352909348"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b491b4cf3f599f9457093bc4e218ee7.jpg","text":"TemporaryFile(/tmp/multipartBody2941943403943648192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374353271,"filename":"image_23042025_04_11_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6e4c1eeed09109b4c7f828b23327d44.jpg","text":"TemporaryFile(/tmp/multipartBody4606618737939575008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374353271,"filename":"image_23042025_04_11_05_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6755accac37216728103d83b2c3025a5.jpg","text":"TemporaryFile(/tmp/multipartBody5789732465659927218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374353271,"filename":"image_23042025_04_11_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e60a0ea72140ff0ec824dce5fccebb6.jpg","text":"TemporaryFile(/tmp/multipartBody5650669704038502445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374353271,"filename":"image_23042025_04_10_45_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909343","file1":"1352909339","file0":"1352909334","file3":"1352909348"},"map_files_photo_id_array":[{"photo_id":"1352909343","filename":"file2"},{"photo_id":"1352909339","filename":"file1"},{"photo_id":"1352909334","filename":"file0"},{"photo_id":"1352909348","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909334":["hashtag1","hashtag2"]},{"1352909343":["hashtag1","hashtag2"]},{"1352909339":["hashtag1","hashtag2"]},{"1352909348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909334, 1352909343, 1352909339, 1352909348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.658484935760498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:12:02.870840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.681518316268921 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:12:32.559642
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_25_10579.jpg', 2), ('/home/nano/Desktop/images/23042025/04/11/image_23042025_04_12_05_10601.jpg', 2), ('/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_45_9563.jpg', '/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_35_9562.jpg', '/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_25_10579.jpg', '/home/nano/Desktop/images/23042025/04/11/image_23042025_04_12_05_10601.jpg', '/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_45_9563.jpg
/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_35_9562.jpg
/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_25_10579.jpg
/home/nano/Desktop/images/23042025/04/11/image_23042025_04_12_05_10601.jpg
/home/nano/Desktop/images/23042025/04/11/image_23042025_04_11_55_9563.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909385","1352909370","1352909381","1352909374","1352909377"],"photo_ids_order":["1352909370","1352909374","1352909377","1352909381","1352909385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6544a188ad5e27e61930b67f43c65f1e.jpg","text":"TemporaryFile(/tmp/multipartBody515722820752569387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374413504,"filename":"image_23042025_04_11_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f51cd5664ac7997d9d036e640961eea2.jpg","text":"TemporaryFile(/tmp/multipartBody5800237068258392361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374413504,"filename":"image_23042025_04_12_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb8f15ee96235c68fccbd4f4310eea2c.jpg","text":"TemporaryFile(/tmp/multipartBody2024143102565162863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374413504,"filename":"image_23042025_04_12_05_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c14799b89deaf456101d181d88a77d4.jpg","text":"TemporaryFile(/tmp/multipartBody5272059289551086622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374413504,"filename":"image_23042025_04_12_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a922386ed6e1c5c11fb1ffe8318024fa.jpg","text":"TemporaryFile(/tmp/multipartBody4217054658865858741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374413504,"filename":"image_23042025_04_12_25_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909377","file1":"1352909374","file0":"1352909370","file4":"1352909385","file3":"1352909381"},"map_files_photo_id_array":[{"photo_id":"1352909377","filename":"file2"},{"photo_id":"1352909385","filename":"file4"},{"photo_id":"1352909374","filename":"file1"},{"photo_id":"1352909370","filename":"file0"},{"photo_id":"1352909381","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909385":["hashtag1","hashtag2"]},{"1352909370":["hashtag1","hashtag2"]},{"1352909381":["hashtag1","hashtag2"]},{"1352909374":["hashtag1","hashtag2"]},{"1352909377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909385, 1352909370, 1352909381, 1352909374, 1352909377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.28421401977539 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:13:03.150707
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5614230632781982 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:13:32.690711
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/12/image_23042025_04_13_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/12/image_23042025_04_13_05_9568.jpg', '/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/12/image_23042025_04_13_05_9568.jpg
/home/nano/Desktop/images/23042025/04/12/image_23042025_04_12_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909400","1352909405"],"photo_ids_order":["1352909400","1352909405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/510140de32d74dca609418bf8e1e6d5a.jpg","text":"TemporaryFile(/tmp/multipartBody5560378406437960490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374473230,"filename":"image_23042025_04_13_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/775bc5119a02edb406a3d88534169645.jpg","text":"TemporaryFile(/tmp/multipartBody6225773746217520885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374473230,"filename":"image_23042025_04_12_55_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352909405","file0":"1352909400"},"map_files_photo_id_array":[{"photo_id":"1352909405","filename":"file1"},{"photo_id":"1352909400","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909400":["hashtag1","hashtag2"]},{"1352909405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909400, 1352909405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.42179012298584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:14:02.384582
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6913535594940186 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:14:31.760542
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_45_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_15_9594.jpg', 2), ('/home/nano/Desktop/images/23042025/04/13/image_23042025_04_14_05_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/04/13/image_23042025_04_13_55_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_45_10572.jpg', '/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_15_9594.jpg', '/home/nano/Desktop/images/23042025/04/13/image_23042025_04_14_05_10587.jpg', '/home/nano/Desktop/images/23042025/04/13/image_23042025_04_13_55_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_45_10572.jpg
/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_15_9594.jpg
/home/nano/Desktop/images/23042025/04/13/image_23042025_04_14_05_10587.jpg
/home/nano/Desktop/images/23042025/04/13/image_23042025_04_13_55_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909442","1352909447","1352909432","1352909437"],"photo_ids_order":["1352909432","1352909437","1352909442","1352909447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44c615d06eb89703343af0ef31a092fe.jpg","text":"TemporaryFile(/tmp/multipartBody2716114286680047646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374532612,"filename":"image_23042025_04_14_05_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46fb94e38721fad1becc962cd02d3bf1.jpg","text":"TemporaryFile(/tmp/multipartBody1035827083870456932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374532612,"filename":"image_23042025_04_13_55_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10e2969d16bc71d28859ea59673e19ee.jpg","text":"TemporaryFile(/tmp/multipartBody2825206144705852405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374532612,"filename":"image_23042025_04_14_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6b76207e85c6f55f6915fd8e9a52ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7005102978497802455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374532612,"filename":"image_23042025_04_14_15_9594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909442","file1":"1352909437","file0":"1352909432","file3":"1352909447"},"map_files_photo_id_array":[{"photo_id":"1352909442","filename":"file2"},{"photo_id":"1352909437","filename":"file1"},{"photo_id":"1352909432","filename":"file0"},{"photo_id":"1352909447","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909442":["hashtag1","hashtag2"]},{"1352909447":["hashtag1","hashtag2"]},{"1352909432":["hashtag1","hashtag2"]},{"1352909437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909442, 1352909447, 1352909432, 1352909437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.531655073165894 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:15:02.411568
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6470377445220947 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:15:31.860104
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_25_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_15_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_35_10571.jpg', '/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_25_9577.jpg', '/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_15_10586.jpg', '/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_35_10571.jpg
/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_25_9577.jpg
/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_15_10586.jpg
/home/nano/Desktop/images/23042025/04/14/image_23042025_04_14_55_9561.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909475","1352909469","1352909471","1352909464"],"photo_ids_order":["1352909464","1352909469","1352909471","1352909475"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78211ebd8733df3a46e051bb27f212b7.jpg","text":"TemporaryFile(/tmp/multipartBody7192510560993194336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374592597,"filename":"image_23042025_04_14_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d02480667d9bcf6609b85baede4ed580.jpg","text":"TemporaryFile(/tmp/multipartBody8319234054283508640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374592597,"filename":"image_23042025_04_15_25_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e68f95f063095c636b983712f3e6974.jpg","text":"TemporaryFile(/tmp/multipartBody1540795682179589062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374592597,"filename":"image_23042025_04_15_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ab537a95da07efa6706180b7bbf919c.jpg","text":"TemporaryFile(/tmp/multipartBody4120740519034598863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374592597,"filename":"image_23042025_04_15_35_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909471","file1":"1352909469","file0":"1352909464","file3":"1352909475"},"map_files_photo_id_array":[{"photo_id":"1352909471","filename":"file2"},{"photo_id":"1352909469","filename":"file1"},{"photo_id":"1352909464","filename":"file0"},{"photo_id":"1352909475","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909475":["hashtag1","hashtag2"]},{"1352909469":["hashtag1","hashtag2"]},{"1352909471":["hashtag1","hashtag2"]},{"1352909464":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909475, 1352909469, 1352909471, 1352909464)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.953712701797485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:16:02.291078
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5684797763824463 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:16:31.979170
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_25_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/04/15/image_23042025_04_16_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_45_10571.jpg', '/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_25_10570.jpg', '/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_15_9569.jpg', '/home/nano/Desktop/images/23042025/04/15/image_23042025_04_16_05_9568.jpg', '/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_45_10571.jpg
/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_25_10570.jpg
/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_15_9569.jpg
/home/nano/Desktop/images/23042025/04/15/image_23042025_04_16_05_9568.jpg
/home/nano/Desktop/images/23042025/04/15/image_23042025_04_15_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909509","1352909499","1352909504","1352909513","1352909494"],"photo_ids_order":["1352909494","1352909499","1352909504","1352909509","1352909513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8a947cceb86a762ec9b9a8fd00f9d24.jpg","text":"TemporaryFile(/tmp/multipartBody8213469287069348010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374652971,"filename":"image_23042025_04_16_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5da3606fb8d3a5085a07693764468a8.jpg","text":"TemporaryFile(/tmp/multipartBody6499637591523451855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374652971,"filename":"image_23042025_04_16_25_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a496c84b01693b666332bbc25476549.jpg","text":"TemporaryFile(/tmp/multipartBody3721132712584481856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374652971,"filename":"image_23042025_04_16_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c3f397ec9101a1401794d32b0dca704.jpg","text":"TemporaryFile(/tmp/multipartBody3975849349164043842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374652971,"filename":"image_23042025_04_15_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2c99f41e540901e146b531bf4fd7774.jpg","text":"TemporaryFile(/tmp/multipartBody6893103329097421015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374652971,"filename":"image_23042025_04_16_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909504","file1":"1352909499","file0":"1352909494","file4":"1352909513","file3":"1352909509"},"map_files_photo_id_array":[{"photo_id":"1352909504","filename":"file2"},{"photo_id":"1352909513","filename":"file4"},{"photo_id":"1352909499","filename":"file1"},{"photo_id":"1352909494","filename":"file0"},{"photo_id":"1352909509","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909509":["hashtag1","hashtag2"]},{"1352909499":["hashtag1","hashtag2"]},{"1352909504":["hashtag1","hashtag2"]},{"1352909513":["hashtag1","hashtag2"]},{"1352909494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909509, 1352909499, 1352909504, 1352909513, 1352909494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.843430757522583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:17:02.559350
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.9378983974456787 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:17:32.071882
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_15_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_45_9561.jpg', '/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_35_10570.jpg', '/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_15_9563.jpg', '/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_45_9561.jpg
/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_35_10570.jpg
/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_15_9563.jpg
/home/nano/Desktop/images/23042025/04/16/image_23042025_04_16_55_9560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909739","1352909591","1352909744","1352909680"],"photo_ids_order":["1352909591","1352909680","1352909739","1352909744"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2dbe7e73fde018bb8d6be47cde4564e2.jpg","text":"TemporaryFile(/tmp/multipartBody6584978951623206349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374712773,"filename":"image_23042025_04_17_15_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dd37ab19ab41ffaa71c3c55e39c771d.jpg","text":"TemporaryFile(/tmp/multipartBody1005221297430780749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374712773,"filename":"image_23042025_04_17_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbc97f275dcbc78cf032ed818eecc9bc.jpg","text":"TemporaryFile(/tmp/multipartBody3712007562929417871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374712773,"filename":"image_23042025_04_16_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6dc393d71da4e0d6591e3979e551ff18.jpg","text":"TemporaryFile(/tmp/multipartBody1690610333856505691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374712773,"filename":"image_23042025_04_17_35_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909739","file1":"1352909680","file0":"1352909591","file3":"1352909744"},"map_files_photo_id_array":[{"photo_id":"1352909739","filename":"file2"},{"photo_id":"1352909680","filename":"file1"},{"photo_id":"1352909591","filename":"file0"},{"photo_id":"1352909744","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909739":["hashtag1","hashtag2"]},{"1352909591":["hashtag1","hashtag2"]},{"1352909744":["hashtag1","hashtag2"]},{"1352909680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909739, 1352909591, 1352909744, 1352909680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.214659452438354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:18:02.534466
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.702805519104004 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:18:32.157148
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_15_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/04/17/image_23042025_04_18_05_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_35_9562.jpg', '/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_25_9561.jpg', '/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_15_10582.jpg', '/home/nano/Desktop/images/23042025/04/17/image_23042025_04_18_05_9575.jpg', '/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_35_9562.jpg
/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_25_9561.jpg
/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_15_10582.jpg
/home/nano/Desktop/images/23042025/04/17/image_23042025_04_18_05_9575.jpg
/home/nano/Desktop/images/23042025/04/17/image_23042025_04_17_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909835","1352909801","1352909887","1352909881","1352909869"],"photo_ids_order":["1352909801","1352909835","1352909869","1352909881","1352909887"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e992f81b74aaed674cf6e967f7a4a20c.jpg","text":"TemporaryFile(/tmp/multipartBody4504988002853524339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374774152,"filename":"image_23042025_04_18_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee011d225f3125477af6c81549689fb6.jpg","text":"TemporaryFile(/tmp/multipartBody7671077274892421365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374774152,"filename":"image_23042025_04_18_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8907a2f283604e589fd1771f86603dae.jpg","text":"TemporaryFile(/tmp/multipartBody8100358952936117119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374774152,"filename":"image_23042025_04_17_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9c36761aa715db1e45101aa50a25a30.jpg","text":"TemporaryFile(/tmp/multipartBody2025326092507854012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374774152,"filename":"image_23042025_04_18_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/713f1331131fad40186fcc0e472a6ffc.jpg","text":"TemporaryFile(/tmp/multipartBody2156390902924962070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374774152,"filename":"image_23042025_04_18_15_10582.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909869","file1":"1352909835","file0":"1352909801","file4":"1352909887","file3":"1352909881"},"map_files_photo_id_array":[{"photo_id":"1352909869","filename":"file2"},{"photo_id":"1352909887","filename":"file4"},{"photo_id":"1352909835","filename":"file1"},{"photo_id":"1352909801","filename":"file0"},{"photo_id":"1352909881","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909835":["hashtag1","hashtag2"]},{"1352909801":["hashtag1","hashtag2"]},{"1352909887":["hashtag1","hashtag2"]},{"1352909881":["hashtag1","hashtag2"]},{"1352909869":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909835, 1352909801, 1352909887, 1352909881, 1352909869)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.581520318984985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:19:02.939431
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6602380275726318 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:19:32.253517
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_35_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/04/18/image_23042025_04_19_05_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_45_9562.jpg', '/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_35_9576.jpg', '/home/nano/Desktop/images/23042025/04/18/image_23042025_04_19_05_10582.jpg', '/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_45_9562.jpg
/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_35_9576.jpg
/home/nano/Desktop/images/23042025/04/18/image_23042025_04_19_05_10582.jpg
/home/nano/Desktop/images/23042025/04/18/image_23042025_04_18_55_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909908","1352909919","1352909900","1352909903"],"photo_ids_order":["1352909900","1352909903","1352909908","1352909919"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81c18bd772068ede6dac7599d5a361fd.jpg","text":"TemporaryFile(/tmp/multipartBody3999700452605872051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374832983,"filename":"image_23042025_04_19_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb679aecb68299334585d6eaecec5226.jpg","text":"TemporaryFile(/tmp/multipartBody2042315555569582333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374832983,"filename":"image_23042025_04_18_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a928b7618a83aa9960e1791318b4ac4.jpg","text":"TemporaryFile(/tmp/multipartBody7130578569419443336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374832983,"filename":"image_23042025_04_19_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93b2062fe48bc91fb47c4cf2edc517d7.jpg","text":"TemporaryFile(/tmp/multipartBody3817965806949236562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374832983,"filename":"image_23042025_04_19_35_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909908","file1":"1352909903","file0":"1352909900","file3":"1352909919"},"map_files_photo_id_array":[{"photo_id":"1352909908","filename":"file2"},{"photo_id":"1352909903","filename":"file1"},{"photo_id":"1352909900","filename":"file0"},{"photo_id":"1352909919","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909908":["hashtag1","hashtag2"]},{"1352909919":["hashtag1","hashtag2"]},{"1352909900":["hashtag1","hashtag2"]},{"1352909903":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909908, 1352909919, 1352909900, 1352909903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.14056897163391 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:20:02.565007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.118455171585083 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:20:32.358863
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/19/image_23042025_04_20_05_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_45_9561.jpg', '/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_35_10571.jpg', '/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_25_9562.jpg', '/home/nano/Desktop/images/23042025/04/19/image_23042025_04_20_05_9581.jpg', '/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_45_9561.jpg
/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_35_10571.jpg
/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_25_9562.jpg
/home/nano/Desktop/images/23042025/04/19/image_23042025_04_20_05_9581.jpg
/home/nano/Desktop/images/23042025/04/19/image_23042025_04_19_55_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909955","1352909951","1352909948","1352909959","1352909944"],"photo_ids_order":["1352909944","1352909948","1352909951","1352909955","1352909959"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88a5845f12151ee3de359a6d485e88d2.jpg","text":"TemporaryFile(/tmp/multipartBody108518702425827123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374893366,"filename":"image_23042025_04_20_05_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebe58a1463311b9f37975fa3bcecce92.jpg","text":"TemporaryFile(/tmp/multipartBody3478248829515279032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374893366,"filename":"image_23042025_04_20_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ccef45b40a4ae224bf80988e2037de0.jpg","text":"TemporaryFile(/tmp/multipartBody1520621598997985844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374893366,"filename":"image_23042025_04_20_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11f7c1f9da646e00fa478e408775a5a7.jpg","text":"TemporaryFile(/tmp/multipartBody9214796196326375831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374893366,"filename":"image_23042025_04_19_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/671e510b40a5a10747d8b04593336a3f.jpg","text":"TemporaryFile(/tmp/multipartBody4601747954892311421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374893366,"filename":"image_23042025_04_20_45_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909951","file1":"1352909948","file0":"1352909944","file4":"1352909959","file3":"1352909955"},"map_files_photo_id_array":[{"photo_id":"1352909951","filename":"file2"},{"photo_id":"1352909959","filename":"file4"},{"photo_id":"1352909948","filename":"file1"},{"photo_id":"1352909944","filename":"file0"},{"photo_id":"1352909955","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909955":["hashtag1","hashtag2"]},{"1352909951":["hashtag1","hashtag2"]},{"1352909948":["hashtag1","hashtag2"]},{"1352909959":["hashtag1","hashtag2"]},{"1352909944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909955, 1352909951, 1352909948, 1352909959, 1352909944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.411641597747803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:21:03.009542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6553714275360107 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:21:32.475693
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_25_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/04/20/image_23042025_04_21_05_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_25_10572.jpg', '/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_15_9569.jpg', '/home/nano/Desktop/images/23042025/04/20/image_23042025_04_21_05_10580.jpg', '/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_25_10572.jpg
/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_15_9569.jpg
/home/nano/Desktop/images/23042025/04/20/image_23042025_04_21_05_10580.jpg
/home/nano/Desktop/images/23042025/04/20/image_23042025_04_20_55_9560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352909978","1352909987","1352909992","1352909983"],"photo_ids_order":["1352909978","1352909983","1352909987","1352909992"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbf10a55c0c4430c40562e88761ab4e1.jpg","text":"TemporaryFile(/tmp/multipartBody2374245522268698205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374953480,"filename":"image_23042025_04_21_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35c80348b8dcf02a19464c11143fcd33.jpg","text":"TemporaryFile(/tmp/multipartBody7287038632517214972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374953480,"filename":"image_23042025_04_21_05_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b8a87eb9602dbeb58059fc3b2f496b2.jpg","text":"TemporaryFile(/tmp/multipartBody8110083884872853633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374953480,"filename":"image_23042025_04_20_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c183e304c63f7b008b961941db971e4.jpg","text":"TemporaryFile(/tmp/multipartBody645294156063933755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745374953480,"filename":"image_23042025_04_21_15_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352909987","file1":"1352909983","file0":"1352909978","file3":"1352909992"},"map_files_photo_id_array":[{"photo_id":"1352909987","filename":"file2"},{"photo_id":"1352909983","filename":"file1"},{"photo_id":"1352909978","filename":"file0"},{"photo_id":"1352909992","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352909978":["hashtag1","hashtag2"]},{"1352909987":["hashtag1","hashtag2"]},{"1352909992":["hashtag1","hashtag2"]},{"1352909983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352909978, 1352909987, 1352909992, 1352909983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.91572070121765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:22:02.872175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5923612117767334 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:22:32.565515
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_35_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_45_9562.jpg', '/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_35_10572.jpg', '/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_35_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_45_9562.jpg
/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_35_10572.jpg
/home/nano/Desktop/images/23042025/04/21/image_23042025_04_21_35_9560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910022","1352910018","1352910015"],"photo_ids_order":["1352910015","1352910018","1352910022"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3dfece707445efa99f2a5e3b254c6cc8.jpg","text":"TemporaryFile(/tmp/multipartBody4579791032022887457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375013370,"filename":"image_23042025_04_21_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/375e8913abd150c769700385a086b462.jpg","text":"TemporaryFile(/tmp/multipartBody2421197678129654823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375013370,"filename":"image_23042025_04_22_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fcb7a28166758460f35d0676ffe5c2a.jpg","text":"TemporaryFile(/tmp/multipartBody6757270934731811479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375013370,"filename":"image_23042025_04_22_45_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910022","file1":"1352910018","file0":"1352910015"},"map_files_photo_id_array":[{"photo_id":"1352910022","filename":"file2"},{"photo_id":"1352910018","filename":"file1"},{"photo_id":"1352910015","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910022":["hashtag1","hashtag2"]},{"1352910018":["hashtag1","hashtag2"]},{"1352910015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910022, 1352910018, 1352910015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.94167733192444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:23:03.120561
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.707040548324585 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:23:32.648975
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_15_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/04/22/image_23042025_04_23_05_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_55_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_35_9562.jpg', '/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_15_9575.jpg', '/home/nano/Desktop/images/23042025/04/22/image_23042025_04_23_05_9584.jpg', '/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_35_9562.jpg
/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_15_9575.jpg
/home/nano/Desktop/images/23042025/04/22/image_23042025_04_23_05_9584.jpg
/home/nano/Desktop/images/23042025/04/22/image_23042025_04_22_55_10570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910054","1352910051","1352910062","1352910059"],"photo_ids_order":["1352910051","1352910054","1352910059","1352910062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e4907a6764bf9ab443b1ef235dc3032.jpg","text":"TemporaryFile(/tmp/multipartBody597424485469638427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375073296,"filename":"image_23042025_04_23_15_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92b2a6707b03301b6ccc9673991a06bb.jpg","text":"TemporaryFile(/tmp/multipartBody2705572532158855536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375073296,"filename":"image_23042025_04_23_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a14dc18267e538bff78ce019c778a6b.jpg","text":"TemporaryFile(/tmp/multipartBody4606113441501227795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375073296,"filename":"image_23042025_04_22_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a635175ffa0698c2d4af287f3fcc5ec.jpg","text":"TemporaryFile(/tmp/multipartBody2556836895562787644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375073296,"filename":"image_23042025_04_23_05_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910059","file1":"1352910054","file0":"1352910051","file3":"1352910062"},"map_files_photo_id_array":[{"photo_id":"1352910059","filename":"file2"},{"photo_id":"1352910054","filename":"file1"},{"photo_id":"1352910051","filename":"file0"},{"photo_id":"1352910062","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910054":["hashtag1","hashtag2"]},{"1352910051":["hashtag1","hashtag2"]},{"1352910062":["hashtag1","hashtag2"]},{"1352910059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910054, 1352910051, 1352910062, 1352910059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.823229551315308 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:24:03.377271
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6634573936462402 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:24:32.743374
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/24/image_23042025_04_24_35_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_45_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/24/image_23042025_04_24_35_10574.jpg', '/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_45_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/24/image_23042025_04_24_35_10574.jpg
/home/nano/Desktop/images/23042025/04/23/image_23042025_04_23_45_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910082","1352910086"],"photo_ids_order":["1352910082","1352910086"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee2387fbe3184f6bc583375661581f1b.jpg","text":"TemporaryFile(/tmp/multipartBody4547372269559410999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375133546,"filename":"image_23042025_04_24_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d194de30784d64f8614259e149a0a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2839279174429760285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375133546,"filename":"image_23042025_04_23_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352910086","file0":"1352910082"},"map_files_photo_id_array":[{"photo_id":"1352910086","filename":"file1"},{"photo_id":"1352910082","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910082":["hashtag1","hashtag2"]},{"1352910086":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910082, 1352910086)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 13.925477743148804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:25:02.281676
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7056920528411865 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:25:31.837495
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_45_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_35_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_25_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_15_9602.jpg', 2), ('/home/nano/Desktop/images/23042025/04/24/image_23042025_04_25_05_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/04/24/image_23042025_04_24_55_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_45_10587.jpg', '/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_35_9564.jpg', '/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_25_10576.jpg', '/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_15_9602.jpg', '/home/nano/Desktop/images/23042025/04/24/image_23042025_04_25_05_9578.jpg', '/home/nano/Desktop/images/23042025/04/24/image_23042025_04_24_55_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_45_10587.jpg
/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_35_9564.jpg
/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_25_10576.jpg
/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_15_9602.jpg
/home/nano/Desktop/images/23042025/04/24/image_23042025_04_25_05_9578.jpg
/home/nano/Desktop/images/23042025/04/24/image_23042025_04_24_55_10589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910118","1352910112","1352910115","1352910120","1352910123","1352910131"],"photo_ids_order":["1352910112","1352910115","1352910118","1352910120","1352910123","1352910131"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2652b79acab0eb6921d7b62ac0a772a8.jpg","text":"TemporaryFile(/tmp/multipartBody6015231194673214418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375192583,"filename":"image_23042025_04_25_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15b0d5a30a85f04c494ad74708ee71af.jpg","text":"TemporaryFile(/tmp/multipartBody5058969570275762826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375192583,"filename":"image_23042025_04_25_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/407c2742b7661212130d97a91f75c4be.jpg","text":"TemporaryFile(/tmp/multipartBody7130794011103141963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375192583,"filename":"image_23042025_04_25_35_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/310277a2a054da4bb8d5b836ffff86b5.jpg","text":"TemporaryFile(/tmp/multipartBody4095984890716546451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375192583,"filename":"image_23042025_04_25_15_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55858ac51f44102fb9fff9c4fbd6f86f.jpg","text":"TemporaryFile(/tmp/multipartBody2914091150545964223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375192583,"filename":"image_23042025_04_25_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6715fdaf1c588532ba57b14ea15e7b31.jpg","text":"TemporaryFile(/tmp/multipartBody761113250636449229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375192583,"filename":"image_23042025_04_24_55_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910118","file1":"1352910115","file0":"1352910112","file4":"1352910123","file5":"1352910131","file3":"1352910120"},"map_files_photo_id_array":[{"photo_id":"1352910131","filename":"file5"},{"photo_id":"1352910118","filename":"file2"},{"photo_id":"1352910123","filename":"file4"},{"photo_id":"1352910115","filename":"file1"},{"photo_id":"1352910112","filename":"file0"},{"photo_id":"1352910120","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910118":["hashtag1","hashtag2"]},{"1352910112":["hashtag1","hashtag2"]},{"1352910115":["hashtag1","hashtag2"]},{"1352910120":["hashtag1","hashtag2"]},{"1352910123":["hashtag1","hashtag2"]},{"1352910131":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910118, 1352910112, 1352910115, 1352910120, 1352910123, 1352910131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.84152603149414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:26:31.941302
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_25_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_15_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/04/25/image_23042025_04_26_05_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_35_10570.jpg', '/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_25_9575.jpg', '/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_15_9564.jpg', '/home/nano/Desktop/images/23042025/04/25/image_23042025_04_26_05_10588.jpg', '/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_35_10570.jpg
/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_25_9575.jpg
/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_15_9564.jpg
/home/nano/Desktop/images/23042025/04/25/image_23042025_04_26_05_10588.jpg
/home/nano/Desktop/images/23042025/04/25/image_23042025_04_25_55_9560.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910514","1352910457","1352910396","1352910486","1352910426"],"photo_ids_order":["1352910396","1352910426","1352910457","1352910486","1352910514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/669e7cd009c6abd837b370e5adb0a6e7.jpg","text":"TemporaryFile(/tmp/multipartBody8214757674202066572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375252746,"filename":"image_23042025_04_25_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/941a7dda80bf0f9b37aa254a1318472f.jpg","text":"TemporaryFile(/tmp/multipartBody8571766729967574036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375252746,"filename":"image_23042025_04_26_15_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe4b7712e29f8e1c1fdaf18399c48127.jpg","text":"TemporaryFile(/tmp/multipartBody726131241967685556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375252746,"filename":"image_23042025_04_26_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3a9c5ff979f3103e94f9f8cab4a4433.jpg","text":"TemporaryFile(/tmp/multipartBody6139801179255026622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375252746,"filename":"image_23042025_04_26_05_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c88808841bc1e539bb0eeefe4558fd2c.jpg","text":"TemporaryFile(/tmp/multipartBody6578476002231945634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375252746,"filename":"image_23042025_04_26_25_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910457","file1":"1352910426","file0":"1352910396","file4":"1352910514","file3":"1352910486"},"map_files_photo_id_array":[{"photo_id":"1352910457","filename":"file2"},{"photo_id":"1352910514","filename":"file4"},{"photo_id":"1352910426","filename":"file1"},{"photo_id":"1352910396","filename":"file0"},{"photo_id":"1352910486","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910514":["hashtag1","hashtag2"]},{"1352910457":["hashtag1","hashtag2"]},{"1352910396":["hashtag1","hashtag2"]},{"1352910486":["hashtag1","hashtag2"]},{"1352910426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910514, 1352910457, 1352910396, 1352910486, 1352910426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.887725591659546 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:27:02.530184
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9819822311401367 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:27:32.024106
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/27/image_23042025_04_27_35_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_45_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/27/image_23042025_04_27_35_9576.jpg', '/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_45_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/27/image_23042025_04_27_35_9576.jpg
/home/nano/Desktop/images/23042025/04/26/image_23042025_04_26_45_9562.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910762","1352910750"],"photo_ids_order":["1352910750","1352910762"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7f3b5d1b783f4b84293b0ed3be8769e.jpg","text":"TemporaryFile(/tmp/multipartBody4106898821569220630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375312772,"filename":"image_23042025_04_26_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f67888dd2202180d7d9700e063a222b2.jpg","text":"TemporaryFile(/tmp/multipartBody7622189969210250245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375312772,"filename":"image_23042025_04_27_35_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352910762","file0":"1352910750"},"map_files_photo_id_array":[{"photo_id":"1352910762","filename":"file1"},{"photo_id":"1352910750","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910762":["hashtag1","hashtag2"]},{"1352910750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910762, 1352910750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.223665952682495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:28:02.539687
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6694390773773193 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:28:32.142099
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/27/image_23042025_04_27_45_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/27/image_23042025_04_27_45_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/27/image_23042025_04_27_45_10571.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910818"],"photo_id":"1352910818","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08af2797fa7f8dd7d04711a965d24915.jpg","text":"TemporaryFile(/tmp/multipartBody6037623641922752889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375372794,"filename":"image_23042025_04_27_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352910818"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352910818"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.681451559066772 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:29:03.102156
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7444519996643066 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:29:32.224291
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/29/image_23042025_04_29_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/28/image_23042025_04_29_05_9585.jpg', 2), ('/home/nano/Desktop/images/23042025/04/28/image_23042025_04_28_55_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/29/image_23042025_04_29_25_9561.jpg', '/home/nano/Desktop/images/23042025/04/28/image_23042025_04_29_05_9585.jpg', '/home/nano/Desktop/images/23042025/04/28/image_23042025_04_28_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/29/image_23042025_04_29_25_9561.jpg
/home/nano/Desktop/images/23042025/04/28/image_23042025_04_29_05_9585.jpg
/home/nano/Desktop/images/23042025/04/28/image_23042025_04_28_55_10570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910841","1352910859","1352910846"],"photo_ids_order":["1352910841","1352910846","1352910859"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d7ba717c06ffc2cbfd7b240afa97d82.jpg","text":"TemporaryFile(/tmp/multipartBody1294398980712209531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375433040,"filename":"image_23042025_04_29_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/668d9c3c006e19ca17b082ca6c9f9ef6.jpg","text":"TemporaryFile(/tmp/multipartBody5373142980994362141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375433040,"filename":"image_23042025_04_28_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01270e5a0a28971d89f7851ad2ae7f0d.jpg","text":"TemporaryFile(/tmp/multipartBody6956093164019202566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375433040,"filename":"image_23042025_04_29_05_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910859","file1":"1352910846","file0":"1352910841"},"map_files_photo_id_array":[{"photo_id":"1352910859","filename":"file2"},{"photo_id":"1352910846","filename":"file1"},{"photo_id":"1352910841","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910841":["hashtag1","hashtag2"]},{"1352910859":["hashtag1","hashtag2"]},{"1352910846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910841, 1352910859, 1352910846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.228736877441406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:30:02.558127
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6515586376190186 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:30:32.331945
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/30/image_23042025_04_30_45_10585.jpg', 2), ('/home/nano/Desktop/images/23042025/04/29/image_23042025_04_29_35_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/30/image_23042025_04_30_45_10585.jpg', '/home/nano/Desktop/images/23042025/04/29/image_23042025_04_29_35_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/30/image_23042025_04_30_45_10585.jpg
/home/nano/Desktop/images/23042025/04/29/image_23042025_04_29_35_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910872","1352910874"],"photo_ids_order":["1352910872","1352910874"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9115ac6b1a82bf8542f2ad676b2bcf48.jpg","text":"TemporaryFile(/tmp/multipartBody6251924662798775385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375493103,"filename":"image_23042025_04_30_45_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f07d779b64289943cc2b0c149ba71023.jpg","text":"TemporaryFile(/tmp/multipartBody8599452902032711035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375493103,"filename":"image_23042025_04_29_35_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352910874","file0":"1352910872"},"map_files_photo_id_array":[{"photo_id":"1352910874","filename":"file1"},{"photo_id":"1352910872","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910872":["hashtag1","hashtag2"]},{"1352910874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910872, 1352910874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.968190908432007 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:31:02.853307
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7114355564117432 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:31:32.435662
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_15_10599.jpg', 2), ('/home/nano/Desktop/images/23042025/04/30/image_23042025_04_31_05_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/04/30/image_23042025_04_30_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_45_9563.jpg', '/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_25_9561.jpg', '/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_15_10599.jpg', '/home/nano/Desktop/images/23042025/04/30/image_23042025_04_31_05_9571.jpg', '/home/nano/Desktop/images/23042025/04/30/image_23042025_04_30_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_45_9563.jpg
/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_25_9561.jpg
/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_15_10599.jpg
/home/nano/Desktop/images/23042025/04/30/image_23042025_04_31_05_9571.jpg
/home/nano/Desktop/images/23042025/04/30/image_23042025_04_30_55_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910910","1352910897","1352910912","1352910914","1352910905"],"photo_ids_order":["1352910897","1352910905","1352910910","1352910912","1352910914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81d76f781e2db5788d37c5d39d8ddc86.jpg","text":"TemporaryFile(/tmp/multipartBody2290443431139681186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375553137,"filename":"image_23042025_04_31_15_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e0349e8891f3108df13769eaf69d33e.jpg","text":"TemporaryFile(/tmp/multipartBody7853084830443125309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375553137,"filename":"image_23042025_04_31_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da8589d11e78fb66919ed6c27c7ba6ed.jpg","text":"TemporaryFile(/tmp/multipartBody1745621438515082642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375553137,"filename":"image_23042025_04_31_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e23b5db7ea7904c515fb76704b45ae41.jpg","text":"TemporaryFile(/tmp/multipartBody5048414997387482920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375553137,"filename":"image_23042025_04_30_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efaae711c7a5d9725d25dee038d772ae.jpg","text":"TemporaryFile(/tmp/multipartBody5694444238802580520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375553137,"filename":"image_23042025_04_31_25_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910910","file1":"1352910905","file0":"1352910897","file4":"1352910914","file3":"1352910912"},"map_files_photo_id_array":[{"photo_id":"1352910910","filename":"file2"},{"photo_id":"1352910914","filename":"file4"},{"photo_id":"1352910905","filename":"file1"},{"photo_id":"1352910897","filename":"file0"},{"photo_id":"1352910912","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910910":["hashtag1","hashtag2"]},{"1352910897":["hashtag1","hashtag2"]},{"1352910912":["hashtag1","hashtag2"]},{"1352910914":["hashtag1","hashtag2"]},{"1352910905":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910910, 1352910897, 1352910912, 1352910914, 1352910905)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 34.71957039833069 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:32:32.524519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6238574981689453 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:33:03.066493
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6028938293457031 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:33:32.633250
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_35_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_15_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_55_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_35_10575.jpg', '/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_25_9564.jpg', '/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_15_9580.jpg', '/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_55_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_35_10575.jpg
/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_25_9564.jpg
/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_15_9580.jpg
/home/nano/Desktop/images/23042025/04/31/image_23042025_04_31_55_10572.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910934","1352910937","1352910944","1352910941"],"photo_ids_order":["1352910934","1352910937","1352910941","1352910944"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f00b7d19d46c7e00dc937ed3a17556d0.jpg","text":"TemporaryFile(/tmp/multipartBody1981427255249127919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375673430,"filename":"image_23042025_04_33_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b48df211fdd93e7fe3adcc508e22a84.jpg","text":"TemporaryFile(/tmp/multipartBody5334758187850842879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375673430,"filename":"image_23042025_04_33_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67f30d360735b89aecc228d65dc3f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody6848550560123374656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375673430,"filename":"image_23042025_04_31_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ec9937b390b233acee03ca233e4bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody4214103221798448151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375673430,"filename":"image_23042025_04_33_15_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352910941","file1":"1352910937","file0":"1352910934","file3":"1352910944"},"map_files_photo_id_array":[{"photo_id":"1352910941","filename":"file2"},{"photo_id":"1352910937","filename":"file1"},{"photo_id":"1352910934","filename":"file0"},{"photo_id":"1352910944","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910934":["hashtag1","hashtag2"]},{"1352910937":["hashtag1","hashtag2"]},{"1352910944":["hashtag1","hashtag2"]},{"1352910941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910934, 1352910937, 1352910944, 1352910941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 21.993841648101807 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:34:03.313957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5549249649047852 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:34:32.802005
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/34/image_23042025_04_34_45_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_45_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/34/image_23042025_04_34_45_10589.jpg', '/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_45_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/34/image_23042025_04_34_45_10589.jpg
/home/nano/Desktop/images/23042025/04/33/image_23042025_04_33_45_9564.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910961","1352910964"],"photo_ids_order":["1352910961","1352910964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00dcd2f039766d9b57a5f38f85517af7.jpg","text":"TemporaryFile(/tmp/multipartBody5461040396633357793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375733527,"filename":"image_23042025_04_34_45_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9336a8660cd4220539944b2d7d0a1706.jpg","text":"TemporaryFile(/tmp/multipartBody2487976705693332417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375733527,"filename":"image_23042025_04_33_45_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352910964","file0":"1352910961"},"map_files_photo_id_array":[{"photo_id":"1352910964","filename":"file1"},{"photo_id":"1352910961","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352910961":["hashtag1","hashtag2"]},{"1352910964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352910961, 1352910964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.128334999084473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:35:02.465923
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.998800039291382 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:35:31.921122
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/34/image_23042025_04_34_55_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/34/image_23042025_04_34_55_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/34/image_23042025_04_34_55_9565.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352910980"],"photo_id":"1352910980","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6f6665bcebc16a674705ded3f9936e7.jpg","text":"TemporaryFile(/tmp/multipartBody5765919601905678682asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375792597,"filename":"image_23042025_04_34_55_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352910980"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352910980"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.08510446548462 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:36:02.336623
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5911357402801514 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:36:32.028059
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_45_10583.jpg', 2), ('/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_25_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_15_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/04/35/image_23042025_04_35_35_10582.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_45_10583.jpg', '/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_25_9576.jpg', '/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_15_10596.jpg', '/home/nano/Desktop/images/23042025/04/35/image_23042025_04_35_35_10582.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_45_10583.jpg
/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_25_9576.jpg
/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_15_10596.jpg
/home/nano/Desktop/images/23042025/04/35/image_23042025_04_35_35_10582.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911008","1352911002","1352911005","1352910998"],"photo_ids_order":["1352910998","1352911002","1352911005","1352911008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e729c40ca4f79feed3660f0cb303242.jpg","text":"TemporaryFile(/tmp/multipartBody2683577888354422253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375852909,"filename":"image_23042025_04_35_35_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8a7605d59d7136c5333dcb0cd8186f1.jpg","text":"TemporaryFile(/tmp/multipartBody1358068000918804045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375852909,"filename":"image_23042025_04_36_25_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce66ca49fd93a2a4bdfade94ed103748.jpg","text":"TemporaryFile(/tmp/multipartBody7779004069816436200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375852909,"filename":"image_23042025_04_36_15_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4558d66b0d0d2750cd2f0999b6b1a1c.jpg","text":"TemporaryFile(/tmp/multipartBody2083896218620937410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375852909,"filename":"image_23042025_04_36_45_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911005","file1":"1352911002","file0":"1352910998","file3":"1352911008"},"map_files_photo_id_array":[{"photo_id":"1352911005","filename":"file2"},{"photo_id":"1352911002","filename":"file1"},{"photo_id":"1352910998","filename":"file0"},{"photo_id":"1352911008","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911008":["hashtag1","hashtag2"]},{"1352911002":["hashtag1","hashtag2"]},{"1352911005":["hashtag1","hashtag2"]},{"1352910998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911008, 1352911002, 1352911005, 1352910998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 21.989611864089966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:37:02.511976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5857057571411133 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:37:32.125173
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_55_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_55_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/36/image_23042025_04_36_55_9588.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911019"],"photo_id":"1352911019","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b979eec38fdd78fb696e4d45aaa1fed.jpg","text":"TemporaryFile(/tmp/multipartBody9204789725389910030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375912732,"filename":"image_23042025_04_36_55_9588.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352911019"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352911019"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.209509134292603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:38:02.478227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5590837001800537 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:38:32.239648
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_25_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_15_10603.jpg', 2), ('/home/nano/Desktop/images/23042025/04/37/image_23042025_04_38_05_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/04/37/image_23042025_04_37_15_9575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_25_9579.jpg', '/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_15_10603.jpg', '/home/nano/Desktop/images/23042025/04/37/image_23042025_04_38_05_9578.jpg', '/home/nano/Desktop/images/23042025/04/37/image_23042025_04_37_15_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_25_9579.jpg
/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_15_10603.jpg
/home/nano/Desktop/images/23042025/04/37/image_23042025_04_38_05_9578.jpg
/home/nano/Desktop/images/23042025/04/37/image_23042025_04_37_15_9575.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911039","1352911046","1352911051","1352911042"],"photo_ids_order":["1352911039","1352911042","1352911046","1352911051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edb53711eb278d803c9554f485115fe1.jpg","text":"TemporaryFile(/tmp/multipartBody3826023313346890808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375973262,"filename":"image_23042025_04_38_25_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/900700a971f34f3fd4f78a69fb86c668.jpg","text":"TemporaryFile(/tmp/multipartBody8330627877655099706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375973262,"filename":"image_23042025_04_38_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e83bcfea136ca28649f820aa0c4da1ff.jpg","text":"TemporaryFile(/tmp/multipartBody6278897871487866155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375973262,"filename":"image_23042025_04_37_15_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03ea42853eab1c175d6f504661f93014.jpg","text":"TemporaryFile(/tmp/multipartBody3482063034134144084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745375973262,"filename":"image_23042025_04_38_15_10603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911046","file1":"1352911042","file0":"1352911039","file3":"1352911051"},"map_files_photo_id_array":[{"photo_id":"1352911046","filename":"file2"},{"photo_id":"1352911042","filename":"file1"},{"photo_id":"1352911039","filename":"file0"},{"photo_id":"1352911051","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911039":["hashtag1","hashtag2"]},{"1352911046":["hashtag1","hashtag2"]},{"1352911051":["hashtag1","hashtag2"]},{"1352911042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911039, 1352911046, 1352911051, 1352911042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.698812246322632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:39:03.081315
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5167515277862549 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:39:32.337923
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_45_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/04/38/image_23042025_04_39_05_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_55_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_45_10671.jpg', '/home/nano/Desktop/images/23042025/04/38/image_23042025_04_39_05_9705.jpg', '/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_45_10671.jpg
/home/nano/Desktop/images/23042025/04/38/image_23042025_04_39_05_9705.jpg
/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_55_9669.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9645092487335205 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:40:02.715735
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_45_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/04/38/image_23042025_04_39_05_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_55_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_45_10671.jpg', '/home/nano/Desktop/images/23042025/04/38/image_23042025_04_39_05_9705.jpg', '/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_55_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_45_10671.jpg
/home/nano/Desktop/images/23042025/04/38/image_23042025_04_39_05_9705.jpg
/home/nano/Desktop/images/23042025/04/38/image_23042025_04_38_55_9669.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911101","1352911091","1352911099"],"photo_ids_order":["1352911091","1352911099","1352911101"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24fcc36d73a3d27fe29fb2c909af43f6.jpg","text":"TemporaryFile(/tmp/multipartBody2413527452334649014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376063665,"filename":"image_23042025_04_38_55_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/961b879767b3de8f41a96e17e15ed42e.jpg","text":"TemporaryFile(/tmp/multipartBody6990063514679202117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376063665,"filename":"image_23042025_04_39_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6344c480f0f8aa0681cc12431df20db.jpg","text":"TemporaryFile(/tmp/multipartBody2317038815283783942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376063665,"filename":"image_23042025_04_39_05_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911101","file1":"1352911099","file0":"1352911091"},"map_files_photo_id_array":[{"photo_id":"1352911101","filename":"file2"},{"photo_id":"1352911099","filename":"file1"},{"photo_id":"1352911091","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911101":["hashtag1","hashtag2"]},{"1352911091":["hashtag1","hashtag2"]},{"1352911099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911101, 1352911091, 1352911099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 17.661620140075684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:40:32.416715
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_55_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_55_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/39/image_23042025_04_39_55_9666.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911106"],"photo_id":"1352911106","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31b6d34c36dcd5bd68ae516b2aea61fc.jpg","text":"TemporaryFile(/tmp/multipartBody2007035228073914911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376093156,"filename":"image_23042025_04_39_55_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352911106"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352911106"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.02685809135437 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:41:03.069328
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.609036922454834 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:41:32.521086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6943163871765137 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:42:02.960226
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.735656976699829 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:42:32.609688
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/41/image_23042025_04_42_05_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/04/40/image_23042025_04_40_55_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/41/image_23042025_04_42_05_9691.jpg', '/home/nano/Desktop/images/23042025/04/40/image_23042025_04_40_55_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/41/image_23042025_04_42_05_9691.jpg
/home/nano/Desktop/images/23042025/04/40/image_23042025_04_40_55_10669.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911153","1352911156"],"photo_ids_order":["1352911153","1352911156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b859a837b9831c69108ff7dd2c50ccd6.jpg","text":"TemporaryFile(/tmp/multipartBody2414468419527713933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376213367,"filename":"image_23042025_04_42_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5797c1ea504954df211385e23e9cb1f0.jpg","text":"TemporaryFile(/tmp/multipartBody1006373297302801958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376213367,"filename":"image_23042025_04_40_55_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352911156","file0":"1352911153"},"map_files_photo_id_array":[{"photo_id":"1352911156","filename":"file1"},{"photo_id":"1352911153","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911153":["hashtag1","hashtag2"]},{"1352911156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911153, 1352911156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.074095726013184 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:43:03.166451
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.534172773361206 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:43:32.753809
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/42/image_23042025_04_42_25_10688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/42/image_23042025_04_42_25_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/42/image_23042025_04_42_25_10688.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911177"],"photo_id":"1352911177","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f15c5db1cef086061e16764acf19cf95.jpg","text":"TemporaryFile(/tmp/multipartBody5718721510176724272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376273533,"filename":"image_23042025_04_42_25_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352911177"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352911177"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.556034564971924 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:44:02.421368
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6446537971496582 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:44:31.885745
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_45_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_35_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/04/43/image_23042025_04_44_05_10727.jpg', 2), ('/home/nano/Desktop/images/23042025/04/43/image_23042025_04_43_45_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_45_9683.jpg', '/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_35_10712.jpg', '/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_25_9704.jpg', '/home/nano/Desktop/images/23042025/04/43/image_23042025_04_44_05_10727.jpg', '/home/nano/Desktop/images/23042025/04/43/image_23042025_04_43_45_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_45_9683.jpg
/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_35_10712.jpg
/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_25_9704.jpg
/home/nano/Desktop/images/23042025/04/43/image_23042025_04_44_05_10727.jpg
/home/nano/Desktop/images/23042025/04/43/image_23042025_04_43_45_9675.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911201","1352911212","1352911196","1352911205","1352911208"],"photo_ids_order":["1352911196","1352911201","1352911205","1352911208","1352911212"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba7ce90a0a8cee18333028952acfc80c.jpg","text":"TemporaryFile(/tmp/multipartBody3199270619994268183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376333341,"filename":"image_23042025_04_44_35_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df526c77292af8ae1f9fb07375bf5625.jpg","text":"TemporaryFile(/tmp/multipartBody3777726954898463716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376333341,"filename":"image_23042025_04_43_45_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fc064b5f52b96087b886748db3b8a06.jpg","text":"TemporaryFile(/tmp/multipartBody95071603719869475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376333341,"filename":"image_23042025_04_44_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74a4f4d243caf415af5c5be282c11670.jpg","text":"TemporaryFile(/tmp/multipartBody8726959801832214419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376333341,"filename":"image_23042025_04_44_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86f2a603311ab6d4972ba7e014a21c45.jpg","text":"TemporaryFile(/tmp/multipartBody7083609815176440007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376333341,"filename":"image_23042025_04_44_05_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911205","file1":"1352911201","file0":"1352911196","file4":"1352911212","file3":"1352911208"},"map_files_photo_id_array":[{"photo_id":"1352911205","filename":"file2"},{"photo_id":"1352911212","filename":"file4"},{"photo_id":"1352911201","filename":"file1"},{"photo_id":"1352911196","filename":"file0"},{"photo_id":"1352911208","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911201":["hashtag1","hashtag2"]},{"1352911212":["hashtag1","hashtag2"]},{"1352911196":["hashtag1","hashtag2"]},{"1352911205":["hashtag1","hashtag2"]},{"1352911208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911201, 1352911212, 1352911196, 1352911205, 1352911208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.902284145355225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:45:02.351175
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6530518531799316 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:45:31.989620
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_35_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_25_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_15_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/04/44/image_23042025_04_45_05_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_35_9710.jpg', '/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_25_9733.jpg', '/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_15_10730.jpg', '/home/nano/Desktop/images/23042025/04/44/image_23042025_04_45_05_9729.jpg', '/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_35_9710.jpg
/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_25_9733.jpg
/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_15_10730.jpg
/home/nano/Desktop/images/23042025/04/44/image_23042025_04_45_05_9729.jpg
/home/nano/Desktop/images/23042025/04/44/image_23042025_04_44_55_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911224","1352911221","1352911231","1352911234","1352911228"],"photo_ids_order":["1352911221","1352911224","1352911228","1352911231","1352911234"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6ea02563e180a662aafe1e8bc3f9706.jpg","text":"TemporaryFile(/tmp/multipartBody3118803012667650174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376393379,"filename":"image_23042025_04_45_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cd73300718983307ef13e367cbb2216.jpg","text":"TemporaryFile(/tmp/multipartBody6556117932148933355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376393379,"filename":"image_23042025_04_45_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e8f1aa63e2fff5413fa5b674ad81174.jpg","text":"TemporaryFile(/tmp/multipartBody8430663548964152557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376393379,"filename":"image_23042025_04_45_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df04a407b688ec4a5dd2f1ae3593b807.jpg","text":"TemporaryFile(/tmp/multipartBody5333178372469612464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376393379,"filename":"image_23042025_04_44_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5e051f2401905bb67809ec0b4e882bd.jpg","text":"TemporaryFile(/tmp/multipartBody6109071737362438820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376393379,"filename":"image_23042025_04_45_15_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911228","file1":"1352911224","file0":"1352911221","file4":"1352911234","file3":"1352911231"},"map_files_photo_id_array":[{"photo_id":"1352911228","filename":"file2"},{"photo_id":"1352911234","filename":"file4"},{"photo_id":"1352911224","filename":"file1"},{"photo_id":"1352911221","filename":"file0"},{"photo_id":"1352911231","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911224":["hashtag1","hashtag2"]},{"1352911221":["hashtag1","hashtag2"]},{"1352911231":["hashtag1","hashtag2"]},{"1352911234":["hashtag1","hashtag2"]},{"1352911228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911224, 1352911221, 1352911231, 1352911234, 1352911228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.82340431213379 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:46:02.449713
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6121342182159424 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:46:32.100973
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_45_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_35_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_25_10741.jpg', 2), ('/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_15_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_45_10726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_45_9713.jpg', '/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_35_9711.jpg', '/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_25_10741.jpg', '/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_15_9729.jpg', '/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_45_10726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_45_9713.jpg
/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_35_9711.jpg
/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_25_10741.jpg
/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_15_9729.jpg
/home/nano/Desktop/images/23042025/04/45/image_23042025_04_45_45_10726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911260","1352911263","1352911251","1352911247","1352911244"],"photo_ids_order":["1352911244","1352911247","1352911251","1352911260","1352911263"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1aa757a62971f8731f316644a3bf6911.jpg","text":"TemporaryFile(/tmp/multipartBody5669655793697812588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376453327,"filename":"image_23042025_04_46_15_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0786f6acfad08fee7bbf379fb41d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody7882349085938233058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376453327,"filename":"image_23042025_04_45_45_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9545238e24ab069d3530167ed5ec7946.jpg","text":"TemporaryFile(/tmp/multipartBody1695615454999120207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376453327,"filename":"image_23042025_04_46_25_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/371dc6ea02006585bbb0b636c8ad19c5.jpg","text":"TemporaryFile(/tmp/multipartBody6433518410360640640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376453327,"filename":"image_23042025_04_46_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b35bb2daed05838dcdfed543593d6a87.jpg","text":"TemporaryFile(/tmp/multipartBody7197685699629856302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376453327,"filename":"image_23042025_04_46_45_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911251","file1":"1352911247","file0":"1352911244","file4":"1352911263","file3":"1352911260"},"map_files_photo_id_array":[{"photo_id":"1352911251","filename":"file2"},{"photo_id":"1352911263","filename":"file4"},{"photo_id":"1352911247","filename":"file1"},{"photo_id":"1352911244","filename":"file0"},{"photo_id":"1352911260","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911260":["hashtag1","hashtag2"]},{"1352911263":["hashtag1","hashtag2"]},{"1352911251":["hashtag1","hashtag2"]},{"1352911247":["hashtag1","hashtag2"]},{"1352911244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911260, 1352911263, 1352911251, 1352911247, 1352911244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 33.28975057601929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:47:32.166103
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_45_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_35_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_25_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_15_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/04/46/image_23042025_04_47_05_10735.jpg', 2), ('/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_54_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_45_9711.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_35_10724.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_25_9713.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_15_9713.jpg', '/home/nano/Desktop/images/23042025/04/46/image_23042025_04_47_05_10735.jpg', '/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_54_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_45_9711.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_35_10724.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_25_9713.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_15_9713.jpg
/home/nano/Desktop/images/23042025/04/46/image_23042025_04_47_05_10735.jpg
/home/nano/Desktop/images/23042025/04/46/image_23042025_04_46_54_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911272","1352911268","1352911282","1352911276","1352911285","1352911279"],"photo_ids_order":["1352911268","1352911272","1352911276","1352911279","1352911282","1352911285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3035b80561d2692cae09bc8b5c807e9.jpg","text":"TemporaryFile(/tmp/multipartBody3652746789198722515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376513782,"filename":"image_23042025_04_47_35_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e91147874df2f8897b559b5c8ed2e2b.jpg","text":"TemporaryFile(/tmp/multipartBody8499975316509718910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376513782,"filename":"image_23042025_04_47_45_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6de8c05abdbba8a5523b04663a9e19d2.jpg","text":"TemporaryFile(/tmp/multipartBody6069113077759147133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376513782,"filename":"image_23042025_04_47_05_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/319571ef822ab2a02f2d0a8bbf14c5d4.jpg","text":"TemporaryFile(/tmp/multipartBody111022703519602379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376513782,"filename":"image_23042025_04_47_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec5be21a842feb3d5c0a85a6057a9c68.jpg","text":"TemporaryFile(/tmp/multipartBody4084068572132807684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376513782,"filename":"image_23042025_04_46_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/faba5f1b0d9cd472009ee427dfdbc96e.jpg","text":"TemporaryFile(/tmp/multipartBody8278943413639019579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376513782,"filename":"image_23042025_04_47_15_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911276","file1":"1352911272","file0":"1352911268","file4":"1352911282","file5":"1352911285","file3":"1352911279"},"map_files_photo_id_array":[{"photo_id":"1352911285","filename":"file5"},{"photo_id":"1352911276","filename":"file2"},{"photo_id":"1352911282","filename":"file4"},{"photo_id":"1352911272","filename":"file1"},{"photo_id":"1352911268","filename":"file0"},{"photo_id":"1352911279","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911272":["hashtag1","hashtag2"]},{"1352911268":["hashtag1","hashtag2"]},{"1352911282":["hashtag1","hashtag2"]},{"1352911276":["hashtag1","hashtag2"]},{"1352911285":["hashtag1","hashtag2"]},{"1352911279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911272, 1352911268, 1352911282, 1352911276, 1352911285, 1352911279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.572923183441162 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:48:32.278994
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_45_10723.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_35_9734.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_25_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_15_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_48_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_55_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_45_10723.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_35_9734.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_25_9715.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_15_10752.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_48_05_9720.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_55_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_45_10723.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_35_9734.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_25_9715.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_15_10752.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_48_05_9720.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_55_9712.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1220512390136719 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:49:03.156230
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_45_10723.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_35_9734.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_25_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_15_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_48_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_55_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_45_10723.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_35_9734.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_25_9715.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_15_10752.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_48_05_9720.jpg', '/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_55_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_45_10723.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_35_9734.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_25_9715.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_15_10752.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_48_05_9720.jpg
/home/nano/Desktop/images/23042025/04/47/image_23042025_04_47_55_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911650","1352911572","1352911676","1352911598","1352911709","1352911624"],"photo_ids_order":["1352911572","1352911598","1352911624","1352911650","1352911676","1352911709"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/761f120a010409121e832df76bf0f1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4425348868968107046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376604460,"filename":"image_23042025_04_48_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/398bb228c48ff0038e3f0f164e1f311d.jpg","text":"TemporaryFile(/tmp/multipartBody2329144450380566063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376604460,"filename":"image_23042025_04_48_45_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cf13bc3ec514ae4fdfdb218e87431ef.jpg","text":"TemporaryFile(/tmp/multipartBody3985484086952935634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376604460,"filename":"image_23042025_04_48_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb945f9713e95cf69101f154ec37284f.jpg","text":"TemporaryFile(/tmp/multipartBody8861069425436131881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376604460,"filename":"image_23042025_04_48_35_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/617a602f4d59b571adf26c77f772d989.jpg","text":"TemporaryFile(/tmp/multipartBody5368601038779181054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376604460,"filename":"image_23042025_04_47_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a38cc55ad6cdd72a66e5c48eb0f7cf8.jpg","text":"TemporaryFile(/tmp/multipartBody1029460080294688214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376604460,"filename":"image_23042025_04_48_25_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911624","file1":"1352911598","file0":"1352911572","file4":"1352911676","file5":"1352911709","file3":"1352911650"},"map_files_photo_id_array":[{"photo_id":"1352911709","filename":"file5"},{"photo_id":"1352911624","filename":"file2"},{"photo_id":"1352911676","filename":"file4"},{"photo_id":"1352911598","filename":"file1"},{"photo_id":"1352911572","filename":"file0"},{"photo_id":"1352911650","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911650":["hashtag1","hashtag2"]},{"1352911572":["hashtag1","hashtag2"]},{"1352911676":["hashtag1","hashtag2"]},{"1352911598":["hashtag1","hashtag2"]},{"1352911709":["hashtag1","hashtag2"]},{"1352911624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911650, 1352911572, 1352911676, 1352911598, 1352911709, 1352911624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15769934654236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:50:02.755559
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_25_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_15_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_49_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_55_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_25_10722.jpg', '/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_15_9721.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_49_05_9719.jpg', '/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_55_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_25_10722.jpg
/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_15_9721.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_49_05_9719.jpg
/home/nano/Desktop/images/23042025/04/48/image_23042025_04_48_55_9714.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352911976","1352911955","1352911940","1352911954"],"photo_ids_order":["1352911940","1352911954","1352911955","1352911976"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33f150660dc18ed75dd17fe478d62091.jpg","text":"TemporaryFile(/tmp/multipartBody4610380777953443478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376664115,"filename":"image_23042025_04_48_55_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/131413dc6cd35b045b2ecda37c6e0cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8694245947518591909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376664115,"filename":"image_23042025_04_49_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae7532a688bbe15134a75282d2206caa.jpg","text":"TemporaryFile(/tmp/multipartBody8264838019869368132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376664115,"filename":"image_23042025_04_49_25_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a36514a46c552afb81ed5d596f415fd.jpg","text":"TemporaryFile(/tmp/multipartBody3562159134577090641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376664115,"filename":"image_23042025_04_49_15_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352911955","file1":"1352911954","file0":"1352911940","file3":"1352911976"},"map_files_photo_id_array":[{"photo_id":"1352911955","filename":"file2"},{"photo_id":"1352911954","filename":"file1"},{"photo_id":"1352911940","filename":"file0"},{"photo_id":"1352911976","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352911976":["hashtag1","hashtag2"]},{"1352911955":["hashtag1","hashtag2"]},{"1352911940":["hashtag1","hashtag2"]},{"1352911954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352911976, 1352911955, 1352911940, 1352911954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.91467785835266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:50:32.547893
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_45_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_35_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_15_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/04/49/image_23042025_04_50_05_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_55_10685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_45_9717.jpg', '/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_35_10672.jpg', '/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_25_9709.jpg', '/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_15_9735.jpg', '/home/nano/Desktop/images/23042025/04/49/image_23042025_04_50_05_9715.jpg', '/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_55_10685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_45_9717.jpg
/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_35_10672.jpg
/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_25_9709.jpg
/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_15_9735.jpg
/home/nano/Desktop/images/23042025/04/49/image_23042025_04_50_05_9715.jpg
/home/nano/Desktop/images/23042025/04/49/image_23042025_04_49_55_10685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912049","1352911992","1352912033","1352912027","1352911984","1352912023"],"photo_ids_order":["1352911984","1352911992","1352912023","1352912027","1352912033","1352912049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d12fcfdbaa85ae2177c3dde2928d1a9a.jpg","text":"TemporaryFile(/tmp/multipartBody5110197458019155384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376693823,"filename":"image_23042025_04_49_55_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7131b351a3b6a2e672022d9162f10b0.jpg","text":"TemporaryFile(/tmp/multipartBody386378896324666133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376693823,"filename":"image_23042025_04_50_35_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f43139f566cf2802bd684f44211cb7de.jpg","text":"TemporaryFile(/tmp/multipartBody5519349190841234773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376693823,"filename":"image_23042025_04_50_05_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1d8dcd6a7c5b438e8a12facf48933c4.jpg","text":"TemporaryFile(/tmp/multipartBody2189678397811221404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376693823,"filename":"image_23042025_04_50_15_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18e31aa5a8c32eba53c949ca45f121a4.jpg","text":"TemporaryFile(/tmp/multipartBody9031665902676569413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376693823,"filename":"image_23042025_04_50_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c350e5277730e932fc91cb77bc6aa5a.jpg","text":"TemporaryFile(/tmp/multipartBody4698025941239223530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376693823,"filename":"image_23042025_04_50_25_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912023","file1":"1352911992","file0":"1352911984","file4":"1352912033","file5":"1352912049","file3":"1352912027"},"map_files_photo_id_array":[{"photo_id":"1352912049","filename":"file5"},{"photo_id":"1352912023","filename":"file2"},{"photo_id":"1352912033","filename":"file4"},{"photo_id":"1352911992","filename":"file1"},{"photo_id":"1352911984","filename":"file0"},{"photo_id":"1352912027","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912049":["hashtag1","hashtag2"]},{"1352911992":["hashtag1","hashtag2"]},{"1352912033":["hashtag1","hashtag2"]},{"1352912027":["hashtag1","hashtag2"]},{"1352911984":["hashtag1","hashtag2"]},{"1352912023":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912049, 1352911992, 1352912033, 1352912027, 1352911984, 1352912023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.475992918014526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:51:32.648009
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_45_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_35_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_25_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_15_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/04/50/image_23042025_04_51_05_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_55_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_45_10722.jpg', '/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_35_9715.jpg', '/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_25_9733.jpg', '/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_15_9722.jpg', '/home/nano/Desktop/images/23042025/04/50/image_23042025_04_51_05_10730.jpg', '/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_55_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_45_10722.jpg
/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_35_9715.jpg
/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_25_9733.jpg
/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_15_9722.jpg
/home/nano/Desktop/images/23042025/04/50/image_23042025_04_51_05_10730.jpg
/home/nano/Desktop/images/23042025/04/50/image_23042025_04_50_55_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912061","1352912054","1352912063","1352912057","1352912065","1352912059"],"photo_ids_order":["1352912054","1352912057","1352912059","1352912061","1352912063","1352912065"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2eb5f119794e184bf811c4ad6b87e5c2.jpg","text":"TemporaryFile(/tmp/multipartBody4645270190575708586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376754382,"filename":"image_23042025_04_51_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/108ef45078528e6d5aa7692d011c3d65.jpg","text":"TemporaryFile(/tmp/multipartBody7638512693512539181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376754382,"filename":"image_23042025_04_51_45_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7f8d6c209e40b9fb0e490c1433ed1d6.jpg","text":"TemporaryFile(/tmp/multipartBody5391013589465681739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376754382,"filename":"image_23042025_04_51_05_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9e740cc43a52e52bae45f64626fe463.jpg","text":"TemporaryFile(/tmp/multipartBody8743083576595167620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376754382,"filename":"image_23042025_04_51_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e78f78820c444c2a54dd406d4c34bfc.jpg","text":"TemporaryFile(/tmp/multipartBody2389505352666363598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376754382,"filename":"image_23042025_04_50_55_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/723075dfab0baff9316753ae494ae032.jpg","text":"TemporaryFile(/tmp/multipartBody2525631294022112392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376754382,"filename":"image_23042025_04_51_25_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912059","file1":"1352912057","file0":"1352912054","file4":"1352912063","file5":"1352912065","file3":"1352912061"},"map_files_photo_id_array":[{"photo_id":"1352912065","filename":"file5"},{"photo_id":"1352912059","filename":"file2"},{"photo_id":"1352912063","filename":"file4"},{"photo_id":"1352912057","filename":"file1"},{"photo_id":"1352912054","filename":"file0"},{"photo_id":"1352912061","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912061":["hashtag1","hashtag2"]},{"1352912054":["hashtag1","hashtag2"]},{"1352912063":["hashtag1","hashtag2"]},{"1352912057":["hashtag1","hashtag2"]},{"1352912065":["hashtag1","hashtag2"]},{"1352912059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912061, 1352912054, 1352912063, 1352912057, 1352912065, 1352912059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.93361735343933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:52:32.738859
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_45_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_35_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_25_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_15_10768.jpg', 2), ('/home/nano/Desktop/images/23042025/04/51/image_23042025_04_52_05_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_55_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_45_9716.jpg', '/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_35_9718.jpg', '/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_25_9712.jpg', '/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_15_10768.jpg', '/home/nano/Desktop/images/23042025/04/51/image_23042025_04_52_05_9742.jpg', '/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_55_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_45_9716.jpg
/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_35_9718.jpg
/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_25_9712.jpg
/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_15_10768.jpg
/home/nano/Desktop/images/23042025/04/51/image_23042025_04_52_05_9742.jpg
/home/nano/Desktop/images/23042025/04/51/image_23042025_04_51_55_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912084","1352912087","1352912089","1352912080","1352912077","1352912088"],"photo_ids_order":["1352912077","1352912080","1352912084","1352912087","1352912088","1352912089"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e17634bbe8b035eee51d28571bd8316d.jpg","text":"TemporaryFile(/tmp/multipartBody2416460939159227166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376814022,"filename":"image_23042025_04_52_25_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5cef89231af5f08b50972bfd831b7357.jpg","text":"TemporaryFile(/tmp/multipartBody7221713523399304128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376814022,"filename":"image_23042025_04_52_15_10768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b11f97eaed97f11e05d0de5a963c3303.jpg","text":"TemporaryFile(/tmp/multipartBody6897004434279182266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376814022,"filename":"image_23042025_04_51_55_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83805d5a499cd9d5d2e6392716e34a40.jpg","text":"TemporaryFile(/tmp/multipartBody5603389259886987453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376814022,"filename":"image_23042025_04_52_35_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5e21312f45c9062069eba9621c85469.jpg","text":"TemporaryFile(/tmp/multipartBody2679842672706197486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376814022,"filename":"image_23042025_04_52_45_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7a216ace31431a276718dcfc0a984e7.jpg","text":"TemporaryFile(/tmp/multipartBody2185715456588534640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376814022,"filename":"image_23042025_04_52_05_9742.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912084","file1":"1352912080","file0":"1352912077","file4":"1352912088","file5":"1352912089","file3":"1352912087"},"map_files_photo_id_array":[{"photo_id":"1352912089","filename":"file5"},{"photo_id":"1352912084","filename":"file2"},{"photo_id":"1352912088","filename":"file4"},{"photo_id":"1352912080","filename":"file1"},{"photo_id":"1352912077","filename":"file0"},{"photo_id":"1352912087","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912084":["hashtag1","hashtag2"]},{"1352912087":["hashtag1","hashtag2"]},{"1352912089":["hashtag1","hashtag2"]},{"1352912080":["hashtag1","hashtag2"]},{"1352912077":["hashtag1","hashtag2"]},{"1352912088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912084, 1352912087, 1352912089, 1352912080, 1352912077, 1352912088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.723775148391724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:53:31.857527
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_45_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_35_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_25_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_15_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/04/52/image_23042025_04_53_05_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_55_10728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_45_9745.jpg', '/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_35_10740.jpg', '/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_25_9666.jpg', '/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_15_9744.jpg', '/home/nano/Desktop/images/23042025/04/52/image_23042025_04_53_05_9732.jpg', '/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_55_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_45_9745.jpg
/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_35_10740.jpg
/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_25_9666.jpg
/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_15_9744.jpg
/home/nano/Desktop/images/23042025/04/52/image_23042025_04_53_05_9732.jpg
/home/nano/Desktop/images/23042025/04/52/image_23042025_04_52_55_10728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912103","1352912099","1352912095","1352912113","1352912107","1352912110"],"photo_ids_order":["1352912095","1352912099","1352912103","1352912107","1352912110","1352912113"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81e5fd07cb4f38d64dd22badaacd0b07.jpg","text":"TemporaryFile(/tmp/multipartBody4720719104926945183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376873375,"filename":"image_23042025_04_53_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd171b1080626ae189508fd557af6be6.jpg","text":"TemporaryFile(/tmp/multipartBody1472097426818059729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376873375,"filename":"image_23042025_04_53_35_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/157d083a63d506f4e9e7995d2632f4bb.jpg","text":"TemporaryFile(/tmp/multipartBody4770695670567747834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376873375,"filename":"image_23042025_04_53_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d2ea0999ff0079469e8f6faad1d7595.jpg","text":"TemporaryFile(/tmp/multipartBody2856264787219230958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376873375,"filename":"image_23042025_04_52_55_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fc365eaacc799da2a75fa5945baa36b.jpg","text":"TemporaryFile(/tmp/multipartBody5966778071063764366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376873375,"filename":"image_23042025_04_53_15_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e809da381746c270de335594187d0dcf.jpg","text":"TemporaryFile(/tmp/multipartBody8927457006658978998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376873375,"filename":"image_23042025_04_53_05_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912103","file1":"1352912099","file0":"1352912095","file4":"1352912110","file5":"1352912113","file3":"1352912107"},"map_files_photo_id_array":[{"photo_id":"1352912113","filename":"file5"},{"photo_id":"1352912103","filename":"file2"},{"photo_id":"1352912110","filename":"file4"},{"photo_id":"1352912099","filename":"file1"},{"photo_id":"1352912095","filename":"file0"},{"photo_id":"1352912107","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912103":["hashtag1","hashtag2"]},{"1352912099":["hashtag1","hashtag2"]},{"1352912095":["hashtag1","hashtag2"]},{"1352912113":["hashtag1","hashtag2"]},{"1352912107":["hashtag1","hashtag2"]},{"1352912110":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912103, 1352912099, 1352912095, 1352912113, 1352912107, 1352912110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08314323425293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:54:32.004399
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_45_10734.jpg', 2), ('/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_35_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_25_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_15_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/04/53/image_23042025_04_54_05_10751.jpg', 2), ('/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_55_9729.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_45_10734.jpg', '/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_35_9730.jpg', '/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_25_9724.jpg', '/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_15_9727.jpg', '/home/nano/Desktop/images/23042025/04/53/image_23042025_04_54_05_10751.jpg', '/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_55_9729.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_45_10734.jpg
/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_35_9730.jpg
/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_25_9724.jpg
/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_15_9727.jpg
/home/nano/Desktop/images/23042025/04/53/image_23042025_04_54_05_10751.jpg
/home/nano/Desktop/images/23042025/04/53/image_23042025_04_53_55_9729.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912132","1352912135","1352912129","1352912120","1352912123","1352912126"],"photo_ids_order":["1352912120","1352912123","1352912126","1352912129","1352912132","1352912135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f49d66f263041dd00697827181fac35.jpg","text":"TemporaryFile(/tmp/multipartBody2919135730652890577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376933546,"filename":"image_23042025_04_54_05_10751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd5baacee055f821e3ad0e0f7195ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody8898356096437189171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376933546,"filename":"image_23042025_04_53_55_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4907bf67d12a9517560162bd1d9a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody7729002012784797913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376933546,"filename":"image_23042025_04_54_15_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/452da378ab8bd3e15d9a9ae3d2be3d5c.jpg","text":"TemporaryFile(/tmp/multipartBody2868366726597590679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376933546,"filename":"image_23042025_04_54_45_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4706382bc4482e770bb2821c745c32bd.jpg","text":"TemporaryFile(/tmp/multipartBody3542865831840965592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376933546,"filename":"image_23042025_04_54_35_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35291236fca47f3033ce0c3670e24836.jpg","text":"TemporaryFile(/tmp/multipartBody1411533159608340288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376933546,"filename":"image_23042025_04_54_25_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912126","file1":"1352912123","file0":"1352912120","file4":"1352912132","file5":"1352912135","file3":"1352912129"},"map_files_photo_id_array":[{"photo_id":"1352912135","filename":"file5"},{"photo_id":"1352912126","filename":"file2"},{"photo_id":"1352912132","filename":"file4"},{"photo_id":"1352912123","filename":"file1"},{"photo_id":"1352912120","filename":"file0"},{"photo_id":"1352912129","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912132":["hashtag1","hashtag2"]},{"1352912135":["hashtag1","hashtag2"]},{"1352912129":["hashtag1","hashtag2"]},{"1352912120":["hashtag1","hashtag2"]},{"1352912123":["hashtag1","hashtag2"]},{"1352912126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912132, 1352912135, 1352912129, 1352912120, 1352912123, 1352912126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.184531927108765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:55:32.098359
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_25_10733.jpg', 2), ('/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_15_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/04/54/image_23042025_04_55_05_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_55_9727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_45_9705.jpg', '/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_35_9704.jpg', '/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_25_10733.jpg', '/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_15_9716.jpg', '/home/nano/Desktop/images/23042025/04/54/image_23042025_04_55_05_9705.jpg', '/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_55_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_45_9705.jpg
/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_35_9704.jpg
/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_25_10733.jpg
/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_15_9716.jpg
/home/nano/Desktop/images/23042025/04/54/image_23042025_04_55_05_9705.jpg
/home/nano/Desktop/images/23042025/04/54/image_23042025_04_54_55_9727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912148","1352912156","1352912141","1352912144","1352912155","1352912152"],"photo_ids_order":["1352912141","1352912144","1352912148","1352912152","1352912155","1352912156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4696d10cc600400c7ebcb28af580245a.jpg","text":"TemporaryFile(/tmp/multipartBody8906718015300118773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376993533,"filename":"image_23042025_04_55_25_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e95418329e699523b6151d35bea10cba.jpg","text":"TemporaryFile(/tmp/multipartBody2735787315615901582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376993533,"filename":"image_23042025_04_54_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24599543040ec4dcbaada4d7aa6b6bca.jpg","text":"TemporaryFile(/tmp/multipartBody1219410276122080030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376993533,"filename":"image_23042025_04_55_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4c2867f55a6d3d28d00aba813742930.jpg","text":"TemporaryFile(/tmp/multipartBody1343849776257616035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376993533,"filename":"image_23042025_04_55_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1413c101fd5b149ac24e7346c9791fad.jpg","text":"TemporaryFile(/tmp/multipartBody5525566352447973171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376993533,"filename":"image_23042025_04_55_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bc3106782d5022bf61b7000220e3698.jpg","text":"TemporaryFile(/tmp/multipartBody1296900111702908864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745376993533,"filename":"image_23042025_04_55_15_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912148","file1":"1352912144","file0":"1352912141","file4":"1352912155","file5":"1352912156","file3":"1352912152"},"map_files_photo_id_array":[{"photo_id":"1352912156","filename":"file5"},{"photo_id":"1352912148","filename":"file2"},{"photo_id":"1352912155","filename":"file4"},{"photo_id":"1352912144","filename":"file1"},{"photo_id":"1352912141","filename":"file0"},{"photo_id":"1352912152","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912148":["hashtag1","hashtag2"]},{"1352912156":["hashtag1","hashtag2"]},{"1352912141":["hashtag1","hashtag2"]},{"1352912144":["hashtag1","hashtag2"]},{"1352912155":["hashtag1","hashtag2"]},{"1352912152":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912148, 1352912156, 1352912141, 1352912144, 1352912155, 1352912152)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.595264196395874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:56:32.230424
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_35_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/04/55/image_23042025_04_56_05_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_55_10715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_45_9704.jpg', '/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_35_10715.jpg', '/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_25_9705.jpg', '/home/nano/Desktop/images/23042025/04/55/image_23042025_04_56_05_9705.jpg', '/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_45_9704.jpg
/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_35_10715.jpg
/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_25_9705.jpg
/home/nano/Desktop/images/23042025/04/55/image_23042025_04_56_05_9705.jpg
/home/nano/Desktop/images/23042025/04/55/image_23042025_04_55_55_10715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912175","1352912163","1352912171","1352912179","1352912167"],"photo_ids_order":["1352912163","1352912167","1352912171","1352912175","1352912179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bed080b81f999deb5a0a2ef9738be135.jpg","text":"TemporaryFile(/tmp/multipartBody6300226847534557281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377053372,"filename":"image_23042025_04_56_05_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd5d91f99b729547be0aa3f499a5a14d.jpg","text":"TemporaryFile(/tmp/multipartBody2034773438628370722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377053372,"filename":"image_23042025_04_56_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dddc66cd50db66eb6be0ae92f8bd58a0.jpg","text":"TemporaryFile(/tmp/multipartBody6386213857187623806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377053372,"filename":"image_23042025_04_56_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa5eeba87e9565408ae9563f6e1a85a0.jpg","text":"TemporaryFile(/tmp/multipartBody1231460200537210905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377053372,"filename":"image_23042025_04_55_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18aa0f7f24bba12d06522abc7b8b003c.jpg","text":"TemporaryFile(/tmp/multipartBody5623160677564346263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377053372,"filename":"image_23042025_04_56_35_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912171","file1":"1352912167","file0":"1352912163","file4":"1352912179","file3":"1352912175"},"map_files_photo_id_array":[{"photo_id":"1352912171","filename":"file2"},{"photo_id":"1352912179","filename":"file4"},{"photo_id":"1352912167","filename":"file1"},{"photo_id":"1352912163","filename":"file0"},{"photo_id":"1352912175","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912175":["hashtag1","hashtag2"]},{"1352912163":["hashtag1","hashtag2"]},{"1352912171":["hashtag1","hashtag2"]},{"1352912179":["hashtag1","hashtag2"]},{"1352912167":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912175, 1352912163, 1352912171, 1352912179, 1352912167)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.160318613052368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:57:02.727600
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5735225677490234 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:57:32.339488
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_25_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_15_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_55_9890.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_25_9669.jpg', '/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_15_10704.jpg', '/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_55_9890.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_25_9669.jpg
/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_15_10704.jpg
/home/nano/Desktop/images/23042025/04/56/image_23042025_04_56_55_9890.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352912604","1352912474","1352912527"],"photo_ids_order":["1352912474","1352912527","1352912604"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bec87e4d0fe66d3aab98599f8fb1d1b3.jpg","text":"TemporaryFile(/tmp/multipartBody685413523628011048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377113239,"filename":"image_23042025_04_56_55_9890.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6afc03878400753fb3824fbed4de1f0.jpg","text":"TemporaryFile(/tmp/multipartBody6585480617327782308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377113239,"filename":"image_23042025_04_57_25_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4083bb643ac8a2ea90ebbb62e87c70e9.jpg","text":"TemporaryFile(/tmp/multipartBody4348409748681682465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377113239,"filename":"image_23042025_04_57_15_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352912604","file1":"1352912527","file0":"1352912474"},"map_files_photo_id_array":[{"photo_id":"1352912604","filename":"file2"},{"photo_id":"1352912527","filename":"file1"},{"photo_id":"1352912474","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352912604":["hashtag1","hashtag2"]},{"1352912474":["hashtag1","hashtag2"]},{"1352912527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352912604, 1352912474, 1352912527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.846636295318604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:58:02.596570
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5365557670593262 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:59:03.427504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6959927082061768 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 04:59:32.647798
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_45_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_35_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_15_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/04/58/image_23042025_04_59_05_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_55_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_35_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_45_10677.jpg', '/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_35_9665.jpg', '/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_15_10700.jpg', '/home/nano/Desktop/images/23042025/04/58/image_23042025_04_59_05_9674.jpg', '/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_55_9666.jpg', '/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_45_10677.jpg
/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_35_9665.jpg
/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_15_10700.jpg
/home/nano/Desktop/images/23042025/04/58/image_23042025_04_59_05_9674.jpg
/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_55_9666.jpg
/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_35_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352913030","1352913027","1352913050","1352913047","1352913029","1352913043"],"photo_ids_order":["1352913027","1352913029","1352913030","1352913043","1352913047","1352913050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d53963b452762d49c71fdd15d5f5e0df.jpg","text":"TemporaryFile(/tmp/multipartBody2066268790882813160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377233839,"filename":"image_23042025_04_59_15_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76190d0e672275ee1f390d5b15d8c59f.jpg","text":"TemporaryFile(/tmp/multipartBody5391661457627279637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377233839,"filename":"image_23042025_04_59_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40e4181fb94524480bb98984d7685973.jpg","text":"TemporaryFile(/tmp/multipartBody7402287757016326610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377233839,"filename":"image_23042025_04_58_35_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7bd22a8ddcab85d70edd41096921e7a3.jpg","text":"TemporaryFile(/tmp/multipartBody4488983223614427950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377233839,"filename":"image_23042025_04_58_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/541b1523570a275d39544d15960d194b.jpg","text":"TemporaryFile(/tmp/multipartBody2765121006118150129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377233839,"filename":"image_23042025_04_59_35_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12099c197cc4198a251591ce3085ca86.jpg","text":"TemporaryFile(/tmp/multipartBody2682399247892333436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377233839,"filename":"image_23042025_04_59_05_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352913030","file1":"1352913029","file0":"1352913027","file4":"1352913047","file5":"1352913050","file3":"1352913043"},"map_files_photo_id_array":[{"photo_id":"1352913050","filename":"file5"},{"photo_id":"1352913030","filename":"file2"},{"photo_id":"1352913047","filename":"file4"},{"photo_id":"1352913029","filename":"file1"},{"photo_id":"1352913027","filename":"file0"},{"photo_id":"1352913043","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352913030":["hashtag1","hashtag2"]},{"1352913027":["hashtag1","hashtag2"]},{"1352913050":["hashtag1","hashtag2"]},{"1352913047":["hashtag1","hashtag2"]},{"1352913029":["hashtag1","hashtag2"]},{"1352913043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352913030, 1352913027, 1352913050, 1352913047, 1352913029, 1352913043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3393132686615 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:00:32.726596
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_45_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_35_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_15_10697.jpg', 2), ('/home/nano/Desktop/images/23042025/04/59/image_23042025_05_00_05_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_55_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_25_9686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_45_10675.jpg', '/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_35_9663.jpg', '/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_15_10697.jpg', '/home/nano/Desktop/images/23042025/04/59/image_23042025_05_00_05_9692.jpg', '/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_55_9685.jpg', '/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_25_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_45_10675.jpg
/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_35_9663.jpg
/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_15_10697.jpg
/home/nano/Desktop/images/23042025/04/59/image_23042025_05_00_05_9692.jpg
/home/nano/Desktop/images/23042025/04/59/image_23042025_04_59_55_9685.jpg
/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_25_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352913095","1352913074","1352913071","1352913152","1352913125","1352913078"],"photo_ids_order":["1352913071","1352913074","1352913078","1352913095","1352913125","1352913152"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94e918337b84bfdd2fdef69008988b24.jpg","text":"TemporaryFile(/tmp/multipartBody6480805929092313810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377294249,"filename":"image_23042025_05_00_05_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9dd0efa20774363036927e9719f192c.jpg","text":"TemporaryFile(/tmp/multipartBody4200086462669458219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377294249,"filename":"image_23042025_05_00_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b19318fa894d2ef725a6306a9ce7e80f.jpg","text":"TemporaryFile(/tmp/multipartBody3637274468766276258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377294249,"filename":"image_23042025_05_00_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd2a8b47baf8ab965920f8196226a8c1.jpg","text":"TemporaryFile(/tmp/multipartBody7967376269149031926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377294249,"filename":"image_23042025_04_58_25_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83e1cc35816fb1b447c48c30aec203d0.jpg","text":"TemporaryFile(/tmp/multipartBody6623088848463203665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377294249,"filename":"image_23042025_04_59_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34879e9f8162949e995aeacfe4cb74ab.jpg","text":"TemporaryFile(/tmp/multipartBody8827443381082884104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377294249,"filename":"image_23042025_05_00_15_10697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352913078","file1":"1352913074","file0":"1352913071","file4":"1352913125","file5":"1352913152","file3":"1352913095"},"map_files_photo_id_array":[{"photo_id":"1352913152","filename":"file5"},{"photo_id":"1352913078","filename":"file2"},{"photo_id":"1352913125","filename":"file4"},{"photo_id":"1352913074","filename":"file1"},{"photo_id":"1352913071","filename":"file0"},{"photo_id":"1352913095","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352913095":["hashtag1","hashtag2"]},{"1352913074":["hashtag1","hashtag2"]},{"1352913071":["hashtag1","hashtag2"]},{"1352913152":["hashtag1","hashtag2"]},{"1352913125":["hashtag1","hashtag2"]},{"1352913078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352913095, 1352913074, 1352913071, 1352913152, 1352913125, 1352913078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.348533868789673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:01:31.829259
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_25_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_15_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_55_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_15_10711.jpg', 2), ('/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_35_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_25_10717.jpg', '/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_15_9690.jpg', '/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_55_9665.jpg', '/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_15_10711.jpg', '/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_35_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_25_10717.jpg
/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_15_9690.jpg
/home/nano/Desktop/images/23042025/05/00/image_23042025_05_00_55_9665.jpg
/home/nano/Desktop/images/23042025/04/58/image_23042025_04_58_15_10711.jpg
/home/nano/Desktop/images/23042025/04/57/image_23042025_04_57_35_9668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352913503","1352913475","1352913413","1352913442","1352913531"],"photo_ids_order":["1352913413","1352913442","1352913475","1352913503","1352913531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a3ab8c4d76ad7e218bf2312d368bf47.jpg","text":"TemporaryFile(/tmp/multipartBody2462412441928044204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377353055,"filename":"image_23042025_04_58_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25a09c5bdcea9726639eab5c3b660474.jpg","text":"TemporaryFile(/tmp/multipartBody2804765761389797773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377353055,"filename":"image_23042025_05_00_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bc5d8b5008b5fffde9e8941fda9d296.jpg","text":"TemporaryFile(/tmp/multipartBody4309803149626616300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377353055,"filename":"image_23042025_05_01_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dad8d273f0871e9513ef86a6ecece425.jpg","text":"TemporaryFile(/tmp/multipartBody4162336769874312627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377353055,"filename":"image_23042025_05_01_15_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ea381d6470962579b49304eb2788145.jpg","text":"TemporaryFile(/tmp/multipartBody2905092181818836887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377353055,"filename":"image_23042025_04_57_35_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352913475","file1":"1352913442","file0":"1352913413","file4":"1352913531","file3":"1352913503"},"map_files_photo_id_array":[{"photo_id":"1352913475","filename":"file2"},{"photo_id":"1352913531","filename":"file4"},{"photo_id":"1352913442","filename":"file1"},{"photo_id":"1352913413","filename":"file0"},{"photo_id":"1352913503","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352913503":["hashtag1","hashtag2"]},{"1352913475":["hashtag1","hashtag2"]},{"1352913413":["hashtag1","hashtag2"]},{"1352913442":["hashtag1","hashtag2"]},{"1352913531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352913503, 1352913475, 1352913413, 1352913442, 1352913531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.489694118499756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:02:02.339972
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.669062852859497 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:02:31.948710
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_35_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_35_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/01/image_23042025_05_01_35_9709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352913821"],"photo_id":"1352913821","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5edaa482b8f0b55b7eb4d0d3d07d6789.jpg","text":"TemporaryFile(/tmp/multipartBody7628291706734598744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377412663,"filename":"image_23042025_05_01_35_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1352913821"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1352913821"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.861867666244507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:03:02.612793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6256992816925049 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:03:32.071616
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_45_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_35_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_25_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/05/01/image_23042025_05_02_05_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_45_9654.jpg', '/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_35_9656.jpg', '/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_25_10663.jpg', '/home/nano/Desktop/images/23042025/05/01/image_23042025_05_02_05_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_45_9654.jpg
/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_35_9656.jpg
/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_25_10663.jpg
/home/nano/Desktop/images/23042025/05/01/image_23042025_05_02_05_9710.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914081","1352914083","1352914086","1352914088"],"photo_ids_order":["1352914081","1352914083","1352914086","1352914088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f0b44fc08f3d968dc3d28158f19bf72.jpg","text":"TemporaryFile(/tmp/multipartBody2772985893976690146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377473185,"filename":"image_23042025_05_03_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/429a956bbd87c973a331fd33c149e1c6.jpg","text":"TemporaryFile(/tmp/multipartBody5283380888214907638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377473185,"filename":"image_23042025_05_03_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7cedc2a6f6812b647b83f40e8a2ac30.jpg","text":"TemporaryFile(/tmp/multipartBody8068964838811526944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377473185,"filename":"image_23042025_05_03_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9295f8f15f1088465f78225b49ad7ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5529026434313325816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377473185,"filename":"image_23042025_05_02_05_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914086","file1":"1352914083","file0":"1352914081","file3":"1352914088"},"map_files_photo_id_array":[{"photo_id":"1352914086","filename":"file2"},{"photo_id":"1352914083","filename":"file1"},{"photo_id":"1352914081","filename":"file0"},{"photo_id":"1352914088","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914081":["hashtag1","hashtag2"]},{"1352914083":["hashtag1","hashtag2"]},{"1352914086":["hashtag1","hashtag2"]},{"1352914088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914081, 1352914083, 1352914086, 1352914088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.743212461471558 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:04:02.859500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6031765937805176 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:04:32.178559
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_15_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/05/03/image_23042025_05_04_05_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_55_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_35_10716.jpg', '/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_25_9707.jpg', '/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_15_9712.jpg', '/home/nano/Desktop/images/23042025/05/03/image_23042025_05_04_05_9739.jpg', '/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_55_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_45_9706.jpg
/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_35_10716.jpg
/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_25_9707.jpg
/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_15_9712.jpg
/home/nano/Desktop/images/23042025/05/03/image_23042025_05_04_05_9739.jpg
/home/nano/Desktop/images/23042025/05/03/image_23042025_05_03_55_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914520","1352914436","1352914211","1352914327","1352914240","1352914488"],"photo_ids_order":["1352914211","1352914240","1352914327","1352914436","1352914488","1352914520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec4719f3a997ff8f022c8629be6cc92b.jpg","text":"TemporaryFile(/tmp/multipartBody198111494600722347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377533569,"filename":"image_23042025_05_03_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2aaff19eb1f3ab06cf784588164c964.jpg","text":"TemporaryFile(/tmp/multipartBody6970580778368504150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377533569,"filename":"image_23042025_05_04_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/267ddc5c7dc2900078d211228a01de4a.jpg","text":"TemporaryFile(/tmp/multipartBody8627800595030695323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377533569,"filename":"image_23042025_05_04_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7685f791735d000b37384da1a68b91d5.jpg","text":"TemporaryFile(/tmp/multipartBody2282282396400851102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377533569,"filename":"image_23042025_05_04_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f34170cbff0a5234fabdffe19c019bf.jpg","text":"TemporaryFile(/tmp/multipartBody9061088778060488634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377533569,"filename":"image_23042025_05_04_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d48a4c5ccb94700fb0ea58323e8dc6e4.jpg","text":"TemporaryFile(/tmp/multipartBody291578107586331315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377533569,"filename":"image_23042025_05_04_05_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914327","file1":"1352914240","file0":"1352914211","file4":"1352914488","file5":"1352914520","file3":"1352914436"},"map_files_photo_id_array":[{"photo_id":"1352914520","filename":"file5"},{"photo_id":"1352914327","filename":"file2"},{"photo_id":"1352914488","filename":"file4"},{"photo_id":"1352914240","filename":"file1"},{"photo_id":"1352914211","filename":"file0"},{"photo_id":"1352914436","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914520":["hashtag1","hashtag2"]},{"1352914436":["hashtag1","hashtag2"]},{"1352914211":["hashtag1","hashtag2"]},{"1352914327":["hashtag1","hashtag2"]},{"1352914240":["hashtag1","hashtag2"]},{"1352914488":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914520, 1352914436, 1352914211, 1352914327, 1352914240, 1352914488)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.742032051086426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:05:32.279108
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_35_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_15_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_35_9711.jpg', '/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_25_9706.jpg', '/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_15_9710.jpg', '/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_35_9711.jpg
/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_25_9706.jpg
/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_15_9710.jpg
/home/nano/Desktop/images/23042025/05/04/image_23042025_05_04_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914696","1352914709","1352914657","1352914632"],"photo_ids_order":["1352914632","1352914657","1352914696","1352914709"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d8e264ff8f5f63424cb3ba1db3ce1f8.jpg","text":"TemporaryFile(/tmp/multipartBody3295914658138228961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377593541,"filename":"image_23042025_05_05_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad04e7c236d56636f2adc644c2c0d6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5596605350402833726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377593541,"filename":"image_23042025_05_04_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f00b03d12a0e780e91a41de243909701.jpg","text":"TemporaryFile(/tmp/multipartBody3316157549004945627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377593541,"filename":"image_23042025_05_05_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cecb94dece93b25ae8c77a12b2ef8414.jpg","text":"TemporaryFile(/tmp/multipartBody57699980784406757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377593541,"filename":"image_23042025_05_05_35_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914696","file1":"1352914657","file0":"1352914632","file3":"1352914709"},"map_files_photo_id_array":[{"photo_id":"1352914696","filename":"file2"},{"photo_id":"1352914657","filename":"file1"},{"photo_id":"1352914632","filename":"file0"},{"photo_id":"1352914709","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914696":["hashtag1","hashtag2"]},{"1352914709":["hashtag1","hashtag2"]},{"1352914657":["hashtag1","hashtag2"]},{"1352914632":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914696, 1352914709, 1352914657, 1352914632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 27.338956117630005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:06:02.740243
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6120061874389648 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:06:32.366969
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/06/image_23042025_05_06_35_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/05/05/image_23042025_05_06_05_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_55_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/06/image_23042025_05_06_35_9710.jpg', '/home/nano/Desktop/images/23042025/05/05/image_23042025_05_06_05_9710.jpg', '/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_55_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/06/image_23042025_05_06_35_9710.jpg
/home/nano/Desktop/images/23042025/05/05/image_23042025_05_06_05_9710.jpg
/home/nano/Desktop/images/23042025/05/05/image_23042025_05_05_55_9709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914736","1352914739","1352914732"],"photo_ids_order":["1352914732","1352914736","1352914739"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d026ec79bc99d6fa3a725ae6ab82966d.jpg","text":"TemporaryFile(/tmp/multipartBody2931921385718370475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377653423,"filename":"image_23042025_05_06_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/630ddf366ef0638faeb7e50cf5cd835f.jpg","text":"TemporaryFile(/tmp/multipartBody8778792550206326474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377653423,"filename":"image_23042025_05_05_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/451523b3259f16a6ecc3607bd7a6468d.jpg","text":"TemporaryFile(/tmp/multipartBody8003861844032018926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377653423,"filename":"image_23042025_05_06_35_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914739","file1":"1352914736","file0":"1352914732"},"map_files_photo_id_array":[{"photo_id":"1352914739","filename":"file2"},{"photo_id":"1352914736","filename":"file1"},{"photo_id":"1352914732","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914736":["hashtag1","hashtag2"]},{"1352914739":["hashtag1","hashtag2"]},{"1352914732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914736, 1352914739, 1352914732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.87279438972473 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:07:02.945918
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.796828031539917 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:07:32.457848
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_25_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_15_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/06/image_23042025_05_07_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/05/06/image_23042025_05_06_45_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_35_9706.jpg', '/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_25_10714.jpg', '/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_15_9717.jpg', '/home/nano/Desktop/images/23042025/05/06/image_23042025_05_07_05_9721.jpg', '/home/nano/Desktop/images/23042025/05/06/image_23042025_05_06_45_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_45_9706.jpg
/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_35_9706.jpg
/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_25_10714.jpg
/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_15_9717.jpg
/home/nano/Desktop/images/23042025/05/06/image_23042025_05_07_05_9721.jpg
/home/nano/Desktop/images/23042025/05/06/image_23042025_05_06_45_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914757","1352914765","1352914761","1352914772","1352914775","1352914769"],"photo_ids_order":["1352914757","1352914761","1352914765","1352914769","1352914772","1352914775"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bc7daf6e80b8b901dd65cdcc49ce16d.jpg","text":"TemporaryFile(/tmp/multipartBody7511929677947491397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377713866,"filename":"image_23042025_05_07_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50f9986b7d9a5de198834d691f97cb58.jpg","text":"TemporaryFile(/tmp/multipartBody2745231812329270677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377713866,"filename":"image_23042025_05_07_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e36c9a47eb5d96de58ead610ab4cbad.jpg","text":"TemporaryFile(/tmp/multipartBody2075250912782184737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377713866,"filename":"image_23042025_05_07_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad3f1fa9d6c8fc30b0fe8709a888b89f.jpg","text":"TemporaryFile(/tmp/multipartBody2159864411325078939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377713866,"filename":"image_23042025_05_07_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac0a03c7b612cd160d829f4b22faadd2.jpg","text":"TemporaryFile(/tmp/multipartBody5625951795999557476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377713866,"filename":"image_23042025_05_06_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bf5484f133839ee0c82d3a27118a744.jpg","text":"TemporaryFile(/tmp/multipartBody2290136360681803213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377713866,"filename":"image_23042025_05_07_15_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914765","file1":"1352914761","file0":"1352914757","file4":"1352914772","file5":"1352914775","file3":"1352914769"},"map_files_photo_id_array":[{"photo_id":"1352914775","filename":"file5"},{"photo_id":"1352914765","filename":"file2"},{"photo_id":"1352914772","filename":"file4"},{"photo_id":"1352914761","filename":"file1"},{"photo_id":"1352914757","filename":"file0"},{"photo_id":"1352914769","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914757":["hashtag1","hashtag2"]},{"1352914765":["hashtag1","hashtag2"]},{"1352914761":["hashtag1","hashtag2"]},{"1352914772":["hashtag1","hashtag2"]},{"1352914775":["hashtag1","hashtag2"]},{"1352914769":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914757, 1352914765, 1352914761, 1352914772, 1352914775, 1352914769)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18366575241089 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:08:32.571259
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_35_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_15_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/05/07/image_23042025_05_08_05_10749.jpg', 2), ('/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_35_10718.jpg', '/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_25_9707.jpg', '/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_15_9722.jpg', '/home/nano/Desktop/images/23042025/05/07/image_23042025_05_08_05_10749.jpg', '/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_45_9706.jpg
/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_35_10718.jpg
/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_25_9707.jpg
/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_15_9722.jpg
/home/nano/Desktop/images/23042025/05/07/image_23042025_05_08_05_10749.jpg
/home/nano/Desktop/images/23042025/05/07/image_23042025_05_07_55_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914805","1352914802","1352914788","1352914799","1352914793","1352914796"],"photo_ids_order":["1352914788","1352914793","1352914796","1352914799","1352914802","1352914805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6bd752b827092a961183ae82d502c6e.jpg","text":"TemporaryFile(/tmp/multipartBody2320015445559886405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377774038,"filename":"image_23042025_05_07_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d17be6a423d955972a1f2c613a32e68.jpg","text":"TemporaryFile(/tmp/multipartBody3414724279957355412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377774038,"filename":"image_23042025_05_08_05_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77013b76b2af69b659fde5bad159f197.jpg","text":"TemporaryFile(/tmp/multipartBody3497627000911256633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377774038,"filename":"image_23042025_05_08_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59987f4332fff1a2375149ccc6ebeb2b.jpg","text":"TemporaryFile(/tmp/multipartBody1504166154531546399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377774038,"filename":"image_23042025_05_08_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42691ce8ebc8d41bbffef20b2c93e04e.jpg","text":"TemporaryFile(/tmp/multipartBody5892123663926669862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377774038,"filename":"image_23042025_05_08_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41c6a090f1ad476296e5d3328a1d843f.jpg","text":"TemporaryFile(/tmp/multipartBody4130534858227803146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377774038,"filename":"image_23042025_05_08_25_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914796","file1":"1352914793","file0":"1352914788","file4":"1352914802","file5":"1352914805","file3":"1352914799"},"map_files_photo_id_array":[{"photo_id":"1352914805","filename":"file5"},{"photo_id":"1352914796","filename":"file2"},{"photo_id":"1352914802","filename":"file4"},{"photo_id":"1352914793","filename":"file1"},{"photo_id":"1352914788","filename":"file0"},{"photo_id":"1352914799","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914805":["hashtag1","hashtag2"]},{"1352914802":["hashtag1","hashtag2"]},{"1352914788":["hashtag1","hashtag2"]},{"1352914799":["hashtag1","hashtag2"]},{"1352914793":["hashtag1","hashtag2"]},{"1352914796":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914805, 1352914802, 1352914788, 1352914799, 1352914793, 1352914796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.07662320137024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:09:32.647617
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_15_10749.jpg', 2), ('/home/nano/Desktop/images/23042025/05/08/image_23042025_05_09_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_55_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_45_10715.jpg', '/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_25_9708.jpg', '/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_15_10749.jpg', '/home/nano/Desktop/images/23042025/05/08/image_23042025_05_09_05_9721.jpg', '/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_55_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_45_10715.jpg
/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_25_9708.jpg
/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_15_10749.jpg
/home/nano/Desktop/images/23042025/05/08/image_23042025_05_09_05_9721.jpg
/home/nano/Desktop/images/23042025/05/08/image_23042025_05_08_55_9708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914843","1352914837","1352914825","1352914830","1352914821"],"photo_ids_order":["1352914821","1352914825","1352914830","1352914837","1352914843"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b2aba65e35545fb8ecc493db449afbb.jpg","text":"TemporaryFile(/tmp/multipartBody4012907388964741205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377834216,"filename":"image_23042025_05_08_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbe340bde55bde67b4e425b751e247b1.jpg","text":"TemporaryFile(/tmp/multipartBody8199494918513572082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377834216,"filename":"image_23042025_05_09_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20787cd058bf07e4a7569d7af42988c0.jpg","text":"TemporaryFile(/tmp/multipartBody7966514656192670835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377834216,"filename":"image_23042025_05_09_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58d46a7bad382540a2cbd47211b46d6d.jpg","text":"TemporaryFile(/tmp/multipartBody5711084754263940845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377834216,"filename":"image_23042025_05_09_15_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8091bafa36b65ed586039c13744163d1.jpg","text":"TemporaryFile(/tmp/multipartBody199765221672035182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377834216,"filename":"image_23042025_05_09_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914830","file1":"1352914825","file0":"1352914821","file4":"1352914843","file3":"1352914837"},"map_files_photo_id_array":[{"photo_id":"1352914830","filename":"file2"},{"photo_id":"1352914843","filename":"file4"},{"photo_id":"1352914825","filename":"file1"},{"photo_id":"1352914821","filename":"file0"},{"photo_id":"1352914837","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914843":["hashtag1","hashtag2"]},{"1352914837":["hashtag1","hashtag2"]},{"1352914825":["hashtag1","hashtag2"]},{"1352914830":["hashtag1","hashtag2"]},{"1352914821":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914843, 1352914837, 1352914825, 1352914830, 1352914821)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.302607536315918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:10:03.071337
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6993565559387207 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:10:32.741301
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_15_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/05/09/image_23042025_05_10_05_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_55_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_15_9730.jpg', '/home/nano/Desktop/images/23042025/05/09/image_23042025_05_10_05_9717.jpg', '/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_55_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_45_9706.jpg
/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_35_9707.jpg
/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_15_9730.jpg
/home/nano/Desktop/images/23042025/05/09/image_23042025_05_10_05_9717.jpg
/home/nano/Desktop/images/23042025/05/09/image_23042025_05_09_55_9708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914894","1352914891","1352914870","1352914878","1352914874"],"photo_ids_order":["1352914870","1352914874","1352914878","1352914891","1352914894"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75fe393393cccd3efed01a4442693f7d.jpg","text":"TemporaryFile(/tmp/multipartBody8682606336686465551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377894170,"filename":"image_23042025_05_09_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ae63d3945a90366c94c8d3ee52a473a.jpg","text":"TemporaryFile(/tmp/multipartBody1389989964601139436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377894170,"filename":"image_23042025_05_10_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e7889b4a21cadf09fae0ba192441cdc.jpg","text":"TemporaryFile(/tmp/multipartBody8643926378912742651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377894170,"filename":"image_23042025_05_10_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc898e54d9e4af613c3f174a85a5f8ae.jpg","text":"TemporaryFile(/tmp/multipartBody6369270343023959135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377894170,"filename":"image_23042025_05_10_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b757cb4eb952bd5a57a3eb42f51169a3.jpg","text":"TemporaryFile(/tmp/multipartBody3420708941402622992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377894170,"filename":"image_23042025_05_10_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914878","file1":"1352914874","file0":"1352914870","file4":"1352914894","file3":"1352914891"},"map_files_photo_id_array":[{"photo_id":"1352914878","filename":"file2"},{"photo_id":"1352914894","filename":"file4"},{"photo_id":"1352914874","filename":"file1"},{"photo_id":"1352914870","filename":"file0"},{"photo_id":"1352914891","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914894":["hashtag1","hashtag2"]},{"1352914891":["hashtag1","hashtag2"]},{"1352914870":["hashtag1","hashtag2"]},{"1352914878":["hashtag1","hashtag2"]},{"1352914874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914894, 1352914891, 1352914870, 1352914878, 1352914874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.99995255470276 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:11:02.394781
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6231036186218262 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:11:31.834697
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_15_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/05/10/image_23042025_05_11_05_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_55_10738.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_45_9709.jpg', '/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_35_10716.jpg', '/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_25_9709.jpg', '/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_15_9732.jpg', '/home/nano/Desktop/images/23042025/05/10/image_23042025_05_11_05_9744.jpg', '/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_55_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_45_9709.jpg
/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_35_10716.jpg
/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_25_9709.jpg
/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_15_9732.jpg
/home/nano/Desktop/images/23042025/05/10/image_23042025_05_11_05_9744.jpg
/home/nano/Desktop/images/23042025/05/10/image_23042025_05_10_55_10738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914925","1352914919","1352914930","1352914941","1352914938","1352914935"],"photo_ids_order":["1352914919","1352914925","1352914930","1352914935","1352914938","1352914941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0eb325d8f18aa08b2b4708fcc4a4af70.jpg","text":"TemporaryFile(/tmp/multipartBody3695493492349808748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377953271,"filename":"image_23042025_05_11_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/636ffe7a8634edac06719094691879e3.jpg","text":"TemporaryFile(/tmp/multipartBody8395651280606289337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377953271,"filename":"image_23042025_05_11_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbdb88c6553c7c192d6ce09265be4af1.jpg","text":"TemporaryFile(/tmp/multipartBody5284701971583261894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377953271,"filename":"image_23042025_05_11_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/097908d8abbbca4b6148586cc787038d.jpg","text":"TemporaryFile(/tmp/multipartBody2628524948162764795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377953271,"filename":"image_23042025_05_10_55_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/421e7676cf88161c85859aad2f2056a4.jpg","text":"TemporaryFile(/tmp/multipartBody5405680288150111490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377953271,"filename":"image_23042025_05_11_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5cd0785b71c526b1c0a92fdab6b48052.jpg","text":"TemporaryFile(/tmp/multipartBody6990749143525429443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745377953271,"filename":"image_23042025_05_11_15_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914930","file1":"1352914925","file0":"1352914919","file4":"1352914938","file5":"1352914941","file3":"1352914935"},"map_files_photo_id_array":[{"photo_id":"1352914941","filename":"file5"},{"photo_id":"1352914930","filename":"file2"},{"photo_id":"1352914938","filename":"file4"},{"photo_id":"1352914925","filename":"file1"},{"photo_id":"1352914919","filename":"file0"},{"photo_id":"1352914935","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914925":["hashtag1","hashtag2"]},{"1352914919":["hashtag1","hashtag2"]},{"1352914930":["hashtag1","hashtag2"]},{"1352914941":["hashtag1","hashtag2"]},{"1352914938":["hashtag1","hashtag2"]},{"1352914935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914925, 1352914919, 1352914930, 1352914941, 1352914938, 1352914935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.535425662994385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:12:31.939340
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/12/image_23042025_05_12_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/12/image_23042025_05_12_35_9706.jpg', '/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/12/image_23042025_05_12_35_9706.jpg
/home/nano/Desktop/images/23042025/05/11/image_23042025_05_11_55_9704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914961","1352914956"],"photo_ids_order":["1352914956","1352914961"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d25230f78833d6c2d31c1b66f1580f0.jpg","text":"TemporaryFile(/tmp/multipartBody8126707790812771704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378012823,"filename":"image_23042025_05_11_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6955a4d0ba9d56b78a7fb00500341959.jpg","text":"TemporaryFile(/tmp/multipartBody4652299615331430777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378012823,"filename":"image_23042025_05_12_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1352914961","file0":"1352914956"},"map_files_photo_id_array":[{"photo_id":"1352914961","filename":"file1"},{"photo_id":"1352914956","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914961":["hashtag1","hashtag2"]},{"1352914956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914961, 1352914956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.37107801437378 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:13:02.411254
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.574294090270996 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:13:32.054598
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_25_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_15_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/05/12/image_23042025_05_12_45_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_35_9705.jpg', '/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_25_10718.jpg', '/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_15_9712.jpg', '/home/nano/Desktop/images/23042025/05/12/image_23042025_05_12_45_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_35_9705.jpg
/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_25_10718.jpg
/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_15_9712.jpg
/home/nano/Desktop/images/23042025/05/12/image_23042025_05_12_45_10719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352914987","1352914992","1352914995","1352914989"],"photo_ids_order":["1352914987","1352914989","1352914992","1352914995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/100a2b9c103473706e89205f25454e1c.jpg","text":"TemporaryFile(/tmp/multipartBody2555212936943366240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378073211,"filename":"image_23042025_05_13_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43dd82c5077f3d220e9d5ae5353b8075.jpg","text":"TemporaryFile(/tmp/multipartBody6442851776906420817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378073211,"filename":"image_23042025_05_13_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4373f51ee7b517577a97233a8591477d.jpg","text":"TemporaryFile(/tmp/multipartBody268447844607508828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378073211,"filename":"image_23042025_05_12_45_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/572768b2ed1f085a6b7adbe1ae5ed492.jpg","text":"TemporaryFile(/tmp/multipartBody1623168121012063024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378073211,"filename":"image_23042025_05_13_25_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352914992","file1":"1352914989","file0":"1352914987","file3":"1352914995"},"map_files_photo_id_array":[{"photo_id":"1352914992","filename":"file2"},{"photo_id":"1352914989","filename":"file1"},{"photo_id":"1352914987","filename":"file0"},{"photo_id":"1352914995","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352914987":["hashtag1","hashtag2"]},{"1352914992":["hashtag1","hashtag2"]},{"1352914995":["hashtag1","hashtag2"]},{"1352914989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352914987, 1352914992, 1352914995, 1352914989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.425113201141357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:14:02.758070
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6794376373291016 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:14:32.146686
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_35_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_25_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_15_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/05/13/image_23042025_05_14_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_45_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_45_9709.jpg', '/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_35_10717.jpg', '/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_25_9732.jpg', '/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_15_9733.jpg', '/home/nano/Desktop/images/23042025/05/13/image_23042025_05_14_05_9721.jpg', '/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_45_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_45_9709.jpg
/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_35_10717.jpg
/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_25_9732.jpg
/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_15_9733.jpg
/home/nano/Desktop/images/23042025/05/13/image_23042025_05_14_05_9721.jpg
/home/nano/Desktop/images/23042025/05/13/image_23042025_05_13_45_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915039","1352915030","1352915035","1352915023","1352915017","1352915042"],"photo_ids_order":["1352915017","1352915023","1352915030","1352915035","1352915039","1352915042"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/636ed0971dadaa3cfeac823237403241.jpg","text":"TemporaryFile(/tmp/multipartBody2274810552432805862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378135004,"filename":"image_23042025_05_14_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c90dd19eec9db94e014f46c8d261a6a.jpg","text":"TemporaryFile(/tmp/multipartBody1384556995476908895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378135004,"filename":"image_23042025_05_14_25_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2ce5792185217b0179e60cb2fe72f49.jpg","text":"TemporaryFile(/tmp/multipartBody1109411682872096255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378135004,"filename":"image_23042025_05_14_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f219cad26e7de612631fb78c0deda0f2.jpg","text":"TemporaryFile(/tmp/multipartBody3536657742935427013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378135004,"filename":"image_23042025_05_14_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/157c835d817c32d34c3feae30ee3154e.jpg","text":"TemporaryFile(/tmp/multipartBody5783716709135830627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378135004,"filename":"image_23042025_05_14_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8bc839c2acc6a458a913974906b2030.jpg","text":"TemporaryFile(/tmp/multipartBody2131340849983755471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378135004,"filename":"image_23042025_05_13_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915030","file1":"1352915023","file0":"1352915017","file4":"1352915039","file5":"1352915042","file3":"1352915035"},"map_files_photo_id_array":[{"photo_id":"1352915042","filename":"file5"},{"photo_id":"1352915030","filename":"file2"},{"photo_id":"1352915039","filename":"file4"},{"photo_id":"1352915023","filename":"file1"},{"photo_id":"1352915017","filename":"file0"},{"photo_id":"1352915035","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915039":["hashtag1","hashtag2"]},{"1352915030":["hashtag1","hashtag2"]},{"1352915035":["hashtag1","hashtag2"]},{"1352915023":["hashtag1","hashtag2"]},{"1352915017":["hashtag1","hashtag2"]},{"1352915042":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915039, 1352915030, 1352915035, 1352915023, 1352915017, 1352915042)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91799974441528 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:15:32.242100
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_45_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_45_10717.jpg', '/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_35_9705.jpg', '/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_25_9708.jpg', '/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_45_10717.jpg
/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_35_9705.jpg
/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_25_9708.jpg
/home/nano/Desktop/images/23042025/05/14/image_23042025_05_14_55_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915085","1352915088","1352915082","1352915078"],"photo_ids_order":["1352915078","1352915082","1352915085","1352915088"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22402107e31e30344e31b7aa3e5e2cac.jpg","text":"TemporaryFile(/tmp/multipartBody2064021776479835248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378193428,"filename":"image_23042025_05_15_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8968f6dded9e2cb0d3af6bd2b96e22d.jpg","text":"TemporaryFile(/tmp/multipartBody5734553694419450904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378193428,"filename":"image_23042025_05_14_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68c76441426a3f94cf28aa255cc04a16.jpg","text":"TemporaryFile(/tmp/multipartBody7739882664005820841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378193428,"filename":"image_23042025_05_15_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43b320c8d77c9e60b2ccaf953e291204.jpg","text":"TemporaryFile(/tmp/multipartBody5636697414774461017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378193428,"filename":"image_23042025_05_15_45_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915085","file1":"1352915082","file0":"1352915078","file3":"1352915088"},"map_files_photo_id_array":[{"photo_id":"1352915085","filename":"file2"},{"photo_id":"1352915082","filename":"file1"},{"photo_id":"1352915078","filename":"file0"},{"photo_id":"1352915088","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915085":["hashtag1","hashtag2"]},{"1352915088":["hashtag1","hashtag2"]},{"1352915082":["hashtag1","hashtag2"]},{"1352915078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915085, 1352915088, 1352915082, 1352915078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 28.720036268234253 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:16:02.708701
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.57786226272583 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:16:32.319033
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_15_10743.jpg', 2), ('/home/nano/Desktop/images/23042025/05/15/image_23042025_05_16_05_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_55_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_35_9708.jpg', '/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_25_9706.jpg', '/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_15_10743.jpg', '/home/nano/Desktop/images/23042025/05/15/image_23042025_05_16_05_9717.jpg', '/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_55_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_45_9706.jpg
/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_35_9708.jpg
/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_25_9706.jpg
/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_15_10743.jpg
/home/nano/Desktop/images/23042025/05/15/image_23042025_05_16_05_9717.jpg
/home/nano/Desktop/images/23042025/05/15/image_23042025_05_15_55_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915117","1352915131","1352915134","1352915128","1352915121","1352915112"],"photo_ids_order":["1352915112","1352915117","1352915121","1352915128","1352915131","1352915134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9002edf80181497598982ec8e0a443f3.jpg","text":"TemporaryFile(/tmp/multipartBody5233844546295146389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378253701,"filename":"image_23042025_05_16_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98fd037d4e041ca098b993dc0ce7d631.jpg","text":"TemporaryFile(/tmp/multipartBody3759734347268691718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378253701,"filename":"image_23042025_05_16_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bcf83889f3bd0fc28e8edb59a17b9a2.jpg","text":"TemporaryFile(/tmp/multipartBody2328428966821689530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378253701,"filename":"image_23042025_05_15_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0710dfae11678694df250db24595236a.jpg","text":"TemporaryFile(/tmp/multipartBody4735165359560177817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378253701,"filename":"image_23042025_05_16_15_10743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76edc07d89acd2ed6eb23c92a8cbb8b6.jpg","text":"TemporaryFile(/tmp/multipartBody6810123961601668562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378253701,"filename":"image_23042025_05_16_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0343ac618f09a9a0448be52708c96e87.jpg","text":"TemporaryFile(/tmp/multipartBody4455231558103100439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378253701,"filename":"image_23042025_05_16_45_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915121","file1":"1352915117","file0":"1352915112","file4":"1352915131","file5":"1352915134","file3":"1352915128"},"map_files_photo_id_array":[{"photo_id":"1352915134","filename":"file5"},{"photo_id":"1352915121","filename":"file2"},{"photo_id":"1352915131","filename":"file4"},{"photo_id":"1352915117","filename":"file1"},{"photo_id":"1352915112","filename":"file0"},{"photo_id":"1352915128","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915117":["hashtag1","hashtag2"]},{"1352915131":["hashtag1","hashtag2"]},{"1352915134":["hashtag1","hashtag2"]},{"1352915128":["hashtag1","hashtag2"]},{"1352915121":["hashtag1","hashtag2"]},{"1352915112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915117, 1352915131, 1352915134, 1352915128, 1352915121, 1352915112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68565607070923 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:17:32.403810
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_35_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_25_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_15_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/05/16/image_23042025_05_17_05_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_55_10717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_35_9711.jpg', '/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_25_10715.jpg', '/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_15_9720.jpg', '/home/nano/Desktop/images/23042025/05/16/image_23042025_05_17_05_9710.jpg', '/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_55_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_45_9706.jpg
/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_35_9711.jpg
/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_25_10715.jpg
/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_15_9720.jpg
/home/nano/Desktop/images/23042025/05/16/image_23042025_05_17_05_9710.jpg
/home/nano/Desktop/images/23042025/05/16/image_23042025_05_16_55_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915161","1352915151","1352915154","1352915157","1352915165","1352915168"],"photo_ids_order":["1352915151","1352915154","1352915157","1352915161","1352915165","1352915168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8350a12462dbf0c96a793d7c5df358d7.jpg","text":"TemporaryFile(/tmp/multipartBody3194367567131540914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378313697,"filename":"image_23042025_05_17_15_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e5ba5ba2cf1785e256b4368bccb94af.jpg","text":"TemporaryFile(/tmp/multipartBody8743109401312100039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378313697,"filename":"image_23042025_05_17_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e602d895d14b9101ba624d72479f31da.jpg","text":"TemporaryFile(/tmp/multipartBody6981715701253669670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378313697,"filename":"image_23042025_05_17_35_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10895cf19dfde6a1b9b2da40dc66408d.jpg","text":"TemporaryFile(/tmp/multipartBody30606164646063694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378313697,"filename":"image_23042025_05_17_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9287556704aede1da4f49ec09282cd45.jpg","text":"TemporaryFile(/tmp/multipartBody7627292890816799917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378313697,"filename":"image_23042025_05_17_05_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f90398fdaa2af795f9013627bb5b23b.jpg","text":"TemporaryFile(/tmp/multipartBody3761609701214609112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378313697,"filename":"image_23042025_05_16_55_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915157","file1":"1352915154","file0":"1352915151","file4":"1352915165","file5":"1352915168","file3":"1352915161"},"map_files_photo_id_array":[{"photo_id":"1352915168","filename":"file5"},{"photo_id":"1352915157","filename":"file2"},{"photo_id":"1352915165","filename":"file4"},{"photo_id":"1352915154","filename":"file1"},{"photo_id":"1352915151","filename":"file0"},{"photo_id":"1352915161","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915161":["hashtag1","hashtag2"]},{"1352915151":["hashtag1","hashtag2"]},{"1352915154":["hashtag1","hashtag2"]},{"1352915157":["hashtag1","hashtag2"]},{"1352915165":["hashtag1","hashtag2"]},{"1352915168":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915161, 1352915151, 1352915154, 1352915157, 1352915165, 1352915168)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.900721788406372 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:18:32.499957
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_15_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/05/17/image_23042025_05_18_05_10731.jpg', 2), ('/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_25_9706.jpg', '/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_15_9714.jpg', '/home/nano/Desktop/images/23042025/05/17/image_23042025_05_18_05_10731.jpg', '/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_25_9706.jpg
/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_15_9714.jpg
/home/nano/Desktop/images/23042025/05/17/image_23042025_05_18_05_10731.jpg
/home/nano/Desktop/images/23042025/05/17/image_23042025_05_17_55_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915194","1352915185","1352915205","1352915189"],"photo_ids_order":["1352915185","1352915189","1352915194","1352915205"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c8bc2aae2fe4218ed5a4d211258c3da.jpg","text":"TemporaryFile(/tmp/multipartBody6765892261253244962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378373842,"filename":"image_23042025_05_18_05_10731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0732952aa6197731f32fb3a9d9de7152.jpg","text":"TemporaryFile(/tmp/multipartBody6838569569490417400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378373842,"filename":"image_23042025_05_18_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/321c0e65fdb0d4f157738c509d367ec0.jpg","text":"TemporaryFile(/tmp/multipartBody2406735081816399892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378373842,"filename":"image_23042025_05_17_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/953bd8f783242536f1543ffd21d633df.jpg","text":"TemporaryFile(/tmp/multipartBody8985507999081175383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378373842,"filename":"image_23042025_05_18_15_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915194","file1":"1352915189","file0":"1352915185","file3":"1352915205"},"map_files_photo_id_array":[{"photo_id":"1352915194","filename":"file2"},{"photo_id":"1352915189","filename":"file1"},{"photo_id":"1352915185","filename":"file0"},{"photo_id":"1352915205","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915194":["hashtag1","hashtag2"]},{"1352915185":["hashtag1","hashtag2"]},{"1352915205":["hashtag1","hashtag2"]},{"1352915189":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915194, 1352915185, 1352915205, 1352915189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.487637042999268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:19:03.401429
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5760140419006348 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:19:32.633878
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_35_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_15_10762.jpg', 2), ('/home/nano/Desktop/images/23042025/05/18/image_23042025_05_19_05_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_35_9715.jpg', '/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_15_10762.jpg', '/home/nano/Desktop/images/23042025/05/18/image_23042025_05_19_05_9723.jpg', '/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_35_9715.jpg
/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_15_10762.jpg
/home/nano/Desktop/images/23042025/05/18/image_23042025_05_19_05_9723.jpg
/home/nano/Desktop/images/23042025/05/18/image_23042025_05_18_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915245","1352915253","1352915238","1352915249"],"photo_ids_order":["1352915238","1352915245","1352915249","1352915253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9214ece89a6f8a26a63908c771e18631.jpg","text":"TemporaryFile(/tmp/multipartBody9091191621500712688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378433806,"filename":"image_23042025_05_19_15_10762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3839f49a9fab5ddfebe550e2541ed6ca.jpg","text":"TemporaryFile(/tmp/multipartBody3465578416644562215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378433806,"filename":"image_23042025_05_18_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07b3512b0f658a62bb8188a172e5a2f1.jpg","text":"TemporaryFile(/tmp/multipartBody2548745738605965494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378433806,"filename":"image_23042025_05_19_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c88e23155d767f6efd120fd9a8be057f.jpg","text":"TemporaryFile(/tmp/multipartBody7326083917932887999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378433806,"filename":"image_23042025_05_19_05_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915249","file1":"1352915245","file0":"1352915238","file3":"1352915253"},"map_files_photo_id_array":[{"photo_id":"1352915249","filename":"file2"},{"photo_id":"1352915245","filename":"file1"},{"photo_id":"1352915238","filename":"file0"},{"photo_id":"1352915253","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915245":["hashtag1","hashtag2"]},{"1352915253":["hashtag1","hashtag2"]},{"1352915238":["hashtag1","hashtag2"]},{"1352915249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915245, 1352915253, 1352915238, 1352915249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.109620571136475 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:20:03.080698
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5561230182647705 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:20:32.718516
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_15_9757.jpg', 2), ('/home/nano/Desktop/images/23042025/05/19/image_23042025_05_20_05_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_45_10716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_45_9709.jpg', '/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_15_9757.jpg', '/home/nano/Desktop/images/23042025/05/19/image_23042025_05_20_05_9723.jpg', '/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_45_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_45_9709.jpg
/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_15_9757.jpg
/home/nano/Desktop/images/23042025/05/19/image_23042025_05_20_05_9723.jpg
/home/nano/Desktop/images/23042025/05/19/image_23042025_05_19_45_10716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915300","1352915293","1352915296","1352915289"],"photo_ids_order":["1352915289","1352915293","1352915296","1352915300"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e4192a9c01a5b39eb951eda4924715d.jpg","text":"TemporaryFile(/tmp/multipartBody8804544230991511826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378493907,"filename":"image_23042025_05_19_45_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/250dde3793995d9f112332b75e60421e.jpg","text":"TemporaryFile(/tmp/multipartBody4872261578327614543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378493907,"filename":"image_23042025_05_20_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/061f5e7cfef97aeaa13464bce4ac4788.jpg","text":"TemporaryFile(/tmp/multipartBody3736500454842491576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378493907,"filename":"image_23042025_05_20_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8eb612ed5131d4f36eb63d040862669e.jpg","text":"TemporaryFile(/tmp/multipartBody2262234967007259557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378493907,"filename":"image_23042025_05_20_45_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915296","file1":"1352915293","file0":"1352915289","file3":"1352915300"},"map_files_photo_id_array":[{"photo_id":"1352915296","filename":"file2"},{"photo_id":"1352915293","filename":"file1"},{"photo_id":"1352915289","filename":"file0"},{"photo_id":"1352915300","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915300":["hashtag1","hashtag2"]},{"1352915293":["hashtag1","hashtag2"]},{"1352915296":["hashtag1","hashtag2"]},{"1352915289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915300, 1352915293, 1352915296, 1352915289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.24239468574524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:21:02.306694
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7625398635864258 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:21:31.869848
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/21/image_23042025_05_21_15_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/20/image_23042025_05_21_05_10737.jpg', 2), ('/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/21/image_23042025_05_21_15_9717.jpg', '/home/nano/Desktop/images/23042025/05/20/image_23042025_05_21_05_10737.jpg', '/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/21/image_23042025_05_21_15_9717.jpg
/home/nano/Desktop/images/23042025/05/20/image_23042025_05_21_05_10737.jpg
/home/nano/Desktop/images/23042025/05/20/image_23042025_05_20_55_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915320","1352915314","1352915324"],"photo_ids_order":["1352915314","1352915320","1352915324"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce86651dde415ffa19a951d76b58073b.jpg","text":"TemporaryFile(/tmp/multipartBody712045516240164160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378553041,"filename":"image_23042025_05_21_05_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c088d3d7ee759cc160ca6138686fee6f.jpg","text":"TemporaryFile(/tmp/multipartBody4604261284669706482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378553041,"filename":"image_23042025_05_21_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8defcbeebc12da684889964e4adfa65.jpg","text":"TemporaryFile(/tmp/multipartBody4602364724774984807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378553041,"filename":"image_23042025_05_20_55_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915324","file1":"1352915320","file0":"1352915314"},"map_files_photo_id_array":[{"photo_id":"1352915324","filename":"file2"},{"photo_id":"1352915320","filename":"file1"},{"photo_id":"1352915314","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915320":["hashtag1","hashtag2"]},{"1352915314":["hashtag1","hashtag2"]},{"1352915324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915320, 1352915314, 1352915324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.806509733200073 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:22:02.326263
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.530177116394043 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:22:32.040745
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_25_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_15_10729.jpg', 2), ('/home/nano/Desktop/images/23042025/05/21/image_23042025_05_22_05_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/05/21/image_23042025_05_21_35_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_25_9724.jpg', '/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_15_10729.jpg', '/home/nano/Desktop/images/23042025/05/21/image_23042025_05_22_05_9722.jpg', '/home/nano/Desktop/images/23042025/05/21/image_23042025_05_21_35_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_25_9724.jpg
/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_15_10729.jpg
/home/nano/Desktop/images/23042025/05/21/image_23042025_05_22_05_9722.jpg
/home/nano/Desktop/images/23042025/05/21/image_23042025_05_21_35_10713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915353","1352915356","1352915350","1352915345"],"photo_ids_order":["1352915345","1352915350","1352915353","1352915356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c8d2567c68038344857ac79ff109e00.jpg","text":"TemporaryFile(/tmp/multipartBody4128649430425419059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378613333,"filename":"image_23042025_05_22_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0cfb840f37634adb0d23421266873d5.jpg","text":"TemporaryFile(/tmp/multipartBody342505916368856199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378613333,"filename":"image_23042025_05_21_35_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a58003bcbd176d17a8ff2fec1bc05a2.jpg","text":"TemporaryFile(/tmp/multipartBody7368002432056742333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378613333,"filename":"image_23042025_05_22_15_10729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4a47f218b133fbe8e212be5fc109676.jpg","text":"TemporaryFile(/tmp/multipartBody5870395643523208733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378613333,"filename":"image_23042025_05_22_25_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915353","file1":"1352915350","file0":"1352915345","file3":"1352915356"},"map_files_photo_id_array":[{"photo_id":"1352915353","filename":"file2"},{"photo_id":"1352915350","filename":"file1"},{"photo_id":"1352915345","filename":"file0"},{"photo_id":"1352915356","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915353":["hashtag1","hashtag2"]},{"1352915356":["hashtag1","hashtag2"]},{"1352915350":["hashtag1","hashtag2"]},{"1352915345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915353, 1352915356, 1352915350, 1352915345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.925719738006592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:23:02.463357
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6839208602905273 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:23:32.170295
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_55_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_25_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_15_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/22/image_23042025_05_23_05_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_55_10716.jpg', '/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_35_9706.jpg', '/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_25_10714.jpg', '/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_15_9708.jpg', '/home/nano/Desktop/images/23042025/05/22/image_23042025_05_23_05_9722.jpg', '/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_55_10716.jpg
/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_35_9706.jpg
/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_25_10714.jpg
/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_15_9708.jpg
/home/nano/Desktop/images/23042025/05/22/image_23042025_05_23_05_9722.jpg
/home/nano/Desktop/images/23042025/05/22/image_23042025_05_22_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915386","1352915389","1352915382","1352915379","1352915399","1352915396"],"photo_ids_order":["1352915379","1352915382","1352915386","1352915389","1352915396","1352915399"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f949cbb8ac49486bebdac79dfd2d6dc.jpg","text":"TemporaryFile(/tmp/multipartBody1105167529394781204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378673667,"filename":"image_23042025_05_23_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fca07b2f00ccbefa5cda2e16e25b1d9.jpg","text":"TemporaryFile(/tmp/multipartBody5964453161017732963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378673667,"filename":"image_23042025_05_23_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c264df14d95b8b5fcf213d384cf1ec81.jpg","text":"TemporaryFile(/tmp/multipartBody5412079023992664850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378673667,"filename":"image_23042025_05_23_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32facbda544bffee8c9d1189ef76b704.jpg","text":"TemporaryFile(/tmp/multipartBody5345140713825359080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378673667,"filename":"image_23042025_05_23_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e79dc2a47bce591128ffc1dc63888631.jpg","text":"TemporaryFile(/tmp/multipartBody1738282620204096662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378673667,"filename":"image_23042025_05_22_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de911bb069c5a5881dcc81494ac87be0.jpg","text":"TemporaryFile(/tmp/multipartBody5879687194934598806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378673667,"filename":"image_23042025_05_23_05_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915386","file1":"1352915382","file0":"1352915379","file4":"1352915396","file5":"1352915399","file3":"1352915389"},"map_files_photo_id_array":[{"photo_id":"1352915399","filename":"file5"},{"photo_id":"1352915386","filename":"file2"},{"photo_id":"1352915396","filename":"file4"},{"photo_id":"1352915382","filename":"file1"},{"photo_id":"1352915379","filename":"file0"},{"photo_id":"1352915389","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915386":["hashtag1","hashtag2"]},{"1352915389":["hashtag1","hashtag2"]},{"1352915382":["hashtag1","hashtag2"]},{"1352915379":["hashtag1","hashtag2"]},{"1352915399":["hashtag1","hashtag2"]},{"1352915396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915386, 1352915389, 1352915382, 1352915379, 1352915399, 1352915396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.500314712524414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:24:32.278940
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_35_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_15_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/05/23/image_23042025_05_24_05_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_45_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_45_9707.jpg', '/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_35_10718.jpg', '/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_15_9723.jpg', '/home/nano/Desktop/images/23042025/05/23/image_23042025_05_24_05_9718.jpg', '/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_45_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_45_9707.jpg
/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_35_10718.jpg
/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_15_9723.jpg
/home/nano/Desktop/images/23042025/05/23/image_23042025_05_24_05_9718.jpg
/home/nano/Desktop/images/23042025/05/23/image_23042025_05_23_45_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915420","1352915417","1352915428","1352915424","1352915426"],"photo_ids_order":["1352915417","1352915420","1352915424","1352915426","1352915428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7bf5ed7f4b702668de667e2e7f3a4a19.jpg","text":"TemporaryFile(/tmp/multipartBody7508412945270077083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378734054,"filename":"image_23042025_05_24_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d37111ea7e65c3d82e65065c27b07cda.jpg","text":"TemporaryFile(/tmp/multipartBody5391548136461454540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378734054,"filename":"image_23042025_05_24_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/956f3ec8075b3c0b204b846d700b3bcd.jpg","text":"TemporaryFile(/tmp/multipartBody5323521302535917267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378734054,"filename":"image_23042025_05_23_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2461fccdae0f46ff790466efdeb634a.jpg","text":"TemporaryFile(/tmp/multipartBody2034929880737462474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378734054,"filename":"image_23042025_05_24_15_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/926b013d0f62333943c21157fbfbaa08.jpg","text":"TemporaryFile(/tmp/multipartBody3860961332750264375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378734054,"filename":"image_23042025_05_24_05_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915424","file1":"1352915420","file0":"1352915417","file4":"1352915428","file3":"1352915426"},"map_files_photo_id_array":[{"photo_id":"1352915424","filename":"file2"},{"photo_id":"1352915428","filename":"file4"},{"photo_id":"1352915420","filename":"file1"},{"photo_id":"1352915417","filename":"file0"},{"photo_id":"1352915426","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915420":["hashtag1","hashtag2"]},{"1352915417":["hashtag1","hashtag2"]},{"1352915428":["hashtag1","hashtag2"]},{"1352915424":["hashtag1","hashtag2"]},{"1352915426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915420, 1352915417, 1352915428, 1352915424, 1352915426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.55157470703125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:25:02.775905
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7166285514831543 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:25:32.370396
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/25/image_23042025_05_25_15_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/24/image_23042025_05_25_05_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_55_9725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/25/image_23042025_05_25_15_9706.jpg', '/home/nano/Desktop/images/23042025/05/24/image_23042025_05_25_05_10740.jpg', '/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_55_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/25/image_23042025_05_25_15_9706.jpg
/home/nano/Desktop/images/23042025/05/24/image_23042025_05_25_05_10740.jpg
/home/nano/Desktop/images/23042025/05/24/image_23042025_05_24_55_9725.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915454","1352915456","1352915459"],"photo_ids_order":["1352915454","1352915456","1352915459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bcaab1ac6d2d7041b0ef91d32b79ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2621802900498501735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378793976,"filename":"image_23042025_05_25_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f797a74d6071043a27c527fd8c0119a4.jpg","text":"TemporaryFile(/tmp/multipartBody1809263341253317522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378793976,"filename":"image_23042025_05_25_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79935942b7ce85d391c39da0f1f02ad7.jpg","text":"TemporaryFile(/tmp/multipartBody7926590268700140995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378793976,"filename":"image_23042025_05_24_55_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915459","file1":"1352915456","file0":"1352915454"},"map_files_photo_id_array":[{"photo_id":"1352915459","filename":"file2"},{"photo_id":"1352915456","filename":"file1"},{"photo_id":"1352915454","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915454":["hashtag1","hashtag2"]},{"1352915456":["hashtag1","hashtag2"]},{"1352915459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915454, 1352915456, 1352915459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.64788007736206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:26:02.683167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8482260704040527 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:26:32.444420
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_35_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_25_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_15_10746.jpg', 2), ('/home/nano/Desktop/images/23042025/05/25/image_23042025_05_26_05_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/05/25/image_23042025_05_25_25_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_45_9704.jpg', '/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_35_9729.jpg', '/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_25_9710.jpg', '/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_15_10746.jpg', '/home/nano/Desktop/images/23042025/05/25/image_23042025_05_26_05_9725.jpg', '/home/nano/Desktop/images/23042025/05/25/image_23042025_05_25_25_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_45_9704.jpg
/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_35_9729.jpg
/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_25_9710.jpg
/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_15_10746.jpg
/home/nano/Desktop/images/23042025/05/25/image_23042025_05_26_05_9725.jpg
/home/nano/Desktop/images/23042025/05/25/image_23042025_05_25_25_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915485","1352915488","1352915481","1352915472","1352915492","1352915477"],"photo_ids_order":["1352915472","1352915477","1352915481","1352915485","1352915488","1352915492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/730b697f3ec496ca3b76c303c684f02c.jpg","text":"TemporaryFile(/tmp/multipartBody7433901536181095822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378853715,"filename":"image_23042025_05_26_15_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a653f00023745e1e25996d4383f74d3.jpg","text":"TemporaryFile(/tmp/multipartBody7765315285206340075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378853715,"filename":"image_23042025_05_26_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5859aaf42d2a801aeef13c256a477a2e.jpg","text":"TemporaryFile(/tmp/multipartBody6117620268998517602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378853715,"filename":"image_23042025_05_26_25_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c32fa451c59c724e3a119da4e659067f.jpg","text":"TemporaryFile(/tmp/multipartBody2472863309417587393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378853715,"filename":"image_23042025_05_26_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5feaac4fc59434bd4c28b15f14f984a6.jpg","text":"TemporaryFile(/tmp/multipartBody3444032020231170082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378853715,"filename":"image_23042025_05_25_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c29f3a0f5b0ebde1568de0c13a732aa.jpg","text":"TemporaryFile(/tmp/multipartBody1123233244143556566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378853715,"filename":"image_23042025_05_26_35_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915481","file1":"1352915477","file0":"1352915472","file4":"1352915488","file5":"1352915492","file3":"1352915485"},"map_files_photo_id_array":[{"photo_id":"1352915492","filename":"file5"},{"photo_id":"1352915481","filename":"file2"},{"photo_id":"1352915488","filename":"file4"},{"photo_id":"1352915477","filename":"file1"},{"photo_id":"1352915472","filename":"file0"},{"photo_id":"1352915485","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915485":["hashtag1","hashtag2"]},{"1352915488":["hashtag1","hashtag2"]},{"1352915481":["hashtag1","hashtag2"]},{"1352915472":["hashtag1","hashtag2"]},{"1352915492":["hashtag1","hashtag2"]},{"1352915477":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915485, 1352915488, 1352915481, 1352915472, 1352915492, 1352915477)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10307431221008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:27:32.545602
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_35_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/26/image_23042025_05_27_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_55_10718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_35_10718.jpg', '/home/nano/Desktop/images/23042025/05/26/image_23042025_05_27_05_9712.jpg', '/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_55_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_45_9706.jpg
/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_35_10718.jpg
/home/nano/Desktop/images/23042025/05/26/image_23042025_05_27_05_9712.jpg
/home/nano/Desktop/images/23042025/05/26/image_23042025_05_26_55_10718.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915515","1352915511","1352915520","1352915504"],"photo_ids_order":["1352915504","1352915511","1352915515","1352915520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59293348167dade7194b159778346990.jpg","text":"TemporaryFile(/tmp/multipartBody5143367955636565672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378913649,"filename":"image_23042025_05_27_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ffd152f1c0da5a33372407b65361161.jpg","text":"TemporaryFile(/tmp/multipartBody2669357252236890838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378913649,"filename":"image_23042025_05_27_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7e04c1ddcce52305a817df701fb5922.jpg","text":"TemporaryFile(/tmp/multipartBody7162437793868443276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378913649,"filename":"image_23042025_05_26_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/491efc35f7d4caf1638797232ec43b59.jpg","text":"TemporaryFile(/tmp/multipartBody6133120586834896941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378913649,"filename":"image_23042025_05_27_45_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915515","file1":"1352915511","file0":"1352915504","file3":"1352915520"},"map_files_photo_id_array":[{"photo_id":"1352915515","filename":"file2"},{"photo_id":"1352915511","filename":"file1"},{"photo_id":"1352915504","filename":"file0"},{"photo_id":"1352915520","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915515":["hashtag1","hashtag2"]},{"1352915511":["hashtag1","hashtag2"]},{"1352915520":["hashtag1","hashtag2"]},{"1352915504":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915515, 1352915511, 1352915520, 1352915504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.55854105949402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:28:02.946836
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5944571495056152 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:28:32.695287
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_15_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/05/27/image_23042025_05_28_05_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_45_9709.jpg', '/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_25_9705.jpg', '/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_15_9711.jpg', '/home/nano/Desktop/images/23042025/05/27/image_23042025_05_28_05_10718.jpg', '/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_45_9709.jpg
/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_25_9705.jpg
/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_15_9711.jpg
/home/nano/Desktop/images/23042025/05/27/image_23042025_05_28_05_10718.jpg
/home/nano/Desktop/images/23042025/05/27/image_23042025_05_27_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915551","1352915548","1352915544","1352915535","1352915540"],"photo_ids_order":["1352915535","1352915540","1352915544","1352915548","1352915551"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33fee5d64d180eaec196d3e2ac4df19c.jpg","text":"TemporaryFile(/tmp/multipartBody2137645934751287300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378974231,"filename":"image_23042025_05_27_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c51212e629334bf6d7f1a30fd841aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2900085093132800340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378974231,"filename":"image_23042025_05_28_05_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e33968f5c45b1a830299c8874bab427.jpg","text":"TemporaryFile(/tmp/multipartBody1638508111096377056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378974231,"filename":"image_23042025_05_28_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be16ddf9f31f7d537d4427cc4d72783b.jpg","text":"TemporaryFile(/tmp/multipartBody5603641892598211548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378974231,"filename":"image_23042025_05_28_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b6c4d335f49a19dc9bb2cc245701ef7.jpg","text":"TemporaryFile(/tmp/multipartBody100192964307584069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745378974231,"filename":"image_23042025_05_28_25_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915544","file1":"1352915540","file0":"1352915535","file4":"1352915551","file3":"1352915548"},"map_files_photo_id_array":[{"photo_id":"1352915544","filename":"file2"},{"photo_id":"1352915551","filename":"file4"},{"photo_id":"1352915540","filename":"file1"},{"photo_id":"1352915535","filename":"file0"},{"photo_id":"1352915548","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915551":["hashtag1","hashtag2"]},{"1352915548":["hashtag1","hashtag2"]},{"1352915544":["hashtag1","hashtag2"]},{"1352915535":["hashtag1","hashtag2"]},{"1352915540":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915551, 1352915548, 1352915544, 1352915535, 1352915540)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.403648853302002 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:29:02.511874
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5853538513183594 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:29:31.787716
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_15_10741.jpg', 2), ('/home/nano/Desktop/images/23042025/05/28/image_23042025_05_29_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_25_9707.jpg', '/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_15_10741.jpg', '/home/nano/Desktop/images/23042025/05/28/image_23042025_05_29_05_9712.jpg', '/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_25_9707.jpg
/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_15_10741.jpg
/home/nano/Desktop/images/23042025/05/28/image_23042025_05_29_05_9712.jpg
/home/nano/Desktop/images/23042025/05/28/image_23042025_05_28_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915595","1352915570","1352915582","1352915576"],"photo_ids_order":["1352915570","1352915576","1352915582","1352915595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5f295675cfe472035e47192299b8e3e.jpg","text":"TemporaryFile(/tmp/multipartBody7399271121598068080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379033388,"filename":"image_23042025_05_28_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ab4cafb7a16655b45d1c8d080f1673a.jpg","text":"TemporaryFile(/tmp/multipartBody1408826393568912300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379033388,"filename":"image_23042025_05_29_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58e80fe1bd05866a9f2d148f909b948d.jpg","text":"TemporaryFile(/tmp/multipartBody7129670850650206552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379033388,"filename":"image_23042025_05_29_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c16bff2f7c5993b50a5a5d641ec751cd.jpg","text":"TemporaryFile(/tmp/multipartBody1188563656456220289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379033388,"filename":"image_23042025_05_29_15_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915582","file1":"1352915576","file0":"1352915570","file3":"1352915595"},"map_files_photo_id_array":[{"photo_id":"1352915582","filename":"file2"},{"photo_id":"1352915576","filename":"file1"},{"photo_id":"1352915570","filename":"file0"},{"photo_id":"1352915595","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915595":["hashtag1","hashtag2"]},{"1352915570":["hashtag1","hashtag2"]},{"1352915582":["hashtag1","hashtag2"]},{"1352915576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915595, 1352915570, 1352915582, 1352915576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 26.24739646911621 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:30:02.225409
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8374600410461426 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:30:31.848755
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_35_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_35_9708.jpg', '/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_35_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_45_9706.jpg
/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_35_9708.jpg
/home/nano/Desktop/images/23042025/05/29/image_23042025_05_29_35_9726.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915637","1352915634","1352915630"],"photo_ids_order":["1352915630","1352915634","1352915637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3983e4fa515b6f94e5d6d89ad34158f.jpg","text":"TemporaryFile(/tmp/multipartBody3634292741059484355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379093499,"filename":"image_23042025_05_29_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fca9c2aa141819bde5db8f7e7e7d56a1.jpg","text":"TemporaryFile(/tmp/multipartBody6655949505368476797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379093499,"filename":"image_23042025_05_30_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6a17ccd397f9e2a548ca25f3e218447.jpg","text":"TemporaryFile(/tmp/multipartBody6291362070082105239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379093499,"filename":"image_23042025_05_30_45_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915637","file1":"1352915634","file0":"1352915630"},"map_files_photo_id_array":[{"photo_id":"1352915637","filename":"file2"},{"photo_id":"1352915634","filename":"file1"},{"photo_id":"1352915630","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915637":["hashtag1","hashtag2"]},{"1352915634":["hashtag1","hashtag2"]},{"1352915630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915637, 1352915634, 1352915630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.581019639968872 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:31:02.440059
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.014686107635498 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:31:31.948127
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_15_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/30/image_23042025_05_31_05_10731.jpg', 2), ('/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_45_9707.jpg', '/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_25_9706.jpg', '/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_15_9707.jpg', '/home/nano/Desktop/images/23042025/05/30/image_23042025_05_31_05_10731.jpg', '/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_45_9707.jpg
/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_25_9706.jpg
/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_15_9707.jpg
/home/nano/Desktop/images/23042025/05/30/image_23042025_05_31_05_10731.jpg
/home/nano/Desktop/images/23042025/05/30/image_23042025_05_30_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915659","1352915656","1352915679","1352915669","1352915663"],"photo_ids_order":["1352915656","1352915659","1352915663","1352915669","1352915679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0608dc1373adb8d1dcbd416f231771ab.jpg","text":"TemporaryFile(/tmp/multipartBody3013186507002339735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379153065,"filename":"image_23042025_05_31_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fd8376473fa2f2d230159044bbde322.jpg","text":"TemporaryFile(/tmp/multipartBody5107448043774707108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379153065,"filename":"image_23042025_05_31_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/116961b3d6c34c6c6115d7911bee00dd.jpg","text":"TemporaryFile(/tmp/multipartBody307149027912030402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379153065,"filename":"image_23042025_05_30_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae098e5ce779d1f9ec830cccf9792019.jpg","text":"TemporaryFile(/tmp/multipartBody676291714059373849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379153065,"filename":"image_23042025_05_31_05_10731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/086ddf45b1599399c813aa1b889427e8.jpg","text":"TemporaryFile(/tmp/multipartBody8327113463474264976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379153065,"filename":"image_23042025_05_31_15_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915663","file1":"1352915659","file0":"1352915656","file4":"1352915679","file3":"1352915669"},"map_files_photo_id_array":[{"photo_id":"1352915663","filename":"file2"},{"photo_id":"1352915679","filename":"file4"},{"photo_id":"1352915659","filename":"file1"},{"photo_id":"1352915656","filename":"file0"},{"photo_id":"1352915669","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915659":["hashtag1","hashtag2"]},{"1352915656":["hashtag1","hashtag2"]},{"1352915679":["hashtag1","hashtag2"]},{"1352915669":["hashtag1","hashtag2"]},{"1352915663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915659, 1352915656, 1352915679, 1352915669, 1352915663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.955196380615234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:32:32.054065
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_25_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_15_10732.jpg', 2), ('/home/nano/Desktop/images/23042025/05/31/image_23042025_05_32_05_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_25_9727.jpg', '/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_15_10732.jpg', '/home/nano/Desktop/images/23042025/05/31/image_23042025_05_32_05_9711.jpg', '/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_25_9727.jpg
/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_15_10732.jpg
/home/nano/Desktop/images/23042025/05/31/image_23042025_05_32_05_9711.jpg
/home/nano/Desktop/images/23042025/05/31/image_23042025_05_31_55_9705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915711","1352915707","1352915703","1352915699"],"photo_ids_order":["1352915699","1352915703","1352915707","1352915711"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b32e9aedf1f0ca303b0543f445c2c88.jpg","text":"TemporaryFile(/tmp/multipartBody967438691712057696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379213336,"filename":"image_23042025_05_31_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48866c8e73b013024882c6363c9b0f95.jpg","text":"TemporaryFile(/tmp/multipartBody1735800511410015745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379213336,"filename":"image_23042025_05_32_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/641d6d99275dd6771a275b11725abaf6.jpg","text":"TemporaryFile(/tmp/multipartBody4117548411668504330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379213336,"filename":"image_23042025_05_32_15_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac832af6edde5111e16ce1925c5a669b.jpg","text":"TemporaryFile(/tmp/multipartBody8388336163067976552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379213336,"filename":"image_23042025_05_32_25_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915707","file1":"1352915703","file0":"1352915699","file3":"1352915711"},"map_files_photo_id_array":[{"photo_id":"1352915707","filename":"file2"},{"photo_id":"1352915703","filename":"file1"},{"photo_id":"1352915699","filename":"file0"},{"photo_id":"1352915711","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915711":["hashtag1","hashtag2"]},{"1352915707":["hashtag1","hashtag2"]},{"1352915703":["hashtag1","hashtag2"]},{"1352915699":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915711, 1352915707, 1352915703, 1352915699)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.6639404296875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:33:02.678049
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.547593116760254 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:33:32.146404
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_35_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_25_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_15_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/32/image_23042025_05_33_05_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_45_9708.jpg', '/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_35_9725.jpg', '/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_25_10716.jpg', '/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_15_9715.jpg', '/home/nano/Desktop/images/23042025/05/32/image_23042025_05_33_05_9707.jpg', '/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_45_9708.jpg
/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_35_9725.jpg
/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_25_10716.jpg
/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_15_9715.jpg
/home/nano/Desktop/images/23042025/05/32/image_23042025_05_33_05_9707.jpg
/home/nano/Desktop/images/23042025/05/32/image_23042025_05_32_55_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915770","1352915772","1352915766","1352915760","1352915763","1352915757"],"photo_ids_order":["1352915757","1352915760","1352915763","1352915766","1352915770","1352915772"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9875a8eb8df7363b0d24478fd29e5c44.jpg","text":"TemporaryFile(/tmp/multipartBody5093360970018759810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379273350,"filename":"image_23042025_05_33_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/040376953231ec46cb478fe0ea875ffd.jpg","text":"TemporaryFile(/tmp/multipartBody821151081371908126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379273350,"filename":"image_23042025_05_32_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e123ac9f7653eb4536d9d281a42c7af8.jpg","text":"TemporaryFile(/tmp/multipartBody2222356035919655296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379273350,"filename":"image_23042025_05_33_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0abd8c3c5c600f02fd0f46949c6c9edd.jpg","text":"TemporaryFile(/tmp/multipartBody3042834540686533091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379273350,"filename":"image_23042025_05_33_35_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/475f030384b93798f857858957197da8.jpg","text":"TemporaryFile(/tmp/multipartBody6595108304589089801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379273350,"filename":"image_23042025_05_33_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05f607872736d37f7288bf59e7c2d7b7.jpg","text":"TemporaryFile(/tmp/multipartBody4774513095740877388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379273350,"filename":"image_23042025_05_33_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915763","file1":"1352915760","file0":"1352915757","file4":"1352915770","file5":"1352915772","file3":"1352915766"},"map_files_photo_id_array":[{"photo_id":"1352915772","filename":"file5"},{"photo_id":"1352915763","filename":"file2"},{"photo_id":"1352915770","filename":"file4"},{"photo_id":"1352915760","filename":"file1"},{"photo_id":"1352915757","filename":"file0"},{"photo_id":"1352915766","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915770":["hashtag1","hashtag2"]},{"1352915772":["hashtag1","hashtag2"]},{"1352915766":["hashtag1","hashtag2"]},{"1352915760":["hashtag1","hashtag2"]},{"1352915763":["hashtag1","hashtag2"]},{"1352915757":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915770, 1352915772, 1352915766, 1352915760, 1352915763, 1352915757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.32427144050598 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:34:32.264701
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_35_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_25_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_15_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/05/33/image_23042025_05_34_05_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_55_10716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_45_9708.jpg', '/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_35_10720.jpg', '/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_25_9724.jpg', '/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_15_9736.jpg', '/home/nano/Desktop/images/23042025/05/33/image_23042025_05_34_05_9729.jpg', '/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_45_9708.jpg
/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_35_10720.jpg
/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_25_9724.jpg
/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_15_9736.jpg
/home/nano/Desktop/images/23042025/05/33/image_23042025_05_34_05_9729.jpg
/home/nano/Desktop/images/23042025/05/33/image_23042025_05_33_55_10716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915797","1352915800","1352915790","1352915793","1352915787","1352915783"],"photo_ids_order":["1352915783","1352915787","1352915790","1352915793","1352915797","1352915800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd44e43b337c463849ee99fab85d88dd.jpg","text":"TemporaryFile(/tmp/multipartBody1230993070728075159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379334282,"filename":"image_23042025_05_34_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a85de9997781c270ae5675fbed6183d.jpg","text":"TemporaryFile(/tmp/multipartBody5683417922995284228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379334282,"filename":"image_23042025_05_33_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/017aa432ef8fd206943d6a08bfbd85b5.jpg","text":"TemporaryFile(/tmp/multipartBody354516481431542806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379334282,"filename":"image_23042025_05_34_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9c00f942e1f4ebd826a0f0957918154.jpg","text":"TemporaryFile(/tmp/multipartBody5332939186685408832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379334282,"filename":"image_23042025_05_34_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96fa6b062ca6aeed3c7de70ad45881a6.jpg","text":"TemporaryFile(/tmp/multipartBody5978822456574636367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379334282,"filename":"image_23042025_05_34_35_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4320453f5cffbc88e337fdce49b76ae2.jpg","text":"TemporaryFile(/tmp/multipartBody582868886922321167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379334282,"filename":"image_23042025_05_34_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915790","file1":"1352915787","file0":"1352915783","file4":"1352915797","file5":"1352915800","file3":"1352915793"},"map_files_photo_id_array":[{"photo_id":"1352915800","filename":"file5"},{"photo_id":"1352915790","filename":"file2"},{"photo_id":"1352915797","filename":"file4"},{"photo_id":"1352915787","filename":"file1"},{"photo_id":"1352915783","filename":"file0"},{"photo_id":"1352915793","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915797":["hashtag1","hashtag2"]},{"1352915800":["hashtag1","hashtag2"]},{"1352915790":["hashtag1","hashtag2"]},{"1352915793":["hashtag1","hashtag2"]},{"1352915787":["hashtag1","hashtag2"]},{"1352915783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915797, 1352915800, 1352915790, 1352915793, 1352915787, 1352915783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.940913200378418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:35:32.417161
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_15_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/34/image_23042025_05_35_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_55_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_45_10715.jpg', '/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_25_9705.jpg', '/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_15_9709.jpg', '/home/nano/Desktop/images/23042025/05/34/image_23042025_05_35_05_10719.jpg', '/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_55_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_45_10715.jpg
/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_25_9705.jpg
/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_15_9709.jpg
/home/nano/Desktop/images/23042025/05/34/image_23042025_05_35_05_10719.jpg
/home/nano/Desktop/images/23042025/05/34/image_23042025_05_34_55_9708.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915836","1352915821","1352915817","1352915831","1352915828"],"photo_ids_order":["1352915817","1352915821","1352915828","1352915831","1352915836"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d026032175de2e0a5dcd96321dc0d14c.jpg","text":"TemporaryFile(/tmp/multipartBody5156605416341351609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379393687,"filename":"image_23042025_05_34_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/038a1bec2b40dd47d09a9128562f5cef.jpg","text":"TemporaryFile(/tmp/multipartBody130390211749591589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379393687,"filename":"image_23042025_05_35_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74b12ce279a899e737849985480229bd.jpg","text":"TemporaryFile(/tmp/multipartBody5627820865879481597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379393687,"filename":"image_23042025_05_35_45_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef2a1e08d366b9f30376b4925154532e.jpg","text":"TemporaryFile(/tmp/multipartBody3203944246459165500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379393687,"filename":"image_23042025_05_35_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c992a582aa3e2ed3e04b4f003ed784b.jpg","text":"TemporaryFile(/tmp/multipartBody374499298267901721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379393687,"filename":"image_23042025_05_35_15_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915828","file1":"1352915821","file0":"1352915817","file4":"1352915836","file3":"1352915831"},"map_files_photo_id_array":[{"photo_id":"1352915828","filename":"file2"},{"photo_id":"1352915836","filename":"file4"},{"photo_id":"1352915821","filename":"file1"},{"photo_id":"1352915817","filename":"file0"},{"photo_id":"1352915831","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915836":["hashtag1","hashtag2"]},{"1352915821":["hashtag1","hashtag2"]},{"1352915817":["hashtag1","hashtag2"]},{"1352915831":["hashtag1","hashtag2"]},{"1352915828":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915836, 1352915821, 1352915817, 1352915831, 1352915828)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.136046171188354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:36:02.913647
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7162840366363525 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:36:32.513193
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_45_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_35_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_15_10766.jpg', 2), ('/home/nano/Desktop/images/23042025/05/35/image_23042025_05_36_05_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_55_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_45_9725.jpg', '/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_35_9726.jpg', '/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_25_9709.jpg', '/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_15_10766.jpg', '/home/nano/Desktop/images/23042025/05/35/image_23042025_05_36_05_9708.jpg', '/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_45_9725.jpg
/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_35_9726.jpg
/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_25_9709.jpg
/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_15_10766.jpg
/home/nano/Desktop/images/23042025/05/35/image_23042025_05_36_05_9708.jpg
/home/nano/Desktop/images/23042025/05/35/image_23042025_05_35_55_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915881","1352915860","1352915878","1352915874","1352915870","1352915855"],"photo_ids_order":["1352915855","1352915860","1352915870","1352915874","1352915878","1352915881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51d3ae9b4f2c7fd0df7d15bc154c0a0f.jpg","text":"TemporaryFile(/tmp/multipartBody2021888681888233320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379453889,"filename":"image_23042025_05_35_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/489394f6097febb26fb918feb7c79b13.jpg","text":"TemporaryFile(/tmp/multipartBody144885599771202809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379453889,"filename":"image_23042025_05_36_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db2c2b0a2cb63f478d2c6063dba96fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2319496914425428969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379453889,"filename":"image_23042025_05_36_05_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df6bc5eef76f7869638d81e3a3bb5cea.jpg","text":"TemporaryFile(/tmp/multipartBody6141802092501790026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379453889,"filename":"image_23042025_05_36_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/336417aeaec4546997f2352e94212a01.jpg","text":"TemporaryFile(/tmp/multipartBody3145897261280398355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379453889,"filename":"image_23042025_05_36_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ed115505e5133f11b9e0024059359a3.jpg","text":"TemporaryFile(/tmp/multipartBody3792211176309857928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379453889,"filename":"image_23042025_05_36_45_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915870","file1":"1352915860","file0":"1352915855","file4":"1352915878","file5":"1352915881","file3":"1352915874"},"map_files_photo_id_array":[{"photo_id":"1352915881","filename":"file5"},{"photo_id":"1352915870","filename":"file2"},{"photo_id":"1352915878","filename":"file4"},{"photo_id":"1352915860","filename":"file1"},{"photo_id":"1352915855","filename":"file0"},{"photo_id":"1352915874","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915881":["hashtag1","hashtag2"]},{"1352915860":["hashtag1","hashtag2"]},{"1352915878":["hashtag1","hashtag2"]},{"1352915874":["hashtag1","hashtag2"]},{"1352915870":["hashtag1","hashtag2"]},{"1352915855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915881, 1352915860, 1352915878, 1352915874, 1352915870, 1352915855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.932814121246338 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:37:32.599564
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/37/image_23042025_05_37_15_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/36/image_23042025_05_37_05_9743.jpg', 2), ('/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_55_10716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/37/image_23042025_05_37_15_9718.jpg', '/home/nano/Desktop/images/23042025/05/36/image_23042025_05_37_05_9743.jpg', '/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/37/image_23042025_05_37_15_9718.jpg
/home/nano/Desktop/images/23042025/05/36/image_23042025_05_37_05_9743.jpg
/home/nano/Desktop/images/23042025/05/36/image_23042025_05_36_55_10716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915917","1352915920","1352915913"],"photo_ids_order":["1352915913","1352915917","1352915920"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09f72221c3e2eb5bf52ee492365bb652.jpg","text":"TemporaryFile(/tmp/multipartBody456758853643068429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379513598,"filename":"image_23042025_05_37_05_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e12591fc85897c0cd9d4e4de7146e90e.jpg","text":"TemporaryFile(/tmp/multipartBody7754161966692545824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379513598,"filename":"image_23042025_05_36_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84ca3ab6d244a25f352d3256c51e7d45.jpg","text":"TemporaryFile(/tmp/multipartBody1594305653467410178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379513598,"filename":"image_23042025_05_37_15_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915920","file1":"1352915917","file0":"1352915913"},"map_files_photo_id_array":[{"photo_id":"1352915920","filename":"file2"},{"photo_id":"1352915917","filename":"file1"},{"photo_id":"1352915913","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915917":["hashtag1","hashtag2"]},{"1352915920":["hashtag1","hashtag2"]},{"1352915913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915917, 1352915920, 1352915913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.66923427581787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:38:03.041924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.719740629196167 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:38:32.685112
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_45_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_15_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/37/image_23042025_05_38_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/05/37/image_23042025_05_37_25_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_45_10717.jpg', '/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_25_9709.jpg', '/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_15_9718.jpg', '/home/nano/Desktop/images/23042025/05/37/image_23042025_05_38_05_10719.jpg', '/home/nano/Desktop/images/23042025/05/37/image_23042025_05_37_25_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_45_10717.jpg
/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_35_9707.jpg
/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_25_9709.jpg
/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_15_9718.jpg
/home/nano/Desktop/images/23042025/05/37/image_23042025_05_38_05_10719.jpg
/home/nano/Desktop/images/23042025/05/37/image_23042025_05_37_25_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915968","1352915962","1352915965","1352915952","1352915949","1352915957"],"photo_ids_order":["1352915949","1352915952","1352915957","1352915962","1352915965","1352915968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f5af059c967129642efd95e84964aa6.jpg","text":"TemporaryFile(/tmp/multipartBody2303521155116731534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379574144,"filename":"image_23042025_05_37_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30ce7a9af9ae58a2d63da6e5ec28a43c.jpg","text":"TemporaryFile(/tmp/multipartBody4867576085400726767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379574144,"filename":"image_23042025_05_38_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cca637146101edcb81b63330d2ad8ff.jpg","text":"TemporaryFile(/tmp/multipartBody2582472633718269553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379574144,"filename":"image_23042025_05_38_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16e35c241105ee081604f15d21598bfa.jpg","text":"TemporaryFile(/tmp/multipartBody6362847625725543509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379574144,"filename":"image_23042025_05_38_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49bfbb02269523fe20978b06188a2599.jpg","text":"TemporaryFile(/tmp/multipartBody2173610613597059628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379574144,"filename":"image_23042025_05_38_45_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99a70d963bc0b29ce40f2ba7d05f9ce1.jpg","text":"TemporaryFile(/tmp/multipartBody3262213827121831906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379574144,"filename":"image_23042025_05_38_25_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915957","file1":"1352915952","file0":"1352915949","file4":"1352915965","file5":"1352915968","file3":"1352915962"},"map_files_photo_id_array":[{"photo_id":"1352915968","filename":"file5"},{"photo_id":"1352915957","filename":"file2"},{"photo_id":"1352915965","filename":"file4"},{"photo_id":"1352915952","filename":"file1"},{"photo_id":"1352915949","filename":"file0"},{"photo_id":"1352915962","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915968":["hashtag1","hashtag2"]},{"1352915962":["hashtag1","hashtag2"]},{"1352915965":["hashtag1","hashtag2"]},{"1352915952":["hashtag1","hashtag2"]},{"1352915949":["hashtag1","hashtag2"]},{"1352915957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915968, 1352915962, 1352915965, 1352915952, 1352915949, 1352915957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.41599178314209 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:39:31.796625
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_15_10765.jpg', 2), ('/home/nano/Desktop/images/23042025/05/38/image_23042025_05_39_05_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_45_9705.jpg', '/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_35_9708.jpg', '/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_15_10765.jpg', '/home/nano/Desktop/images/23042025/05/38/image_23042025_05_39_05_9715.jpg', '/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_45_9705.jpg
/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_35_9708.jpg
/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_15_10765.jpg
/home/nano/Desktop/images/23042025/05/38/image_23042025_05_39_05_9715.jpg
/home/nano/Desktop/images/23042025/05/38/image_23042025_05_38_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352915992","1352915989","1352916010","1352915985","1352916006"],"photo_ids_order":["1352915985","1352915989","1352915992","1352916006","1352916010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1ac861b2a2327b550d8d79e036597f1.jpg","text":"TemporaryFile(/tmp/multipartBody4974696898528297243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379633146,"filename":"image_23042025_05_39_15_10765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/178937eaeafb4ffa53c9405288554d86.jpg","text":"TemporaryFile(/tmp/multipartBody1337197456796077410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379633146,"filename":"image_23042025_05_39_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9614f92028811dbbd9e1992c66bea6ed.jpg","text":"TemporaryFile(/tmp/multipartBody1871356763039590964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379633146,"filename":"image_23042025_05_38_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f30e164c9ca47046d3a4139a3f80b378.jpg","text":"TemporaryFile(/tmp/multipartBody2173032693747254958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379633146,"filename":"image_23042025_05_39_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72083547414ca6daaa6b348e0b4bcb7f.jpg","text":"TemporaryFile(/tmp/multipartBody6492800083807565181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379633146,"filename":"image_23042025_05_39_05_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352915992","file1":"1352915989","file0":"1352915985","file4":"1352916010","file3":"1352916006"},"map_files_photo_id_array":[{"photo_id":"1352915992","filename":"file2"},{"photo_id":"1352916010","filename":"file4"},{"photo_id":"1352915989","filename":"file1"},{"photo_id":"1352915985","filename":"file0"},{"photo_id":"1352916006","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352915992":["hashtag1","hashtag2"]},{"1352915989":["hashtag1","hashtag2"]},{"1352916010":["hashtag1","hashtag2"]},{"1352915985":["hashtag1","hashtag2"]},{"1352916006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352915992, 1352915989, 1352916010, 1352915985, 1352916006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.132478952407837 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:40:02.192186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.491490364074707 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:40:31.896085
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_25_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_15_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/39/image_23042025_05_40_05_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_55_10715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_45_9709.jpg', '/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_35_9704.jpg', '/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_25_10715.jpg', '/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_15_9715.jpg', '/home/nano/Desktop/images/23042025/05/39/image_23042025_05_40_05_9744.jpg', '/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_55_10715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_45_9709.jpg
/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_35_9704.jpg
/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_25_10715.jpg
/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_15_9715.jpg
/home/nano/Desktop/images/23042025/05/39/image_23042025_05_40_05_9744.jpg
/home/nano/Desktop/images/23042025/05/39/image_23042025_05_39_55_10715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916078","1352916069","1352916048","1352916057","1352916053","1352916041"],"photo_ids_order":["1352916041","1352916048","1352916053","1352916057","1352916069","1352916078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03a72b7fb3cd4c22382ab808afdf7991.jpg","text":"TemporaryFile(/tmp/multipartBody1189389177218125992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379693305,"filename":"image_23042025_05_39_55_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fb559b8d9f4f356355c1bcdc8391487.jpg","text":"TemporaryFile(/tmp/multipartBody6366484072808393499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379693305,"filename":"image_23042025_05_40_05_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43f4c5822ac5e84c738ab959b3afdfbe.jpg","text":"TemporaryFile(/tmp/multipartBody6609540205200738460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379693305,"filename":"image_23042025_05_40_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c07c941f0858987be873946fbb6396b6.jpg","text":"TemporaryFile(/tmp/multipartBody6790095931040050522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379693305,"filename":"image_23042025_05_40_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37da7900026d134a4b5699a50154692c.jpg","text":"TemporaryFile(/tmp/multipartBody9194149190516575124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379693305,"filename":"image_23042025_05_40_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f618f7d0dabf8a7adc8801760770ab5.jpg","text":"TemporaryFile(/tmp/multipartBody4575836211811335520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379693305,"filename":"image_23042025_05_40_45_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916053","file1":"1352916048","file0":"1352916041","file4":"1352916069","file5":"1352916078","file3":"1352916057"},"map_files_photo_id_array":[{"photo_id":"1352916078","filename":"file5"},{"photo_id":"1352916053","filename":"file2"},{"photo_id":"1352916069","filename":"file4"},{"photo_id":"1352916048","filename":"file1"},{"photo_id":"1352916041","filename":"file0"},{"photo_id":"1352916057","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916078":["hashtag1","hashtag2"]},{"1352916069":["hashtag1","hashtag2"]},{"1352916048":["hashtag1","hashtag2"]},{"1352916057":["hashtag1","hashtag2"]},{"1352916053":["hashtag1","hashtag2"]},{"1352916041":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916078, 1352916069, 1352916048, 1352916057, 1352916053, 1352916041)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51205492019653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:41:32.041695
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_15_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/40/image_23042025_05_41_05_10738.jpg', 2), ('/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_45_9708.jpg', '/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_15_9707.jpg', '/home/nano/Desktop/images/23042025/05/40/image_23042025_05_41_05_10738.jpg', '/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_45_9708.jpg
/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_15_9707.jpg
/home/nano/Desktop/images/23042025/05/40/image_23042025_05_41_05_10738.jpg
/home/nano/Desktop/images/23042025/05/40/image_23042025_05_40_55_9704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916108","1352916111","1352916119","1352916113"],"photo_ids_order":["1352916108","1352916111","1352916113","1352916119"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54e1ad231c7765f441d10aad81606280.jpg","text":"TemporaryFile(/tmp/multipartBody6837395321020978348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379753320,"filename":"image_23042025_05_41_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de3e75b96ee3f308e6a7c9f0bbb92f69.jpg","text":"TemporaryFile(/tmp/multipartBody5355374537972227121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379753320,"filename":"image_23042025_05_41_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72b8e730cca929bd7b71e3e75fb157c9.jpg","text":"TemporaryFile(/tmp/multipartBody3872213402436682287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379753320,"filename":"image_23042025_05_40_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c155ff02c31ae602523675ff36d70f14.jpg","text":"TemporaryFile(/tmp/multipartBody8367108981018245197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379753320,"filename":"image_23042025_05_41_05_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916113","file1":"1352916111","file0":"1352916108","file3":"1352916119"},"map_files_photo_id_array":[{"photo_id":"1352916113","filename":"file2"},{"photo_id":"1352916111","filename":"file1"},{"photo_id":"1352916108","filename":"file0"},{"photo_id":"1352916119","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916108":["hashtag1","hashtag2"]},{"1352916111":["hashtag1","hashtag2"]},{"1352916119":["hashtag1","hashtag2"]},{"1352916113":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916108, 1352916111, 1352916119, 1352916113)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.070164680480957 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:42:02.476331
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9967756271362305 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:42:32.130771
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_45_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_45_10718.jpg', '/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_45_10718.jpg
/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_35_9707.jpg
/home/nano/Desktop/images/23042025/05/41/image_23042025_05_41_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916154","1352916149","1352916158"],"photo_ids_order":["1352916149","1352916154","1352916158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cef6c1fc808b0c467d748f7a99848f43.jpg","text":"TemporaryFile(/tmp/multipartBody7916796495987503703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379813613,"filename":"image_23042025_05_42_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82944b6babb6b96ac5cb880e5c661176.jpg","text":"TemporaryFile(/tmp/multipartBody411956530295450064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379813613,"filename":"image_23042025_05_42_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40acc1e06dc2cc2971ef7e1b9f76f295.jpg","text":"TemporaryFile(/tmp/multipartBody8353985369064940754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379813613,"filename":"image_23042025_05_41_55_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916158","file1":"1352916154","file0":"1352916149"},"map_files_photo_id_array":[{"photo_id":"1352916158","filename":"file2"},{"photo_id":"1352916154","filename":"file1"},{"photo_id":"1352916149","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916154":["hashtag1","hashtag2"]},{"1352916149":["hashtag1","hashtag2"]},{"1352916158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916154, 1352916149, 1352916158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.302837133407593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:43:02.734489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9664182662963867 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:43:32.229527
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_25_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_15_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/42/image_23042025_05_43_05_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_35_9708.jpg', '/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_25_10716.jpg', '/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_15_9716.jpg', '/home/nano/Desktop/images/23042025/05/42/image_23042025_05_43_05_9729.jpg', '/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_45_9706.jpg
/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_35_9708.jpg
/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_25_10716.jpg
/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_15_9716.jpg
/home/nano/Desktop/images/23042025/05/42/image_23042025_05_43_05_9729.jpg
/home/nano/Desktop/images/23042025/05/42/image_23042025_05_42_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916235","1352916217","1352916225","1352916242","1352916221","1352916230"],"photo_ids_order":["1352916217","1352916221","1352916225","1352916230","1352916235","1352916242"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad647613b61db92ace5f6674219e2919.jpg","text":"TemporaryFile(/tmp/multipartBody3219133631454113421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379874591,"filename":"image_23042025_05_43_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd23ca69bbf5a10ee7778d49af81eaab.jpg","text":"TemporaryFile(/tmp/multipartBody7757930046465495723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379874591,"filename":"image_23042025_05_43_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/536e3641073a79e7ee5e30d8a2e894d4.jpg","text":"TemporaryFile(/tmp/multipartBody1713136556373085860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379874591,"filename":"image_23042025_05_43_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e74b908d7b648e6b88dfb800ffd035b.jpg","text":"TemporaryFile(/tmp/multipartBody335816162529126343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379874591,"filename":"image_23042025_05_42_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c56c1cae5c95bcdf37f33eeaa561c0a8.jpg","text":"TemporaryFile(/tmp/multipartBody1893201394143118398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379874591,"filename":"image_23042025_05_43_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac611b90bb533b3fd32ac4e9e1b8551c.jpg","text":"TemporaryFile(/tmp/multipartBody8177118004943772339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379874591,"filename":"image_23042025_05_43_15_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916225","file1":"1352916221","file0":"1352916217","file4":"1352916235","file5":"1352916242","file3":"1352916230"},"map_files_photo_id_array":[{"photo_id":"1352916242","filename":"file5"},{"photo_id":"1352916225","filename":"file2"},{"photo_id":"1352916235","filename":"file4"},{"photo_id":"1352916221","filename":"file1"},{"photo_id":"1352916217","filename":"file0"},{"photo_id":"1352916230","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916235":["hashtag1","hashtag2"]},{"1352916217":["hashtag1","hashtag2"]},{"1352916225":["hashtag1","hashtag2"]},{"1352916242":["hashtag1","hashtag2"]},{"1352916221":["hashtag1","hashtag2"]},{"1352916230":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916235, 1352916217, 1352916225, 1352916242, 1352916221, 1352916230)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.667847871780396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:44:32.382419
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_35_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_15_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_55_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_45_9707.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_35_10714.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_25_9707.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_15_9729.jpg', '/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_55_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_45_9707.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_35_10714.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_25_9707.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_15_9729.jpg
/home/nano/Desktop/images/23042025/05/43/image_23042025_05_43_55_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916276","1352916261","1352916255","1352916290","1352916269"],"photo_ids_order":["1352916255","1352916261","1352916269","1352916276","1352916290"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/615b95355ee7df2d5a35e52de018072c.jpg","text":"TemporaryFile(/tmp/multipartBody98359377667377141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379933706,"filename":"image_23042025_05_44_15_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a416c35ff9b986125b08df30141c887.jpg","text":"TemporaryFile(/tmp/multipartBody6949517524817130594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379933706,"filename":"image_23042025_05_44_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbcbe4166e3f481ab3af22cdc666d7f2.jpg","text":"TemporaryFile(/tmp/multipartBody3380474494863679138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379933706,"filename":"image_23042025_05_44_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3b7c334db4de9934170ef0feada1a8b.jpg","text":"TemporaryFile(/tmp/multipartBody2612742709116567737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379933706,"filename":"image_23042025_05_43_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd1765647d6f0bc403fd1b34d6eb760c.jpg","text":"TemporaryFile(/tmp/multipartBody2248608360326333531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745379933706,"filename":"image_23042025_05_44_25_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916269","file1":"1352916261","file0":"1352916255","file4":"1352916290","file3":"1352916276"},"map_files_photo_id_array":[{"photo_id":"1352916269","filename":"file2"},{"photo_id":"1352916290","filename":"file4"},{"photo_id":"1352916261","filename":"file1"},{"photo_id":"1352916255","filename":"file0"},{"photo_id":"1352916276","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916276":["hashtag1","hashtag2"]},{"1352916261":["hashtag1","hashtag2"]},{"1352916255":["hashtag1","hashtag2"]},{"1352916290":["hashtag1","hashtag2"]},{"1352916269":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916276, 1352916261, 1352916255, 1352916290, 1352916269)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.624364376068115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:45:32.484782
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_45_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_35_9774.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_15_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_45_04_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_45_10718.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_35_9774.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_25_9708.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_15_10745.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_45_04_9714.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_45_10718.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_35_9774.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_25_9708.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_15_10745.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_45_04_9714.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_55_9706.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.170203685760498 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:46:02.851540
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_45_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_35_9774.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_15_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_45_04_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_45_10718.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_35_9774.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_25_9708.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_15_10745.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_45_04_9714.jpg', '/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_45_10718.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_35_9774.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_25_9708.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_15_10745.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_45_04_9714.jpg
/home/nano/Desktop/images/23042025/05/44/image_23042025_05_44_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916360","1352916353","1352916356","1352916350","1352916364","1352916358"],"photo_ids_order":["1352916350","1352916353","1352916356","1352916358","1352916360","1352916364"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75ed8f9ccff2b7d6a41a881dacb2edbb.jpg","text":"TemporaryFile(/tmp/multipartBody2146200545172183075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380024141,"filename":"image_23042025_05_45_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0de36c47636b2f30c709c4fcd0c1c279.jpg","text":"TemporaryFile(/tmp/multipartBody4874207895024615958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380024141,"filename":"image_23042025_05_45_35_9774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ece1b908c147bec793f233cf6d6bbaea.jpg","text":"TemporaryFile(/tmp/multipartBody6169088892428378129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380024141,"filename":"image_23042025_05_45_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f5f54379403b50d60d8975cfaf26062.jpg","text":"TemporaryFile(/tmp/multipartBody2706387310323309055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380024141,"filename":"image_23042025_05_45_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df14ed2862a81ffa36bd2498402258ad.jpg","text":"TemporaryFile(/tmp/multipartBody4359970142258290153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380024141,"filename":"image_23042025_05_44_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29ac43a1e4ad561fef677bf73a10d046.jpg","text":"TemporaryFile(/tmp/multipartBody6666252809042190294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380024141,"filename":"image_23042025_05_45_15_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916356","file1":"1352916353","file0":"1352916350","file4":"1352916360","file5":"1352916364","file3":"1352916358"},"map_files_photo_id_array":[{"photo_id":"1352916364","filename":"file5"},{"photo_id":"1352916356","filename":"file2"},{"photo_id":"1352916360","filename":"file4"},{"photo_id":"1352916353","filename":"file1"},{"photo_id":"1352916350","filename":"file0"},{"photo_id":"1352916358","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916360":["hashtag1","hashtag2"]},{"1352916353":["hashtag1","hashtag2"]},{"1352916356":["hashtag1","hashtag2"]},{"1352916350":["hashtag1","hashtag2"]},{"1352916364":["hashtag1","hashtag2"]},{"1352916358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916360, 1352916353, 1352916356, 1352916350, 1352916364, 1352916358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60375380516052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:47:03.217481
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_25_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_46_05_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_45_9708.jpg', '/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_35_9706.jpg', '/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_25_10712.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_46_05_9713.jpg', '/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_45_9708.jpg
/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_35_9706.jpg
/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_25_10712.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_46_05_9713.jpg
/home/nano/Desktop/images/23042025/05/45/image_23042025_05_45_55_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916399","1352916402","1352916395","1352916388","1352916391"],"photo_ids_order":["1352916388","1352916391","1352916395","1352916399","1352916402"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b5d5b7e345ba25439c0d68b17cc044f.jpg","text":"TemporaryFile(/tmp/multipartBody5485637924016464725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380084353,"filename":"image_23042025_05_46_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98f0a100f94a4f43497e22fd51a0c4a9.jpg","text":"TemporaryFile(/tmp/multipartBody5608882025479448208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380084353,"filename":"image_23042025_05_45_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f3fe9c1a6d61f208af70c1fe5be4638.jpg","text":"TemporaryFile(/tmp/multipartBody5052223966763548079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380084353,"filename":"image_23042025_05_46_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fa16d2c92fe1645555de9d6ae0a2d16.jpg","text":"TemporaryFile(/tmp/multipartBody7763044737075172908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380084353,"filename":"image_23042025_05_46_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/453ee8da190c80bc436c01183b232364.jpg","text":"TemporaryFile(/tmp/multipartBody6291782236862364688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380084353,"filename":"image_23042025_05_46_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916395","file1":"1352916391","file0":"1352916388","file4":"1352916402","file3":"1352916399"},"map_files_photo_id_array":[{"photo_id":"1352916395","filename":"file2"},{"photo_id":"1352916402","filename":"file4"},{"photo_id":"1352916391","filename":"file1"},{"photo_id":"1352916388","filename":"file0"},{"photo_id":"1352916399","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916399":["hashtag1","hashtag2"]},{"1352916402":["hashtag1","hashtag2"]},{"1352916395":["hashtag1","hashtag2"]},{"1352916388":["hashtag1","hashtag2"]},{"1352916391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916399, 1352916402, 1352916395, 1352916388, 1352916391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.685096979141235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:48:02.220050
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_35_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_15_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/05/46/image_23042025_05_47_05_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_55_10736.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_35_10717.jpg', '/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_25_9705.jpg', '/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_15_9718.jpg', '/home/nano/Desktop/images/23042025/05/46/image_23042025_05_47_05_9741.jpg', '/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_55_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_45_9706.jpg
/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_35_10717.jpg
/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_25_9705.jpg
/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_15_9718.jpg
/home/nano/Desktop/images/23042025/05/46/image_23042025_05_47_05_9741.jpg
/home/nano/Desktop/images/23042025/05/46/image_23042025_05_46_55_10736.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916439","1352916448","1352916433","1352916435","1352916444","1352916437"],"photo_ids_order":["1352916433","1352916435","1352916437","1352916439","1352916444","1352916448"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05ac844b0fb4e549e939407359672c39.jpg","text":"TemporaryFile(/tmp/multipartBody4636827604352521634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380143546,"filename":"image_23042025_05_47_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae9c98c361d36d98af793611a26e719d.jpg","text":"TemporaryFile(/tmp/multipartBody8568113782587915707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380143546,"filename":"image_23042025_05_46_55_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df7aca40a499fbdfb0f5ace7f5fb6c2e.jpg","text":"TemporaryFile(/tmp/multipartBody7695688110238540266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380143546,"filename":"image_23042025_05_47_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de3a958ec38f28a0591aa1d7aa76fcd7.jpg","text":"TemporaryFile(/tmp/multipartBody8004465813045327504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380143546,"filename":"image_23042025_05_47_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2b1e0a44d41920a512345ed765ad4e7.jpg","text":"TemporaryFile(/tmp/multipartBody8368196120034037490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380143546,"filename":"image_23042025_05_47_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/490da862ff67e53b6a51cefc522fbbf3.jpg","text":"TemporaryFile(/tmp/multipartBody3655709121479703440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380143546,"filename":"image_23042025_05_47_25_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916437","file1":"1352916435","file0":"1352916433","file4":"1352916444","file5":"1352916448","file3":"1352916439"},"map_files_photo_id_array":[{"photo_id":"1352916448","filename":"file5"},{"photo_id":"1352916437","filename":"file2"},{"photo_id":"1352916444","filename":"file4"},{"photo_id":"1352916435","filename":"file1"},{"photo_id":"1352916433","filename":"file0"},{"photo_id":"1352916439","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916439":["hashtag1","hashtag2"]},{"1352916448":["hashtag1","hashtag2"]},{"1352916433":["hashtag1","hashtag2"]},{"1352916435":["hashtag1","hashtag2"]},{"1352916444":["hashtag1","hashtag2"]},{"1352916437":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916439, 1352916448, 1352916433, 1352916435, 1352916444, 1352916437)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.551376819610596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:49:02.659600
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_45_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_15_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/05/47/image_23042025_05_48_06_10746.jpg', 2), ('/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_45_10717.jpg', '/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_25_9705.jpg', '/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_15_9722.jpg', '/home/nano/Desktop/images/23042025/05/47/image_23042025_05_48_06_10746.jpg', '/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_45_10717.jpg
/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_35_9707.jpg
/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_25_9705.jpg
/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_15_9722.jpg
/home/nano/Desktop/images/23042025/05/47/image_23042025_05_48_06_10746.jpg
/home/nano/Desktop/images/23042025/05/47/image_23042025_05_47_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916471","1352916480","1352916474","1352916483","1352916477","1352916469"],"photo_ids_order":["1352916469","1352916471","1352916474","1352916477","1352916480","1352916483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5da4b06ecb10ac1d438219ba182a7d86.jpg","text":"TemporaryFile(/tmp/multipartBody4301482309418499268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380204023,"filename":"image_23042025_05_48_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbf1da68af8fa2c657de23f908c98bbd.jpg","text":"TemporaryFile(/tmp/multipartBody731472024820991902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380204023,"filename":"image_23042025_05_48_06_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/207cf775329a31b1551de6fe049b0978.jpg","text":"TemporaryFile(/tmp/multipartBody1437635448673703569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380204023,"filename":"image_23042025_05_48_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/183d5f29534231d8b18f4e4a5c902670.jpg","text":"TemporaryFile(/tmp/multipartBody1060353854019929004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380204023,"filename":"image_23042025_05_47_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52a506ddf4ad64bd0e1caaeaf245f9dd.jpg","text":"TemporaryFile(/tmp/multipartBody3042724349972208464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380204023,"filename":"image_23042025_05_48_15_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6563d01112e2f24775812dad4dc7c7b.jpg","text":"TemporaryFile(/tmp/multipartBody4785408151052282414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380204023,"filename":"image_23042025_05_48_45_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916474","file1":"1352916471","file0":"1352916469","file4":"1352916480","file5":"1352916483","file3":"1352916477"},"map_files_photo_id_array":[{"photo_id":"1352916483","filename":"file5"},{"photo_id":"1352916474","filename":"file2"},{"photo_id":"1352916480","filename":"file4"},{"photo_id":"1352916471","filename":"file1"},{"photo_id":"1352916469","filename":"file0"},{"photo_id":"1352916477","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916471":["hashtag1","hashtag2"]},{"1352916480":["hashtag1","hashtag2"]},{"1352916474":["hashtag1","hashtag2"]},{"1352916483":["hashtag1","hashtag2"]},{"1352916477":["hashtag1","hashtag2"]},{"1352916469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916471, 1352916480, 1352916474, 1352916483, 1352916477, 1352916469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.728445053100586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:50:02.249330
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_14_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/05/48/image_23042025_05_49_05_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_45_9705.jpg', '/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_14_9710.jpg', '/home/nano/Desktop/images/23042025/05/48/image_23042025_05_49_05_9725.jpg', '/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_45_9705.jpg
/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_35_9707.jpg
/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_14_9710.jpg
/home/nano/Desktop/images/23042025/05/48/image_23042025_05_49_05_9725.jpg
/home/nano/Desktop/images/23042025/05/48/image_23042025_05_48_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916538","1352916520","1352916534","1352916533","1352916536"],"photo_ids_order":["1352916520","1352916533","1352916534","1352916536","1352916538"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecb886936e9ca0be1ae717eb5b5da467.jpg","text":"TemporaryFile(/tmp/multipartBody4999321765543336499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380263345,"filename":"image_23042025_05_48_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57e658a2125cc320deed5592af1ee637.jpg","text":"TemporaryFile(/tmp/multipartBody4581799851941995165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380263345,"filename":"image_23042025_05_49_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1190d4db9ef1f1838a07553181bb6cc.jpg","text":"TemporaryFile(/tmp/multipartBody7990436282586818408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380263345,"filename":"image_23042025_05_49_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d3da8af6e8875585e4e613aed72b988.jpg","text":"TemporaryFile(/tmp/multipartBody7836058425585951315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380263345,"filename":"image_23042025_05_49_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a51abcacd3939cfe450eaa88cf65a1d.jpg","text":"TemporaryFile(/tmp/multipartBody6496110971879114014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380263345,"filename":"image_23042025_05_49_05_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916534","file1":"1352916533","file0":"1352916520","file4":"1352916538","file3":"1352916536"},"map_files_photo_id_array":[{"photo_id":"1352916534","filename":"file2"},{"photo_id":"1352916538","filename":"file4"},{"photo_id":"1352916533","filename":"file1"},{"photo_id":"1352916520","filename":"file0"},{"photo_id":"1352916536","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916538":["hashtag1","hashtag2"]},{"1352916520":["hashtag1","hashtag2"]},{"1352916534":["hashtag1","hashtag2"]},{"1352916533":["hashtag1","hashtag2"]},{"1352916536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916538, 1352916520, 1352916534, 1352916533, 1352916536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.135890007019043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:50:32.008681
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_25_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_15_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/49/image_23042025_05_50_05_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_55_10717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_45_9705.jpg', '/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_35_9706.jpg', '/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_25_10717.jpg', '/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_15_9709.jpg', '/home/nano/Desktop/images/23042025/05/49/image_23042025_05_50_05_9729.jpg', '/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_55_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_45_9705.jpg
/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_35_9706.jpg
/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_25_10717.jpg
/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_15_9709.jpg
/home/nano/Desktop/images/23042025/05/49/image_23042025_05_50_05_9729.jpg
/home/nano/Desktop/images/23042025/05/49/image_23042025_05_49_55_10717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916553","1352916567","1352916549","1352916564","1352916558","1352916543"],"photo_ids_order":["1352916543","1352916549","1352916553","1352916558","1352916564","1352916567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84e13cf0f43211ec50fa8e08c7652916.jpg","text":"TemporaryFile(/tmp/multipartBody4222017417594037131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380293139,"filename":"image_23042025_05_50_25_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcd9245f750c113b957ee2bf4d27aa34.jpg","text":"TemporaryFile(/tmp/multipartBody6910028066296773339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380293139,"filename":"image_23042025_05_49_55_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8a1b58ba602702cc641aedea994f648.jpg","text":"TemporaryFile(/tmp/multipartBody7335777434450210965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380293139,"filename":"image_23042025_05_50_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21bbce6d59ce478dbb40dd5dfb8cf77b.jpg","text":"TemporaryFile(/tmp/multipartBody204989702020267700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380293139,"filename":"image_23042025_05_50_05_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1ef6e74e342a148916d09f753d725b9.jpg","text":"TemporaryFile(/tmp/multipartBody2289098256512034745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380293139,"filename":"image_23042025_05_50_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22b8d7b5febda9e4b529caa0412ae946.jpg","text":"TemporaryFile(/tmp/multipartBody9171070059991645296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380293139,"filename":"image_23042025_05_50_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916553","file1":"1352916549","file0":"1352916543","file4":"1352916564","file5":"1352916567","file3":"1352916558"},"map_files_photo_id_array":[{"photo_id":"1352916567","filename":"file5"},{"photo_id":"1352916553","filename":"file2"},{"photo_id":"1352916564","filename":"file4"},{"photo_id":"1352916549","filename":"file1"},{"photo_id":"1352916543","filename":"file0"},{"photo_id":"1352916558","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916553":["hashtag1","hashtag2"]},{"1352916567":["hashtag1","hashtag2"]},{"1352916549":["hashtag1","hashtag2"]},{"1352916564":["hashtag1","hashtag2"]},{"1352916558":["hashtag1","hashtag2"]},{"1352916543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916553, 1352916567, 1352916549, 1352916564, 1352916558, 1352916543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57520008087158 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:51:32.080000
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_45_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_15_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/50/image_23042025_05_51_05_10723.jpg', 2), ('/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_55_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_45_9703.jpg', '/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_35_10716.jpg', '/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_25_9709.jpg', '/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_15_9705.jpg', '/home/nano/Desktop/images/23042025/05/50/image_23042025_05_51_05_10723.jpg', '/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_45_9703.jpg
/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_35_10716.jpg
/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_25_9709.jpg
/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_15_9705.jpg
/home/nano/Desktop/images/23042025/05/50/image_23042025_05_51_05_10723.jpg
/home/nano/Desktop/images/23042025/05/50/image_23042025_05_50_55_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916604","1352916585","1352916600","1352916590","1352916595","1352916589"],"photo_ids_order":["1352916585","1352916589","1352916590","1352916595","1352916600","1352916604"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ae2937493b023492724e2252987bcb8.jpg","text":"TemporaryFile(/tmp/multipartBody6848370256065478319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380353577,"filename":"image_23042025_05_50_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bdce051db74f51a25360a289c983223.jpg","text":"TemporaryFile(/tmp/multipartBody2853574186759325973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380353577,"filename":"image_23042025_05_51_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3553b471a5c3720ca9f66153b0d290c3.jpg","text":"TemporaryFile(/tmp/multipartBody8029276249605913868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380353577,"filename":"image_23042025_05_51_05_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de67e36af2acb849a164b35f94ffa941.jpg","text":"TemporaryFile(/tmp/multipartBody4518368671837640620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380353577,"filename":"image_23042025_05_51_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb4e8572c30a108d550bddcf473108e3.jpg","text":"TemporaryFile(/tmp/multipartBody8352176853863039979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380353577,"filename":"image_23042025_05_51_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1647a6f0d6d45c89ee547a4c9dc61c89.jpg","text":"TemporaryFile(/tmp/multipartBody1170329606230736612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380353577,"filename":"image_23042025_05_51_35_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916590","file1":"1352916589","file0":"1352916585","file4":"1352916600","file5":"1352916604","file3":"1352916595"},"map_files_photo_id_array":[{"photo_id":"1352916604","filename":"file5"},{"photo_id":"1352916590","filename":"file2"},{"photo_id":"1352916600","filename":"file4"},{"photo_id":"1352916589","filename":"file1"},{"photo_id":"1352916585","filename":"file0"},{"photo_id":"1352916595","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916604":["hashtag1","hashtag2"]},{"1352916585":["hashtag1","hashtag2"]},{"1352916600":["hashtag1","hashtag2"]},{"1352916590":["hashtag1","hashtag2"]},{"1352916595":["hashtag1","hashtag2"]},{"1352916589":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916604, 1352916585, 1352916600, 1352916590, 1352916595, 1352916589)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.353476524353027 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:52:32.172560
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_45_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/05/51/image_23042025_05_52_05_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_45_10719.jpg', '/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_35_9705.jpg', '/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_25_9708.jpg', '/home/nano/Desktop/images/23042025/05/51/image_23042025_05_52_05_9717.jpg', '/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_45_10719.jpg
/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_35_9705.jpg
/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_25_9708.jpg
/home/nano/Desktop/images/23042025/05/51/image_23042025_05_52_05_9717.jpg
/home/nano/Desktop/images/23042025/05/51/image_23042025_05_51_55_9703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916637","1352916642","1352916627","1352916632","1352916623"],"photo_ids_order":["1352916623","1352916627","1352916632","1352916637","1352916642"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/694476c0db34934124e5b13290d69112.jpg","text":"TemporaryFile(/tmp/multipartBody8692626109599236654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380413437,"filename":"image_23042025_05_52_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b29ab2665cbf303830994ce131a3b07.jpg","text":"TemporaryFile(/tmp/multipartBody2006355083521698819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380413437,"filename":"image_23042025_05_51_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a41310c951cb18f094d112c70657bca.jpg","text":"TemporaryFile(/tmp/multipartBody5981822134148266123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380413437,"filename":"image_23042025_05_52_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29217b7ad8f13ebb095fa2e898d4e672.jpg","text":"TemporaryFile(/tmp/multipartBody445539547790163023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380413437,"filename":"image_23042025_05_52_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4baf8732c0256f9d3f685eb5981f4834.jpg","text":"TemporaryFile(/tmp/multipartBody5580457465473939886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380413437,"filename":"image_23042025_05_52_45_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916632","file1":"1352916627","file0":"1352916623","file4":"1352916642","file3":"1352916637"},"map_files_photo_id_array":[{"photo_id":"1352916632","filename":"file2"},{"photo_id":"1352916642","filename":"file4"},{"photo_id":"1352916627","filename":"file1"},{"photo_id":"1352916623","filename":"file0"},{"photo_id":"1352916637","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916637":["hashtag1","hashtag2"]},{"1352916642":["hashtag1","hashtag2"]},{"1352916627":["hashtag1","hashtag2"]},{"1352916632":["hashtag1","hashtag2"]},{"1352916623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916637, 1352916642, 1352916627, 1352916632, 1352916623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.80889391899109 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:53:02.896434
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.622380018234253 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:53:32.276331
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_15_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/05/52/image_23042025_05_53_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_15_9716.jpg', '/home/nano/Desktop/images/23042025/05/52/image_23042025_05_53_05_9719.jpg', '/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_35_9707.jpg
/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_15_9716.jpg
/home/nano/Desktop/images/23042025/05/52/image_23042025_05_53_05_9719.jpg
/home/nano/Desktop/images/23042025/05/52/image_23042025_05_52_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916672","1352916680","1352916668","1352916676"],"photo_ids_order":["1352916668","1352916672","1352916676","1352916680"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a14210c09c16e86296d203a834f162cf.jpg","text":"TemporaryFile(/tmp/multipartBody6409860389978600823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380474569,"filename":"image_23042025_05_53_15_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3d5ee4ccfcc81f22713605d5b09864a.jpg","text":"TemporaryFile(/tmp/multipartBody2081456488651664523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380474569,"filename":"image_23042025_05_52_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/088e479f1b6c2ee37a9285f71923e82e.jpg","text":"TemporaryFile(/tmp/multipartBody2711053932487934233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380474569,"filename":"image_23042025_05_53_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c8926a164a7d81f1ade447f85764b7d.jpg","text":"TemporaryFile(/tmp/multipartBody7573883348973081033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380474569,"filename":"image_23042025_05_53_05_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916676","file1":"1352916672","file0":"1352916668","file3":"1352916680"},"map_files_photo_id_array":[{"photo_id":"1352916676","filename":"file2"},{"photo_id":"1352916672","filename":"file1"},{"photo_id":"1352916668","filename":"file0"},{"photo_id":"1352916680","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916672":["hashtag1","hashtag2"]},{"1352916680":["hashtag1","hashtag2"]},{"1352916668":["hashtag1","hashtag2"]},{"1352916676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916672, 1352916680, 1352916668, 1352916676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.18946409225464 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:54:03.116515
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6500728130340576 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:54:32.395430
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_15_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/05/53/image_23042025_05_54_05_10746.jpg', 2), ('/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_45_9727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_25_9707.jpg', '/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_15_9705.jpg', '/home/nano/Desktop/images/23042025/05/53/image_23042025_05_54_05_10746.jpg', '/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_45_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_25_9707.jpg
/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_15_9705.jpg
/home/nano/Desktop/images/23042025/05/53/image_23042025_05_54_05_10746.jpg
/home/nano/Desktop/images/23042025/05/53/image_23042025_05_53_45_9727.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916714","1352916711","1352916719","1352916707"],"photo_ids_order":["1352916707","1352916711","1352916714","1352916719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09c25c854dc4053a6339874cd4b7d2c4.jpg","text":"TemporaryFile(/tmp/multipartBody2625184688376788967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380533615,"filename":"image_23042025_05_54_05_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffa4d499656651fadbc75ab13106e825.jpg","text":"TemporaryFile(/tmp/multipartBody953901001720258165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380533615,"filename":"image_23042025_05_54_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6a8691709b06a302d6cc1d0a094f3ba.jpg","text":"TemporaryFile(/tmp/multipartBody3078837491539308027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380533615,"filename":"image_23042025_05_53_45_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fff229106ad45aa9f3a967cf66038b69.jpg","text":"TemporaryFile(/tmp/multipartBody8599752248688275202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380533615,"filename":"image_23042025_05_54_25_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916714","file1":"1352916711","file0":"1352916707","file3":"1352916719"},"map_files_photo_id_array":[{"photo_id":"1352916714","filename":"file2"},{"photo_id":"1352916711","filename":"file1"},{"photo_id":"1352916707","filename":"file0"},{"photo_id":"1352916719","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916714":["hashtag1","hashtag2"]},{"1352916711":["hashtag1","hashtag2"]},{"1352916719":["hashtag1","hashtag2"]},{"1352916707":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916714, 1352916711, 1352916719, 1352916707)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.235572814941406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:55:03.063919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8350472450256348 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:55:32.480097
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_15_10742.jpg', 2), ('/home/nano/Desktop/images/23042025/05/54/image_23042025_05_55_05_9734.jpg', 2), ('/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_35_10736.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_45_10715.jpg', '/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_15_10742.jpg', '/home/nano/Desktop/images/23042025/05/54/image_23042025_05_55_05_9734.jpg', '/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_35_10736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_45_10715.jpg
/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_15_10742.jpg
/home/nano/Desktop/images/23042025/05/54/image_23042025_05_55_05_9734.jpg
/home/nano/Desktop/images/23042025/05/54/image_23042025_05_54_35_10736.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916768","1352916773","1352916764","1352916760"],"photo_ids_order":["1352916760","1352916764","1352916768","1352916773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e75c24765a08e5447e3e094b02571af0.jpg","text":"TemporaryFile(/tmp/multipartBody4442215227381700040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380594595,"filename":"image_23042025_05_55_05_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3122662e28de76dd2efa5ea93b92d908.jpg","text":"TemporaryFile(/tmp/multipartBody832486562727755242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380594595,"filename":"image_23042025_05_54_35_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b274042cbb0c89aba2819807e492b1db.jpg","text":"TemporaryFile(/tmp/multipartBody3593946698449127043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380594595,"filename":"image_23042025_05_55_15_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6b02f14a4eaec58cf6dfa0f4968ca39.jpg","text":"TemporaryFile(/tmp/multipartBody4268047060008894591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380594595,"filename":"image_23042025_05_55_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916768","file1":"1352916764","file0":"1352916760","file3":"1352916773"},"map_files_photo_id_array":[{"photo_id":"1352916768","filename":"file2"},{"photo_id":"1352916764","filename":"file1"},{"photo_id":"1352916760","filename":"file0"},{"photo_id":"1352916773","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916768":["hashtag1","hashtag2"]},{"1352916773":["hashtag1","hashtag2"]},{"1352916764":["hashtag1","hashtag2"]},{"1352916760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916768, 1352916773, 1352916764, 1352916760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.32355570793152 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:56:02.928093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.860661268234253 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:56:32.584307
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_25_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_15_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/05/55/image_23042025_05_56_05_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_55_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_35_9706.jpg', '/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_25_10715.jpg', '/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_15_9745.jpg', '/home/nano/Desktop/images/23042025/05/55/image_23042025_05_56_05_9713.jpg', '/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_55_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_35_9706.jpg
/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_25_10715.jpg
/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_15_9745.jpg
/home/nano/Desktop/images/23042025/05/55/image_23042025_05_56_05_9713.jpg
/home/nano/Desktop/images/23042025/05/55/image_23042025_05_55_55_9711.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916829","1352916816","1352916833","1352916812","1352916809"],"photo_ids_order":["1352916809","1352916812","1352916816","1352916829","1352916833"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8901daeca3b75b16fc440c5fa79a452.jpg","text":"TemporaryFile(/tmp/multipartBody180584308099959164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380653937,"filename":"image_23042025_05_56_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/023da9da50f9f8360ef714e609d0f051.jpg","text":"TemporaryFile(/tmp/multipartBody5743596625153687753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380653937,"filename":"image_23042025_05_56_15_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7413b4c4720e9019bc61ea3800342f47.jpg","text":"TemporaryFile(/tmp/multipartBody294316228463591696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380653937,"filename":"image_23042025_05_55_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a655ba889880766e00b5cec2cf6a15d1.jpg","text":"TemporaryFile(/tmp/multipartBody5862702486775067667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380653937,"filename":"image_23042025_05_56_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b646a76f862fdac0c76bf0afd6cac5e.jpg","text":"TemporaryFile(/tmp/multipartBody7435784061909908317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380653937,"filename":"image_23042025_05_56_35_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916816","file1":"1352916812","file0":"1352916809","file4":"1352916833","file3":"1352916829"},"map_files_photo_id_array":[{"photo_id":"1352916816","filename":"file2"},{"photo_id":"1352916833","filename":"file4"},{"photo_id":"1352916812","filename":"file1"},{"photo_id":"1352916809","filename":"file0"},{"photo_id":"1352916829","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916829":["hashtag1","hashtag2"]},{"1352916816":["hashtag1","hashtag2"]},{"1352916833":["hashtag1","hashtag2"]},{"1352916812":["hashtag1","hashtag2"]},{"1352916809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916829, 1352916816, 1352916833, 1352916812, 1352916809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.118383407592773 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:57:03.200345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6714873313903809 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:57:32.708372
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_35_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_15_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_45_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_45_9706.jpg', '/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_35_10715.jpg', '/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_25_9704.jpg', '/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_15_9727.jpg', '/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_45_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_45_9706.jpg
/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_35_10715.jpg
/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_25_9704.jpg
/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_15_9727.jpg
/home/nano/Desktop/images/23042025/05/56/image_23042025_05_56_45_9704.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352916888","1352916863","1352916917","1352916982","1352916952"],"photo_ids_order":["1352916863","1352916888","1352916917","1352916952","1352916982"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/911ae287b3a5b251cfa5b998220be1f9.jpg","text":"TemporaryFile(/tmp/multipartBody5523182234208992508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380714550,"filename":"image_23042025_05_57_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c646aa44942e77dff87ec92992b76d71.jpg","text":"TemporaryFile(/tmp/multipartBody1014415893134079610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380714550,"filename":"image_23042025_05_57_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49a1a83996c5073e0e0862619df5551a.jpg","text":"TemporaryFile(/tmp/multipartBody5528304533082844678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380714550,"filename":"image_23042025_05_57_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77e798add92c52081b83805d928c0fd0.jpg","text":"TemporaryFile(/tmp/multipartBody3173016880525685196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380714550,"filename":"image_23042025_05_56_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89afe8e9949f15593a5bd1e4aa685897.jpg","text":"TemporaryFile(/tmp/multipartBody3517045826702712805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380714550,"filename":"image_23042025_05_57_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352916917","file1":"1352916888","file0":"1352916863","file4":"1352916982","file3":"1352916952"},"map_files_photo_id_array":[{"photo_id":"1352916917","filename":"file2"},{"photo_id":"1352916982","filename":"file4"},{"photo_id":"1352916888","filename":"file1"},{"photo_id":"1352916863","filename":"file0"},{"photo_id":"1352916952","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352916888":["hashtag1","hashtag2"]},{"1352916863":["hashtag1","hashtag2"]},{"1352916917":["hashtag1","hashtag2"]},{"1352916982":["hashtag1","hashtag2"]},{"1352916952":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352916888, 1352916863, 1352916917, 1352916982, 1352916952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.364123821258545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 05:59:03.290535
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_45_10735.jpg', 2), ('/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_35_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_15_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/05/57/image_23042025_05_58_05_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_45_10735.jpg', '/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_35_9724.jpg', '/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_25_9707.jpg', '/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_15_10752.jpg', '/home/nano/Desktop/images/23042025/05/57/image_23042025_05_58_05_9731.jpg', '/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_45_10735.jpg
/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_35_9724.jpg
/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_25_9707.jpg
/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_15_10752.jpg
/home/nano/Desktop/images/23042025/05/57/image_23042025_05_58_05_9731.jpg
/home/nano/Desktop/images/23042025/05/57/image_23042025_05_57_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352917755","1352917670","1352917712","1352917786","1352917867","1352917816"],"photo_ids_order":["1352917670","1352917712","1352917755","1352917786","1352917816","1352917867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4694f96e667a15e2270904b899e35d78.jpg","text":"TemporaryFile(/tmp/multipartBody3105004642865061374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380804795,"filename":"image_23042025_05_58_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c04ecb9858891dfbf51ac57c5a57afd.jpg","text":"TemporaryFile(/tmp/multipartBody8157282876712881640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380804795,"filename":"image_23042025_05_58_45_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/afb8ab2995aeffbd30f6f7952c5f5bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2211261993153463553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380804795,"filename":"image_23042025_05_58_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/646f21626e563018973c4505ee0faae2.jpg","text":"TemporaryFile(/tmp/multipartBody6033083968348882334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380804795,"filename":"image_23042025_05_58_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f7b3fe464ef33ec4857b26e97fd2782.jpg","text":"TemporaryFile(/tmp/multipartBody8514346639859040194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380804795,"filename":"image_23042025_05_57_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3183e6d7862a7c9c16a187b6f345248.jpg","text":"TemporaryFile(/tmp/multipartBody2296386226736080324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380804795,"filename":"image_23042025_05_58_05_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352917755","file1":"1352917712","file0":"1352917670","file4":"1352917816","file5":"1352917867","file3":"1352917786"},"map_files_photo_id_array":[{"photo_id":"1352917867","filename":"file5"},{"photo_id":"1352917755","filename":"file2"},{"photo_id":"1352917816","filename":"file4"},{"photo_id":"1352917712","filename":"file1"},{"photo_id":"1352917670","filename":"file0"},{"photo_id":"1352917786","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352917755":["hashtag1","hashtag2"]},{"1352917670":["hashtag1","hashtag2"]},{"1352917712":["hashtag1","hashtag2"]},{"1352917786":["hashtag1","hashtag2"]},{"1352917867":["hashtag1","hashtag2"]},{"1352917816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352917755, 1352917670, 1352917712, 1352917786, 1352917867, 1352917816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6280779838562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:00:03.080293
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_45_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_25_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_15_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/05/58/image_23042025_05_59_05_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_45_9724.jpg', '/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_35_9707.jpg', '/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_25_10715.jpg', '/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_15_9706.jpg', '/home/nano/Desktop/images/23042025/05/58/image_23042025_05_59_05_9722.jpg', '/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_45_9724.jpg
/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_35_9707.jpg
/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_25_10715.jpg
/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_15_9706.jpg
/home/nano/Desktop/images/23042025/05/58/image_23042025_05_59_05_9722.jpg
/home/nano/Desktop/images/23042025/05/58/image_23042025_05_58_55_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352918316","1352918435","1352918357","1352918497","1352918407","1352918463"],"photo_ids_order":["1352918316","1352918357","1352918407","1352918435","1352918463","1352918497"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9630ab6fcd461aabc3a4832b933ea532.jpg","text":"TemporaryFile(/tmp/multipartBody3397466634451425170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380864692,"filename":"image_23042025_05_59_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a12f18637af8ec71bb74c6d97f10b966.jpg","text":"TemporaryFile(/tmp/multipartBody9043946707425965675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380864692,"filename":"image_23042025_05_59_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d96a2464394ef3a8138ff71c52a759ed.jpg","text":"TemporaryFile(/tmp/multipartBody8352176034720663439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380864692,"filename":"image_23042025_05_59_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1998ad69feb7f8d4b89fd496377de2c2.jpg","text":"TemporaryFile(/tmp/multipartBody3509957459026611770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380864692,"filename":"image_23042025_05_58_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be6565a77761ac1e7152d0c06e5192d9.jpg","text":"TemporaryFile(/tmp/multipartBody2092484688348879456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380864692,"filename":"image_23042025_05_59_25_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa128b75fc394672eaa1195ccbf83d51.jpg","text":"TemporaryFile(/tmp/multipartBody7153359409773840841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380864692,"filename":"image_23042025_05_59_05_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352918407","file1":"1352918357","file0":"1352918316","file4":"1352918463","file5":"1352918497","file3":"1352918435"},"map_files_photo_id_array":[{"photo_id":"1352918497","filename":"file5"},{"photo_id":"1352918407","filename":"file2"},{"photo_id":"1352918463","filename":"file4"},{"photo_id":"1352918357","filename":"file1"},{"photo_id":"1352918316","filename":"file0"},{"photo_id":"1352918435","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352918316":["hashtag1","hashtag2"]},{"1352918435":["hashtag1","hashtag2"]},{"1352918357":["hashtag1","hashtag2"]},{"1352918497":["hashtag1","hashtag2"]},{"1352918407":["hashtag1","hashtag2"]},{"1352918463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352918316, 1352918435, 1352918357, 1352918497, 1352918407, 1352918463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.314820766448975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:01:02.187801
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_35_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_25_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_15_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_55_10716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_35_10717.jpg', '/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_25_9702.jpg', '/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_15_9728.jpg', '/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_35_10717.jpg
/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_25_9702.jpg
/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_15_9728.jpg
/home/nano/Desktop/images/23042025/05/59/image_23042025_05_59_55_10716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352918631","1352918690","1352918663","1352918601"],"photo_ids_order":["1352918601","1352918631","1352918663","1352918690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9ec2aa9d55ecb49fab6a58494b92ecc.jpg","text":"TemporaryFile(/tmp/multipartBody2934112818087770258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380923398,"filename":"image_23042025_06_00_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57a8526cb5f4e0f3c616f366c2357d20.jpg","text":"TemporaryFile(/tmp/multipartBody5992655712809019103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380923398,"filename":"image_23042025_05_59_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f4768d36401ef93ea6f9f81e091efa8.jpg","text":"TemporaryFile(/tmp/multipartBody6286669016706351999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380923398,"filename":"image_23042025_06_00_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eacc25c049424dc02b91954167022364.jpg","text":"TemporaryFile(/tmp/multipartBody7290761433240011576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380923398,"filename":"image_23042025_06_00_35_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352918663","file1":"1352918631","file0":"1352918601","file3":"1352918690"},"map_files_photo_id_array":[{"photo_id":"1352918663","filename":"file2"},{"photo_id":"1352918631","filename":"file1"},{"photo_id":"1352918601","filename":"file0"},{"photo_id":"1352918690","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352918631":["hashtag1","hashtag2"]},{"1352918690":["hashtag1","hashtag2"]},{"1352918663":["hashtag1","hashtag2"]},{"1352918601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352918631, 1352918690, 1352918663, 1352918601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.548691034317017 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:01:31.893806
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_35_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_15_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/00/image_23042025_06_01_05_10725.jpg', 2), ('/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_45_10715.jpg', '/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_35_9703.jpg', '/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_25_9709.jpg', '/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_15_9712.jpg', '/home/nano/Desktop/images/23042025/06/00/image_23042025_06_01_05_10725.jpg', '/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_45_10715.jpg
/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_35_9703.jpg
/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_25_9709.jpg
/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_15_9712.jpg
/home/nano/Desktop/images/23042025/06/00/image_23042025_06_01_05_10725.jpg
/home/nano/Desktop/images/23042025/06/00/image_23042025_06_00_55_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352918808","1352918852","1352918818","1352918833","1352918784","1352918850"],"photo_ids_order":["1352918784","1352918808","1352918818","1352918833","1352918850","1352918852"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/001e6f7d621468767a9c0d5b6e0c0393.jpg","text":"TemporaryFile(/tmp/multipartBody8685563680544280257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380953440,"filename":"image_23042025_06_01_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d2eb34546ef5a63422cb30a2ba796d2.jpg","text":"TemporaryFile(/tmp/multipartBody6458275325721356189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380953440,"filename":"image_23042025_06_00_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2eccf6c2815f85b7acae6ed734c7b5d.jpg","text":"TemporaryFile(/tmp/multipartBody2328041850653579024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380953440,"filename":"image_23042025_06_01_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbb6589ecdec7bc5f2ac304ae23f1885.jpg","text":"TemporaryFile(/tmp/multipartBody5273690018946676963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380953440,"filename":"image_23042025_06_01_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ec6eaed76f0e5f50584195818c612b2.jpg","text":"TemporaryFile(/tmp/multipartBody7466013112508181135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380953440,"filename":"image_23042025_06_01_45_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/133aedec87dec8ed5b725c00f8a906f4.jpg","text":"TemporaryFile(/tmp/multipartBody160695639153349935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745380953440,"filename":"image_23042025_06_01_05_10725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352918818","file1":"1352918808","file0":"1352918784","file4":"1352918850","file5":"1352918852","file3":"1352918833"},"map_files_photo_id_array":[{"photo_id":"1352918852","filename":"file5"},{"photo_id":"1352918818","filename":"file2"},{"photo_id":"1352918850","filename":"file4"},{"photo_id":"1352918808","filename":"file1"},{"photo_id":"1352918784","filename":"file0"},{"photo_id":"1352918833","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352918808":["hashtag1","hashtag2"]},{"1352918852":["hashtag1","hashtag2"]},{"1352918818":["hashtag1","hashtag2"]},{"1352918833":["hashtag1","hashtag2"]},{"1352918784":["hashtag1","hashtag2"]},{"1352918850":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352918808, 1352918852, 1352918818, 1352918833, 1352918784, 1352918850)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.8917498588562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:02:31.980281
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_15_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/06/01/image_23042025_06_02_05_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_25_9704.jpg', '/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_15_10728.jpg', '/home/nano/Desktop/images/23042025/06/01/image_23042025_06_02_05_9715.jpg', '/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_45_9705.jpg
/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_25_9704.jpg
/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_15_10728.jpg
/home/nano/Desktop/images/23042025/06/01/image_23042025_06_02_05_9715.jpg
/home/nano/Desktop/images/23042025/06/01/image_23042025_06_01_55_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352918894","1352918885","1352918906","1352918903","1352918889"],"photo_ids_order":["1352918885","1352918889","1352918894","1352918903","1352918906"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ff43d02866d306017dec41c08fba9d7.jpg","text":"TemporaryFile(/tmp/multipartBody4555897447899854632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381013265,"filename":"image_23042025_06_02_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/016a6260e4414a89409db15f0bee3567.jpg","text":"TemporaryFile(/tmp/multipartBody7006324471969539008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381013265,"filename":"image_23042025_06_02_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4c31a7a303e4c8b3d7c6b8b6d0e3901.jpg","text":"TemporaryFile(/tmp/multipartBody1537543542895064046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381013265,"filename":"image_23042025_06_01_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df79c60b78f64ad25b47b356973ccecf.jpg","text":"TemporaryFile(/tmp/multipartBody5458854717020984049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381013265,"filename":"image_23042025_06_02_05_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63bd0d68dceafa2ce89be3d027311b2c.jpg","text":"TemporaryFile(/tmp/multipartBody8079496384794138292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381013265,"filename":"image_23042025_06_02_25_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352918894","file1":"1352918889","file0":"1352918885","file4":"1352918906","file3":"1352918903"},"map_files_photo_id_array":[{"photo_id":"1352918894","filename":"file2"},{"photo_id":"1352918906","filename":"file4"},{"photo_id":"1352918889","filename":"file1"},{"photo_id":"1352918885","filename":"file0"},{"photo_id":"1352918903","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352918894":["hashtag1","hashtag2"]},{"1352918885":["hashtag1","hashtag2"]},{"1352918906":["hashtag1","hashtag2"]},{"1352918903":["hashtag1","hashtag2"]},{"1352918889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352918894, 1352918885, 1352918906, 1352918903, 1352918889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 32.66750907897949 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:03:32.065962
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_35_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_25_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_15_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_55_10718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_45_9708.jpg', '/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_35_9726.jpg', '/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_25_10716.jpg', '/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_15_9703.jpg', '/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_55_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_45_9708.jpg
/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_35_9726.jpg
/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_25_10716.jpg
/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_15_9703.jpg
/home/nano/Desktop/images/23042025/06/02/image_23042025_06_02_55_10718.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352918934","1352918943","1352918939","1352918927","1352918923"],"photo_ids_order":["1352918923","1352918927","1352918934","1352918939","1352918943"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fea6e2c463b5d27a2e0ee5d45be3c6fa.jpg","text":"TemporaryFile(/tmp/multipartBody8761764580390229162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381073412,"filename":"image_23042025_06_03_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8188be4ee863be219328078f2b10beef.jpg","text":"TemporaryFile(/tmp/multipartBody6467218881545743793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381073412,"filename":"image_23042025_06_02_55_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2c9370d9c9759e9210879c1ec4949f8.jpg","text":"TemporaryFile(/tmp/multipartBody2931999971918635162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381073412,"filename":"image_23042025_06_03_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/395467a2353f60273f9b3eca4358e905.jpg","text":"TemporaryFile(/tmp/multipartBody8580173211335688679asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381073412,"filename":"image_23042025_06_03_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14ee2565c6bd4ffee18df2e4b42120a2.jpg","text":"TemporaryFile(/tmp/multipartBody7912793271050071836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381073412,"filename":"image_23042025_06_03_45_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352918934","file1":"1352918927","file0":"1352918923","file4":"1352918943","file3":"1352918939"},"map_files_photo_id_array":[{"photo_id":"1352918934","filename":"file2"},{"photo_id":"1352918943","filename":"file4"},{"photo_id":"1352918927","filename":"file1"},{"photo_id":"1352918923","filename":"file0"},{"photo_id":"1352918939","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352918934":["hashtag1","hashtag2"]},{"1352918943":["hashtag1","hashtag2"]},{"1352918939":["hashtag1","hashtag2"]},{"1352918927":["hashtag1","hashtag2"]},{"1352918923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352918934, 1352918943, 1352918939, 1352918927, 1352918923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.881169080734253 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:04:02.608674
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6575496196746826 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:04:32.152629
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_35_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_15_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_35_10720.jpg', '/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_15_9708.jpg', '/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_45_9705.jpg
/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_35_10720.jpg
/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_15_9708.jpg
/home/nano/Desktop/images/23042025/06/03/image_23042025_06_03_55_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352918968","1352918977","1352918982","1352918973"],"photo_ids_order":["1352918968","1352918973","1352918977","1352918982"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/084d3a52b94ab86f530f5f348fc852b6.jpg","text":"TemporaryFile(/tmp/multipartBody1093360843016891948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381133459,"filename":"image_23042025_06_04_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39cc676954968380f2b5e2d625212652.jpg","text":"TemporaryFile(/tmp/multipartBody1648495097621870424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381133459,"filename":"image_23042025_06_04_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c77eee6a31af375765ba12fe9b8e696.jpg","text":"TemporaryFile(/tmp/multipartBody227763682981811227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381133459,"filename":"image_23042025_06_03_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/807f0a6663f5de6f28e38b8df981dcfa.jpg","text":"TemporaryFile(/tmp/multipartBody4437073639312700637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381133459,"filename":"image_23042025_06_04_35_10720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352918977","file1":"1352918973","file0":"1352918968","file3":"1352918982"},"map_files_photo_id_array":[{"photo_id":"1352918977","filename":"file2"},{"photo_id":"1352918973","filename":"file1"},{"photo_id":"1352918968","filename":"file0"},{"photo_id":"1352918982","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352918968":["hashtag1","hashtag2"]},{"1352918977":["hashtag1","hashtag2"]},{"1352918982":["hashtag1","hashtag2"]},{"1352918973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352918968, 1352918977, 1352918982, 1352918973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.1109676361084 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:05:02.537089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.54581618309021 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:05:32.251383
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_45_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_15_10739.jpg', 2), ('/home/nano/Desktop/images/23042025/06/04/image_23042025_06_05_05_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_55_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_45_10714.jpg', '/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_25_9704.jpg', '/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_15_10739.jpg', '/home/nano/Desktop/images/23042025/06/04/image_23042025_06_05_05_9713.jpg', '/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_55_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_45_10714.jpg
/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_25_9704.jpg
/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_15_10739.jpg
/home/nano/Desktop/images/23042025/06/04/image_23042025_06_05_05_9713.jpg
/home/nano/Desktop/images/23042025/06/04/image_23042025_06_04_55_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919003","1352919006","1352919017","1352919013","1352919009"],"photo_ids_order":["1352919003","1352919006","1352919009","1352919013","1352919017"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2eda7dfdc8db889be38dcb978166aa1.jpg","text":"TemporaryFile(/tmp/multipartBody2472254377144808853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381193752,"filename":"image_23042025_06_05_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d4c00025c9926e0e2640fa61547833e.jpg","text":"TemporaryFile(/tmp/multipartBody7069954784487388174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381193752,"filename":"image_23042025_06_05_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b6a82af86497d0d94baccc6b121aacb.jpg","text":"TemporaryFile(/tmp/multipartBody5304547554054562805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381193752,"filename":"image_23042025_06_04_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c56874eea1881f9212e2873cef283af8.jpg","text":"TemporaryFile(/tmp/multipartBody2550429224571285109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381193752,"filename":"image_23042025_06_05_05_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30bd11a3e3bbd53b9a016586e30d6e31.jpg","text":"TemporaryFile(/tmp/multipartBody430359359360056378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381193752,"filename":"image_23042025_06_05_15_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919009","file1":"1352919006","file0":"1352919003","file4":"1352919017","file3":"1352919013"},"map_files_photo_id_array":[{"photo_id":"1352919009","filename":"file2"},{"photo_id":"1352919017","filename":"file4"},{"photo_id":"1352919006","filename":"file1"},{"photo_id":"1352919003","filename":"file0"},{"photo_id":"1352919013","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919003":["hashtag1","hashtag2"]},{"1352919006":["hashtag1","hashtag2"]},{"1352919017":["hashtag1","hashtag2"]},{"1352919013":["hashtag1","hashtag2"]},{"1352919009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919003, 1352919006, 1352919017, 1352919013, 1352919009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.810391664505005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:06:32.343758
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_25_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_15_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/06/05/image_23042025_06_06_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_35_9705.jpg', '/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_25_10714.jpg', '/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_15_9730.jpg', '/home/nano/Desktop/images/23042025/06/05/image_23042025_06_06_05_9719.jpg', '/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_35_9705.jpg
/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_25_10714.jpg
/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_15_9730.jpg
/home/nano/Desktop/images/23042025/06/05/image_23042025_06_06_05_9719.jpg
/home/nano/Desktop/images/23042025/06/05/image_23042025_06_05_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919049","1352919034","1352919043","1352919046","1352919039"],"photo_ids_order":["1352919034","1352919039","1352919043","1352919046","1352919049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/781784440b250423a98896c9bd1258cf.jpg","text":"TemporaryFile(/tmp/multipartBody347935614579269049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381253690,"filename":"image_23042025_06_05_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0685dfab8b96be1c6640944913f73817.jpg","text":"TemporaryFile(/tmp/multipartBody6772243664820209742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381253690,"filename":"image_23042025_06_06_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e97e771cd62b8c4d960105ef6503c539.jpg","text":"TemporaryFile(/tmp/multipartBody8476618965534361489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381253690,"filename":"image_23042025_06_06_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ee9e57527700492d52f7290dcdb632b.jpg","text":"TemporaryFile(/tmp/multipartBody2758987753311382102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381253690,"filename":"image_23042025_06_06_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97fb81bc4b99cda280869816788bc8c3.jpg","text":"TemporaryFile(/tmp/multipartBody2715484517803763318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381253690,"filename":"image_23042025_06_06_25_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919043","file1":"1352919039","file0":"1352919034","file4":"1352919049","file3":"1352919046"},"map_files_photo_id_array":[{"photo_id":"1352919043","filename":"file2"},{"photo_id":"1352919049","filename":"file4"},{"photo_id":"1352919039","filename":"file1"},{"photo_id":"1352919034","filename":"file0"},{"photo_id":"1352919046","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919049":["hashtag1","hashtag2"]},{"1352919034":["hashtag1","hashtag2"]},{"1352919043":["hashtag1","hashtag2"]},{"1352919046":["hashtag1","hashtag2"]},{"1352919039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919049, 1352919034, 1352919043, 1352919046, 1352919039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.62999939918518 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:07:02.858795
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6651592254638672 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:07:32.458134
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_15_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/06/06/image_23042025_06_07_05_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_45_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_35_10716.jpg', '/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_25_9706.jpg', '/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_15_9731.jpg', '/home/nano/Desktop/images/23042025/06/06/image_23042025_06_07_05_9714.jpg', '/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_45_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_35_10716.jpg
/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_25_9706.jpg
/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_15_9731.jpg
/home/nano/Desktop/images/23042025/06/06/image_23042025_06_07_05_9714.jpg
/home/nano/Desktop/images/23042025/06/06/image_23042025_06_06_45_9705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919080","1352919101","1352919085","1352919096","1352919090"],"photo_ids_order":["1352919080","1352919085","1352919090","1352919096","1352919101"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bfbcdbf8df0b66ae5bb77f70c23802d.jpg","text":"TemporaryFile(/tmp/multipartBody6484260764587839390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381313744,"filename":"image_23042025_06_07_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a28909d8f67cd26d7078683edffc407.jpg","text":"TemporaryFile(/tmp/multipartBody4797158170215489722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381313744,"filename":"image_23042025_06_06_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4c4dd6e75c0b5bd0528127c0e3cc128.jpg","text":"TemporaryFile(/tmp/multipartBody4908410933891918851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381313744,"filename":"image_23042025_06_07_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46479c05456e88588e700d04bcb6ed49.jpg","text":"TemporaryFile(/tmp/multipartBody1504441778296136797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381313744,"filename":"image_23042025_06_07_05_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64bedef44687921c9e4e2156e33eb759.jpg","text":"TemporaryFile(/tmp/multipartBody8454922255357103950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381313744,"filename":"image_23042025_06_07_15_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919090","file1":"1352919085","file0":"1352919080","file4":"1352919101","file3":"1352919096"},"map_files_photo_id_array":[{"photo_id":"1352919090","filename":"file2"},{"photo_id":"1352919101","filename":"file4"},{"photo_id":"1352919085","filename":"file1"},{"photo_id":"1352919080","filename":"file0"},{"photo_id":"1352919096","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919080":["hashtag1","hashtag2"]},{"1352919101":["hashtag1","hashtag2"]},{"1352919085":["hashtag1","hashtag2"]},{"1352919096":["hashtag1","hashtag2"]},{"1352919090":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919080, 1352919101, 1352919085, 1352919096, 1352919090)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.414608001708984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:08:02.909554
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5533697605133057 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:08:32.516960
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_25_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_15_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/07/image_23042025_06_08_05_10731.jpg', 2), ('/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_45_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_45_10715.jpg', '/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_35_9707.jpg', '/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_25_9726.jpg', '/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_15_9715.jpg', '/home/nano/Desktop/images/23042025/06/07/image_23042025_06_08_05_10731.jpg', '/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_45_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_45_10715.jpg
/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_35_9707.jpg
/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_25_9726.jpg
/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_15_9715.jpg
/home/nano/Desktop/images/23042025/06/07/image_23042025_06_08_05_10731.jpg
/home/nano/Desktop/images/23042025/06/07/image_23042025_06_07_45_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919134","1352919148","1352919139","1352919162","1352919156","1352919159"],"photo_ids_order":["1352919134","1352919139","1352919148","1352919156","1352919159","1352919162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/830dd76c9032137e102619520460e6c4.jpg","text":"TemporaryFile(/tmp/multipartBody3916352127181779405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381373830,"filename":"image_23042025_06_08_45_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67bd90e5917c900c6c7b8b2307a35295.jpg","text":"TemporaryFile(/tmp/multipartBody6855132326398407541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381373830,"filename":"image_23042025_06_08_25_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8edb6f30e5428ccc80835dbf368b5eb4.jpg","text":"TemporaryFile(/tmp/multipartBody8849182661589892192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381373830,"filename":"image_23042025_06_08_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4eab140aba16636183de50d0f9f227cc.jpg","text":"TemporaryFile(/tmp/multipartBody282761297575879551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381373830,"filename":"image_23042025_06_07_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/236496b0515110a940606f4d69f11496.jpg","text":"TemporaryFile(/tmp/multipartBody7095668693114207455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381373830,"filename":"image_23042025_06_08_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1902bcdff2b5a2976f5db37c9d52c564.jpg","text":"TemporaryFile(/tmp/multipartBody7875784331191767909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381373830,"filename":"image_23042025_06_08_05_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919148","file1":"1352919139","file0":"1352919134","file4":"1352919159","file5":"1352919162","file3":"1352919156"},"map_files_photo_id_array":[{"photo_id":"1352919162","filename":"file5"},{"photo_id":"1352919148","filename":"file2"},{"photo_id":"1352919159","filename":"file4"},{"photo_id":"1352919139","filename":"file1"},{"photo_id":"1352919134","filename":"file0"},{"photo_id":"1352919156","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919134":["hashtag1","hashtag2"]},{"1352919148":["hashtag1","hashtag2"]},{"1352919139":["hashtag1","hashtag2"]},{"1352919162":["hashtag1","hashtag2"]},{"1352919156":["hashtag1","hashtag2"]},{"1352919159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919134, 1352919148, 1352919139, 1352919162, 1352919156, 1352919159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05303335189819 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:09:32.718084
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_15_10771.jpg', 2), ('/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_55_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_35_9707.jpg', '/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_25_9706.jpg', '/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_15_10771.jpg', '/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_55_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_45_9705.jpg
/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_35_9707.jpg
/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_25_9706.jpg
/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_15_10771.jpg
/home/nano/Desktop/images/23042025/06/08/image_23042025_06_08_55_9707.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919201","1352919236","1352919230","1352919209","1352919205"],"photo_ids_order":["1352919201","1352919205","1352919209","1352919230","1352919236"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85c72be70288a5dbcc4a0b57ab45fe41.jpg","text":"TemporaryFile(/tmp/multipartBody458462217785656396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381434160,"filename":"image_23042025_06_09_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43d5dd9945bb12ba8514fb6775fa1cee.jpg","text":"TemporaryFile(/tmp/multipartBody8432451163539492092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381434160,"filename":"image_23042025_06_08_55_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/664c776d123a59a5976417626cb5ee13.jpg","text":"TemporaryFile(/tmp/multipartBody5851886850751342652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381434160,"filename":"image_23042025_06_09_15_10771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0a5686109beaf6b79815ba860bd8b0a.jpg","text":"TemporaryFile(/tmp/multipartBody1146352422011343898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381434160,"filename":"image_23042025_06_09_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f698ac7a0652e41646b47da506af5c1.jpg","text":"TemporaryFile(/tmp/multipartBody8292326358746108533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381434160,"filename":"image_23042025_06_09_35_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919209","file1":"1352919205","file0":"1352919201","file4":"1352919236","file3":"1352919230"},"map_files_photo_id_array":[{"photo_id":"1352919209","filename":"file2"},{"photo_id":"1352919236","filename":"file4"},{"photo_id":"1352919205","filename":"file1"},{"photo_id":"1352919201","filename":"file0"},{"photo_id":"1352919230","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919201":["hashtag1","hashtag2"]},{"1352919236":["hashtag1","hashtag2"]},{"1352919230":["hashtag1","hashtag2"]},{"1352919209":["hashtag1","hashtag2"]},{"1352919205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919201, 1352919236, 1352919230, 1352919209, 1352919205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.54095458984375 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:10:31.813449
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_45_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_35_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_25_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_15_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/06/09/image_23042025_06_10_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_55_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_45_9724.jpg', '/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_35_9731.jpg', '/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_25_10718.jpg', '/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_15_9730.jpg', '/home/nano/Desktop/images/23042025/06/09/image_23042025_06_10_05_9719.jpg', '/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_55_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_45_9724.jpg
/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_35_9731.jpg
/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_25_10718.jpg
/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_15_9730.jpg
/home/nano/Desktop/images/23042025/06/09/image_23042025_06_10_05_9719.jpg
/home/nano/Desktop/images/23042025/06/09/image_23042025_06_09_55_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919283","1352919277","1352919268","1352919288","1352919273","1352919297"],"photo_ids_order":["1352919268","1352919273","1352919277","1352919283","1352919288","1352919297"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e558640d3b4b24d658ff799150fc12c8.jpg","text":"TemporaryFile(/tmp/multipartBody8249819041942656248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381493122,"filename":"image_23042025_06_10_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1551ea32f322c15d067e9d36a4cfdb0.jpg","text":"TemporaryFile(/tmp/multipartBody5028749230690749220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381493122,"filename":"image_23042025_06_10_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/756f072c21d3c6d4c795e9365641d4c5.jpg","text":"TemporaryFile(/tmp/multipartBody5286748870373532664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381493122,"filename":"image_23042025_06_10_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b61a4bdc80c737c16c7018654a5582ab.jpg","text":"TemporaryFile(/tmp/multipartBody1206779796900481417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381493122,"filename":"image_23042025_06_10_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d96ae93aca1a6f4f756415633da06a8.jpg","text":"TemporaryFile(/tmp/multipartBody7031308936841121143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381493122,"filename":"image_23042025_06_10_35_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0175ddbe2d928ac891c5ebc4e83cbbbd.jpg","text":"TemporaryFile(/tmp/multipartBody9209374625857689087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381493122,"filename":"image_23042025_06_09_55_10719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919277","file1":"1352919273","file0":"1352919268","file4":"1352919288","file5":"1352919297","file3":"1352919283"},"map_files_photo_id_array":[{"photo_id":"1352919297","filename":"file5"},{"photo_id":"1352919277","filename":"file2"},{"photo_id":"1352919288","filename":"file4"},{"photo_id":"1352919273","filename":"file1"},{"photo_id":"1352919268","filename":"file0"},{"photo_id":"1352919283","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919283":["hashtag1","hashtag2"]},{"1352919277":["hashtag1","hashtag2"]},{"1352919268":["hashtag1","hashtag2"]},{"1352919288":["hashtag1","hashtag2"]},{"1352919273":["hashtag1","hashtag2"]},{"1352919297":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919283, 1352919277, 1352919268, 1352919288, 1352919273, 1352919297)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.710466623306274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:11:31.919170
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_35_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_15_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/10/image_23042025_06_11_05_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_55_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_35_10714.jpg', '/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_25_9706.jpg', '/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_15_9708.jpg', '/home/nano/Desktop/images/23042025/06/10/image_23042025_06_11_05_10720.jpg', '/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_55_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_45_9704.jpg
/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_35_10714.jpg
/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_25_9706.jpg
/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_15_9708.jpg
/home/nano/Desktop/images/23042025/06/10/image_23042025_06_11_05_10720.jpg
/home/nano/Desktop/images/23042025/06/10/image_23042025_06_10_55_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919341","1352919352","1352919346","1352919337","1352919357","1352919333"],"photo_ids_order":["1352919333","1352919337","1352919341","1352919346","1352919352","1352919357"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ca819c522d307397cbdb0cc247b8b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5293842817768920232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381553443,"filename":"image_23042025_06_11_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e161aad8c1d60931ee9b01d483a3a71.jpg","text":"TemporaryFile(/tmp/multipartBody1167372533376179192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381553443,"filename":"image_23042025_06_11_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a34f351f47769f0d0ec8fb4a7fc42b68.jpg","text":"TemporaryFile(/tmp/multipartBody5079044838554057343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381553443,"filename":"image_23042025_06_11_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83de01cea8ccaab8333630f8e4b6216e.jpg","text":"TemporaryFile(/tmp/multipartBody1923689872922222705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381553443,"filename":"image_23042025_06_11_35_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7522b9d10ccc17e7fb0b97293d0a6916.jpg","text":"TemporaryFile(/tmp/multipartBody3135411598518843579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381553443,"filename":"image_23042025_06_10_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f62d26f4dd93a6bd3342924cb17906ea.jpg","text":"TemporaryFile(/tmp/multipartBody8612257380319295456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381553443,"filename":"image_23042025_06_11_45_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919341","file1":"1352919337","file0":"1352919333","file4":"1352919352","file5":"1352919357","file3":"1352919346"},"map_files_photo_id_array":[{"photo_id":"1352919357","filename":"file5"},{"photo_id":"1352919341","filename":"file2"},{"photo_id":"1352919352","filename":"file4"},{"photo_id":"1352919337","filename":"file1"},{"photo_id":"1352919333","filename":"file0"},{"photo_id":"1352919346","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919341":["hashtag1","hashtag2"]},{"1352919352":["hashtag1","hashtag2"]},{"1352919346":["hashtag1","hashtag2"]},{"1352919337":["hashtag1","hashtag2"]},{"1352919357":["hashtag1","hashtag2"]},{"1352919333":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919341, 1352919352, 1352919346, 1352919337, 1352919357, 1352919333)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.534098386764526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:12:32.024812
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_45_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_15_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/06/11/image_23042025_06_12_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_45_10718.jpg', '/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_35_9705.jpg', '/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_25_9706.jpg', '/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_15_10724.jpg', '/home/nano/Desktop/images/23042025/06/11/image_23042025_06_12_05_9719.jpg', '/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_45_10718.jpg
/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_35_9705.jpg
/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_25_9706.jpg
/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_15_10724.jpg
/home/nano/Desktop/images/23042025/06/11/image_23042025_06_12_05_9719.jpg
/home/nano/Desktop/images/23042025/06/11/image_23042025_06_11_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919383","1352919389","1352919373","1352919378","1352919405","1352919395"],"photo_ids_order":["1352919373","1352919378","1352919383","1352919389","1352919395","1352919405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/406ac1f0e6b993efa6cf68264202fb5d.jpg","text":"TemporaryFile(/tmp/multipartBody5226064072106999088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381613333,"filename":"image_23042025_06_12_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec647e7711859722387c8a3300c7d29b.jpg","text":"TemporaryFile(/tmp/multipartBody2490585190312526937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381613333,"filename":"image_23042025_06_12_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/006156885453eb81989c2e37c76733d2.jpg","text":"TemporaryFile(/tmp/multipartBody6716064512769107951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381613333,"filename":"image_23042025_06_12_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d07d43f8a52720fca0cc7d06e9a7885.jpg","text":"TemporaryFile(/tmp/multipartBody6041936701060604290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381613333,"filename":"image_23042025_06_12_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41d62cba2a6360bfc3c104b4f8ca3f56.jpg","text":"TemporaryFile(/tmp/multipartBody5903152839070367234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381613333,"filename":"image_23042025_06_11_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06d4370d4be6796154d5730d9741ff32.jpg","text":"TemporaryFile(/tmp/multipartBody240143042505195735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381613333,"filename":"image_23042025_06_12_05_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919383","file1":"1352919378","file0":"1352919373","file4":"1352919395","file5":"1352919405","file3":"1352919389"},"map_files_photo_id_array":[{"photo_id":"1352919405","filename":"file5"},{"photo_id":"1352919383","filename":"file2"},{"photo_id":"1352919395","filename":"file4"},{"photo_id":"1352919378","filename":"file1"},{"photo_id":"1352919373","filename":"file0"},{"photo_id":"1352919389","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919383":["hashtag1","hashtag2"]},{"1352919389":["hashtag1","hashtag2"]},{"1352919373":["hashtag1","hashtag2"]},{"1352919378":["hashtag1","hashtag2"]},{"1352919405":["hashtag1","hashtag2"]},{"1352919395":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919383, 1352919389, 1352919373, 1352919378, 1352919405, 1352919395)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25829529762268 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:13:32.197627
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_35_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_25_10732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_15_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/12/image_23042025_06_13_05_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_55_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_35_9702.jpg', '/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_25_10732.jpg', '/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_15_9707.jpg', '/home/nano/Desktop/images/23042025/06/12/image_23042025_06_13_05_9728.jpg', '/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_55_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_45_9704.jpg
/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_35_9702.jpg
/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_25_10732.jpg
/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_15_9707.jpg
/home/nano/Desktop/images/23042025/06/12/image_23042025_06_13_05_9728.jpg
/home/nano/Desktop/images/23042025/06/12/image_23042025_06_12_55_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919437","1352919451","1352919445","1352919456","1352919441","1352919432"],"photo_ids_order":["1352919432","1352919437","1352919441","1352919445","1352919451","1352919456"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36b6a565074181e694f07d96c3c3e207.jpg","text":"TemporaryFile(/tmp/multipartBody1085574865941020453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381673396,"filename":"image_23042025_06_13_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7079ea19a993eb482ed97aa7653bd522.jpg","text":"TemporaryFile(/tmp/multipartBody3572778135978617422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381673396,"filename":"image_23042025_06_13_05_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9633ce40a6f202e06d9772cb00b443e0.jpg","text":"TemporaryFile(/tmp/multipartBody3077739383557365751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381673396,"filename":"image_23042025_06_13_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/865b4df3c229bfda7f03084f6d1039ab.jpg","text":"TemporaryFile(/tmp/multipartBody7168703885473609834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381673396,"filename":"image_23042025_06_12_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/796a7039c655aac8cff6112900655178.jpg","text":"TemporaryFile(/tmp/multipartBody4494863790849368567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381673396,"filename":"image_23042025_06_13_25_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e75d45ab16b1a55c1aac263a7e2c9876.jpg","text":"TemporaryFile(/tmp/multipartBody6851415642517569942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381673396,"filename":"image_23042025_06_13_45_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919441","file1":"1352919437","file0":"1352919432","file4":"1352919451","file5":"1352919456","file3":"1352919445"},"map_files_photo_id_array":[{"photo_id":"1352919456","filename":"file5"},{"photo_id":"1352919441","filename":"file2"},{"photo_id":"1352919451","filename":"file4"},{"photo_id":"1352919437","filename":"file1"},{"photo_id":"1352919432","filename":"file0"},{"photo_id":"1352919445","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919437":["hashtag1","hashtag2"]},{"1352919451":["hashtag1","hashtag2"]},{"1352919445":["hashtag1","hashtag2"]},{"1352919456":["hashtag1","hashtag2"]},{"1352919441":["hashtag1","hashtag2"]},{"1352919432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919437, 1352919451, 1352919445, 1352919456, 1352919441, 1352919432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.097116470336914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:14:32.295598
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_35_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_25_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_15_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/13/image_23042025_06_14_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_55_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_35_10717.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_25_9702.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_15_9707.jpg', '/home/nano/Desktop/images/23042025/06/13/image_23042025_06_14_05_9721.jpg', '/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_55_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_45_9704.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_35_10717.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_25_9702.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_15_9707.jpg
/home/nano/Desktop/images/23042025/06/13/image_23042025_06_14_05_9721.jpg
/home/nano/Desktop/images/23042025/06/13/image_23042025_06_13_55_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919518","1352919499","1352919490","1352919505","1352919495","1352919510"],"photo_ids_order":["1352919490","1352919495","1352919499","1352919505","1352919510","1352919518"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4b81a5668da75b885da4ed849263b64.jpg","text":"TemporaryFile(/tmp/multipartBody913561968409560914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381734115,"filename":"image_23042025_06_13_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e64089e4c4077a840b961bec5f59c38.jpg","text":"TemporaryFile(/tmp/multipartBody5542177728009442271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381734115,"filename":"image_23042025_06_14_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2578ca1c2ea273f34dbf5e94fed03cc4.jpg","text":"TemporaryFile(/tmp/multipartBody8741416956608656004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381734115,"filename":"image_23042025_06_14_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/053f64cf8f164f7b88a8f50d75382df9.jpg","text":"TemporaryFile(/tmp/multipartBody3966537641278540609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381734115,"filename":"image_23042025_06_14_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62b8204e6336d06ce3a48591693c2ad0.jpg","text":"TemporaryFile(/tmp/multipartBody7657218170411900814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381734115,"filename":"image_23042025_06_14_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c52210c7d9f11a170624c4f52843172.jpg","text":"TemporaryFile(/tmp/multipartBody4780500538136249919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381734115,"filename":"image_23042025_06_14_05_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919499","file1":"1352919495","file0":"1352919490","file4":"1352919510","file5":"1352919518","file3":"1352919505"},"map_files_photo_id_array":[{"photo_id":"1352919518","filename":"file5"},{"photo_id":"1352919499","filename":"file2"},{"photo_id":"1352919510","filename":"file4"},{"photo_id":"1352919495","filename":"file1"},{"photo_id":"1352919490","filename":"file0"},{"photo_id":"1352919505","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919518":["hashtag1","hashtag2"]},{"1352919499":["hashtag1","hashtag2"]},{"1352919490":["hashtag1","hashtag2"]},{"1352919505":["hashtag1","hashtag2"]},{"1352919495":["hashtag1","hashtag2"]},{"1352919510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919518, 1352919499, 1352919490, 1352919505, 1352919495, 1352919510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.3319878578186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:15:32.410333
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_45_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_35_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_15_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_15_05_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_45_10714.jpg', '/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_35_9709.jpg', '/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_15_9712.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_15_05_10745.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_45_10714.jpg
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_35_9709.jpg
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_15_9712.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_15_05_10745.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_55_9706.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.305469036102295 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:16:02.921943
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_45_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_35_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_15_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_15_05_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_45_10714.jpg', '/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_35_9709.jpg', '/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_15_9712.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_15_05_10745.jpg', '/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_45_10714.jpg
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_35_9709.jpg
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_15_9712.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_15_05_10745.jpg
/home/nano/Desktop/images/23042025/06/14/image_23042025_06_14_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919581","1352919590","1352919586","1352919588","1352919573"],"photo_ids_order":["1352919573","1352919581","1352919586","1352919588","1352919590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2659517e91ba0ed7dccc6c4f577eb98.jpg","text":"TemporaryFile(/tmp/multipartBody1364669380597701147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381824124,"filename":"image_23042025_06_15_35_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4104cb88cbceffade3b475873df6ddbf.jpg","text":"TemporaryFile(/tmp/multipartBody1021051259745753379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381824124,"filename":"image_23042025_06_14_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb004bb529803d0cf714a4a206dd8387.jpg","text":"TemporaryFile(/tmp/multipartBody6334446171088063421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381824124,"filename":"image_23042025_06_15_15_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51bd4f3333aaaff116c6dabcdc33559e.jpg","text":"TemporaryFile(/tmp/multipartBody8710705867060402650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381824124,"filename":"image_23042025_06_15_05_10745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/195b71ca1f8522405a2a13351d6bdf83.jpg","text":"TemporaryFile(/tmp/multipartBody6142577280121989602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381824124,"filename":"image_23042025_06_15_45_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919586","file1":"1352919581","file0":"1352919573","file4":"1352919590","file3":"1352919588"},"map_files_photo_id_array":[{"photo_id":"1352919586","filename":"file2"},{"photo_id":"1352919590","filename":"file4"},{"photo_id":"1352919581","filename":"file1"},{"photo_id":"1352919573","filename":"file0"},{"photo_id":"1352919588","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919581":["hashtag1","hashtag2"]},{"1352919590":["hashtag1","hashtag2"]},{"1352919586":["hashtag1","hashtag2"]},{"1352919588":["hashtag1","hashtag2"]},{"1352919573":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919581, 1352919590, 1352919586, 1352919588, 1352919573)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.473246097564697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:16:32.495335
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_15_10756.jpg', 2), ('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_16_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_45_9706.jpg', '/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_25_9707.jpg', '/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_15_10756.jpg', '/home/nano/Desktop/images/23042025/06/15/image_23042025_06_16_05_9712.jpg', '/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_45_9706.jpg
/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_35_9706.jpg
/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_25_9707.jpg
/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_15_10756.jpg
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_16_05_9712.jpg
/home/nano/Desktop/images/23042025/06/15/image_23042025_06_15_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919620","1352919614","1352919604","1352919628","1352919609","1352919624"],"photo_ids_order":["1352919604","1352919609","1352919614","1352919620","1352919624","1352919628"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52a1c7c566f4e1e9f4199c8d2e6efd21.jpg","text":"TemporaryFile(/tmp/multipartBody6450820047211595340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381853809,"filename":"image_23042025_06_16_15_10756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f75bfd5e82d9198c58d3b6ca2974a274.jpg","text":"TemporaryFile(/tmp/multipartBody1254178243465851837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381853809,"filename":"image_23042025_06_16_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e1e25fe3d490704b23b158eda70c730.jpg","text":"TemporaryFile(/tmp/multipartBody2279796495006917441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381853809,"filename":"image_23042025_06_16_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f1e1b0cb3039c022b6959d3ef0463dc.jpg","text":"TemporaryFile(/tmp/multipartBody4122240643122112924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381853809,"filename":"image_23042025_06_15_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cfedd8c97b9ffc036187cfca1c7aff9.jpg","text":"TemporaryFile(/tmp/multipartBody4582390877264946826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381853809,"filename":"image_23042025_06_16_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fefa93d5136ff5e683fc541fc91cb5e.jpg","text":"TemporaryFile(/tmp/multipartBody6231093906461492089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381853809,"filename":"image_23042025_06_16_05_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919614","file1":"1352919609","file0":"1352919604","file4":"1352919624","file5":"1352919628","file3":"1352919620"},"map_files_photo_id_array":[{"photo_id":"1352919628","filename":"file5"},{"photo_id":"1352919614","filename":"file2"},{"photo_id":"1352919624","filename":"file4"},{"photo_id":"1352919609","filename":"file1"},{"photo_id":"1352919604","filename":"file0"},{"photo_id":"1352919620","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919620":["hashtag1","hashtag2"]},{"1352919614":["hashtag1","hashtag2"]},{"1352919604":["hashtag1","hashtag2"]},{"1352919628":["hashtag1","hashtag2"]},{"1352919609":["hashtag1","hashtag2"]},{"1352919624":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919620, 1352919614, 1352919604, 1352919628, 1352919609, 1352919624)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.368616819381714 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:17:32.606914
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_25_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_15_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/16/image_23042025_06_17_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_55_10716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_35_9704.jpg', '/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_25_10720.jpg', '/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_15_9718.jpg', '/home/nano/Desktop/images/23042025/06/16/image_23042025_06_17_05_9720.jpg', '/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_45_9705.jpg
/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_35_9704.jpg
/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_25_10720.jpg
/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_15_9718.jpg
/home/nano/Desktop/images/23042025/06/16/image_23042025_06_17_05_9720.jpg
/home/nano/Desktop/images/23042025/06/16/image_23042025_06_16_55_10716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919685","1352919679","1352919690","1352919693","1352919672","1352919675"],"photo_ids_order":["1352919672","1352919675","1352919679","1352919685","1352919690","1352919693"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b6049691e372d51bf1378d49a3bd5f8.jpg","text":"TemporaryFile(/tmp/multipartBody4119754474522142385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381914099,"filename":"image_23042025_06_17_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/568b7f81bcb61e6361a44f4fca54e004.jpg","text":"TemporaryFile(/tmp/multipartBody3613093339210666505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381914099,"filename":"image_23042025_06_17_25_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6570c42f8c4f3b4308e64d318df9f6ba.jpg","text":"TemporaryFile(/tmp/multipartBody6219143326059498791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381914099,"filename":"image_23042025_06_17_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e293fa0b1378106c23f4dcf8aeb13c5f.jpg","text":"TemporaryFile(/tmp/multipartBody4982064007250802447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381914099,"filename":"image_23042025_06_16_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce1b31d1b61aa49a4897839e83bd037e.jpg","text":"TemporaryFile(/tmp/multipartBody8041682200268188988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381914099,"filename":"image_23042025_06_17_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/610b6b1305acc300fdd7fc131bed46ba.jpg","text":"TemporaryFile(/tmp/multipartBody7132993952598241795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381914099,"filename":"image_23042025_06_17_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919679","file1":"1352919675","file0":"1352919672","file4":"1352919690","file5":"1352919693","file3":"1352919685"},"map_files_photo_id_array":[{"photo_id":"1352919693","filename":"file5"},{"photo_id":"1352919679","filename":"file2"},{"photo_id":"1352919690","filename":"file4"},{"photo_id":"1352919675","filename":"file1"},{"photo_id":"1352919672","filename":"file0"},{"photo_id":"1352919685","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919685":["hashtag1","hashtag2"]},{"1352919679":["hashtag1","hashtag2"]},{"1352919690":["hashtag1","hashtag2"]},{"1352919693":["hashtag1","hashtag2"]},{"1352919672":["hashtag1","hashtag2"]},{"1352919675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919685, 1352919679, 1352919690, 1352919693, 1352919672, 1352919675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.73932385444641 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:18:32.705526
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_35_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_15_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/06/17/image_23042025_06_18_05_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_45_9706.jpg', '/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_35_10724.jpg', '/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_15_9710.jpg', '/home/nano/Desktop/images/23042025/06/17/image_23042025_06_18_05_10722.jpg', '/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_45_9706.jpg
/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_35_10724.jpg
/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_25_9705.jpg
/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_15_9710.jpg
/home/nano/Desktop/images/23042025/06/17/image_23042025_06_18_05_10722.jpg
/home/nano/Desktop/images/23042025/06/17/image_23042025_06_17_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919728","1352919721","1352919715","1352919724","1352919732","1352919735"],"photo_ids_order":["1352919715","1352919721","1352919724","1352919728","1352919732","1352919735"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b30e84a2194176dcb0c14512e2bf973.jpg","text":"TemporaryFile(/tmp/multipartBody167447360332714962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381973994,"filename":"image_23042025_06_18_15_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6aea278dc8af7fe8ca92b1dbdbf2ffaf.jpg","text":"TemporaryFile(/tmp/multipartBody4648791579905638616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381973994,"filename":"image_23042025_06_18_35_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/570aebeb88b1f9fa934e60df7f9c754f.jpg","text":"TemporaryFile(/tmp/multipartBody92763569823353008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381973994,"filename":"image_23042025_06_18_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2c4abde2565edb7f2a0175fcedc6973.jpg","text":"TemporaryFile(/tmp/multipartBody1862601345866086573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381973994,"filename":"image_23042025_06_18_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d8fc5efd141755218286cfba7813357.jpg","text":"TemporaryFile(/tmp/multipartBody2893712820510818531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381973994,"filename":"image_23042025_06_18_05_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b9d6704803fdf3de9ec687db7744134.jpg","text":"TemporaryFile(/tmp/multipartBody1169633563202227239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745381973994,"filename":"image_23042025_06_17_55_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919724","file1":"1352919721","file0":"1352919715","file4":"1352919732","file5":"1352919735","file3":"1352919728"},"map_files_photo_id_array":[{"photo_id":"1352919735","filename":"file5"},{"photo_id":"1352919724","filename":"file2"},{"photo_id":"1352919732","filename":"file4"},{"photo_id":"1352919721","filename":"file1"},{"photo_id":"1352919715","filename":"file0"},{"photo_id":"1352919728","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919728":["hashtag1","hashtag2"]},{"1352919721":["hashtag1","hashtag2"]},{"1352919715":["hashtag1","hashtag2"]},{"1352919724":["hashtag1","hashtag2"]},{"1352919732":["hashtag1","hashtag2"]},{"1352919735":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919728, 1352919721, 1352919715, 1352919724, 1352919732, 1352919735)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.85393238067627 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:19:31.811437
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_44_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_35_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_15_10741.jpg', 2), ('/home/nano/Desktop/images/23042025/06/18/image_23042025_06_19_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_44_9727.jpg', '/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_35_9724.jpg', '/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_15_10741.jpg', '/home/nano/Desktop/images/23042025/06/18/image_23042025_06_19_05_9712.jpg', '/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_44_9727.jpg
/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_35_9724.jpg
/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_25_9705.jpg
/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_15_10741.jpg
/home/nano/Desktop/images/23042025/06/18/image_23042025_06_19_05_9712.jpg
/home/nano/Desktop/images/23042025/06/18/image_23042025_06_18_55_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919782","1352919812","1352919778","1352919820","1352919786","1352919801"],"photo_ids_order":["1352919778","1352919782","1352919786","1352919801","1352919812","1352919820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c44db7113fe213ce65e17d535d295be.jpg","text":"TemporaryFile(/tmp/multipartBody4274355862444545913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382033307,"filename":"image_23042025_06_19_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7391ad243e7094dfd22f4464ba45866.jpg","text":"TemporaryFile(/tmp/multipartBody1735322014329868143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382033307,"filename":"image_23042025_06_19_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e573fc80c0a537980658a16e860bc800.jpg","text":"TemporaryFile(/tmp/multipartBody4699055554605584303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382033307,"filename":"image_23042025_06_19_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b35b0f7531ab28a0f16433263c6ca5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7496855123392987080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382033307,"filename":"image_23042025_06_18_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1402644130da055c30a08f503104fd8f.jpg","text":"TemporaryFile(/tmp/multipartBody7896928158980782503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382033307,"filename":"image_23042025_06_19_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa18029398e271f014623fd7e9495e89.jpg","text":"TemporaryFile(/tmp/multipartBody7738664410308118355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382033307,"filename":"image_23042025_06_19_15_10741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919786","file1":"1352919782","file0":"1352919778","file4":"1352919812","file5":"1352919820","file3":"1352919801"},"map_files_photo_id_array":[{"photo_id":"1352919820","filename":"file5"},{"photo_id":"1352919786","filename":"file2"},{"photo_id":"1352919812","filename":"file4"},{"photo_id":"1352919782","filename":"file1"},{"photo_id":"1352919778","filename":"file0"},{"photo_id":"1352919801","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919782":["hashtag1","hashtag2"]},{"1352919812":["hashtag1","hashtag2"]},{"1352919778":["hashtag1","hashtag2"]},{"1352919820":["hashtag1","hashtag2"]},{"1352919786":["hashtag1","hashtag2"]},{"1352919801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919782, 1352919812, 1352919778, 1352919820, 1352919786, 1352919801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.847981452941895 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:20:31.886925
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_25_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_15_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/19/image_23042025_06_20_05_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_55_10714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_35_9705.jpg', '/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_25_10716.jpg', '/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_15_9715.jpg', '/home/nano/Desktop/images/23042025/06/19/image_23042025_06_20_05_9742.jpg', '/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_55_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_45_9705.jpg
/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_35_9705.jpg
/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_25_10716.jpg
/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_15_9715.jpg
/home/nano/Desktop/images/23042025/06/19/image_23042025_06_20_05_9742.jpg
/home/nano/Desktop/images/23042025/06/19/image_23042025_06_19_55_10714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919854","1352919859","1352919850","1352919864","1352919867","1352919846"],"photo_ids_order":["1352919846","1352919850","1352919854","1352919859","1352919864","1352919867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4228fba92d74af34c7f3e4142f1a2a0.jpg","text":"TemporaryFile(/tmp/multipartBody1034990464862077522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382092972,"filename":"image_23042025_06_20_25_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/718174b736eaaa9659c673aa65ba64a5.jpg","text":"TemporaryFile(/tmp/multipartBody5183671033935885437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382092972,"filename":"image_23042025_06_20_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/496f94ae33e3097444557df1804c9f54.jpg","text":"TemporaryFile(/tmp/multipartBody1472539699781139222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382092972,"filename":"image_23042025_06_20_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d5c8cc54c3d74926ee605d6372edd8b.jpg","text":"TemporaryFile(/tmp/multipartBody1297622435377165149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382092972,"filename":"image_23042025_06_20_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6403a608bc10e21ca1e208fa9205983.jpg","text":"TemporaryFile(/tmp/multipartBody6126929514207952394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382092972,"filename":"image_23042025_06_19_55_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79763393a485797def5e21ec98001402.jpg","text":"TemporaryFile(/tmp/multipartBody5826210905620410030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382092972,"filename":"image_23042025_06_20_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919854","file1":"1352919850","file0":"1352919846","file4":"1352919864","file5":"1352919867","file3":"1352919859"},"map_files_photo_id_array":[{"photo_id":"1352919867","filename":"file5"},{"photo_id":"1352919854","filename":"file2"},{"photo_id":"1352919864","filename":"file4"},{"photo_id":"1352919850","filename":"file1"},{"photo_id":"1352919846","filename":"file0"},{"photo_id":"1352919859","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919854":["hashtag1","hashtag2"]},{"1352919859":["hashtag1","hashtag2"]},{"1352919850":["hashtag1","hashtag2"]},{"1352919864":["hashtag1","hashtag2"]},{"1352919867":["hashtag1","hashtag2"]},{"1352919846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919854, 1352919859, 1352919850, 1352919864, 1352919867, 1352919846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09543967247009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:21:32.005155
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_25_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_15_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_35_10716.jpg', '/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_25_9702.jpg', '/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_15_9706.jpg', '/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_45_9705.jpg
/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_35_10716.jpg
/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_25_9702.jpg
/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_15_9706.jpg
/home/nano/Desktop/images/23042025/06/20/image_23042025_06_20_55_9705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919896","1352919892","1352919889","1352919901","1352919915"],"photo_ids_order":["1352919889","1352919892","1352919896","1352919901","1352919915"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea347825734ea7ed77209f0b6f5f7066.jpg","text":"TemporaryFile(/tmp/multipartBody2515417268040384034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382153387,"filename":"image_23042025_06_21_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2fee8314ae57e9461954936543d37fa.jpg","text":"TemporaryFile(/tmp/multipartBody5001068708600320468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382153387,"filename":"image_23042025_06_21_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c0f3f19359f5f750222ff5c6ad5091d.jpg","text":"TemporaryFile(/tmp/multipartBody7794169528830744244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382153387,"filename":"image_23042025_06_21_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3c24edacd1f2ef8efd7bc563bbdec9d.jpg","text":"TemporaryFile(/tmp/multipartBody8423815733248626003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382153387,"filename":"image_23042025_06_21_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8159013fb8c7f151a8515e16e9221ef.jpg","text":"TemporaryFile(/tmp/multipartBody3543175401874264184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382153387,"filename":"image_23042025_06_20_55_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919896","file1":"1352919892","file0":"1352919889","file4":"1352919915","file3":"1352919901"},"map_files_photo_id_array":[{"photo_id":"1352919896","filename":"file2"},{"photo_id":"1352919915","filename":"file4"},{"photo_id":"1352919892","filename":"file1"},{"photo_id":"1352919889","filename":"file0"},{"photo_id":"1352919901","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919896":["hashtag1","hashtag2"]},{"1352919892":["hashtag1","hashtag2"]},{"1352919889":["hashtag1","hashtag2"]},{"1352919901":["hashtag1","hashtag2"]},{"1352919915":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919896, 1352919892, 1352919889, 1352919901, 1352919915)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.586617708206177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:22:02.383990
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.0260653495788574 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:22:32.072260
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_45_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_35_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_15_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/06/21/image_23042025_06_22_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_45_10712.jpg', '/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_35_9726.jpg', '/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_15_9713.jpg', '/home/nano/Desktop/images/23042025/06/21/image_23042025_06_22_05_10719.jpg', '/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_45_10712.jpg
/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_35_9726.jpg
/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_15_9713.jpg
/home/nano/Desktop/images/23042025/06/21/image_23042025_06_22_05_10719.jpg
/home/nano/Desktop/images/23042025/06/21/image_23042025_06_21_55_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919947","1352919956","1352919938","1352919961","1352919951"],"photo_ids_order":["1352919938","1352919947","1352919951","1352919956","1352919961"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50022a6d931c93eab9edca787be95cd2.jpg","text":"TemporaryFile(/tmp/multipartBody8152330614718999402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382213453,"filename":"image_23042025_06_22_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad181c2958241b08f98cd84004665c23.jpg","text":"TemporaryFile(/tmp/multipartBody4741719762038103503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382213453,"filename":"image_23042025_06_22_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/234ea31bc05a4772ba76cee0f092e82c.jpg","text":"TemporaryFile(/tmp/multipartBody2236408790698609004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382213453,"filename":"image_23042025_06_22_45_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc2e5a7bf41d66f25910740a874652c3.jpg","text":"TemporaryFile(/tmp/multipartBody1532598507076056547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382213453,"filename":"image_23042025_06_21_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33ef2ee0c8cdbfee23857425b7352dd4.jpg","text":"TemporaryFile(/tmp/multipartBody99249463689384050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382213453,"filename":"image_23042025_06_22_15_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919951","file1":"1352919947","file0":"1352919938","file4":"1352919961","file3":"1352919956"},"map_files_photo_id_array":[{"photo_id":"1352919951","filename":"file2"},{"photo_id":"1352919961","filename":"file4"},{"photo_id":"1352919947","filename":"file1"},{"photo_id":"1352919938","filename":"file0"},{"photo_id":"1352919956","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919947":["hashtag1","hashtag2"]},{"1352919956":["hashtag1","hashtag2"]},{"1352919938":["hashtag1","hashtag2"]},{"1352919961":["hashtag1","hashtag2"]},{"1352919951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919947, 1352919956, 1352919938, 1352919961, 1352919951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.864871978759766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:23:02.510721
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5618507862091064 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:23:32.190613
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_45_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_25_10713.jpg', 2), ('/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_14_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/22/image_23042025_06_23_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_55_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_45_9703.jpg', '/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_35_9704.jpg', '/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_25_10713.jpg', '/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_14_9715.jpg', '/home/nano/Desktop/images/23042025/06/22/image_23042025_06_23_05_9720.jpg', '/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_45_9703.jpg
/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_35_9704.jpg
/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_25_10713.jpg
/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_14_9715.jpg
/home/nano/Desktop/images/23042025/06/22/image_23042025_06_23_05_9720.jpg
/home/nano/Desktop/images/23042025/06/22/image_23042025_06_22_55_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352919997","1352920001","1352919993","1352919987","1352919990","1352920006"],"photo_ids_order":["1352919987","1352919990","1352919993","1352919997","1352920001","1352920006"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76d083f96b602b4b123a89bc9619cde5.jpg","text":"TemporaryFile(/tmp/multipartBody2785850763252568918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382273655,"filename":"image_23042025_06_23_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c546df8b341035a878c1bd37852b7c88.jpg","text":"TemporaryFile(/tmp/multipartBody4211844724837766301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382273655,"filename":"image_23042025_06_23_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10bd458ab6f3be5d8d147c25fb31797d.jpg","text":"TemporaryFile(/tmp/multipartBody1792388239222297572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382273655,"filename":"image_23042025_06_23_25_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7412c923f385cff7f25ca05577166e4c.jpg","text":"TemporaryFile(/tmp/multipartBody7529617994970962547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382273655,"filename":"image_23042025_06_23_45_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e77ae6cc68f7ca06e29eeb301eab0e0.jpg","text":"TemporaryFile(/tmp/multipartBody2402249084810909616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382273655,"filename":"image_23042025_06_23_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33377b574aa662b4188e980c4c264dc2.jpg","text":"TemporaryFile(/tmp/multipartBody7473506647372863174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382273655,"filename":"image_23042025_06_22_55_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352919993","file1":"1352919990","file0":"1352919987","file4":"1352920001","file5":"1352920006","file3":"1352919997"},"map_files_photo_id_array":[{"photo_id":"1352920006","filename":"file5"},{"photo_id":"1352919993","filename":"file2"},{"photo_id":"1352920001","filename":"file4"},{"photo_id":"1352919990","filename":"file1"},{"photo_id":"1352919987","filename":"file0"},{"photo_id":"1352919997","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352919997":["hashtag1","hashtag2"]},{"1352920001":["hashtag1","hashtag2"]},{"1352919993":["hashtag1","hashtag2"]},{"1352919987":["hashtag1","hashtag2"]},{"1352919990":["hashtag1","hashtag2"]},{"1352920006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352919997, 1352920001, 1352919993, 1352919987, 1352919990, 1352920006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6382155418396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:24:32.291832
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_15_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/23/image_23042025_06_24_05_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_55_10712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_15_9715.jpg', '/home/nano/Desktop/images/23042025/06/23/image_23042025_06_24_05_9733.jpg', '/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_55_10712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_45_9705.jpg
/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_35_9706.jpg
/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_15_9715.jpg
/home/nano/Desktop/images/23042025/06/23/image_23042025_06_24_05_9733.jpg
/home/nano/Desktop/images/23042025/06/23/image_23042025_06_23_55_10712.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920041","1352920029","1352920037","1352920033","1352920024"],"photo_ids_order":["1352920024","1352920029","1352920033","1352920037","1352920041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f32472826b443ecacc7b96911f134f32.jpg","text":"TemporaryFile(/tmp/multipartBody1837824551749574502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382333870,"filename":"image_23042025_06_23_55_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4550e119853594953adcce5091997527.jpg","text":"TemporaryFile(/tmp/multipartBody5806469036828918375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382333870,"filename":"image_23042025_06_24_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85ea9263046b9f5906ea581ed6affee5.jpg","text":"TemporaryFile(/tmp/multipartBody8462427122237544319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382333870,"filename":"image_23042025_06_24_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/477d1b146992f16cda2dc03dc85b1f76.jpg","text":"TemporaryFile(/tmp/multipartBody984892387731500345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382333870,"filename":"image_23042025_06_24_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55e5e22a34296e8071ae27790c423cdd.jpg","text":"TemporaryFile(/tmp/multipartBody6435205454688941455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382333870,"filename":"image_23042025_06_24_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920033","file1":"1352920029","file0":"1352920024","file4":"1352920041","file3":"1352920037"},"map_files_photo_id_array":[{"photo_id":"1352920033","filename":"file2"},{"photo_id":"1352920041","filename":"file4"},{"photo_id":"1352920029","filename":"file1"},{"photo_id":"1352920024","filename":"file0"},{"photo_id":"1352920037","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920041":["hashtag1","hashtag2"]},{"1352920029":["hashtag1","hashtag2"]},{"1352920037":["hashtag1","hashtag2"]},{"1352920033":["hashtag1","hashtag2"]},{"1352920024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920041, 1352920029, 1352920037, 1352920033, 1352920024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.348373889923096 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:25:02.887705
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.643808364868164 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:25:32.424058
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_35_10734.jpg', 2), ('/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_15_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/24/image_23042025_06_25_05_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_35_10734.jpg', '/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_15_9715.jpg', '/home/nano/Desktop/images/23042025/06/24/image_23042025_06_25_05_10721.jpg', '/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_45_9704.jpg
/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_35_10734.jpg
/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_25_9705.jpg
/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_15_9715.jpg
/home/nano/Desktop/images/23042025/06/24/image_23042025_06_25_05_10721.jpg
/home/nano/Desktop/images/23042025/06/24/image_23042025_06_24_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920070","1352920067","1352920082","1352920063","1352920074","1352920077"],"photo_ids_order":["1352920063","1352920067","1352920070","1352920074","1352920077","1352920082"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e10aaf87f1adfbf565dc646f2c9a2be3.jpg","text":"TemporaryFile(/tmp/multipartBody4260756893326185581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382393755,"filename":"image_23042025_06_25_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13a004db17c85e5535ea0bcd416adf0a.jpg","text":"TemporaryFile(/tmp/multipartBody1284094965628906696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382393755,"filename":"image_23042025_06_25_35_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8db93a93cf498c4a128b6e0dc7be94d8.jpg","text":"TemporaryFile(/tmp/multipartBody3698767973910357712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382393755,"filename":"image_23042025_06_24_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b1dde233f54bc12699ca694dc200e48.jpg","text":"TemporaryFile(/tmp/multipartBody3101902144909270197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382393755,"filename":"image_23042025_06_25_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0e03359850cbe24e32c597f6914acdc.jpg","text":"TemporaryFile(/tmp/multipartBody6808837008755347651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382393755,"filename":"image_23042025_06_25_15_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/315e9e1a370eb204a47ae342db88baf1.jpg","text":"TemporaryFile(/tmp/multipartBody958007780455130029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382393755,"filename":"image_23042025_06_25_05_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920070","file1":"1352920067","file0":"1352920063","file4":"1352920077","file5":"1352920082","file3":"1352920074"},"map_files_photo_id_array":[{"photo_id":"1352920082","filename":"file5"},{"photo_id":"1352920070","filename":"file2"},{"photo_id":"1352920077","filename":"file4"},{"photo_id":"1352920067","filename":"file1"},{"photo_id":"1352920063","filename":"file0"},{"photo_id":"1352920074","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920070":["hashtag1","hashtag2"]},{"1352920067":["hashtag1","hashtag2"]},{"1352920082":["hashtag1","hashtag2"]},{"1352920063":["hashtag1","hashtag2"]},{"1352920074":["hashtag1","hashtag2"]},{"1352920077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920070, 1352920067, 1352920082, 1352920063, 1352920074, 1352920077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.975728273391724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:26:32.502515
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_45_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_35_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_15_10748.jpg', 2), ('/home/nano/Desktop/images/23042025/06/25/image_23042025_06_26_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_45_10718.jpg', '/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_35_9701.jpg', '/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_25_9706.jpg', '/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_15_10748.jpg', '/home/nano/Desktop/images/23042025/06/25/image_23042025_06_26_05_9720.jpg', '/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_45_10718.jpg
/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_35_9701.jpg
/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_25_9706.jpg
/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_15_10748.jpg
/home/nano/Desktop/images/23042025/06/25/image_23042025_06_26_05_9720.jpg
/home/nano/Desktop/images/23042025/06/25/image_23042025_06_25_55_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920097","1352920104","1352920115","1352920112","1352920100","1352920108"],"photo_ids_order":["1352920097","1352920100","1352920104","1352920108","1352920112","1352920115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f7c35b5e02989ef42fb20f67f7f3661.jpg","text":"TemporaryFile(/tmp/multipartBody2695611940120024632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382453864,"filename":"image_23042025_06_26_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c5e928403e082a3697f6b845a3f03cd.jpg","text":"TemporaryFile(/tmp/multipartBody1118292187171479729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382453864,"filename":"image_23042025_06_26_25_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8700044bd822c6c6d217070c5ff6daca.jpg","text":"TemporaryFile(/tmp/multipartBody2904155998685693636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382453864,"filename":"image_23042025_06_25_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03bf07a34036958dcd1d8b56c6f7dffa.jpg","text":"TemporaryFile(/tmp/multipartBody1313705129786934789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382453864,"filename":"image_23042025_06_26_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83a2e196a849e3d439584ef4b01515d2.jpg","text":"TemporaryFile(/tmp/multipartBody4134486154465049911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382453864,"filename":"image_23042025_06_26_35_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b02187f0fba3d1cb4444e18c89070fa.jpg","text":"TemporaryFile(/tmp/multipartBody2878841358948521228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382453864,"filename":"image_23042025_06_26_15_10748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920104","file1":"1352920100","file0":"1352920097","file4":"1352920112","file5":"1352920115","file3":"1352920108"},"map_files_photo_id_array":[{"photo_id":"1352920115","filename":"file5"},{"photo_id":"1352920104","filename":"file2"},{"photo_id":"1352920112","filename":"file4"},{"photo_id":"1352920100","filename":"file1"},{"photo_id":"1352920097","filename":"file0"},{"photo_id":"1352920108","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920097":["hashtag1","hashtag2"]},{"1352920104":["hashtag1","hashtag2"]},{"1352920115":["hashtag1","hashtag2"]},{"1352920112":["hashtag1","hashtag2"]},{"1352920100":["hashtag1","hashtag2"]},{"1352920108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920097, 1352920104, 1352920115, 1352920112, 1352920100, 1352920108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.31132984161377 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:27:32.601123
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_25_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_15_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/26/image_23042025_06_27_05_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_45_9707.jpg', '/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_35_9704.jpg', '/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_25_10714.jpg', '/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_15_9714.jpg', '/home/nano/Desktop/images/23042025/06/26/image_23042025_06_27_05_9710.jpg', '/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_45_9707.jpg
/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_35_9704.jpg
/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_25_10714.jpg
/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_15_9714.jpg
/home/nano/Desktop/images/23042025/06/26/image_23042025_06_27_05_9710.jpg
/home/nano/Desktop/images/23042025/06/26/image_23042025_06_26_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920157","1352920165","1352920144","1352920153","1352920147","1352920161"],"photo_ids_order":["1352920144","1352920147","1352920153","1352920157","1352920161","1352920165"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f744bdce2f79cdb46e279b323c2d3c0.jpg","text":"TemporaryFile(/tmp/multipartBody3737970596655865672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382514163,"filename":"image_23042025_06_27_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baebfe0f37efcb4a00488c5602798912.jpg","text":"TemporaryFile(/tmp/multipartBody8765971098834291390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382514163,"filename":"image_23042025_06_26_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bce0bbfc75ef311466c2bb29f77abb7d.jpg","text":"TemporaryFile(/tmp/multipartBody2803170394058382781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382514163,"filename":"image_23042025_06_27_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09634ef3d440e9a36eb712dd736dfc78.jpg","text":"TemporaryFile(/tmp/multipartBody6845545715331562770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382514163,"filename":"image_23042025_06_27_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28f02fa9a211c7fe4ce26e20e65d8df4.jpg","text":"TemporaryFile(/tmp/multipartBody8172270152487552840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382514163,"filename":"image_23042025_06_27_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36d0ffc25e522956c91fc04f5b31ced4.jpg","text":"TemporaryFile(/tmp/multipartBody6967569741695516878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382514163,"filename":"image_23042025_06_27_05_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920153","file1":"1352920147","file0":"1352920144","file4":"1352920161","file5":"1352920165","file3":"1352920157"},"map_files_photo_id_array":[{"photo_id":"1352920165","filename":"file5"},{"photo_id":"1352920153","filename":"file2"},{"photo_id":"1352920161","filename":"file4"},{"photo_id":"1352920147","filename":"file1"},{"photo_id":"1352920144","filename":"file0"},{"photo_id":"1352920157","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920157":["hashtag1","hashtag2"]},{"1352920165":["hashtag1","hashtag2"]},{"1352920144":["hashtag1","hashtag2"]},{"1352920153":["hashtag1","hashtag2"]},{"1352920147":["hashtag1","hashtag2"]},{"1352920161":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920157, 1352920165, 1352920144, 1352920153, 1352920147, 1352920161)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.4630343914032 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:28:32.683512
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_35_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_15_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/06/27/image_23042025_06_28_05_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_55_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_35_10715.jpg', '/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_25_9707.jpg', '/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_15_9724.jpg', '/home/nano/Desktop/images/23042025/06/27/image_23042025_06_28_05_9723.jpg', '/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_35_10715.jpg
/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_25_9707.jpg
/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_15_9724.jpg
/home/nano/Desktop/images/23042025/06/27/image_23042025_06_28_05_9723.jpg
/home/nano/Desktop/images/23042025/06/27/image_23042025_06_27_55_10713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920199","1352920187","1352920195","1352920183","1352920192"],"photo_ids_order":["1352920183","1352920187","1352920192","1352920195","1352920199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d11f28c96ffbacb46105f0360f679255.jpg","text":"TemporaryFile(/tmp/multipartBody891159235511866856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382574104,"filename":"image_23042025_06_27_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cedc176697f1f421881fc515e8c979e.jpg","text":"TemporaryFile(/tmp/multipartBody9061685772069576301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382574104,"filename":"image_23042025_06_28_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db125d6d33351ad2f0e08c4590eef0ed.jpg","text":"TemporaryFile(/tmp/multipartBody3217266357914762637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382574104,"filename":"image_23042025_06_28_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1c4794a0a198297adb5ed9e347a9a1e.jpg","text":"TemporaryFile(/tmp/multipartBody1233944778897802286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382574104,"filename":"image_23042025_06_28_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39ce88a07d390d3619879a130bbc6928.jpg","text":"TemporaryFile(/tmp/multipartBody6502255469048427697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382574104,"filename":"image_23042025_06_28_15_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920192","file1":"1352920187","file0":"1352920183","file4":"1352920199","file3":"1352920195"},"map_files_photo_id_array":[{"photo_id":"1352920192","filename":"file2"},{"photo_id":"1352920199","filename":"file4"},{"photo_id":"1352920187","filename":"file1"},{"photo_id":"1352920183","filename":"file0"},{"photo_id":"1352920195","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920199":["hashtag1","hashtag2"]},{"1352920187":["hashtag1","hashtag2"]},{"1352920195":["hashtag1","hashtag2"]},{"1352920183":["hashtag1","hashtag2"]},{"1352920192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920199, 1352920187, 1352920195, 1352920183, 1352920192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.126983642578125 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:29:02.919242
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.700279712677002 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:29:31.817729
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_45_10713.jpg', 2), ('/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_15_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/06/28/image_23042025_06_29_05_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_45_10713.jpg', '/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_25_9707.jpg', '/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_15_9711.jpg', '/home/nano/Desktop/images/23042025/06/28/image_23042025_06_29_05_10717.jpg', '/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_45_10713.jpg
/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_35_9706.jpg
/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_25_9707.jpg
/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_15_9711.jpg
/home/nano/Desktop/images/23042025/06/28/image_23042025_06_29_05_10717.jpg
/home/nano/Desktop/images/23042025/06/28/image_23042025_06_28_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920262","1352920244","1352920237","1352920249","1352920240","1352920266"],"photo_ids_order":["1352920237","1352920240","1352920244","1352920249","1352920262","1352920266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d1039dcf00ff78c28c4273772f64005.jpg","text":"TemporaryFile(/tmp/multipartBody4428904942895022097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382633224,"filename":"image_23042025_06_29_05_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b424e1311915172c70e21d190543f75a.jpg","text":"TemporaryFile(/tmp/multipartBody1936802155739216855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382633224,"filename":"image_23042025_06_29_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5a87f294d3fe8e520cd34804084aab2.jpg","text":"TemporaryFile(/tmp/multipartBody544100505583945345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382633224,"filename":"image_23042025_06_29_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c05fe0382c8ded2e18c882d37f14f40b.jpg","text":"TemporaryFile(/tmp/multipartBody6824126657442425159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382633224,"filename":"image_23042025_06_29_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73ad5264b059f64e186d14260cb267e7.jpg","text":"TemporaryFile(/tmp/multipartBody1691083078752820069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382633224,"filename":"image_23042025_06_29_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e6daf5262ee30605b35a7fc538b1600.jpg","text":"TemporaryFile(/tmp/multipartBody3138187849100737703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382633224,"filename":"image_23042025_06_28_55_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920244","file1":"1352920240","file0":"1352920237","file4":"1352920262","file5":"1352920266","file3":"1352920249"},"map_files_photo_id_array":[{"photo_id":"1352920266","filename":"file5"},{"photo_id":"1352920244","filename":"file2"},{"photo_id":"1352920262","filename":"file4"},{"photo_id":"1352920240","filename":"file1"},{"photo_id":"1352920237","filename":"file0"},{"photo_id":"1352920249","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920262":["hashtag1","hashtag2"]},{"1352920244":["hashtag1","hashtag2"]},{"1352920237":["hashtag1","hashtag2"]},{"1352920249":["hashtag1","hashtag2"]},{"1352920240":["hashtag1","hashtag2"]},{"1352920266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920262, 1352920244, 1352920237, 1352920249, 1352920240, 1352920266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30781364440918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:30:31.915771
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_45_9700.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_35_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_25_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_15_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/06/29/image_23042025_06_30_05_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_45_9700.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_35_9703.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_25_9722.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_15_10752.jpg', '/home/nano/Desktop/images/23042025/06/29/image_23042025_06_30_05_9723.jpg', '/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_45_9700.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_35_9703.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_25_9722.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_15_10752.jpg
/home/nano/Desktop/images/23042025/06/29/image_23042025_06_30_05_9723.jpg
/home/nano/Desktop/images/23042025/06/29/image_23042025_06_29_55_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352920317","1352920314","1352920289","1352920310","1352920297","1352920293"],"photo_ids_order":["1352920289","1352920293","1352920297","1352920310","1352920314","1352920317"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc1dac0aaa2b584e08c473e0fd004157.jpg","text":"TemporaryFile(/tmp/multipartBody1135051612390801376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382693521,"filename":"image_23042025_06_29_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf458ec77cb903c35cdc162edc9bb320.jpg","text":"TemporaryFile(/tmp/multipartBody5125325702507600466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382693521,"filename":"image_23042025_06_30_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57ef26b0a1d23253a852a03fe30c10ff.jpg","text":"TemporaryFile(/tmp/multipartBody8862278710759882753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382693521,"filename":"image_23042025_06_30_45_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f1d75b3c77363d0a1737be25d57a2b8.jpg","text":"TemporaryFile(/tmp/multipartBody5423292910813746962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382693521,"filename":"image_23042025_06_30_15_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2cd16dc2a388d3fadad1dbc7a4f5d80.jpg","text":"TemporaryFile(/tmp/multipartBody5575826487537576904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382693521,"filename":"image_23042025_06_30_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94cf354e5c8534a52713f4aa04050009.jpg","text":"TemporaryFile(/tmp/multipartBody1316792568712110205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382693521,"filename":"image_23042025_06_30_35_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352920297","file1":"1352920293","file0":"1352920289","file4":"1352920314","file5":"1352920317","file3":"1352920310"},"map_files_photo_id_array":[{"photo_id":"1352920317","filename":"file5"},{"photo_id":"1352920297","filename":"file2"},{"photo_id":"1352920314","filename":"file4"},{"photo_id":"1352920293","filename":"file1"},{"photo_id":"1352920289","filename":"file0"},{"photo_id":"1352920310","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352920317":["hashtag1","hashtag2"]},{"1352920314":["hashtag1","hashtag2"]},{"1352920289":["hashtag1","hashtag2"]},{"1352920310":["hashtag1","hashtag2"]},{"1352920297":["hashtag1","hashtag2"]},{"1352920293":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352920317, 1352920314, 1352920289, 1352920310, 1352920297, 1352920293)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.870283365249634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:31:32.045008
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_25_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_15_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_31_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_55_10714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_45_9707.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_25_10718.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_15_9703.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_31_05_9721.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_55_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_45_9707.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_35_9706.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_25_10718.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_15_9703.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_31_05_9721.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_55_10714.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.395099401473999 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:32:02.632664
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_25_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_15_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_31_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_55_10714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_45_9707.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_25_10718.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_15_9703.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_31_05_9721.jpg', '/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_55_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_45_9707.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_35_9706.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_25_10718.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_15_9703.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_31_05_9721.jpg
/home/nano/Desktop/images/23042025/06/30/image_23042025_06_30_55_10714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921069","1352921048","1352921050","1352921073","1352921067","1352921043"],"photo_ids_order":["1352921043","1352921048","1352921050","1352921067","1352921069","1352921073"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf1aedf5126ad5ef5b177a78aa7a450e.jpg","text":"TemporaryFile(/tmp/multipartBody7219627755986838878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382783881,"filename":"image_23042025_06_31_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db97fe919ead819c1cec6490328a9786.jpg","text":"TemporaryFile(/tmp/multipartBody3239686223912645024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382783881,"filename":"image_23042025_06_31_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1aecbee60d4e07fb510804cfa9573ec6.jpg","text":"TemporaryFile(/tmp/multipartBody5674279858542615267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382783881,"filename":"image_23042025_06_31_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92a4977311e9868edf588ff014e57fe4.jpg","text":"TemporaryFile(/tmp/multipartBody8151171243548956351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382783881,"filename":"image_23042025_06_30_55_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1849e515d5625433b2a1320a7afb9034.jpg","text":"TemporaryFile(/tmp/multipartBody9202429744666506038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382783881,"filename":"image_23042025_06_31_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d85d788906fd7b62ee7d9bc1f9ccc35f.jpg","text":"TemporaryFile(/tmp/multipartBody5520727775699019210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382783881,"filename":"image_23042025_06_31_45_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921050","file1":"1352921048","file0":"1352921043","file4":"1352921069","file5":"1352921073","file3":"1352921067"},"map_files_photo_id_array":[{"photo_id":"1352921073","filename":"file5"},{"photo_id":"1352921050","filename":"file2"},{"photo_id":"1352921069","filename":"file4"},{"photo_id":"1352921048","filename":"file1"},{"photo_id":"1352921043","filename":"file0"},{"photo_id":"1352921067","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921069":["hashtag1","hashtag2"]},{"1352921048":["hashtag1","hashtag2"]},{"1352921050":["hashtag1","hashtag2"]},{"1352921073":["hashtag1","hashtag2"]},{"1352921067":["hashtag1","hashtag2"]},{"1352921043":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921069, 1352921048, 1352921050, 1352921073, 1352921067, 1352921043)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.20257115364075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:33:02.945037
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_35_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_15_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_32_05_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_35_10716.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_15_9708.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_32_05_10720.jpg', '/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_45_9705.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_35_10716.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_25_9705.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_15_9708.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_32_05_10720.jpg
/home/nano/Desktop/images/23042025/06/31/image_23042025_06_31_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921191","1352921194","1352921197","1352921184","1352921187","1352921202"],"photo_ids_order":["1352921184","1352921187","1352921191","1352921194","1352921197","1352921202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4b70c7105e3bfbab921257b6fddc5da.jpg","text":"TemporaryFile(/tmp/multipartBody7199237253145586151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382844305,"filename":"image_23042025_06_32_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4b04ba06dbcdd40c5a8d343d720f54a.jpg","text":"TemporaryFile(/tmp/multipartBody8807594692226551860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382844305,"filename":"image_23042025_06_32_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/799dad3171fecd769adaec25ec3291df.jpg","text":"TemporaryFile(/tmp/multipartBody8869569995372636785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382844305,"filename":"image_23042025_06_32_05_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6f91a778799aed54ad21ec3ab9e52d6.jpg","text":"TemporaryFile(/tmp/multipartBody7661524774075026413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382844305,"filename":"image_23042025_06_32_45_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af47c2c09a8c1d3d72849f862f88113e.jpg","text":"TemporaryFile(/tmp/multipartBody6105400100888771675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382844305,"filename":"image_23042025_06_32_35_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4b825568b49e006f4b466646d38bdc6.jpg","text":"TemporaryFile(/tmp/multipartBody3455036747432017497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382844305,"filename":"image_23042025_06_31_55_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921191","file1":"1352921187","file0":"1352921184","file4":"1352921197","file5":"1352921202","file3":"1352921194"},"map_files_photo_id_array":[{"photo_id":"1352921202","filename":"file5"},{"photo_id":"1352921191","filename":"file2"},{"photo_id":"1352921197","filename":"file4"},{"photo_id":"1352921187","filename":"file1"},{"photo_id":"1352921184","filename":"file0"},{"photo_id":"1352921194","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921191":["hashtag1","hashtag2"]},{"1352921194":["hashtag1","hashtag2"]},{"1352921197":["hashtag1","hashtag2"]},{"1352921184":["hashtag1","hashtag2"]},{"1352921187":["hashtag1","hashtag2"]},{"1352921202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921191, 1352921194, 1352921197, 1352921184, 1352921187, 1352921202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69521880149841 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:34:03.140087
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_35_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_15_10768.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_33_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_45_10715.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_35_9703.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_25_9704.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_15_10768.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_33_05_9712.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_45_10715.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_35_9703.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_25_9704.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_15_10768.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_33_05_9712.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_55_9705.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2536845207214355 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:34:32.380149
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_35_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_15_9757.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_34_05_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_55_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_35_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_35_9702.jpg', '/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_15_9757.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_34_05_9742.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_55_9704.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_45_10715.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_35_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_35_9702.jpg
/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_15_9757.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_34_05_9742.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_55_9704.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_45_10715.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_35_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921366","1352921371","1352921380","1352921362","1352921376","1352921390"],"photo_ids_order":["1352921362","1352921366","1352921371","1352921376","1352921380","1352921390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/264fd064a9994c30656f6a5cd846737a.jpg","text":"TemporaryFile(/tmp/multipartBody7801117134010469173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382933754,"filename":"image_23042025_06_34_15_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9517dceaf8b31b2b82e47b5efbfad5c7.jpg","text":"TemporaryFile(/tmp/multipartBody5282837714290995454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382933754,"filename":"image_23042025_06_34_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c174552d46101ec7a2490e0bbfa68b79.jpg","text":"TemporaryFile(/tmp/multipartBody1680883891357075262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382933754,"filename":"image_23042025_06_33_45_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5dc59057dfe716a7bbb72afc7c211e15.jpg","text":"TemporaryFile(/tmp/multipartBody3988666931507660400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382933754,"filename":"image_23042025_06_34_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f09e950a06c298cb49de0de22d23aef.jpg","text":"TemporaryFile(/tmp/multipartBody725263655694485800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382933754,"filename":"image_23042025_06_33_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41c26ba838146c5a97d175cc2d700769.jpg","text":"TemporaryFile(/tmp/multipartBody216678146326758087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382933754,"filename":"image_23042025_06_33_35_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921371","file1":"1352921366","file0":"1352921362","file4":"1352921380","file5":"1352921390","file3":"1352921376"},"map_files_photo_id_array":[{"photo_id":"1352921390","filename":"file5"},{"photo_id":"1352921371","filename":"file2"},{"photo_id":"1352921380","filename":"file4"},{"photo_id":"1352921366","filename":"file1"},{"photo_id":"1352921362","filename":"file0"},{"photo_id":"1352921376","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921366":["hashtag1","hashtag2"]},{"1352921371":["hashtag1","hashtag2"]},{"1352921380":["hashtag1","hashtag2"]},{"1352921362":["hashtag1","hashtag2"]},{"1352921376":["hashtag1","hashtag2"]},{"1352921390":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921366, 1352921371, 1352921380, 1352921362, 1352921376, 1352921390)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64660334587097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:35:32.467358
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_45_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_35_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_25_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_15_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/34/image_23042025_06_35_05_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_55_9723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_45_9724.jpg', '/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_35_10715.jpg', '/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_25_9701.jpg', '/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_15_9726.jpg', '/home/nano/Desktop/images/23042025/06/34/image_23042025_06_35_05_10745.jpg', '/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_55_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_45_9724.jpg
/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_35_10715.jpg
/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_25_9701.jpg
/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_15_9726.jpg
/home/nano/Desktop/images/23042025/06/34/image_23042025_06_35_05_10745.jpg
/home/nano/Desktop/images/23042025/06/34/image_23042025_06_34_55_9723.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921423","1352921411","1352921408","1352921416","1352921413","1352921421"],"photo_ids_order":["1352921408","1352921411","1352921413","1352921416","1352921421","1352921423"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ba4de6c32ede295181df90539d67ca4.jpg","text":"TemporaryFile(/tmp/multipartBody6298959724168856968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382993835,"filename":"image_23042025_06_34_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9bd81d6121028797003ad9ef0ca2dd95.jpg","text":"TemporaryFile(/tmp/multipartBody7459853543413789128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382993835,"filename":"image_23042025_06_35_35_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10059c8ff7584f3e53c7c3c7e8e80a66.jpg","text":"TemporaryFile(/tmp/multipartBody6409216446309084052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382993835,"filename":"image_23042025_06_35_45_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77e0e4f30176db206af88eedd4dfbd28.jpg","text":"TemporaryFile(/tmp/multipartBody1665976557875889399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382993835,"filename":"image_23042025_06_35_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/faaa5ab6efed97d00d16fb5fd4b29800.jpg","text":"TemporaryFile(/tmp/multipartBody6199498864498215887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382993835,"filename":"image_23042025_06_35_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a79957a4f63fd8051f140421d7988883.jpg","text":"TemporaryFile(/tmp/multipartBody6694651009342323988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745382993835,"filename":"image_23042025_06_35_05_10745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921413","file1":"1352921411","file0":"1352921408","file4":"1352921421","file5":"1352921423","file3":"1352921416"},"map_files_photo_id_array":[{"photo_id":"1352921423","filename":"file5"},{"photo_id":"1352921413","filename":"file2"},{"photo_id":"1352921421","filename":"file4"},{"photo_id":"1352921411","filename":"file1"},{"photo_id":"1352921408","filename":"file0"},{"photo_id":"1352921416","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921423":["hashtag1","hashtag2"]},{"1352921411":["hashtag1","hashtag2"]},{"1352921408":["hashtag1","hashtag2"]},{"1352921416":["hashtag1","hashtag2"]},{"1352921413":["hashtag1","hashtag2"]},{"1352921421":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921423, 1352921411, 1352921408, 1352921416, 1352921413, 1352921421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.576536893844604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:36:32.556062
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_45_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_25_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/06/35/image_23042025_06_36_05_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_55_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_25_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_45_10717.jpg', '/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_35_9707.jpg', '/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_25_9722.jpg', '/home/nano/Desktop/images/23042025/06/35/image_23042025_06_36_05_9742.jpg', '/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_55_9723.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_25_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_45_10717.jpg
/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_35_9707.jpg
/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_25_9722.jpg
/home/nano/Desktop/images/23042025/06/35/image_23042025_06_36_05_9742.jpg
/home/nano/Desktop/images/23042025/06/35/image_23042025_06_35_55_9723.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_25_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921444","1352921464","1352921449","1352921463","1352921457","1352921439"],"photo_ids_order":["1352921439","1352921444","1352921449","1352921457","1352921463","1352921464"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7010da929721454e0453d26eb83b6e7e.jpg","text":"TemporaryFile(/tmp/multipartBody3581607781611364885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383054067,"filename":"image_23042025_06_36_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d1e24d4d7dc8c5141dfb1cf81e53e57.jpg","text":"TemporaryFile(/tmp/multipartBody9107387826713113197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383054067,"filename":"image_23042025_06_33_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1714d8eb4382159f15bdd560b5118054.jpg","text":"TemporaryFile(/tmp/multipartBody1345771114497250491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383054067,"filename":"image_23042025_06_36_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e928f532ed3de616496e952935069c25.jpg","text":"TemporaryFile(/tmp/multipartBody748563058658065257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383054067,"filename":"image_23042025_06_35_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6db812c413377a90ea4022417b8d45fd.jpg","text":"TemporaryFile(/tmp/multipartBody8029615327360306439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383054067,"filename":"image_23042025_06_36_05_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3032ccb17fbed9c444dfc3b32f25462.jpg","text":"TemporaryFile(/tmp/multipartBody2245654993687269717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383054067,"filename":"image_23042025_06_36_45_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921449","file1":"1352921444","file0":"1352921439","file4":"1352921463","file5":"1352921464","file3":"1352921457"},"map_files_photo_id_array":[{"photo_id":"1352921464","filename":"file5"},{"photo_id":"1352921449","filename":"file2"},{"photo_id":"1352921463","filename":"file4"},{"photo_id":"1352921444","filename":"file1"},{"photo_id":"1352921439","filename":"file0"},{"photo_id":"1352921457","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921444":["hashtag1","hashtag2"]},{"1352921464":["hashtag1","hashtag2"]},{"1352921449":["hashtag1","hashtag2"]},{"1352921463":["hashtag1","hashtag2"]},{"1352921457":["hashtag1","hashtag2"]},{"1352921439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921444, 1352921464, 1352921449, 1352921463, 1352921457, 1352921439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52050471305847 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:37:32.673495
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_35_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_25_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_15_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_55_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_15_10768.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_45_9709.jpg', '/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_35_9710.jpg', '/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_25_10714.jpg', '/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_15_9732.jpg', '/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_55_9708.jpg', '/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_15_10768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_45_9709.jpg
/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_35_9710.jpg
/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_25_10714.jpg
/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_15_9732.jpg
/home/nano/Desktop/images/23042025/06/36/image_23042025_06_36_55_9708.jpg
/home/nano/Desktop/images/23042025/06/33/image_23042025_06_33_15_10768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921517","1352921492","1352921525","1352921496","1352921499","1352921508"],"photo_ids_order":["1352921492","1352921496","1352921499","1352921508","1352921517","1352921525"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3bc3dc4b35ba056dafaaf62c5af1a6d.jpg","text":"TemporaryFile(/tmp/multipartBody7240165500644066006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383113952,"filename":"image_23042025_06_36_55_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c044b767f77b3587742154528e28f90.jpg","text":"TemporaryFile(/tmp/multipartBody7059237349174536629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383113952,"filename":"image_23042025_06_37_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab9f2ef04aa1de601cfe08d6e2751984.jpg","text":"TemporaryFile(/tmp/multipartBody4765791746415227602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383113952,"filename":"image_23042025_06_33_15_10768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e9572d9e3f82378f4a70cc508e3e647.jpg","text":"TemporaryFile(/tmp/multipartBody1437643291160455786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383113952,"filename":"image_23042025_06_37_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/810192ea9c8319a5374efa492ae5a6d3.jpg","text":"TemporaryFile(/tmp/multipartBody7818162449810332654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383113952,"filename":"image_23042025_06_37_25_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9eb28bd354b3ca42750fa6f06e6b5dab.jpg","text":"TemporaryFile(/tmp/multipartBody5870962602810313042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383113952,"filename":"image_23042025_06_37_15_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921499","file1":"1352921496","file0":"1352921492","file4":"1352921517","file5":"1352921525","file3":"1352921508"},"map_files_photo_id_array":[{"photo_id":"1352921525","filename":"file5"},{"photo_id":"1352921499","filename":"file2"},{"photo_id":"1352921517","filename":"file4"},{"photo_id":"1352921496","filename":"file1"},{"photo_id":"1352921492","filename":"file0"},{"photo_id":"1352921508","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921517":["hashtag1","hashtag2"]},{"1352921492":["hashtag1","hashtag2"]},{"1352921525":["hashtag1","hashtag2"]},{"1352921496":["hashtag1","hashtag2"]},{"1352921499":["hashtag1","hashtag2"]},{"1352921508":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921517, 1352921492, 1352921525, 1352921496, 1352921499, 1352921508)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.652543783187866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:38:31.785661
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_15_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/06/37/image_23042025_06_38_05_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_55_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_33_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_45_9708.jpg', '/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_15_9738.jpg', '/home/nano/Desktop/images/23042025/06/37/image_23042025_06_38_05_10730.jpg', '/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_55_9728.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_33_05_9712.jpg', '/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_45_9708.jpg
/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_15_9738.jpg
/home/nano/Desktop/images/23042025/06/37/image_23042025_06_38_05_10730.jpg
/home/nano/Desktop/images/23042025/06/37/image_23042025_06_37_55_9728.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_33_05_9712.jpg
/home/nano/Desktop/images/23042025/06/32/image_23042025_06_32_55_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921552","1352921537","1352921545","1352921548","1352921542","1352921568"],"photo_ids_order":["1352921537","1352921542","1352921545","1352921548","1352921552","1352921568"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04dfd9aa4721d2fc5d4dfd810c83c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody5895229308375118092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383173420,"filename":"image_23042025_06_33_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a5dd16bfd47315051e59ca75170fbfc.jpg","text":"TemporaryFile(/tmp/multipartBody2621938272360171964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383173420,"filename":"image_23042025_06_38_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02d2fe1731a4a000290c70663beacd03.jpg","text":"TemporaryFile(/tmp/multipartBody4111929540466654740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383173420,"filename":"image_23042025_06_38_05_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60800b98162a73858c88f7fe4e8d2bb4.jpg","text":"TemporaryFile(/tmp/multipartBody1448437909708248435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383173420,"filename":"image_23042025_06_37_55_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a502e632a3ecf3a7e7503306b04e17f7.jpg","text":"TemporaryFile(/tmp/multipartBody6282492435684621861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383173420,"filename":"image_23042025_06_38_15_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ba565568abd8b6d3636230a9ab53fcc.jpg","text":"TemporaryFile(/tmp/multipartBody610053805191287713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383173420,"filename":"image_23042025_06_32_55_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921545","file1":"1352921542","file0":"1352921537","file4":"1352921552","file5":"1352921568","file3":"1352921548"},"map_files_photo_id_array":[{"photo_id":"1352921568","filename":"file5"},{"photo_id":"1352921545","filename":"file2"},{"photo_id":"1352921552","filename":"file4"},{"photo_id":"1352921542","filename":"file1"},{"photo_id":"1352921537","filename":"file0"},{"photo_id":"1352921548","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921552":["hashtag1","hashtag2"]},{"1352921537":["hashtag1","hashtag2"]},{"1352921545":["hashtag1","hashtag2"]},{"1352921548":["hashtag1","hashtag2"]},{"1352921542":["hashtag1","hashtag2"]},{"1352921568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921552, 1352921537, 1352921545, 1352921548, 1352921542, 1352921568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.371140956878662 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:39:31.877774
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_15_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/06/38/image_23042025_06_39_05_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_55_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_35_9708.jpg', '/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_25_9707.jpg', '/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_15_10728.jpg', '/home/nano/Desktop/images/23042025/06/38/image_23042025_06_39_05_9717.jpg', '/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_55_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_35_9708.jpg
/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_25_9707.jpg
/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_15_10728.jpg
/home/nano/Desktop/images/23042025/06/38/image_23042025_06_39_05_9717.jpg
/home/nano/Desktop/images/23042025/06/38/image_23042025_06_38_55_9709.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921601","1352921612","1352921606","1352921626","1352921608"],"photo_ids_order":["1352921601","1352921606","1352921608","1352921612","1352921626"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26a3d8fc3de961750a6de4a3e5c26fa3.jpg","text":"TemporaryFile(/tmp/multipartBody914332021525155740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383233405,"filename":"image_23042025_06_39_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/380d3c323e0912bf7b085184960cb38c.jpg","text":"TemporaryFile(/tmp/multipartBody3383615051151762927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383233405,"filename":"image_23042025_06_39_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9bd7fe44a45f0a957cc1e8a8b3b3d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3802317861408129356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383233405,"filename":"image_23042025_06_39_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1715166935cca247cbc9d8289fa23e9.jpg","text":"TemporaryFile(/tmp/multipartBody3812748146095660639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383233405,"filename":"image_23042025_06_38_55_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb7e0dc87f43f45c8f9dc8703801c362.jpg","text":"TemporaryFile(/tmp/multipartBody8557052556534875137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383233405,"filename":"image_23042025_06_39_15_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921608","file1":"1352921606","file0":"1352921601","file4":"1352921626","file3":"1352921612"},"map_files_photo_id_array":[{"photo_id":"1352921608","filename":"file2"},{"photo_id":"1352921626","filename":"file4"},{"photo_id":"1352921606","filename":"file1"},{"photo_id":"1352921601","filename":"file0"},{"photo_id":"1352921612","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921601":["hashtag1","hashtag2"]},{"1352921612":["hashtag1","hashtag2"]},{"1352921606":["hashtag1","hashtag2"]},{"1352921626":["hashtag1","hashtag2"]},{"1352921608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921601, 1352921612, 1352921606, 1352921626, 1352921608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.729843854904175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:40:02.442624
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6694920063018799 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:40:31.977035
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_25_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_15_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/39/image_23042025_06_40_05_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_45_10718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_25_10718.jpg', '/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_15_9732.jpg', '/home/nano/Desktop/images/23042025/06/39/image_23042025_06_40_05_9723.jpg', '/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_45_10718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_35_9706.jpg
/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_25_10718.jpg
/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_15_9732.jpg
/home/nano/Desktop/images/23042025/06/39/image_23042025_06_40_05_9723.jpg
/home/nano/Desktop/images/23042025/06/39/image_23042025_06_39_45_10718.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921672","1352921657","1352921668","1352921661","1352921679"],"photo_ids_order":["1352921657","1352921661","1352921668","1352921672","1352921679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2b2730ff42c7ff5a8f4994b91f5a877.jpg","text":"TemporaryFile(/tmp/multipartBody7955410137561438341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383293482,"filename":"image_23042025_06_40_05_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07e3c93942eedcccbfcfacea33104104.jpg","text":"TemporaryFile(/tmp/multipartBody8082483172075493766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383293482,"filename":"image_23042025_06_40_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/deb108445bcfe105129cbeea7b681601.jpg","text":"TemporaryFile(/tmp/multipartBody8814783582405826923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383293482,"filename":"image_23042025_06_40_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c82a3a9f1bb817e32be5661d1ae83680.jpg","text":"TemporaryFile(/tmp/multipartBody6476768192153644037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383293482,"filename":"image_23042025_06_40_25_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bee0dea83447e0f603aa605c14acc8a.jpg","text":"TemporaryFile(/tmp/multipartBody4712463930108763490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383293482,"filename":"image_23042025_06_39_45_10718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921668","file1":"1352921661","file0":"1352921657","file4":"1352921679","file3":"1352921672"},"map_files_photo_id_array":[{"photo_id":"1352921668","filename":"file2"},{"photo_id":"1352921679","filename":"file4"},{"photo_id":"1352921661","filename":"file1"},{"photo_id":"1352921657","filename":"file0"},{"photo_id":"1352921672","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921672":["hashtag1","hashtag2"]},{"1352921657":["hashtag1","hashtag2"]},{"1352921668":["hashtag1","hashtag2"]},{"1352921661":["hashtag1","hashtag2"]},{"1352921679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921672, 1352921657, 1352921668, 1352921661, 1352921679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.647536516189575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:41:02.893589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6584994792938232 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:41:32.087654
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_25_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_15_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/40/image_23042025_06_41_05_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_45_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_45_9709.jpg', '/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_25_9706.jpg', '/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_15_9707.jpg', '/home/nano/Desktop/images/23042025/06/40/image_23042025_06_41_05_9732.jpg', '/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_45_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_45_9709.jpg
/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_25_9706.jpg
/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_15_9707.jpg
/home/nano/Desktop/images/23042025/06/40/image_23042025_06_41_05_9732.jpg
/home/nano/Desktop/images/23042025/06/40/image_23042025_06_40_45_9706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921732","1352921729","1352921725","1352921719","1352921722"],"photo_ids_order":["1352921719","1352921722","1352921725","1352921729","1352921732"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11282789b6159034f7edeee49ab0d78b.jpg","text":"TemporaryFile(/tmp/multipartBody6619303983836605029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383353574,"filename":"image_23042025_06_40_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08fbaad788ea58be17edf40630edabf2.jpg","text":"TemporaryFile(/tmp/multipartBody1622787082173705760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383353574,"filename":"image_23042025_06_41_05_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa305c31d3fe15646342402b8b263fce.jpg","text":"TemporaryFile(/tmp/multipartBody3384271752372035804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383353574,"filename":"image_23042025_06_41_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/522f882d087becb9eb3fb2cad5ec5eed.jpg","text":"TemporaryFile(/tmp/multipartBody7613791526850533582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383353574,"filename":"image_23042025_06_41_45_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa32f86691cb36527a5dbbbd02360484.jpg","text":"TemporaryFile(/tmp/multipartBody5619755570747656909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383353574,"filename":"image_23042025_06_41_25_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921725","file1":"1352921722","file0":"1352921719","file4":"1352921732","file3":"1352921729"},"map_files_photo_id_array":[{"photo_id":"1352921725","filename":"file2"},{"photo_id":"1352921732","filename":"file4"},{"photo_id":"1352921722","filename":"file1"},{"photo_id":"1352921719","filename":"file0"},{"photo_id":"1352921729","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921732":["hashtag1","hashtag2"]},{"1352921729":["hashtag1","hashtag2"]},{"1352921725":["hashtag1","hashtag2"]},{"1352921719":["hashtag1","hashtag2"]},{"1352921722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921732, 1352921729, 1352921725, 1352921719, 1352921722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.5509991645813 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:42:02.681029
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6709465980529785 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:42:32.179644
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_35_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_15_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/41/image_23042025_06_42_05_10726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_35_9703.jpg', '/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_15_9707.jpg', '/home/nano/Desktop/images/23042025/06/41/image_23042025_06_42_05_10726.jpg', '/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_35_9703.jpg
/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_25_9705.jpg
/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_15_9707.jpg
/home/nano/Desktop/images/23042025/06/41/image_23042025_06_42_05_10726.jpg
/home/nano/Desktop/images/23042025/06/41/image_23042025_06_41_55_9703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921759","1352921776","1352921767","1352921772","1352921763"],"photo_ids_order":["1352921759","1352921763","1352921767","1352921772","1352921776"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e7fad5bb3c897d697329c04f4225c4d.jpg","text":"TemporaryFile(/tmp/multipartBody635493870269201782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383413967,"filename":"image_23042025_06_42_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/882ea719c2d4324365eac7a5736e19a1.jpg","text":"TemporaryFile(/tmp/multipartBody3302571149104922511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383413967,"filename":"image_23042025_06_41_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47a1cd942b39feb73dac3199f2c15868.jpg","text":"TemporaryFile(/tmp/multipartBody4678327282807422708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383413967,"filename":"image_23042025_06_42_15_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c0eee7e1e2cf7fd0b852c26f0ee73e7.jpg","text":"TemporaryFile(/tmp/multipartBody5881724929973600004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383413967,"filename":"image_23042025_06_42_05_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19d6d949c56eb7bfce1220bbb453224b.jpg","text":"TemporaryFile(/tmp/multipartBody1623179341766155399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383413967,"filename":"image_23042025_06_42_25_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921767","file1":"1352921763","file0":"1352921759","file4":"1352921776","file3":"1352921772"},"map_files_photo_id_array":[{"photo_id":"1352921767","filename":"file2"},{"photo_id":"1352921776","filename":"file4"},{"photo_id":"1352921763","filename":"file1"},{"photo_id":"1352921759","filename":"file0"},{"photo_id":"1352921772","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921759":["hashtag1","hashtag2"]},{"1352921776":["hashtag1","hashtag2"]},{"1352921767":["hashtag1","hashtag2"]},{"1352921772":["hashtag1","hashtag2"]},{"1352921763":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921759, 1352921776, 1352921767, 1352921772, 1352921763)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.606691360473633 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:43:02.672932
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6969454288482666 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:43:32.264170
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_55_9702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_45_9706.jpg', '/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_55_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_45_9706.jpg
/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_25_9705.jpg
/home/nano/Desktop/images/23042025/06/42/image_23042025_06_42_55_9702.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921798","1352921794","1352921802"],"photo_ids_order":["1352921794","1352921798","1352921802"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19a6039ba4c34881555ca281d92f3019.jpg","text":"TemporaryFile(/tmp/multipartBody2760538195776940482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383473126,"filename":"image_23042025_06_43_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dba01d96e3e63037236ae07a81b2ba5c.jpg","text":"TemporaryFile(/tmp/multipartBody2691757473606990706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383473126,"filename":"image_23042025_06_43_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/559b60896491b93f2271aa781d874742.jpg","text":"TemporaryFile(/tmp/multipartBody1372296437315059786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383473126,"filename":"image_23042025_06_42_55_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921802","file1":"1352921798","file0":"1352921794"},"map_files_photo_id_array":[{"photo_id":"1352921802","filename":"file2"},{"photo_id":"1352921798","filename":"file1"},{"photo_id":"1352921794","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921798":["hashtag1","hashtag2"]},{"1352921794":["hashtag1","hashtag2"]},{"1352921802":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921798, 1352921794, 1352921802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.03763246536255 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:44:03.096706
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.387789011001587 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:44:32.362137
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_25_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_15_9737.jpg', 2), ('/home/nano/Desktop/images/23042025/06/43/image_23042025_06_44_05_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_55_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_25_10712.jpg', '/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_15_9737.jpg', '/home/nano/Desktop/images/23042025/06/43/image_23042025_06_44_05_9726.jpg', '/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_45_9704.jpg
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_25_10712.jpg
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_15_9737.jpg
/home/nano/Desktop/images/23042025/06/43/image_23042025_06_44_05_9726.jpg
/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_55_10713.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4255554676055908 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:45:03.180655
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_25_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_15_9737.jpg', 2), ('/home/nano/Desktop/images/23042025/06/43/image_23042025_06_44_05_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_55_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_25_10712.jpg', '/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_15_9737.jpg', '/home/nano/Desktop/images/23042025/06/43/image_23042025_06_44_05_9726.jpg', '/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_45_9704.jpg
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_25_10712.jpg
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_15_9737.jpg
/home/nano/Desktop/images/23042025/06/43/image_23042025_06_44_05_9726.jpg
/home/nano/Desktop/images/23042025/06/43/image_23042025_06_43_55_10713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921858","1352921852","1352921855","1352921849","1352921860"],"photo_ids_order":["1352921849","1352921852","1352921855","1352921858","1352921860"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad60f06eedcae41e53592acd89d567cf.jpg","text":"TemporaryFile(/tmp/multipartBody5780945352933421871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383564533,"filename":"image_23042025_06_44_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c094da99bbf2a3947b4c40fe38945382.jpg","text":"TemporaryFile(/tmp/multipartBody9041593988526403861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383564533,"filename":"image_23042025_06_44_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ff6739f595d801f2b5ea68138dfb557.jpg","text":"TemporaryFile(/tmp/multipartBody4661390368032429089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383564533,"filename":"image_23042025_06_44_15_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac026adec44bdc0238cc5069f9ed28a4.jpg","text":"TemporaryFile(/tmp/multipartBody5212508530554367884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383564533,"filename":"image_23042025_06_44_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/931814ccb9c9a9096341ad85674c7bd7.jpg","text":"TemporaryFile(/tmp/multipartBody3767321395424158995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383564533,"filename":"image_23042025_06_43_55_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921855","file1":"1352921852","file0":"1352921849","file4":"1352921860","file3":"1352921858"},"map_files_photo_id_array":[{"photo_id":"1352921855","filename":"file2"},{"photo_id":"1352921860","filename":"file4"},{"photo_id":"1352921852","filename":"file1"},{"photo_id":"1352921849","filename":"file0"},{"photo_id":"1352921858","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921858":["hashtag1","hashtag2"]},{"1352921852":["hashtag1","hashtag2"]},{"1352921855":["hashtag1","hashtag2"]},{"1352921849":["hashtag1","hashtag2"]},{"1352921860":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921858, 1352921852, 1352921855, 1352921849, 1352921860)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.31406855583191 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:45:32.517666
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_45_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_35_10711.jpg', 2), ('/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_25_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_15_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_45_05_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_55_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_45_9721.jpg', '/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_35_10711.jpg', '/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_25_9704.jpg', '/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_15_9732.jpg', '/home/nano/Desktop/images/23042025/06/44/image_23042025_06_45_05_10740.jpg', '/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_55_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_45_9721.jpg
/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_35_10711.jpg
/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_25_9704.jpg
/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_15_9732.jpg
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_45_05_10740.jpg
/home/nano/Desktop/images/23042025/06/44/image_23042025_06_44_55_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921882","1352921878","1352921886","1352921871","1352921889","1352921874"],"photo_ids_order":["1352921871","1352921874","1352921878","1352921882","1352921886","1352921889"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d00653ecf8776a246872628ddc927d9b.jpg","text":"TemporaryFile(/tmp/multipartBody2624307814873649036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383593779,"filename":"image_23042025_06_45_15_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b572ed4671f5e7a81c0eadd965c56b6.jpg","text":"TemporaryFile(/tmp/multipartBody5698674288477498264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383593779,"filename":"image_23042025_06_45_25_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f37de01dfed68750a620d8fca5900402.jpg","text":"TemporaryFile(/tmp/multipartBody4182526934312782510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383593779,"filename":"image_23042025_06_45_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d606bdce8900025890e1733a9fb2a3e.jpg","text":"TemporaryFile(/tmp/multipartBody4186240206417241248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383593779,"filename":"image_23042025_06_45_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b082a799a429002f132113ea73719752.jpg","text":"TemporaryFile(/tmp/multipartBody2444816513622013113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383593779,"filename":"image_23042025_06_44_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4f770aa55224d00dbde3dd8fbbf2e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2932018652338039723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383593779,"filename":"image_23042025_06_45_35_10711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921878","file1":"1352921874","file0":"1352921871","file4":"1352921886","file5":"1352921889","file3":"1352921882"},"map_files_photo_id_array":[{"photo_id":"1352921889","filename":"file5"},{"photo_id":"1352921878","filename":"file2"},{"photo_id":"1352921886","filename":"file4"},{"photo_id":"1352921874","filename":"file1"},{"photo_id":"1352921871","filename":"file0"},{"photo_id":"1352921882","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921882":["hashtag1","hashtag2"]},{"1352921878":["hashtag1","hashtag2"]},{"1352921886":["hashtag1","hashtag2"]},{"1352921871":["hashtag1","hashtag2"]},{"1352921889":["hashtag1","hashtag2"]},{"1352921874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921882, 1352921878, 1352921886, 1352921871, 1352921889, 1352921874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.717901945114136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:46:32.609580
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_45_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_55_9723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_45_10715.jpg', '/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_35_9704.jpg', '/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_55_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_45_10715.jpg
/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_35_9704.jpg
/home/nano/Desktop/images/23042025/06/45/image_23042025_06_45_55_9723.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921907","1352921909","1352921904"],"photo_ids_order":["1352921904","1352921907","1352921909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e53c256ad292f64a3708effc26dd9694.jpg","text":"TemporaryFile(/tmp/multipartBody1280525339758283640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383653694,"filename":"image_23042025_06_46_35_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27a0a85aef9a6b52b2502ae58b8b599c.jpg","text":"TemporaryFile(/tmp/multipartBody6399101568115681597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383653694,"filename":"image_23042025_06_45_55_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9478b82fe0aa5bd94a054e736c051e4f.jpg","text":"TemporaryFile(/tmp/multipartBody8231045525844781476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383653694,"filename":"image_23042025_06_46_45_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921909","file1":"1352921907","file0":"1352921904"},"map_files_photo_id_array":[{"photo_id":"1352921909","filename":"file2"},{"photo_id":"1352921907","filename":"file1"},{"photo_id":"1352921904","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921907":["hashtag1","hashtag2"]},{"1352921909":["hashtag1","hashtag2"]},{"1352921904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921907, 1352921909, 1352921904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.733125686645508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:47:03.345330
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7499196529388428 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:47:32.734199
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_45_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_35_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_25_10732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_15_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/06/46/image_23042025_06_47_05_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_55_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_45_9723.jpg', '/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_35_9706.jpg', '/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_25_10732.jpg', '/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_15_9738.jpg', '/home/nano/Desktop/images/23042025/06/46/image_23042025_06_47_05_9709.jpg', '/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_55_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_45_9723.jpg
/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_35_9706.jpg
/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_25_10732.jpg
/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_15_9738.jpg
/home/nano/Desktop/images/23042025/06/46/image_23042025_06_47_05_9709.jpg
/home/nano/Desktop/images/23042025/06/46/image_23042025_06_46_55_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921963","1352921954","1352921948","1352921968","1352921944","1352921940"],"photo_ids_order":["1352921940","1352921944","1352921948","1352921954","1352921963","1352921968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8751d4dba3ad2a6941a20b247ccf59e.jpg","text":"TemporaryFile(/tmp/multipartBody8867478844924974574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383714399,"filename":"image_23042025_06_47_05_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f07e4c3a9b50d2f674f6db45d122babd.jpg","text":"TemporaryFile(/tmp/multipartBody7665265345659346720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383714399,"filename":"image_23042025_06_47_15_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08fc043df134fe988164495edbd943cb.jpg","text":"TemporaryFile(/tmp/multipartBody6784579861862844276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383714399,"filename":"image_23042025_06_47_25_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/658541a9131f1d6d6d6ad73be046cfcd.jpg","text":"TemporaryFile(/tmp/multipartBody1822471023779414861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383714399,"filename":"image_23042025_06_46_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8f495e6795a12bf0496c51355763a4e.jpg","text":"TemporaryFile(/tmp/multipartBody6684529222755171850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383714399,"filename":"image_23042025_06_47_35_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/608a93113e11156f703da41c4db4c057.jpg","text":"TemporaryFile(/tmp/multipartBody3252203493094352320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383714399,"filename":"image_23042025_06_47_45_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921948","file1":"1352921944","file0":"1352921940","file4":"1352921963","file5":"1352921968","file3":"1352921954"},"map_files_photo_id_array":[{"photo_id":"1352921968","filename":"file5"},{"photo_id":"1352921948","filename":"file2"},{"photo_id":"1352921963","filename":"file4"},{"photo_id":"1352921944","filename":"file1"},{"photo_id":"1352921940","filename":"file0"},{"photo_id":"1352921954","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921963":["hashtag1","hashtag2"]},{"1352921954":["hashtag1","hashtag2"]},{"1352921948":["hashtag1","hashtag2"]},{"1352921968":["hashtag1","hashtag2"]},{"1352921944":["hashtag1","hashtag2"]},{"1352921940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921963, 1352921954, 1352921948, 1352921968, 1352921944, 1352921940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.18217658996582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:48:31.830799
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_45_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_35_10711.jpg', 2), ('/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_25_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_15_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_55_9727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_45_9705.jpg', '/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_35_10711.jpg', '/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_25_9722.jpg', '/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_15_9726.jpg', '/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_55_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_45_9705.jpg
/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_35_10711.jpg
/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_25_9722.jpg
/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_15_9726.jpg
/home/nano/Desktop/images/23042025/06/47/image_23042025_06_47_55_9727.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352921996","1352921990","1352922000","1352921993","1352921987"],"photo_ids_order":["1352921987","1352921990","1352921993","1352921996","1352922000"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b1e71f5954421b7ef5502456ae790ac.jpg","text":"TemporaryFile(/tmp/multipartBody3787648621397725637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383774094,"filename":"image_23042025_06_48_15_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce2abc5cb51858d4d8de6df5eee5c6b7.jpg","text":"TemporaryFile(/tmp/multipartBody145563286561635581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383774094,"filename":"image_23042025_06_48_35_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6febaa3b862aa743ff39090bb5423c6e.jpg","text":"TemporaryFile(/tmp/multipartBody1228474541941252944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383774094,"filename":"image_23042025_06_47_55_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f06a81ce1edf4c93e53b56cc1605955.jpg","text":"TemporaryFile(/tmp/multipartBody3795818179882836833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383774094,"filename":"image_23042025_06_48_25_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecdfc5322716764922b50c290c602494.jpg","text":"TemporaryFile(/tmp/multipartBody6636474359043003529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383774094,"filename":"image_23042025_06_48_45_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352921993","file1":"1352921990","file0":"1352921987","file4":"1352922000","file3":"1352921996"},"map_files_photo_id_array":[{"photo_id":"1352921993","filename":"file2"},{"photo_id":"1352922000","filename":"file4"},{"photo_id":"1352921990","filename":"file1"},{"photo_id":"1352921987","filename":"file0"},{"photo_id":"1352921996","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352921996":["hashtag1","hashtag2"]},{"1352921990":["hashtag1","hashtag2"]},{"1352922000":["hashtag1","hashtag2"]},{"1352921993":["hashtag1","hashtag2"]},{"1352921987":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352921996, 1352921990, 1352922000, 1352921993, 1352921987)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 27.640817880630493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:49:03.014458
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5948002338409424 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:49:31.948474
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_45_10710.jpg', 2), ('/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_35_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_15_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/06/48/image_23042025_06_49_05_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_45_10710.jpg', '/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_35_9723.jpg', '/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_15_10722.jpg', '/home/nano/Desktop/images/23042025/06/48/image_23042025_06_49_05_9718.jpg', '/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_45_10710.jpg
/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_35_9723.jpg
/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_25_9705.jpg
/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_15_10722.jpg
/home/nano/Desktop/images/23042025/06/48/image_23042025_06_49_05_9718.jpg
/home/nano/Desktop/images/23042025/06/48/image_23042025_06_48_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922044","1352922049","1352922046","1352922027","1352922030","1352922024"],"photo_ids_order":["1352922024","1352922027","1352922030","1352922044","1352922046","1352922049"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e50e2cccf7c3a03d737c4313b674e291.jpg","text":"TemporaryFile(/tmp/multipartBody5579073848775492084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383833387,"filename":"image_23042025_06_49_15_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fe36fae509e03045f64833a8aca3caf.jpg","text":"TemporaryFile(/tmp/multipartBody4822750233349696192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383833387,"filename":"image_23042025_06_48_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13df7792fa09707c89a48c850f1330c3.jpg","text":"TemporaryFile(/tmp/multipartBody4315779127646689555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383833387,"filename":"image_23042025_06_49_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0053525812f5b79105a4639a0e88f8ad.jpg","text":"TemporaryFile(/tmp/multipartBody2688213771477531614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383833387,"filename":"image_23042025_06_49_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02eff5844d1c632cf0fb0c5e4f6cbcdc.jpg","text":"TemporaryFile(/tmp/multipartBody999244517624117347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383833387,"filename":"image_23042025_06_49_25_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87d2c6eb573a4490d7cbf1c649e11795.jpg","text":"TemporaryFile(/tmp/multipartBody1306007183757234742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383833387,"filename":"image_23042025_06_49_45_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922030","file1":"1352922027","file0":"1352922024","file4":"1352922046","file5":"1352922049","file3":"1352922044"},"map_files_photo_id_array":[{"photo_id":"1352922049","filename":"file5"},{"photo_id":"1352922030","filename":"file2"},{"photo_id":"1352922046","filename":"file4"},{"photo_id":"1352922027","filename":"file1"},{"photo_id":"1352922024","filename":"file0"},{"photo_id":"1352922044","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922044":["hashtag1","hashtag2"]},{"1352922049":["hashtag1","hashtag2"]},{"1352922046":["hashtag1","hashtag2"]},{"1352922027":["hashtag1","hashtag2"]},{"1352922030":["hashtag1","hashtag2"]},{"1352922024":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922044, 1352922049, 1352922046, 1352922027, 1352922030, 1352922024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.699495792388916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:50:32.049395
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_35_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_25_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_15_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/06/49/image_23042025_06_50_05_9737.jpg', 2), ('/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_35_9707.jpg', '/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_25_10712.jpg', '/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_15_9730.jpg', '/home/nano/Desktop/images/23042025/06/49/image_23042025_06_50_05_9737.jpg', '/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_35_9707.jpg
/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_25_10712.jpg
/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_15_9730.jpg
/home/nano/Desktop/images/23042025/06/49/image_23042025_06_50_05_9737.jpg
/home/nano/Desktop/images/23042025/06/49/image_23042025_06_49_55_9703.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922076","1352922081","1352922090","1352922084","1352922087"],"photo_ids_order":["1352922076","1352922081","1352922084","1352922087","1352922090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b1861b69c9f055143393f39aca02183.jpg","text":"TemporaryFile(/tmp/multipartBody7619702260780101670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383893373,"filename":"image_23042025_06_50_35_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/436f080aabe29c83f907d6d41b41a578.jpg","text":"TemporaryFile(/tmp/multipartBody3469842327811508987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383893373,"filename":"image_23042025_06_50_25_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eaded160c6304b5c16db404fd849d858.jpg","text":"TemporaryFile(/tmp/multipartBody1166598246196118267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383893373,"filename":"image_23042025_06_49_55_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aeef5afc1be713e6694aaaa1c26f3422.jpg","text":"TemporaryFile(/tmp/multipartBody4117473683477502971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383893373,"filename":"image_23042025_06_50_15_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ae5c829ed01eb943477e5962a23eafa.jpg","text":"TemporaryFile(/tmp/multipartBody6925738643482448484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383893373,"filename":"image_23042025_06_50_05_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922084","file1":"1352922081","file0":"1352922076","file4":"1352922090","file3":"1352922087"},"map_files_photo_id_array":[{"photo_id":"1352922084","filename":"file2"},{"photo_id":"1352922090","filename":"file4"},{"photo_id":"1352922081","filename":"file1"},{"photo_id":"1352922076","filename":"file0"},{"photo_id":"1352922087","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922076":["hashtag1","hashtag2"]},{"1352922081":["hashtag1","hashtag2"]},{"1352922090":["hashtag1","hashtag2"]},{"1352922084":["hashtag1","hashtag2"]},{"1352922087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922076, 1352922081, 1352922090, 1352922084, 1352922087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.037903547286987 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:51:02.689251
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5302319526672363 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:51:32.156774
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_35_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_15_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/50/image_23042025_06_51_05_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_55_10716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_35_10717.jpg', '/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_25_9705.jpg', '/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_15_9706.jpg', '/home/nano/Desktop/images/23042025/06/50/image_23042025_06_51_05_9741.jpg', '/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_55_10716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_35_10717.jpg
/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_25_9705.jpg
/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_15_9706.jpg
/home/nano/Desktop/images/23042025/06/50/image_23042025_06_51_05_9741.jpg
/home/nano/Desktop/images/23042025/06/50/image_23042025_06_50_55_10716.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922125","1352922110","1352922116","1352922129","1352922114"],"photo_ids_order":["1352922110","1352922114","1352922116","1352922125","1352922129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1edc8e1e7fc8b489d53b06f84a31681c.jpg","text":"TemporaryFile(/tmp/multipartBody6739319247151321753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383953346,"filename":"image_23042025_06_51_05_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23669ea04ff14641d38f956d5027455d.jpg","text":"TemporaryFile(/tmp/multipartBody1362414715775135676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383953346,"filename":"image_23042025_06_51_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/321ea2c9a19b4659fdd705f543985d53.jpg","text":"TemporaryFile(/tmp/multipartBody4983849885781335300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383953346,"filename":"image_23042025_06_51_15_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49d41806968f7f1ec549026ba89afb45.jpg","text":"TemporaryFile(/tmp/multipartBody8185665466923440040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383953346,"filename":"image_23042025_06_50_55_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88986cd7370a042a0ccfdb34cc158f14.jpg","text":"TemporaryFile(/tmp/multipartBody2798848094119516512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745383953346,"filename":"image_23042025_06_51_25_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922116","file1":"1352922114","file0":"1352922110","file4":"1352922129","file3":"1352922125"},"map_files_photo_id_array":[{"photo_id":"1352922116","filename":"file2"},{"photo_id":"1352922129","filename":"file4"},{"photo_id":"1352922114","filename":"file1"},{"photo_id":"1352922110","filename":"file0"},{"photo_id":"1352922125","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922125":["hashtag1","hashtag2"]},{"1352922110":["hashtag1","hashtag2"]},{"1352922116":["hashtag1","hashtag2"]},{"1352922129":["hashtag1","hashtag2"]},{"1352922114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922125, 1352922110, 1352922116, 1352922129, 1352922114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.811357975006104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:52:02.835919
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.729682207107544 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:52:32.246154
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_45_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_35_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_25_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_15_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/06/51/image_23042025_06_52_05_10742.jpg', 2), ('/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_45_10718.jpg', '/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_35_9704.jpg', '/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_25_9703.jpg', '/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_15_9711.jpg', '/home/nano/Desktop/images/23042025/06/51/image_23042025_06_52_05_10742.jpg', '/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_45_10718.jpg
/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_35_9704.jpg
/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_25_9703.jpg
/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_15_9711.jpg
/home/nano/Desktop/images/23042025/06/51/image_23042025_06_52_05_10742.jpg
/home/nano/Desktop/images/23042025/06/51/image_23042025_06_51_55_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922164","1352922166","1352922151","1352922159","1352922176","1352922155"],"photo_ids_order":["1352922151","1352922155","1352922159","1352922164","1352922166","1352922176"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a1ff9e5154892662c17b4297655cf41.jpg","text":"TemporaryFile(/tmp/multipartBody4673307507485996052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384013727,"filename":"image_23042025_06_52_15_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/646777ed220d3f60492c115d741a0316.jpg","text":"TemporaryFile(/tmp/multipartBody4815225206927517593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384013727,"filename":"image_23042025_06_52_05_10742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aaec2234d6c82ff385b8173817b58c4d.jpg","text":"TemporaryFile(/tmp/multipartBody7472145762709541537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384013727,"filename":"image_23042025_06_52_45_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc2874fe9f5c59260300d9285a8a7a89.jpg","text":"TemporaryFile(/tmp/multipartBody2350153768238708195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384013727,"filename":"image_23042025_06_52_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7477050ee4cec5519439ef55ea18cd41.jpg","text":"TemporaryFile(/tmp/multipartBody9041618084923682271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384013727,"filename":"image_23042025_06_51_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a65748579c774b442e879d8a9ef2993.jpg","text":"TemporaryFile(/tmp/multipartBody6028387527447419127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384013727,"filename":"image_23042025_06_52_35_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922159","file1":"1352922155","file0":"1352922151","file4":"1352922166","file5":"1352922176","file3":"1352922164"},"map_files_photo_id_array":[{"photo_id":"1352922176","filename":"file5"},{"photo_id":"1352922159","filename":"file2"},{"photo_id":"1352922166","filename":"file4"},{"photo_id":"1352922155","filename":"file1"},{"photo_id":"1352922151","filename":"file0"},{"photo_id":"1352922164","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922164":["hashtag1","hashtag2"]},{"1352922166":["hashtag1","hashtag2"]},{"1352922151":["hashtag1","hashtag2"]},{"1352922159":["hashtag1","hashtag2"]},{"1352922176":["hashtag1","hashtag2"]},{"1352922155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922164, 1352922166, 1352922151, 1352922159, 1352922176, 1352922155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.724774837493896 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:53:32.376580
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_35_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_25_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_15_10762.jpg', 2), ('/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_35_9721.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_25_9703.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_15_10762.jpg', '/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_45_9704.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_35_9721.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_25_9703.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_15_10762.jpg
/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_55_9705.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1804735660552979 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:54:03.234102
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_35_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_25_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_15_10762.jpg', 2), ('/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_45_9704.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_35_9721.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_25_9703.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_15_10762.jpg', '/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_45_9704.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_35_9721.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_25_9703.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_15_10762.jpg
/home/nano/Desktop/images/23042025/06/52/image_23042025_06_52_55_9705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922230","1352922232","1352922241","1352922235","1352922238"],"photo_ids_order":["1352922230","1352922232","1352922235","1352922238","1352922241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/185a34a62e7bb2799e2318580b246e93.jpg","text":"TemporaryFile(/tmp/multipartBody8548230535570837591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384104647,"filename":"image_23042025_06_53_45_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ebc1d21c2cf708ec48a3b4c50502efb.jpg","text":"TemporaryFile(/tmp/multipartBody4370500767023153221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384104647,"filename":"image_23042025_06_53_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5325d9c0e2d99959adf422f0b9f8e87f.jpg","text":"TemporaryFile(/tmp/multipartBody8784437918390889413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384104647,"filename":"image_23042025_06_52_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/140dcf2078f8397cab2cad0c0e58c7dc.jpg","text":"TemporaryFile(/tmp/multipartBody6887047500768320780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384104647,"filename":"image_23042025_06_53_25_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0713a401dbb8455a087d50d9c4d6df16.jpg","text":"TemporaryFile(/tmp/multipartBody8001486485287404238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384104647,"filename":"image_23042025_06_53_15_10762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922235","file1":"1352922232","file0":"1352922230","file4":"1352922241","file3":"1352922238"},"map_files_photo_id_array":[{"photo_id":"1352922235","filename":"file2"},{"photo_id":"1352922241","filename":"file4"},{"photo_id":"1352922232","filename":"file1"},{"photo_id":"1352922230","filename":"file0"},{"photo_id":"1352922238","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922230":["hashtag1","hashtag2"]},{"1352922232":["hashtag1","hashtag2"]},{"1352922241":["hashtag1","hashtag2"]},{"1352922235":["hashtag1","hashtag2"]},{"1352922238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922230, 1352922232, 1352922241, 1352922235, 1352922238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.466567039489746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:54:32.462264
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_35_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_54_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_55_10733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_45_9707.jpg', '/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_35_9703.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_54_05_9719.jpg', '/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_55_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_45_9707.jpg
/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_35_9703.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_54_05_9719.jpg
/home/nano/Desktop/images/23042025/06/53/image_23042025_06_53_55_10733.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922257","1352922262","1352922253","1352922249"],"photo_ids_order":["1352922249","1352922253","1352922257","1352922262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4036fdd1799b6e94ddde29527bfccc6b.jpg","text":"TemporaryFile(/tmp/multipartBody6190488474069946345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384133648,"filename":"image_23042025_06_54_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30d7738ce6e2f2fd121977ae07944c49.jpg","text":"TemporaryFile(/tmp/multipartBody1212430302191790594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384133648,"filename":"image_23042025_06_53_55_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92afe8fd6e621307ee6e4e065b05e22d.jpg","text":"TemporaryFile(/tmp/multipartBody6734528276441494382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384133648,"filename":"image_23042025_06_54_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4de863bcdf1b7fff213d702edd613281.jpg","text":"TemporaryFile(/tmp/multipartBody1030560532026860019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384133648,"filename":"image_23042025_06_54_45_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922257","file1":"1352922253","file0":"1352922249","file3":"1352922262"},"map_files_photo_id_array":[{"photo_id":"1352922257","filename":"file2"},{"photo_id":"1352922253","filename":"file1"},{"photo_id":"1352922249","filename":"file0"},{"photo_id":"1352922262","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922257":["hashtag1","hashtag2"]},{"1352922262":["hashtag1","hashtag2"]},{"1352922253":["hashtag1","hashtag2"]},{"1352922249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922257, 1352922262, 1352922253, 1352922249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 22.46760106086731 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:55:03.305332
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5829112529754639 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:55:32.613412
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_45_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_35_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_25_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_15_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/54/image_23042025_06_55_05_10763.jpg', 2), ('/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_45_10714.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_35_9723.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_25_9702.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_15_9732.jpg', '/home/nano/Desktop/images/23042025/06/54/image_23042025_06_55_05_10763.jpg', '/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_45_10714.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_35_9723.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_25_9702.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_15_9732.jpg
/home/nano/Desktop/images/23042025/06/54/image_23042025_06_55_05_10763.jpg
/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_55_9706.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6736736297607422 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:56:03.257468
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_45_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_35_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_25_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_15_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/06/54/image_23042025_06_55_05_10763.jpg', 2), ('/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_45_10714.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_35_9723.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_25_9702.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_15_9732.jpg', '/home/nano/Desktop/images/23042025/06/54/image_23042025_06_55_05_10763.jpg', '/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_45_10714.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_35_9723.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_25_9702.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_15_9732.jpg
/home/nano/Desktop/images/23042025/06/54/image_23042025_06_55_05_10763.jpg
/home/nano/Desktop/images/23042025/06/54/image_23042025_06_54_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922653","1352922697","1352922701","1352922655","1352922658","1352922663"],"photo_ids_order":["1352922653","1352922655","1352922658","1352922663","1352922697","1352922701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/466ac600168d0eb311233eaf059b866e.jpg","text":"TemporaryFile(/tmp/multipartBody8294125556192109323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384224514,"filename":"image_23042025_06_55_45_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e77fc51ed2b3de140f7ba392939e18e.jpg","text":"TemporaryFile(/tmp/multipartBody5891797847155823861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384224514,"filename":"image_23042025_06_55_05_10763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb0896562567a2232d6de4092736bbe5.jpg","text":"TemporaryFile(/tmp/multipartBody5337464590989148396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384224514,"filename":"image_23042025_06_54_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c394dec636fe3092fd2b69296f66fe1.jpg","text":"TemporaryFile(/tmp/multipartBody199867239551206914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384224514,"filename":"image_23042025_06_55_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0f51189714bad4f99d156048b68ff9f.jpg","text":"TemporaryFile(/tmp/multipartBody708310319148615635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384224514,"filename":"image_23042025_06_55_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/331570a79160d66e85c94c3febd26199.jpg","text":"TemporaryFile(/tmp/multipartBody5720899802546629460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384224514,"filename":"image_23042025_06_55_15_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922658","file1":"1352922655","file0":"1352922653","file4":"1352922697","file5":"1352922701","file3":"1352922663"},"map_files_photo_id_array":[{"photo_id":"1352922701","filename":"file5"},{"photo_id":"1352922658","filename":"file2"},{"photo_id":"1352922697","filename":"file4"},{"photo_id":"1352922655","filename":"file1"},{"photo_id":"1352922653","filename":"file0"},{"photo_id":"1352922663","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922653":["hashtag1","hashtag2"]},{"1352922697":["hashtag1","hashtag2"]},{"1352922701":["hashtag1","hashtag2"]},{"1352922655":["hashtag1","hashtag2"]},{"1352922658":["hashtag1","hashtag2"]},{"1352922663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922653, 1352922697, 1352922701, 1352922655, 1352922658, 1352922663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8367645740509 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:57:02.528952
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_45_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_25_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_15_10738.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_56_05_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_55_9702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_45_9706.jpg', '/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_35_9705.jpg', '/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_25_9718.jpg', '/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_15_10738.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_56_05_9717.jpg', '/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_55_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_45_9706.jpg
/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_35_9705.jpg
/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_25_9718.jpg
/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_15_10738.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_56_05_9717.jpg
/home/nano/Desktop/images/23042025/06/55/image_23042025_06_55_55_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922760","1352922754","1352922762","1352922753","1352922756","1352922758"],"photo_ids_order":["1352922753","1352922754","1352922756","1352922758","1352922760","1352922762"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51fb0f268e4898e22d51ef2288e09be4.jpg","text":"TemporaryFile(/tmp/multipartBody3593769396908948252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384283843,"filename":"image_23042025_06_56_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5b92e0ab94eb22c26bcf1d06fedb2d3.jpg","text":"TemporaryFile(/tmp/multipartBody8903365268244575778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384283843,"filename":"image_23042025_06_56_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b376dfd5834bdcaf1c3c708797c9bd4.jpg","text":"TemporaryFile(/tmp/multipartBody4403903508565289764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384283843,"filename":"image_23042025_06_55_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17fce976e22cb60134b84963f3caf1a4.jpg","text":"TemporaryFile(/tmp/multipartBody4192312017606850684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384283843,"filename":"image_23042025_06_56_45_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7c99182036b1a21cdc8f2a2f354b204.jpg","text":"TemporaryFile(/tmp/multipartBody7342940689293058247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384283843,"filename":"image_23042025_06_56_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4603724eee395995894772e07c790f0e.jpg","text":"TemporaryFile(/tmp/multipartBody6819850575602463918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384283843,"filename":"image_23042025_06_56_15_10738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352922756","file1":"1352922754","file0":"1352922753","file4":"1352922760","file5":"1352922762","file3":"1352922758"},"map_files_photo_id_array":[{"photo_id":"1352922762","filename":"file5"},{"photo_id":"1352922756","filename":"file2"},{"photo_id":"1352922760","filename":"file4"},{"photo_id":"1352922754","filename":"file1"},{"photo_id":"1352922753","filename":"file0"},{"photo_id":"1352922758","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922760":["hashtag1","hashtag2"]},{"1352922754":["hashtag1","hashtag2"]},{"1352922762":["hashtag1","hashtag2"]},{"1352922753":["hashtag1","hashtag2"]},{"1352922756":["hashtag1","hashtag2"]},{"1352922758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922760, 1352922754, 1352922762, 1352922753, 1352922756, 1352922758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.500064611434937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:58:02.481927
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_35_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_25_10734.jpg', 2), ('/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_15_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/06/56/image_23042025_06_57_05_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_55_10713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_35_9722.jpg', '/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_25_10734.jpg', '/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_15_9742.jpg', '/home/nano/Desktop/images/23042025/06/56/image_23042025_06_57_05_9717.jpg', '/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_55_10713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_35_9722.jpg
/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_25_10734.jpg
/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_15_9742.jpg
/home/nano/Desktop/images/23042025/06/56/image_23042025_06_57_05_9717.jpg
/home/nano/Desktop/images/23042025/06/56/image_23042025_06_56_55_10713.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352922994","1352923072","1352923046","1352923019","1352922962"],"photo_ids_order":["1352922962","1352922994","1352923019","1352923046","1352923072"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80dfc65c2dc39f475629a6b93baac47f.jpg","text":"TemporaryFile(/tmp/multipartBody4413377156956475670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384343533,"filename":"image_23042025_06_57_25_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ba0f2642c6d8907c0c33c087ba296e2.jpg","text":"TemporaryFile(/tmp/multipartBody5109147936621053993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384343533,"filename":"image_23042025_06_56_55_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/414c6fda668e446b0cdee465ad61f0b7.jpg","text":"TemporaryFile(/tmp/multipartBody2833936934973412032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384343533,"filename":"image_23042025_06_57_05_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59edc7786f949eeccd06e9a668c17cc6.jpg","text":"TemporaryFile(/tmp/multipartBody9181313851604609160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384343533,"filename":"image_23042025_06_57_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be669598bed4a0b93a98fb324ec1a5be.jpg","text":"TemporaryFile(/tmp/multipartBody8905188758108508056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384343533,"filename":"image_23042025_06_57_35_9722.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352923019","file1":"1352922994","file0":"1352922962","file4":"1352923072","file3":"1352923046"},"map_files_photo_id_array":[{"photo_id":"1352923019","filename":"file2"},{"photo_id":"1352923072","filename":"file4"},{"photo_id":"1352922994","filename":"file1"},{"photo_id":"1352922962","filename":"file0"},{"photo_id":"1352923046","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352922994":["hashtag1","hashtag2"]},{"1352923072":["hashtag1","hashtag2"]},{"1352923046":["hashtag1","hashtag2"]},{"1352923019":["hashtag1","hashtag2"]},{"1352922962":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352922994, 1352923072, 1352923046, 1352923019, 1352922962)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 26.89549469947815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 06:59:03.087012
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_15_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/06/57/image_23042025_06_58_05_10726.jpg', 2), ('/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_55_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_45_9707.jpg', '/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_25_9708.jpg', '/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_15_9709.jpg', '/home/nano/Desktop/images/23042025/06/57/image_23042025_06_58_05_10726.jpg', '/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_55_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_45_9707.jpg
/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_25_9708.jpg
/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_15_9709.jpg
/home/nano/Desktop/images/23042025/06/57/image_23042025_06_58_05_10726.jpg
/home/nano/Desktop/images/23042025/06/57/image_23042025_06_57_55_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352923876","1352923885","1352923890","1352923866","1352923832"],"photo_ids_order":["1352923832","1352923866","1352923876","1352923885","1352923890"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa694e626ea4c8298c7217441c91e627.jpg","text":"TemporaryFile(/tmp/multipartBody7177814820675210330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384404111,"filename":"image_23042025_06_58_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/666b9fa581cece804428e3f524dde468.jpg","text":"TemporaryFile(/tmp/multipartBody3654153671431124362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384404111,"filename":"image_23042025_06_58_05_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f3ae72b55c882c957497cfdecee6c2f.jpg","text":"TemporaryFile(/tmp/multipartBody1190632330259740856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384404111,"filename":"image_23042025_06_57_55_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a71f40cb4f646c5283ee276a89959652.jpg","text":"TemporaryFile(/tmp/multipartBody3360955986615195320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384404111,"filename":"image_23042025_06_58_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91ae4b6ef725567b2b8ee7a64cd17d62.jpg","text":"TemporaryFile(/tmp/multipartBody4574285022941395439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384404111,"filename":"image_23042025_06_58_45_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352923876","file1":"1352923866","file0":"1352923832","file4":"1352923890","file3":"1352923885"},"map_files_photo_id_array":[{"photo_id":"1352923876","filename":"file2"},{"photo_id":"1352923890","filename":"file4"},{"photo_id":"1352923866","filename":"file1"},{"photo_id":"1352923832","filename":"file0"},{"photo_id":"1352923885","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352923876":["hashtag1","hashtag2"]},{"1352923885":["hashtag1","hashtag2"]},{"1352923890":["hashtag1","hashtag2"]},{"1352923866":["hashtag1","hashtag2"]},{"1352923832":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352923876, 1352923885, 1352923890, 1352923866, 1352923832)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.961947679519653 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:00:02.598817
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_45_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_35_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_25_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_15_10727.jpg', 2), ('/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_45_10707.jpg', '/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_35_9689.jpg', '/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_25_9710.jpg', '/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_15_10727.jpg', '/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_45_10707.jpg
/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_35_9689.jpg
/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_25_9710.jpg
/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_15_10727.jpg
/home/nano/Desktop/images/23042025/06/58/image_23042025_06_58_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352924591","1352924702","1352924482","1352924770","1352924650"],"photo_ids_order":["1352924482","1352924591","1352924650","1352924702","1352924770"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa2b68ac941c7dfc59d35d1b6a4783d5.jpg","text":"TemporaryFile(/tmp/multipartBody1687662964107039245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384463798,"filename":"image_23042025_06_59_35_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff30ccbc132ff0ef4fc451693531258d.jpg","text":"TemporaryFile(/tmp/multipartBody9014667561045479161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384463798,"filename":"image_23042025_06_59_15_10727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49d02f80541f2761cd27cb1575f97b53.jpg","text":"TemporaryFile(/tmp/multipartBody1959062014848072164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384463798,"filename":"image_23042025_06_59_45_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0aa8acd1b9cf497ebf6543ee018da5cd.jpg","text":"TemporaryFile(/tmp/multipartBody9213942738513801733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384463798,"filename":"image_23042025_06_58_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26158766c0d14139d168f0303d4c647c.jpg","text":"TemporaryFile(/tmp/multipartBody3236011460842171865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384463798,"filename":"image_23042025_06_59_25_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352924650","file1":"1352924591","file0":"1352924482","file4":"1352924770","file3":"1352924702"},"map_files_photo_id_array":[{"photo_id":"1352924650","filename":"file2"},{"photo_id":"1352924770","filename":"file4"},{"photo_id":"1352924591","filename":"file1"},{"photo_id":"1352924482","filename":"file0"},{"photo_id":"1352924702","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352924591":["hashtag1","hashtag2"]},{"1352924702":["hashtag1","hashtag2"]},{"1352924482":["hashtag1","hashtag2"]},{"1352924770":["hashtag1","hashtag2"]},{"1352924650":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352924591, 1352924702, 1352924482, 1352924770, 1352924650)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.64233160018921 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:01:02.812808
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_45_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_25_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_15_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/06/59/image_23042025_07_00_05_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_55_9697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_45_10661.jpg', '/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_35_9637.jpg', '/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_25_9634.jpg', '/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_15_10690.jpg', '/home/nano/Desktop/images/23042025/06/59/image_23042025_07_00_05_9671.jpg', '/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_45_10661.jpg
/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_35_9637.jpg
/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_25_9634.jpg
/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_15_10690.jpg
/home/nano/Desktop/images/23042025/06/59/image_23042025_07_00_05_9671.jpg
/home/nano/Desktop/images/23042025/06/59/image_23042025_06_59_55_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352925984","1352925906","1352925755","1352926066","1352925832","1352925682"],"photo_ids_order":["1352925682","1352925755","1352925832","1352925906","1352925984","1352926066"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b18776474639e023d72e98c2ee7db907.jpg","text":"TemporaryFile(/tmp/multipartBody919141113011010790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384523835,"filename":"image_23042025_07_00_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/510d3bc59dac6b538e2283afcfd84f07.jpg","text":"TemporaryFile(/tmp/multipartBody4238022665108905439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384523835,"filename":"image_23042025_07_00_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34017441340830a52b54775ac35b1718.jpg","text":"TemporaryFile(/tmp/multipartBody6315591710725722052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384523835,"filename":"image_23042025_07_00_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3aaf3f26cedbb59d7ab9b3ddbf601bc.jpg","text":"TemporaryFile(/tmp/multipartBody2779026759188860072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384523835,"filename":"image_23042025_06_59_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e93e38c1a1dd443e17fb20a314f1412.jpg","text":"TemporaryFile(/tmp/multipartBody897777859931684204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384523835,"filename":"image_23042025_07_00_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40bbb93b0ebf7676f402dc05708ce355.jpg","text":"TemporaryFile(/tmp/multipartBody8262598372166928085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384523835,"filename":"image_23042025_07_00_45_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352925832","file1":"1352925755","file0":"1352925682","file4":"1352925984","file5":"1352926066","file3":"1352925906"},"map_files_photo_id_array":[{"photo_id":"1352926066","filename":"file5"},{"photo_id":"1352925832","filename":"file2"},{"photo_id":"1352925984","filename":"file4"},{"photo_id":"1352925755","filename":"file1"},{"photo_id":"1352925682","filename":"file0"},{"photo_id":"1352925906","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352925984":["hashtag1","hashtag2"]},{"1352925906":["hashtag1","hashtag2"]},{"1352925755":["hashtag1","hashtag2"]},{"1352926066":["hashtag1","hashtag2"]},{"1352925832":["hashtag1","hashtag2"]},{"1352925682":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352925984, 1352925906, 1352925755, 1352926066, 1352925832, 1352925682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.287837505340576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:02:02.902250
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_45_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_35_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_25_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_15_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/07/00/image_23042025_07_01_05_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_55_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_45_10645.jpg', '/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_35_9653.jpg', '/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_25_9666.jpg', '/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_15_10655.jpg', '/home/nano/Desktop/images/23042025/07/00/image_23042025_07_01_05_9694.jpg', '/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_45_10645.jpg
/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_35_9653.jpg
/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_25_9666.jpg
/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_15_10655.jpg
/home/nano/Desktop/images/23042025/07/00/image_23042025_07_01_05_9694.jpg
/home/nano/Desktop/images/23042025/07/00/image_23042025_07_00_55_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352926967","1352927272","1352926894","1352927044","1352927196","1352927121"],"photo_ids_order":["1352926894","1352926967","1352927044","1352927121","1352927196","1352927272"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63158276db89b5873e45606b4770ba12.jpg","text":"TemporaryFile(/tmp/multipartBody3837173061771636878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384585485,"filename":"image_23042025_07_01_35_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c92327ef543133cb2b3b4f826fbed19c.jpg","text":"TemporaryFile(/tmp/multipartBody7459736800338441785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384585485,"filename":"image_23042025_07_00_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cefbc9d3986f7ffb83eafea1b8dfd2f8.jpg","text":"TemporaryFile(/tmp/multipartBody4280762275036299522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384585485,"filename":"image_23042025_07_01_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23103e26cbca2e42585721141875f8a9.jpg","text":"TemporaryFile(/tmp/multipartBody9080960275556974840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384585485,"filename":"image_23042025_07_01_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3aba73fbc2ae9ba6a0f275967072fcd7.jpg","text":"TemporaryFile(/tmp/multipartBody338247931547619390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384585485,"filename":"image_23042025_07_01_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/564452bb5026e82279116f53e5148776.jpg","text":"TemporaryFile(/tmp/multipartBody5971549264448205171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384585485,"filename":"image_23042025_07_01_15_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352927044","file1":"1352926967","file0":"1352926894","file4":"1352927196","file5":"1352927272","file3":"1352927121"},"map_files_photo_id_array":[{"photo_id":"1352927272","filename":"file5"},{"photo_id":"1352927044","filename":"file2"},{"photo_id":"1352927196","filename":"file4"},{"photo_id":"1352926967","filename":"file1"},{"photo_id":"1352926894","filename":"file0"},{"photo_id":"1352927121","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352926967":["hashtag1","hashtag2"]},{"1352927272":["hashtag1","hashtag2"]},{"1352926894":["hashtag1","hashtag2"]},{"1352927044":["hashtag1","hashtag2"]},{"1352927196":["hashtag1","hashtag2"]},{"1352927121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352926967, 1352927272, 1352926894, 1352927044, 1352927196, 1352927121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.414539337158203 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:03:03.206439
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_55_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_45_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_25_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_15_10735.jpg', 2), ('/home/nano/Desktop/images/23042025/07/01/image_23042025_07_02_05_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_55_9644.jpg', '/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_45_10649.jpg', '/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_35_9643.jpg', '/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_25_9651.jpg', '/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_15_10735.jpg', '/home/nano/Desktop/images/23042025/07/01/image_23042025_07_02_05_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_55_9644.jpg
/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_45_10649.jpg
/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_35_9643.jpg
/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_25_9651.jpg
/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_15_10735.jpg
/home/nano/Desktop/images/23042025/07/01/image_23042025_07_02_05_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352927830","1352927824","1352927818","1352927827","1352927832","1352927823"],"photo_ids_order":["1352927818","1352927823","1352927824","1352927827","1352927830","1352927832"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d5f00ba4b96bf27fed48036cc1617ea.jpg","text":"TemporaryFile(/tmp/multipartBody1408183271911806193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384644306,"filename":"image_23042025_07_02_15_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72c6c9eecfb780bf646814f69e3566fe.jpg","text":"TemporaryFile(/tmp/multipartBody4559182974520402558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384644306,"filename":"image_23042025_07_02_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f50689219104ecaf596e9d7cf13cea9.jpg","text":"TemporaryFile(/tmp/multipartBody3295461971571589506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384644306,"filename":"image_23042025_07_03_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc9d4da077abcecc1207af216d219399.jpg","text":"TemporaryFile(/tmp/multipartBody3335523142806750808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384644306,"filename":"image_23042025_07_02_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a20bdfff51dff07d9cc190a9c10ff4d.jpg","text":"TemporaryFile(/tmp/multipartBody1418985773707965135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384644306,"filename":"image_23042025_07_02_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b05582d9f62b44c805f0d78a1ebc8cd6.jpg","text":"TemporaryFile(/tmp/multipartBody3093649669181295423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384644306,"filename":"image_23042025_07_02_45_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352927824","file1":"1352927823","file0":"1352927818","file4":"1352927830","file5":"1352927832","file3":"1352927827"},"map_files_photo_id_array":[{"photo_id":"1352927832","filename":"file5"},{"photo_id":"1352927824","filename":"file2"},{"photo_id":"1352927830","filename":"file4"},{"photo_id":"1352927823","filename":"file1"},{"photo_id":"1352927818","filename":"file0"},{"photo_id":"1352927827","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352927830":["hashtag1","hashtag2"]},{"1352927824":["hashtag1","hashtag2"]},{"1352927818":["hashtag1","hashtag2"]},{"1352927827":["hashtag1","hashtag2"]},{"1352927832":["hashtag1","hashtag2"]},{"1352927823":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352927830, 1352927824, 1352927818, 1352927827, 1352927832, 1352927823)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 29.92285680770874 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:04:03.255449
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_35_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_25_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_15_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/07/02/image_23042025_07_03_05_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_55_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_35_9624.jpg', '/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_25_9631.jpg', '/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_15_10707.jpg', '/home/nano/Desktop/images/23042025/07/02/image_23042025_07_03_05_9676.jpg', '/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_55_9642.jpg', '/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_35_9624.jpg
/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_25_9631.jpg
/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_15_10707.jpg
/home/nano/Desktop/images/23042025/07/02/image_23042025_07_03_05_9676.jpg
/home/nano/Desktop/images/23042025/07/02/image_23042025_07_02_55_9642.jpg
/home/nano/Desktop/images/23042025/07/01/image_23042025_07_01_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352928437","1352928487","1352928363","1352928516","1352928303","1352928252"],"photo_ids_order":["1352928252","1352928303","1352928363","1352928437","1352928487","1352928516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5a0a79e50dc5d3e86ce5582328e6f5a.jpg","text":"TemporaryFile(/tmp/multipartBody2204232568735324421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384704406,"filename":"image_23042025_07_03_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ac607f17f0b0a0aa3e5db614eed1c7f.jpg","text":"TemporaryFile(/tmp/multipartBody4400523622379711626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384704406,"filename":"image_23042025_07_02_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96aeda1f46d656f997821952f14d47bb.jpg","text":"TemporaryFile(/tmp/multipartBody8606581107953119926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384704406,"filename":"image_23042025_07_03_15_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43a288dde865f0cb8c2785c7d5adc50b.jpg","text":"TemporaryFile(/tmp/multipartBody7740890404057546323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384704406,"filename":"image_23042025_07_01_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17aa74e6afe052f23a325008d76dbfc4.jpg","text":"TemporaryFile(/tmp/multipartBody5653200594292336875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384704406,"filename":"image_23042025_07_03_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ec3d2766e129a7b61c34e93f1b6b42e.jpg","text":"TemporaryFile(/tmp/multipartBody2945627190260645538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384704406,"filename":"image_23042025_07_03_35_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352928363","file1":"1352928303","file0":"1352928252","file4":"1352928487","file5":"1352928516","file3":"1352928437"},"map_files_photo_id_array":[{"photo_id":"1352928516","filename":"file5"},{"photo_id":"1352928363","filename":"file2"},{"photo_id":"1352928487","filename":"file4"},{"photo_id":"1352928303","filename":"file1"},{"photo_id":"1352928252","filename":"file0"},{"photo_id":"1352928437","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352928437":["hashtag1","hashtag2"]},{"1352928487":["hashtag1","hashtag2"]},{"1352928363":["hashtag1","hashtag2"]},{"1352928516":["hashtag1","hashtag2"]},{"1352928303":["hashtag1","hashtag2"]},{"1352928252":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352928437, 1352928487, 1352928363, 1352928516, 1352928303, 1352928252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.562568426132202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:05:03.354606
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7322514057159424 secondes ---
<Response [400]>
b'\n\n<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<title>Bad request</title>\n\t\t<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAlFJREFUeNqUU8tOFEEUPVVdNV3dPe8xYRBnjGhmBgKjKzCIiQvBoIaNbly5Z+PSv3Aj7DSiP2B0rwkLGVdGgxITSCRIJGSMEQWZR3eVt5sEFBgTb/dN1yvnnHtPNTPG4PqdHgCMXnPRSZrpSuH8vUJu4DE4rYHDGAZDX62BZttHqTiIayM3gGiXQsgYLEvATaqxU+dy1U13YXapXptpNHY8iwn8KyIAzm1KBdtRZWErpI5lEWTXp5Z/vHpZ3/wyKKwYGGOdAYwR0EZwoezTYApBEIObyELl/aE1/83cp40Pt5mxqCKrE4Ck+mVWKKcI5tA8BLEhRBKJLjez6a7MLq7XZtp+yyOawwCBtkiBVZDKzRk4NN7NQBMYPHiZDFhXY+p9ff7F961vVcnl4R5I2ykJ5XFN7Ab7Gc61VoipNBKF+PDyztu5lfrSLT/wIwCxq0CAGtXHZTzqR2jtwQiXONma6hHpj9sLT7YaPxfTXuZdBGA02Wi7FS48YiTfj+i2NhqtdhP5RC8mh2/Op7y0v6eAcWVLFT8D7kWX5S9mepp+C450MV6aWL1cGnvkxbwHtLW2B9AOkLeUd9KEDuh9fl/7CEj7YH5g+3r/lWfF9In7tPz6T4IIwBJOr1SJyIGQMZQbsh5P9uBq5VJtqHh2mo49pdw5WFoEwKWqWHacaWOjQXWGcifKo6vj5RGS6zykI587XeUIQDqJSmAp+lE4qt19W5P9o8+Lma5DcjsC8JiT607lMVkdqQ0Vyh3lHhmh52tfNy78ajXv0rgYzv8nfwswANuk+7sD/Q0aAAAAAElFTkSuQmCC">\n\t    <style>\n\t\t    html, body, pre {\n\t\t        margin: 0;\n\t\t        padding: 0;\n\t\t        font-family: Monaco, \'Lucida Console\', monospace;\n\t\t        background: #ECECEC;\n\t\t    }\n\t\t    h1 {\n\t\t        margin: 0;\n\t\t        background: #AD632A;\n\t\t        padding: 20px 45px;\n\t\t        color: #fff;\n\t\t        text-shadow: 1px 1px 1px rgba(0,0,0,.3);\n\t\t        border-bottom: 1px solid #9F5805;\n\t\t        font-size: 28px;\n\t\t    }\n\t\t    p#detail {\n\t\t        margin: 0;\n\t\t        padding: 15px 45px;\n\t\t        background: #F6A960;\n\t\t        border-top: 4px solid #D29052;\n\t\t        color: #733512;\n\t\t        text-shadow: 1px 1px 1px rgba(255,255,255,.3);\n\t\t        font-size: 14px;\n\t\t        border-bottom: 1px solid #BA7F5B;\n\t\t    }\n\t\t</style>\n\t</head>\n\t<body>\n\t\t<h1>Bad request</h1>\n\n\t\t<p id="detail">\n\t\t\tFor request \'POST /api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&amp;datou_current_id=&amp;datou=0\' [Cannot parse parameter datou_current_id as Long: For input string: &quot;&quot;]\n\t\t</p>\n\n\t</body>\n</html>\n\n\n\n\n\n\n\n'
400
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:05:32.626133
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_45_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_34_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_15_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/07/04/image_23042025_07_05_05_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_55_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_45_10650.jpg', '/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_34_9635.jpg', '/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_25_9647.jpg', '/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_15_10681.jpg', '/home/nano/Desktop/images/23042025/07/04/image_23042025_07_05_05_9694.jpg', '/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_45_10650.jpg
/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_34_9635.jpg
/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_25_9647.jpg
/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_15_10681.jpg
/home/nano/Desktop/images/23042025/07/04/image_23042025_07_05_05_9694.jpg
/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_55_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352928958","1352928925","1352928936","1352928945","1352928930","1352928920"],"photo_ids_order":["1352928920","1352928925","1352928930","1352928936","1352928945","1352928958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f963f12a41fc8d1212ad823e94ba8fe.jpg","text":"TemporaryFile(/tmp/multipartBody1327456897198664374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384793897,"filename":"image_23042025_07_04_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21d7717a6bb20322d29f12f19ef7244f.jpg","text":"TemporaryFile(/tmp/multipartBody4028193173503299444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384793897,"filename":"image_23042025_07_05_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3150ce81563426925d637c9fe2d4eff.jpg","text":"TemporaryFile(/tmp/multipartBody8534979593536551112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384793897,"filename":"image_23042025_07_05_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e92fd9b86699f348d5f5184d5c546ac0.jpg","text":"TemporaryFile(/tmp/multipartBody3778974875324124412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384793897,"filename":"image_23042025_07_05_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6ca2ae805eb84a4a356b47e8d63492e.jpg","text":"TemporaryFile(/tmp/multipartBody2276219576718183938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384793897,"filename":"image_23042025_07_05_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4604f22921717f915b24166d7333f38.jpg","text":"TemporaryFile(/tmp/multipartBody7633442023196126687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384793897,"filename":"image_23042025_07_05_45_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352928930","file1":"1352928925","file0":"1352928920","file4":"1352928945","file5":"1352928958","file3":"1352928936"},"map_files_photo_id_array":[{"photo_id":"1352928958","filename":"file5"},{"photo_id":"1352928930","filename":"file2"},{"photo_id":"1352928945","filename":"file4"},{"photo_id":"1352928925","filename":"file1"},{"photo_id":"1352928920","filename":"file0"},{"photo_id":"1352928936","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352928958":["hashtag1","hashtag2"]},{"1352928925":["hashtag1","hashtag2"]},{"1352928936":["hashtag1","hashtag2"]},{"1352928945":["hashtag1","hashtag2"]},{"1352928930":["hashtag1","hashtag2"]},{"1352928920":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352928958, 1352928925, 1352928936, 1352928945, 1352928930, 1352928920)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12583947181702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:06:32.723055
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_45_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_35_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_25_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_15_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/07/05/image_23042025_07_06_05_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_55_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_45_9649.jpg', '/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_35_10664.jpg', '/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_25_9649.jpg', '/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_15_9674.jpg', '/home/nano/Desktop/images/23042025/07/05/image_23042025_07_06_05_10669.jpg', '/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_45_9649.jpg
/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_35_10664.jpg
/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_25_9649.jpg
/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_15_9674.jpg
/home/nano/Desktop/images/23042025/07/05/image_23042025_07_06_05_10669.jpg
/home/nano/Desktop/images/23042025/07/05/image_23042025_07_05_55_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352928994","1352928990","1352929005","1352928998","1352928986","1352929025"],"photo_ids_order":["1352928986","1352928990","1352928994","1352928998","1352929005","1352929025"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dea5e27f473b05f171854e17ade800c.jpg","text":"TemporaryFile(/tmp/multipartBody4408365155108607387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384854606,"filename":"image_23042025_07_06_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22e581ab9680da12a143b8cf6ca27cc1.jpg","text":"TemporaryFile(/tmp/multipartBody215990033215377510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384854606,"filename":"image_23042025_07_06_35_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a80041ad10c35d1c372e3011f65348ec.jpg","text":"TemporaryFile(/tmp/multipartBody3021656100835037045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384854606,"filename":"image_23042025_07_06_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ab0f4afc0c128dd627f5acadfeffb99.jpg","text":"TemporaryFile(/tmp/multipartBody5053645278684943452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384854606,"filename":"image_23042025_07_06_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a67a5dae1c1f54763297aeccb9671e5f.jpg","text":"TemporaryFile(/tmp/multipartBody3531485096414371130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384854606,"filename":"image_23042025_07_06_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc63a40dc0a6493eb13d829ab113f9a4.jpg","text":"TemporaryFile(/tmp/multipartBody5952444704607416235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384854606,"filename":"image_23042025_07_05_55_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352928994","file1":"1352928990","file0":"1352928986","file4":"1352929005","file5":"1352929025","file3":"1352928998"},"map_files_photo_id_array":[{"photo_id":"1352929025","filename":"file5"},{"photo_id":"1352928994","filename":"file2"},{"photo_id":"1352929005","filename":"file4"},{"photo_id":"1352928990","filename":"file1"},{"photo_id":"1352928986","filename":"file0"},{"photo_id":"1352928998","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352928994":["hashtag1","hashtag2"]},{"1352928990":["hashtag1","hashtag2"]},{"1352929005":["hashtag1","hashtag2"]},{"1352928998":["hashtag1","hashtag2"]},{"1352928986":["hashtag1","hashtag2"]},{"1352929025":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352928994, 1352928990, 1352929005, 1352928998, 1352928986, 1352929025)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.727962970733643 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:07:31.811893
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_45_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_35_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_25_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_15_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/07/06/image_23042025_07_07_05_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_45_9645.jpg', '/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_35_10638.jpg', '/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_25_9651.jpg', '/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_15_9632.jpg', '/home/nano/Desktop/images/23042025/07/06/image_23042025_07_07_05_10662.jpg', '/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_45_9645.jpg
/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_35_10638.jpg
/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_25_9651.jpg
/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_15_9632.jpg
/home/nano/Desktop/images/23042025/07/06/image_23042025_07_07_05_10662.jpg
/home/nano/Desktop/images/23042025/07/06/image_23042025_07_06_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352929078","1352929126","1352929083","1352929092","1352929130","1352929115"],"photo_ids_order":["1352929078","1352929083","1352929092","1352929115","1352929126","1352929130"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f470572aa46573f38d7c29b6ed65e363.jpg","text":"TemporaryFile(/tmp/multipartBody5179007793236125770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384912951,"filename":"image_23042025_07_07_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4096933f3c824a515ddf44e304babdb.jpg","text":"TemporaryFile(/tmp/multipartBody1912581654083617074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384912951,"filename":"image_23042025_07_07_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b379fc6c3ad24d363d67b686d8b56c0.jpg","text":"TemporaryFile(/tmp/multipartBody7347112518381982868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384912951,"filename":"image_23042025_07_07_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a039762028ae87a919e0527cd576b2eb.jpg","text":"TemporaryFile(/tmp/multipartBody4078709408437014990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384912951,"filename":"image_23042025_07_07_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7742fa73fecfcdb6a2058406c966e813.jpg","text":"TemporaryFile(/tmp/multipartBody5600762443417751870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384912951,"filename":"image_23042025_07_06_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8744619f0028652f3e020ce719482638.jpg","text":"TemporaryFile(/tmp/multipartBody7508506981940978041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384912951,"filename":"image_23042025_07_07_15_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352929092","file1":"1352929083","file0":"1352929078","file4":"1352929126","file5":"1352929130","file3":"1352929115"},"map_files_photo_id_array":[{"photo_id":"1352929130","filename":"file5"},{"photo_id":"1352929092","filename":"file2"},{"photo_id":"1352929126","filename":"file4"},{"photo_id":"1352929083","filename":"file1"},{"photo_id":"1352929078","filename":"file0"},{"photo_id":"1352929115","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352929078":["hashtag1","hashtag2"]},{"1352929126":["hashtag1","hashtag2"]},{"1352929083":["hashtag1","hashtag2"]},{"1352929092":["hashtag1","hashtag2"]},{"1352929130":["hashtag1","hashtag2"]},{"1352929115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352929078, 1352929126, 1352929083, 1352929092, 1352929130, 1352929115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.26456570625305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:08:31.919271
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_45_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_35_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_25_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_15_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/07/image_23042025_07_08_05_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_45_9654.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_35_10647.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_25_9644.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_15_9645.jpg', '/home/nano/Desktop/images/23042025/07/07/image_23042025_07_08_05_10674.jpg', '/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_45_9654.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_35_10647.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_25_9644.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_15_9645.jpg
/home/nano/Desktop/images/23042025/07/07/image_23042025_07_08_05_10674.jpg
/home/nano/Desktop/images/23042025/07/07/image_23042025_07_07_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352929276","1352929312","1352929290","1352929320","1352929283","1352929279"],"photo_ids_order":["1352929276","1352929279","1352929283","1352929290","1352929312","1352929320"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e1b22227c3050d64009ff13cc7cdab8.jpg","text":"TemporaryFile(/tmp/multipartBody4012748100800918068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384972938,"filename":"image_23042025_07_08_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bdb6bc460599d69a3ac8a52bad89b94.jpg","text":"TemporaryFile(/tmp/multipartBody6256608516887376276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384972938,"filename":"image_23042025_07_08_05_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14acd1451125eb959355f8e2040e33c1.jpg","text":"TemporaryFile(/tmp/multipartBody2143462562880206565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384972938,"filename":"image_23042025_07_08_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f591116f2364e2fb963d49650a817c81.jpg","text":"TemporaryFile(/tmp/multipartBody7367699890122857066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384972938,"filename":"image_23042025_07_07_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a33ac6fd4707623667849882ea9a632.jpg","text":"TemporaryFile(/tmp/multipartBody3540787837740072265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384972938,"filename":"image_23042025_07_08_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/341c9d487930ada01442cc54ef52cfeb.jpg","text":"TemporaryFile(/tmp/multipartBody5345959212048272897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745384972938,"filename":"image_23042025_07_08_35_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352929283","file1":"1352929279","file0":"1352929276","file4":"1352929312","file5":"1352929320","file3":"1352929290"},"map_files_photo_id_array":[{"photo_id":"1352929320","filename":"file5"},{"photo_id":"1352929283","filename":"file2"},{"photo_id":"1352929312","filename":"file4"},{"photo_id":"1352929279","filename":"file1"},{"photo_id":"1352929276","filename":"file0"},{"photo_id":"1352929290","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352929276":["hashtag1","hashtag2"]},{"1352929312":["hashtag1","hashtag2"]},{"1352929290":["hashtag1","hashtag2"]},{"1352929320":["hashtag1","hashtag2"]},{"1352929283":["hashtag1","hashtag2"]},{"1352929279":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352929276, 1352929312, 1352929290, 1352929320, 1352929283, 1352929279)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.694947957992554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:09:31.998126
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_35_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_25_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_15_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_09_05_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_55_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_45_9642.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_35_10653.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_25_9673.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_15_9649.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_09_05_10683.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_45_9642.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_35_10653.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_25_9673.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_15_9649.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_09_05_10683.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_55_9659.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0993261337280273 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:10:02.580357
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_35_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_25_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_15_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_09_05_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_55_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_45_9642.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_35_10653.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_25_9673.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_15_9649.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_09_05_10683.jpg', '/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_45_9642.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_35_10653.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_25_9673.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_15_9649.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_09_05_10683.jpg
/home/nano/Desktop/images/23042025/07/08/image_23042025_07_08_55_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352929822","1352929828","1352929807","1352929833","1352929761","1352929786"],"photo_ids_order":["1352929761","1352929786","1352929807","1352929822","1352929828","1352929833"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de59521c0384241c14301ed1a3fffa1b.jpg","text":"TemporaryFile(/tmp/multipartBody5831879140479943167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385063964,"filename":"image_23042025_07_09_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2312b385f479bb953c81172f583119a6.jpg","text":"TemporaryFile(/tmp/multipartBody515982429658398589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385063964,"filename":"image_23042025_07_09_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd21aa81e8087154c9fd04d050ff4837.jpg","text":"TemporaryFile(/tmp/multipartBody4969338019734844216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385063964,"filename":"image_23042025_07_09_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b02e043aafa87ce67c136676939630d7.jpg","text":"TemporaryFile(/tmp/multipartBody8982809129573241836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385063964,"filename":"image_23042025_07_08_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb0f27cc55dcd6f0cb3aa7d02c3620f7.jpg","text":"TemporaryFile(/tmp/multipartBody7353796867875877107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385063964,"filename":"image_23042025_07_09_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a60726669509289da9ce00171879f57.jpg","text":"TemporaryFile(/tmp/multipartBody4246125802770107097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385063964,"filename":"image_23042025_07_09_35_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352929807","file1":"1352929786","file0":"1352929761","file4":"1352929828","file5":"1352929833","file3":"1352929822"},"map_files_photo_id_array":[{"photo_id":"1352929833","filename":"file5"},{"photo_id":"1352929807","filename":"file2"},{"photo_id":"1352929828","filename":"file4"},{"photo_id":"1352929786","filename":"file1"},{"photo_id":"1352929761","filename":"file0"},{"photo_id":"1352929822","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352929822":["hashtag1","hashtag2"]},{"1352929828":["hashtag1","hashtag2"]},{"1352929807":["hashtag1","hashtag2"]},{"1352929833":["hashtag1","hashtag2"]},{"1352929761":["hashtag1","hashtag2"]},{"1352929786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352929822, 1352929828, 1352929807, 1352929833, 1352929761, 1352929786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.228830337524414 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:11:02.891995
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_45_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_35_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_25_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_15_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_10_05_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_55_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_45_9647.jpg', '/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_35_9648.jpg', '/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_25_10672.jpg', '/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_15_9680.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_10_05_9665.jpg', '/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_45_9647.jpg
/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_35_9648.jpg
/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_25_10672.jpg
/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_15_9680.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_10_05_9665.jpg
/home/nano/Desktop/images/23042025/07/09/image_23042025_07_09_55_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352930095","1352930077","1352930040","1352930069","1352930051","1352930030"],"photo_ids_order":["1352930030","1352930040","1352930051","1352930069","1352930077","1352930095"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f359454702ae410585ccdaf9196e395a.jpg","text":"TemporaryFile(/tmp/multipartBody6544540720599250047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385123934,"filename":"image_23042025_07_09_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fe8ab6d5d8fac4f683357fd7001749d.jpg","text":"TemporaryFile(/tmp/multipartBody5175769197587595582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385123934,"filename":"image_23042025_07_10_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a62a7efea4495ed6675fec4a4236132d.jpg","text":"TemporaryFile(/tmp/multipartBody5098089190259527587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385123934,"filename":"image_23042025_07_10_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/584dfa99ed7b48602bb862e3066e4788.jpg","text":"TemporaryFile(/tmp/multipartBody1462089470236840098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385123934,"filename":"image_23042025_07_10_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b5068807a602132ea4ef3f8734afc0a.jpg","text":"TemporaryFile(/tmp/multipartBody6166054566195408555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385123934,"filename":"image_23042025_07_10_25_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd031c3fb9a0a4a9ea239365def1c271.jpg","text":"TemporaryFile(/tmp/multipartBody4337334865939671549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385123934,"filename":"image_23042025_07_10_45_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352930051","file1":"1352930040","file0":"1352930030","file4":"1352930077","file5":"1352930095","file3":"1352930069"},"map_files_photo_id_array":[{"photo_id":"1352930095","filename":"file5"},{"photo_id":"1352930051","filename":"file2"},{"photo_id":"1352930077","filename":"file4"},{"photo_id":"1352930040","filename":"file1"},{"photo_id":"1352930030","filename":"file0"},{"photo_id":"1352930069","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352930095":["hashtag1","hashtag2"]},{"1352930077":["hashtag1","hashtag2"]},{"1352930040":["hashtag1","hashtag2"]},{"1352930069":["hashtag1","hashtag2"]},{"1352930051":["hashtag1","hashtag2"]},{"1352930030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352930095, 1352930077, 1352930040, 1352930069, 1352930051, 1352930030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.79750394821167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:12:02.691436
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_35_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_25_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_15_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/07/10/image_23042025_07_11_05_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_45_9648.jpg', '/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_35_9635.jpg', '/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_25_10637.jpg', '/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_15_9656.jpg', '/home/nano/Desktop/images/23042025/07/10/image_23042025_07_11_05_9637.jpg', '/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_45_9648.jpg
/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_35_9635.jpg
/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_25_10637.jpg
/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_15_9656.jpg
/home/nano/Desktop/images/23042025/07/10/image_23042025_07_11_05_9637.jpg
/home/nano/Desktop/images/23042025/07/10/image_23042025_07_10_55_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352930233","1352930305","1352930256","1352930250","1352930238","1352930273"],"photo_ids_order":["1352930233","1352930238","1352930250","1352930256","1352930273","1352930305"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/784678c6874c49219ea95a68e52be410.jpg","text":"TemporaryFile(/tmp/multipartBody6175660613819892638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385183730,"filename":"image_23042025_07_11_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5af5e53b288c46c267c9382388dba2ae.jpg","text":"TemporaryFile(/tmp/multipartBody6296591126025311364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385183730,"filename":"image_23042025_07_10_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65867e6758262577705caccc9018e41e.jpg","text":"TemporaryFile(/tmp/multipartBody7708321833311249227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385183730,"filename":"image_23042025_07_11_15_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92b708eda27985bdce848e9334a2c0e3.jpg","text":"TemporaryFile(/tmp/multipartBody7624770134471195217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385183730,"filename":"image_23042025_07_11_25_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b56069c90c1fbf1a1e7321437bbe856.jpg","text":"TemporaryFile(/tmp/multipartBody5330162199180598800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385183730,"filename":"image_23042025_07_11_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fcfbf47ed685af404a01525355be0df7.jpg","text":"TemporaryFile(/tmp/multipartBody9163965242891341298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385183730,"filename":"image_23042025_07_11_05_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352930250","file1":"1352930238","file0":"1352930233","file4":"1352930273","file5":"1352930305","file3":"1352930256"},"map_files_photo_id_array":[{"photo_id":"1352930305","filename":"file5"},{"photo_id":"1352930250","filename":"file2"},{"photo_id":"1352930273","filename":"file4"},{"photo_id":"1352930238","filename":"file1"},{"photo_id":"1352930233","filename":"file0"},{"photo_id":"1352930256","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352930233":["hashtag1","hashtag2"]},{"1352930305":["hashtag1","hashtag2"]},{"1352930256":["hashtag1","hashtag2"]},{"1352930250":["hashtag1","hashtag2"]},{"1352930238":["hashtag1","hashtag2"]},{"1352930273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352930233, 1352930305, 1352930256, 1352930250, 1352930238, 1352930273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.54594874382019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:13:03.080209
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_45_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_35_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_25_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_15_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/11/image_23042025_07_12_05_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_55_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_45_9622.jpg', '/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_35_9632.jpg', '/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_25_10658.jpg', '/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_15_9664.jpg', '/home/nano/Desktop/images/23042025/07/11/image_23042025_07_12_05_9651.jpg', '/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_55_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_45_9622.jpg
/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_35_9632.jpg
/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_25_10658.jpg
/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_15_9664.jpg
/home/nano/Desktop/images/23042025/07/11/image_23042025_07_12_05_9651.jpg
/home/nano/Desktop/images/23042025/07/11/image_23042025_07_11_55_10664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352930476","1352930487","1352930484","1352930463","1352930492","1352930480"],"photo_ids_order":["1352930463","1352930476","1352930480","1352930484","1352930487","1352930492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e329fc2731a84f00cc3f8b786b67ac6.jpg","text":"TemporaryFile(/tmp/multipartBody7451282868556047356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385244164,"filename":"image_23042025_07_12_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73ad3265158facb3e6ac1efa97975d2e.jpg","text":"TemporaryFile(/tmp/multipartBody7953563571423411451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385244164,"filename":"image_23042025_07_12_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd92a2570b542f8e2b45fa49f47991db.jpg","text":"TemporaryFile(/tmp/multipartBody2118871787247015198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385244164,"filename":"image_23042025_07_12_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3744793ea39ffd2f59bf2f9085935cfe.jpg","text":"TemporaryFile(/tmp/multipartBody1593290511710360128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385244164,"filename":"image_23042025_07_12_45_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e361f0e3a02d439c3e3a32cafb0cd1c7.jpg","text":"TemporaryFile(/tmp/multipartBody528468194362138004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385244164,"filename":"image_23042025_07_11_55_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/087cc80039c356cb201c66dce78cc489.jpg","text":"TemporaryFile(/tmp/multipartBody9212681303422029036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385244164,"filename":"image_23042025_07_12_25_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352930480","file1":"1352930476","file0":"1352930463","file4":"1352930487","file5":"1352930492","file3":"1352930484"},"map_files_photo_id_array":[{"photo_id":"1352930492","filename":"file5"},{"photo_id":"1352930480","filename":"file2"},{"photo_id":"1352930487","filename":"file4"},{"photo_id":"1352930476","filename":"file1"},{"photo_id":"1352930463","filename":"file0"},{"photo_id":"1352930484","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352930476":["hashtag1","hashtag2"]},{"1352930487":["hashtag1","hashtag2"]},{"1352930484":["hashtag1","hashtag2"]},{"1352930463":["hashtag1","hashtag2"]},{"1352930492":["hashtag1","hashtag2"]},{"1352930480":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352930476, 1352930487, 1352930484, 1352930463, 1352930492, 1352930480)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.917553901672363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:14:03.032443
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_45_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_25_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_15_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/07/12/image_23042025_07_13_05_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_55_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_45_10645.jpg', '/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_35_9636.jpg', '/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_25_10656.jpg', '/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_15_9669.jpg', '/home/nano/Desktop/images/23042025/07/12/image_23042025_07_13_05_9657.jpg', '/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_55_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_45_10645.jpg
/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_35_9636.jpg
/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_25_10656.jpg
/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_15_9669.jpg
/home/nano/Desktop/images/23042025/07/12/image_23042025_07_13_05_9657.jpg
/home/nano/Desktop/images/23042025/07/12/image_23042025_07_12_55_10643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352930713","1352930716","1352930682","1352930721","1352930709","1352930696"],"photo_ids_order":["1352930682","1352930696","1352930709","1352930713","1352930716","1352930721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cbbcf5b45e96348deb426984d37b8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8646633881154886016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385304207,"filename":"image_23042025_07_13_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa4c253e11af0694b3b517b9e1fc5dfb.jpg","text":"TemporaryFile(/tmp/multipartBody4979718512146763353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385304207,"filename":"image_23042025_07_13_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7769a62d2adb623447c84c541d8f92c.jpg","text":"TemporaryFile(/tmp/multipartBody6750543039617016279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385304207,"filename":"image_23042025_07_13_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fd14c69bde75f4b3040c3ba269221eb.jpg","text":"TemporaryFile(/tmp/multipartBody2921066842352745631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385304207,"filename":"image_23042025_07_12_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/268ca1cd62aa4f15ee0e1aec67551171.jpg","text":"TemporaryFile(/tmp/multipartBody4556829471769601573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385304207,"filename":"image_23042025_07_13_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fd264400f8237ca6e40e7b5dd30b799.jpg","text":"TemporaryFile(/tmp/multipartBody9100000013900671255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385304207,"filename":"image_23042025_07_13_35_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352930709","file1":"1352930696","file0":"1352930682","file4":"1352930716","file5":"1352930721","file3":"1352930713"},"map_files_photo_id_array":[{"photo_id":"1352930721","filename":"file5"},{"photo_id":"1352930709","filename":"file2"},{"photo_id":"1352930716","filename":"file4"},{"photo_id":"1352930696","filename":"file1"},{"photo_id":"1352930682","filename":"file0"},{"photo_id":"1352930713","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352930713":["hashtag1","hashtag2"]},{"1352930716":["hashtag1","hashtag2"]},{"1352930682":["hashtag1","hashtag2"]},{"1352930721":["hashtag1","hashtag2"]},{"1352930709":["hashtag1","hashtag2"]},{"1352930696":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352930713, 1352930716, 1352930682, 1352930721, 1352930709, 1352930696)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.792511224746704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:15:03.233267
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_45_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_35_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_25_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/07/13/image_23042025_07_14_05_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_45_10645.jpg', '/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_35_9629.jpg', '/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_25_9675.jpg', '/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_15_10671.jpg', '/home/nano/Desktop/images/23042025/07/13/image_23042025_07_14_05_9672.jpg', '/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_45_10645.jpg
/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_35_9629.jpg
/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_25_9675.jpg
/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_15_10671.jpg
/home/nano/Desktop/images/23042025/07/13/image_23042025_07_14_05_9672.jpg
/home/nano/Desktop/images/23042025/07/13/image_23042025_07_13_55_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352930857","1352930836","1352930883","1352930871","1352930841","1352930885"],"photo_ids_order":["1352930836","1352930841","1352930857","1352930871","1352930883","1352930885"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f75465fe696b02a6c5f331be394ffa9.jpg","text":"TemporaryFile(/tmp/multipartBody4358413278176885570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385364389,"filename":"image_23042025_07_14_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52f87a90312f7255f83d2d86133c938f.jpg","text":"TemporaryFile(/tmp/multipartBody3035745596980624621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385364389,"filename":"image_23042025_07_14_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9963cf20d31af23a65776da94983023.jpg","text":"TemporaryFile(/tmp/multipartBody5789803777862593160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385364389,"filename":"image_23042025_07_14_05_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e0090e22cf34f009a066589e9b8dd96.jpg","text":"TemporaryFile(/tmp/multipartBody8055324879817889143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385364389,"filename":"image_23042025_07_14_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d08378caea47a0a0705d8f58a99fd56.jpg","text":"TemporaryFile(/tmp/multipartBody960845978142202561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385364389,"filename":"image_23042025_07_14_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98c3e97b639da8b5659d486afd7cd733.jpg","text":"TemporaryFile(/tmp/multipartBody8985916967863858231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385364389,"filename":"image_23042025_07_13_55_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352930857","file1":"1352930841","file0":"1352930836","file4":"1352930883","file5":"1352930885","file3":"1352930871"},"map_files_photo_id_array":[{"photo_id":"1352930885","filename":"file5"},{"photo_id":"1352930857","filename":"file2"},{"photo_id":"1352930883","filename":"file4"},{"photo_id":"1352930841","filename":"file1"},{"photo_id":"1352930836","filename":"file0"},{"photo_id":"1352930871","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352930857":["hashtag1","hashtag2"]},{"1352930836":["hashtag1","hashtag2"]},{"1352930883":["hashtag1","hashtag2"]},{"1352930871":["hashtag1","hashtag2"]},{"1352930841":["hashtag1","hashtag2"]},{"1352930885":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352930857, 1352930836, 1352930883, 1352930871, 1352930841, 1352930885)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.100722074508667 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:16:03.291011
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_45_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_35_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_25_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_15_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/14/image_23042025_07_15_05_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_45_10648.jpg', '/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_35_9635.jpg', '/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_25_9619.jpg', '/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_15_10664.jpg', '/home/nano/Desktop/images/23042025/07/14/image_23042025_07_15_05_9658.jpg', '/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_45_10648.jpg
/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_35_9635.jpg
/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_25_9619.jpg
/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_15_10664.jpg
/home/nano/Desktop/images/23042025/07/14/image_23042025_07_15_05_9658.jpg
/home/nano/Desktop/images/23042025/07/14/image_23042025_07_14_55_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352931235","1352931223","1352931168","1352931197","1352931251","1352931173"],"photo_ids_order":["1352931168","1352931173","1352931197","1352931223","1352931235","1352931251"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/246c85a6f7a595a122c05aa1804f13d7.jpg","text":"TemporaryFile(/tmp/multipartBody9060236213382375782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385424300,"filename":"image_23042025_07_15_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9ce802cbbc83e291c3f37d92c026108.jpg","text":"TemporaryFile(/tmp/multipartBody7006099305349019872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385424300,"filename":"image_23042025_07_15_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/819eea43e985a8c7f758047a42088c82.jpg","text":"TemporaryFile(/tmp/multipartBody5664273437205380749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385424300,"filename":"image_23042025_07_15_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/599127b808f2c838c3ed03c9edc15caf.jpg","text":"TemporaryFile(/tmp/multipartBody7176458554654042875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385424300,"filename":"image_23042025_07_15_25_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e6415a44f545ad251f2bca08d4ef75e.jpg","text":"TemporaryFile(/tmp/multipartBody608442609424612675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385424300,"filename":"image_23042025_07_14_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74903c8ab2afa3e989c506d660531a1d.jpg","text":"TemporaryFile(/tmp/multipartBody2516190511458174631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385424300,"filename":"image_23042025_07_15_35_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352931197","file1":"1352931173","file0":"1352931168","file4":"1352931235","file5":"1352931251","file3":"1352931223"},"map_files_photo_id_array":[{"photo_id":"1352931251","filename":"file5"},{"photo_id":"1352931197","filename":"file2"},{"photo_id":"1352931235","filename":"file4"},{"photo_id":"1352931173","filename":"file1"},{"photo_id":"1352931168","filename":"file0"},{"photo_id":"1352931223","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352931235":["hashtag1","hashtag2"]},{"1352931223":["hashtag1","hashtag2"]},{"1352931168":["hashtag1","hashtag2"]},{"1352931197":["hashtag1","hashtag2"]},{"1352931251":["hashtag1","hashtag2"]},{"1352931173":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352931235, 1352931223, 1352931168, 1352931197, 1352931251, 1352931173)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.847867965698242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:17:02.552433
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_45_10768.jpg', 2), ('/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_35_9787.jpg', 2), ('/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_25_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_15_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/07/15/image_23042025_07_16_05_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_45_10768.jpg', '/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_35_9787.jpg', '/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_25_9649.jpg', '/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_15_10681.jpg', '/home/nano/Desktop/images/23042025/07/15/image_23042025_07_16_05_9647.jpg', '/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_45_10768.jpg
/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_35_9787.jpg
/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_25_9649.jpg
/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_15_10681.jpg
/home/nano/Desktop/images/23042025/07/15/image_23042025_07_16_05_9647.jpg
/home/nano/Desktop/images/23042025/07/15/image_23042025_07_15_55_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352931361","1352931334","1352931402","1352931405","1352931408","1352931386"],"photo_ids_order":["1352931334","1352931361","1352931386","1352931402","1352931405","1352931408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/323bbc0e4ec1bcc425ecca0a7405735d.jpg","text":"TemporaryFile(/tmp/multipartBody837712308512823236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385483687,"filename":"image_23042025_07_16_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5244d8f41c711cc0260ce0cdf029743.jpg","text":"TemporaryFile(/tmp/multipartBody6160280555236220571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385483687,"filename":"image_23042025_07_16_45_10768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d92c586b6e7b1bc6b58f20eb0cf1159a.jpg","text":"TemporaryFile(/tmp/multipartBody7000167178331795599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385483687,"filename":"image_23042025_07_16_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4791988e3eb6aad0b5e4fbbba1a82fdd.jpg","text":"TemporaryFile(/tmp/multipartBody8241846670220834974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385483687,"filename":"image_23042025_07_16_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dc482d77c696be586ff5a84dabdcc34.jpg","text":"TemporaryFile(/tmp/multipartBody7023965604494425580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385483687,"filename":"image_23042025_07_15_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3a1f2b148c9975aec8deabd821238a1.jpg","text":"TemporaryFile(/tmp/multipartBody1056097110639223997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385483687,"filename":"image_23042025_07_16_25_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352931386","file1":"1352931361","file0":"1352931334","file4":"1352931405","file5":"1352931408","file3":"1352931402"},"map_files_photo_id_array":[{"photo_id":"1352931408","filename":"file5"},{"photo_id":"1352931386","filename":"file2"},{"photo_id":"1352931405","filename":"file4"},{"photo_id":"1352931361","filename":"file1"},{"photo_id":"1352931334","filename":"file0"},{"photo_id":"1352931402","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352931361":["hashtag1","hashtag2"]},{"1352931334":["hashtag1","hashtag2"]},{"1352931402":["hashtag1","hashtag2"]},{"1352931405":["hashtag1","hashtag2"]},{"1352931408":["hashtag1","hashtag2"]},{"1352931386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352931361, 1352931334, 1352931402, 1352931405, 1352931408, 1352931386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.104605197906494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:18:02.586239
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_45_9782.jpg', 2), ('/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_35_10733.jpg', 2), ('/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_25_9794.jpg', 2), ('/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_15_9841.jpg', 2), ('/home/nano/Desktop/images/23042025/07/16/image_23042025_07_17_05_9790.jpg', 2), ('/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_55_9756.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_45_9782.jpg', '/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_35_10733.jpg', '/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_25_9794.jpg', '/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_15_9841.jpg', '/home/nano/Desktop/images/23042025/07/16/image_23042025_07_17_05_9790.jpg', '/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_55_9756.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_45_9782.jpg
/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_35_10733.jpg
/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_25_9794.jpg
/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_15_9841.jpg
/home/nano/Desktop/images/23042025/07/16/image_23042025_07_17_05_9790.jpg
/home/nano/Desktop/images/23042025/07/16/image_23042025_07_16_55_9756.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352931483","1352931459","1352931441","1352931497","1352931476","1352931503"],"photo_ids_order":["1352931441","1352931459","1352931476","1352931483","1352931497","1352931503"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f760488bd0cdf5a1de8f07674de086f.jpg","text":"TemporaryFile(/tmp/multipartBody7615966119895003325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385544085,"filename":"image_23042025_07_17_15_9841.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79c0ca96c249fe409206fe88065183e5.jpg","text":"TemporaryFile(/tmp/multipartBody8233314066200679768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385544085,"filename":"image_23042025_07_17_35_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9383c9468a4bba0e187cb79c5ccbd46e.jpg","text":"TemporaryFile(/tmp/multipartBody3495614410685994978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385544085,"filename":"image_23042025_07_17_45_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2bbf2811fd885231910b6bab3cfa25d.jpg","text":"TemporaryFile(/tmp/multipartBody1058148826833678396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385544085,"filename":"image_23042025_07_17_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5de7a90334b643765eaaba6931d9f8ab.jpg","text":"TemporaryFile(/tmp/multipartBody8649910779844314759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385544085,"filename":"image_23042025_07_17_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4562ee07fd1a05845a5b53ac7a4c9dce.jpg","text":"TemporaryFile(/tmp/multipartBody8583258298091370433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385544085,"filename":"image_23042025_07_16_55_9756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352931476","file1":"1352931459","file0":"1352931441","file4":"1352931497","file5":"1352931503","file3":"1352931483"},"map_files_photo_id_array":[{"photo_id":"1352931503","filename":"file5"},{"photo_id":"1352931476","filename":"file2"},{"photo_id":"1352931497","filename":"file4"},{"photo_id":"1352931459","filename":"file1"},{"photo_id":"1352931441","filename":"file0"},{"photo_id":"1352931483","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352931483":["hashtag1","hashtag2"]},{"1352931459":["hashtag1","hashtag2"]},{"1352931441":["hashtag1","hashtag2"]},{"1352931497":["hashtag1","hashtag2"]},{"1352931476":["hashtag1","hashtag2"]},{"1352931503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352931483, 1352931459, 1352931441, 1352931497, 1352931476, 1352931503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.042845249176025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:19:03.169115
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_45_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_35_9805.jpg', 2), ('/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_25_10779.jpg', 2), ('/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_15_9806.jpg', 2), ('/home/nano/Desktop/images/23042025/07/17/image_23042025_07_18_05_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_55_9796.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_45_9715.jpg', '/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_35_9805.jpg', '/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_25_10779.jpg', '/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_15_9806.jpg', '/home/nano/Desktop/images/23042025/07/17/image_23042025_07_18_05_9780.jpg', '/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_55_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_45_9715.jpg
/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_35_9805.jpg
/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_25_10779.jpg
/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_15_9806.jpg
/home/nano/Desktop/images/23042025/07/17/image_23042025_07_18_05_9780.jpg
/home/nano/Desktop/images/23042025/07/17/image_23042025_07_17_55_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352931970","1352931772","1352931942","1352931956","1352931605","1352931608"],"photo_ids_order":["1352931605","1352931608","1352931772","1352931942","1352931956","1352931970"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/869cf8f7aa5f809e652f4e103b0b9958.jpg","text":"TemporaryFile(/tmp/multipartBody4320066870049140114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385605159,"filename":"image_23042025_07_17_55_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/351a0389641071de2ac7599d554c79e8.jpg","text":"TemporaryFile(/tmp/multipartBody7606476541830655881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385605159,"filename":"image_23042025_07_18_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16f2b39e8424cb689c74a9678117c752.jpg","text":"TemporaryFile(/tmp/multipartBody4636328065358052738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385605159,"filename":"image_23042025_07_18_15_9806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/226103df193fbc15a94b305144378ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8672154864718311465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385605159,"filename":"image_23042025_07_18_05_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/698f5caa18975cd001d3287eb1ad920b.jpg","text":"TemporaryFile(/tmp/multipartBody2639057086976038252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385605159,"filename":"image_23042025_07_18_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9511e250e1d06d83076b5755df5c765.jpg","text":"TemporaryFile(/tmp/multipartBody2570034384107542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385605159,"filename":"image_23042025_07_18_35_9805.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352931772","file1":"1352931608","file0":"1352931605","file4":"1352931956","file5":"1352931970","file3":"1352931942"},"map_files_photo_id_array":[{"photo_id":"1352931970","filename":"file5"},{"photo_id":"1352931772","filename":"file2"},{"photo_id":"1352931956","filename":"file4"},{"photo_id":"1352931608","filename":"file1"},{"photo_id":"1352931605","filename":"file0"},{"photo_id":"1352931942","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352931970":["hashtag1","hashtag2"]},{"1352931772":["hashtag1","hashtag2"]},{"1352931942":["hashtag1","hashtag2"]},{"1352931956":["hashtag1","hashtag2"]},{"1352931605":["hashtag1","hashtag2"]},{"1352931608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352931970, 1352931772, 1352931942, 1352931956, 1352931605, 1352931608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.066765546798706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:20:02.766871
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_45_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_35_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_25_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_15_9767.jpg', 2), ('/home/nano/Desktop/images/23042025/07/18/image_23042025_07_19_05_10792.jpg', 2), ('/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_55_9789.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_45_10752.jpg', '/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_35_9784.jpg', '/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_25_9739.jpg', '/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_15_9767.jpg', '/home/nano/Desktop/images/23042025/07/18/image_23042025_07_19_05_10792.jpg', '/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_55_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_45_10752.jpg
/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_35_9784.jpg
/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_25_9739.jpg
/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_15_9767.jpg
/home/nano/Desktop/images/23042025/07/18/image_23042025_07_19_05_10792.jpg
/home/nano/Desktop/images/23042025/07/18/image_23042025_07_18_55_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352932204","1352932158","1352932256","1352932130","1352932261","1352932237"],"photo_ids_order":["1352932130","1352932158","1352932204","1352932237","1352932256","1352932261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34e406f96daa6926897a5fa71dc0a200.jpg","text":"TemporaryFile(/tmp/multipartBody4025368730924132154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385664384,"filename":"image_23042025_07_19_25_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/934f2e93b78b1cc252c599cb4c342468.jpg","text":"TemporaryFile(/tmp/multipartBody1728169067737263319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385664384,"filename":"image_23042025_07_19_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/452a2e33fcaef83d01c3bed04769da08.jpg","text":"TemporaryFile(/tmp/multipartBody4035280010689706290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385664384,"filename":"image_23042025_07_19_05_10792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b13ae3e61c324758c4337d11df8d3b83.jpg","text":"TemporaryFile(/tmp/multipartBody4212490785563653404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385664384,"filename":"image_23042025_07_19_45_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67a6dbc5e343d39588c58d526bab3c71.jpg","text":"TemporaryFile(/tmp/multipartBody8979960541585296836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385664384,"filename":"image_23042025_07_18_55_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96b63faa505edd048dfad3a424f971de.jpg","text":"TemporaryFile(/tmp/multipartBody3215629319233555047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385664384,"filename":"image_23042025_07_19_15_9767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352932204","file1":"1352932158","file0":"1352932130","file4":"1352932256","file5":"1352932261","file3":"1352932237"},"map_files_photo_id_array":[{"photo_id":"1352932261","filename":"file5"},{"photo_id":"1352932204","filename":"file2"},{"photo_id":"1352932256","filename":"file4"},{"photo_id":"1352932158","filename":"file1"},{"photo_id":"1352932130","filename":"file0"},{"photo_id":"1352932237","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352932204":["hashtag1","hashtag2"]},{"1352932158":["hashtag1","hashtag2"]},{"1352932256":["hashtag1","hashtag2"]},{"1352932130":["hashtag1","hashtag2"]},{"1352932261":["hashtag1","hashtag2"]},{"1352932237":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352932204, 1352932158, 1352932256, 1352932130, 1352932261, 1352932237)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33061361312866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:21:03.017128
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_45_10810.jpg', 2), ('/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_35_9786.jpg', 2), ('/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_25_9846.jpg', 2), ('/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_15_9789.jpg', 2), ('/home/nano/Desktop/images/23042025/07/19/image_23042025_07_20_05_9882.jpg', 2), ('/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_55_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_45_10810.jpg', '/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_35_9786.jpg', '/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_25_9846.jpg', '/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_15_9789.jpg', '/home/nano/Desktop/images/23042025/07/19/image_23042025_07_20_05_9882.jpg', '/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_55_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_45_10810.jpg
/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_35_9786.jpg
/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_25_9846.jpg
/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_15_9789.jpg
/home/nano/Desktop/images/23042025/07/19/image_23042025_07_20_05_9882.jpg
/home/nano/Desktop/images/23042025/07/19/image_23042025_07_19_55_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352932303","1352932308","1352932305","1352932298","1352932301","1352932315"],"photo_ids_order":["1352932298","1352932301","1352932303","1352932305","1352932308","1352932315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e0f751cb40185d103d8e9b2eb74dae4.jpg","text":"TemporaryFile(/tmp/multipartBody2026646361114632883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385724665,"filename":"image_23042025_07_20_25_9846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2b0ae211caaffed319e519eef459d35.jpg","text":"TemporaryFile(/tmp/multipartBody4643387105617892490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385724665,"filename":"image_23042025_07_20_05_9882.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85ab2aa560204951f8a784f4f62ed974.jpg","text":"TemporaryFile(/tmp/multipartBody5836827801068712075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385724665,"filename":"image_23042025_07_20_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d83ba2f429982e519696682d64d3b999.jpg","text":"TemporaryFile(/tmp/multipartBody5677932027551817991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385724665,"filename":"image_23042025_07_20_45_10810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f317f6666da09b20cd40e11363b22920.jpg","text":"TemporaryFile(/tmp/multipartBody8638373572101002226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385724665,"filename":"image_23042025_07_20_35_9786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6473ae10ca9a4105e28755e5170c9b49.jpg","text":"TemporaryFile(/tmp/multipartBody1007105039329937407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385724665,"filename":"image_23042025_07_19_55_9864.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352932303","file1":"1352932301","file0":"1352932298","file4":"1352932308","file5":"1352932315","file3":"1352932305"},"map_files_photo_id_array":[{"photo_id":"1352932315","filename":"file5"},{"photo_id":"1352932303","filename":"file2"},{"photo_id":"1352932308","filename":"file4"},{"photo_id":"1352932301","filename":"file1"},{"photo_id":"1352932298","filename":"file0"},{"photo_id":"1352932305","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352932303":["hashtag1","hashtag2"]},{"1352932308":["hashtag1","hashtag2"]},{"1352932305":["hashtag1","hashtag2"]},{"1352932298":["hashtag1","hashtag2"]},{"1352932301":["hashtag1","hashtag2"]},{"1352932315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352932303, 1352932308, 1352932305, 1352932298, 1352932301, 1352932315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.646441221237183 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:22:02.832337
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_35_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_25_10774.jpg', 2), ('/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_14_9760.jpg', 2), ('/home/nano/Desktop/images/23042025/07/20/image_23042025_07_21_05_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_45_9639.jpg', '/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_35_9654.jpg', '/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_25_10774.jpg', '/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_14_9760.jpg', '/home/nano/Desktop/images/23042025/07/20/image_23042025_07_21_05_9656.jpg', '/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_45_9639.jpg
/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_35_9654.jpg
/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_25_10774.jpg
/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_14_9760.jpg
/home/nano/Desktop/images/23042025/07/20/image_23042025_07_21_05_9656.jpg
/home/nano/Desktop/images/23042025/07/20/image_23042025_07_20_55_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352932383","1352932374","1352932487","1352932404","1352932460","1352932433"],"photo_ids_order":["1352932374","1352932383","1352932404","1352932433","1352932460","1352932487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/390f8da25071965e853fe66bdb12adb9.jpg","text":"TemporaryFile(/tmp/multipartBody2340637973895780599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385784202,"filename":"image_23042025_07_21_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b40a601cc785e1be64356f9e0b8bffdb.jpg","text":"TemporaryFile(/tmp/multipartBody4965302689943191425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385784202,"filename":"image_23042025_07_21_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7bff4e0d9bfc4a80518747b5ba90a72c.jpg","text":"TemporaryFile(/tmp/multipartBody3809388502474858995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385784202,"filename":"image_23042025_07_20_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a2cb1e45b032b4720e2536ae36b4b64.jpg","text":"TemporaryFile(/tmp/multipartBody2326448519515136909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385784202,"filename":"image_23042025_07_21_25_10774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03667444eb767b64f28aaa1e681a5825.jpg","text":"TemporaryFile(/tmp/multipartBody5791761980732326845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385784202,"filename":"image_23042025_07_21_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecc4d61d054372437ec4a7be89457d1b.jpg","text":"TemporaryFile(/tmp/multipartBody4000351964758471561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385784202,"filename":"image_23042025_07_21_14_9760.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352932404","file1":"1352932383","file0":"1352932374","file4":"1352932460","file5":"1352932487","file3":"1352932433"},"map_files_photo_id_array":[{"photo_id":"1352932487","filename":"file5"},{"photo_id":"1352932404","filename":"file2"},{"photo_id":"1352932460","filename":"file4"},{"photo_id":"1352932383","filename":"file1"},{"photo_id":"1352932374","filename":"file0"},{"photo_id":"1352932433","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352932383":["hashtag1","hashtag2"]},{"1352932374":["hashtag1","hashtag2"]},{"1352932487":["hashtag1","hashtag2"]},{"1352932404":["hashtag1","hashtag2"]},{"1352932460":["hashtag1","hashtag2"]},{"1352932433":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352932383, 1352932374, 1352932487, 1352932404, 1352932460, 1352932433)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.87649393081665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:23:03.309326
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_44_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_35_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_25_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_15_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/07/21/image_23042025_07_22_05_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_44_9637.jpg', '/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_35_9652.jpg', '/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_25_10666.jpg', '/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_15_9678.jpg', '/home/nano/Desktop/images/23042025/07/21/image_23042025_07_22_05_9660.jpg', '/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_44_9637.jpg
/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_35_9652.jpg
/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_25_10666.jpg
/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_15_9678.jpg
/home/nano/Desktop/images/23042025/07/21/image_23042025_07_22_05_9660.jpg
/home/nano/Desktop/images/23042025/07/21/image_23042025_07_21_55_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352932596","1352932592","1352932582","1352932585","1352932579","1352932588"],"photo_ids_order":["1352932579","1352932582","1352932585","1352932588","1352932592","1352932596"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c033d99a2adcc2e0962d85864b848cca.jpg","text":"TemporaryFile(/tmp/multipartBody3151773330196928271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385844335,"filename":"image_23042025_07_21_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4249ad821b0611bbb0deba8cb8cf5bc6.jpg","text":"TemporaryFile(/tmp/multipartBody6885802972859075590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385844335,"filename":"image_23042025_07_22_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b5672ef970690ea21bab0ee3adf9533.jpg","text":"TemporaryFile(/tmp/multipartBody4584328809484091908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385844335,"filename":"image_23042025_07_22_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8026dac200cecc92c2b6dfba7a35d2a9.jpg","text":"TemporaryFile(/tmp/multipartBody317504371819845772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385844335,"filename":"image_23042025_07_22_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fa6949e903ff2ea1c3d651dbeb114b4.jpg","text":"TemporaryFile(/tmp/multipartBody2107624907038841841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385844335,"filename":"image_23042025_07_22_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a287c5521fdd59254bb83188102b2b88.jpg","text":"TemporaryFile(/tmp/multipartBody8309987744485354653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385844335,"filename":"image_23042025_07_22_15_9678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352932585","file1":"1352932582","file0":"1352932579","file4":"1352932592","file5":"1352932596","file3":"1352932588"},"map_files_photo_id_array":[{"photo_id":"1352932596","filename":"file5"},{"photo_id":"1352932585","filename":"file2"},{"photo_id":"1352932592","filename":"file4"},{"photo_id":"1352932582","filename":"file1"},{"photo_id":"1352932579","filename":"file0"},{"photo_id":"1352932588","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352932596":["hashtag1","hashtag2"]},{"1352932592":["hashtag1","hashtag2"]},{"1352932582":["hashtag1","hashtag2"]},{"1352932585":["hashtag1","hashtag2"]},{"1352932579":["hashtag1","hashtag2"]},{"1352932588":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352932596, 1352932592, 1352932582, 1352932585, 1352932579, 1352932588)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.025277853012085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:24:03.467953
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_35_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_25_10811.jpg', 2), ('/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_15_9837.jpg', 2), ('/home/nano/Desktop/images/23042025/07/22/image_23042025_07_23_05_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_55_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_45_9648.jpg', '/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_35_9777.jpg', '/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_25_10811.jpg', '/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_15_9837.jpg', '/home/nano/Desktop/images/23042025/07/22/image_23042025_07_23_05_9697.jpg', '/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_55_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_45_9648.jpg
/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_35_9777.jpg
/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_25_10811.jpg
/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_15_9837.jpg
/home/nano/Desktop/images/23042025/07/22/image_23042025_07_23_05_9697.jpg
/home/nano/Desktop/images/23042025/07/22/image_23042025_07_22_55_10640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352932797","1352932773","1352932776","1352932902","1352932874","1352932838"],"photo_ids_order":["1352932773","1352932776","1352932797","1352932838","1352932874","1352932902"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51e8501fb5344bd3f51c654019a87392.jpg","text":"TemporaryFile(/tmp/multipartBody3477695142979368281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385904907,"filename":"image_23042025_07_23_25_10811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a1a92db02fb45c9149fad0931bafed8.jpg","text":"TemporaryFile(/tmp/multipartBody2160187031534216990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385904907,"filename":"image_23042025_07_23_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5977e416ed629f0aade734c7d74c964.jpg","text":"TemporaryFile(/tmp/multipartBody7403885113461889390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385904907,"filename":"image_23042025_07_23_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/addda64cb918cb7eab2e704786e4d5b6.jpg","text":"TemporaryFile(/tmp/multipartBody8872615826650574725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385904907,"filename":"image_23042025_07_22_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/993aa0b80bd30e9b53c4f072a01d8d23.jpg","text":"TemporaryFile(/tmp/multipartBody5732825341155268421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385904907,"filename":"image_23042025_07_23_05_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/814a5ca3b70376480144c609608af01f.jpg","text":"TemporaryFile(/tmp/multipartBody526797455332218115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385904907,"filename":"image_23042025_07_23_15_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352932797","file1":"1352932776","file0":"1352932773","file4":"1352932874","file5":"1352932902","file3":"1352932838"},"map_files_photo_id_array":[{"photo_id":"1352932902","filename":"file5"},{"photo_id":"1352932797","filename":"file2"},{"photo_id":"1352932874","filename":"file4"},{"photo_id":"1352932776","filename":"file1"},{"photo_id":"1352932773","filename":"file0"},{"photo_id":"1352932838","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352932797":["hashtag1","hashtag2"]},{"1352932773":["hashtag1","hashtag2"]},{"1352932776":["hashtag1","hashtag2"]},{"1352932902":["hashtag1","hashtag2"]},{"1352932874":["hashtag1","hashtag2"]},{"1352932838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352932797, 1352932773, 1352932776, 1352932902, 1352932874, 1352932838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.82769227027893 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:25:03.351949
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_45_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_35_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_25_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_15_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/07/23/image_23042025_07_24_05_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_45_9625.jpg', '/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_35_10654.jpg', '/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_25_9631.jpg', '/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_15_9668.jpg', '/home/nano/Desktop/images/23042025/07/23/image_23042025_07_24_05_10653.jpg', '/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_45_9625.jpg
/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_35_10654.jpg
/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_25_9631.jpg
/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_15_9668.jpg
/home/nano/Desktop/images/23042025/07/23/image_23042025_07_24_05_10653.jpg
/home/nano/Desktop/images/23042025/07/23/image_23042025_07_23_55_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352933016","1352932974","1352933051","1352932970","1352932984","1352932978"],"photo_ids_order":["1352932970","1352932974","1352932978","1352932984","1352933016","1352933051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8dba44200681d2764984c9c8f13bf1c1.jpg","text":"TemporaryFile(/tmp/multipartBody4290805824576058967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385964659,"filename":"image_23042025_07_24_05_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05ca61e40ffe2d08e622566884efdbe4.jpg","text":"TemporaryFile(/tmp/multipartBody8453510628567497814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385964659,"filename":"image_23042025_07_24_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c895171e63a3b2111351c9616a305b8.jpg","text":"TemporaryFile(/tmp/multipartBody5638004639238937407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385964659,"filename":"image_23042025_07_23_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fda74f1e164894927d18b78dc236828.jpg","text":"TemporaryFile(/tmp/multipartBody6879921622769657013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385964659,"filename":"image_23042025_07_24_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f70abf4acf6fb589753f6aa964fc81d3.jpg","text":"TemporaryFile(/tmp/multipartBody5370322396728824123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385964659,"filename":"image_23042025_07_24_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57f0567d213f6f652788dc48eea37872.jpg","text":"TemporaryFile(/tmp/multipartBody1176091351978213076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745385964659,"filename":"image_23042025_07_24_25_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352932978","file1":"1352932974","file0":"1352932970","file4":"1352933016","file5":"1352933051","file3":"1352932984"},"map_files_photo_id_array":[{"photo_id":"1352933051","filename":"file5"},{"photo_id":"1352932978","filename":"file2"},{"photo_id":"1352933016","filename":"file4"},{"photo_id":"1352932974","filename":"file1"},{"photo_id":"1352932970","filename":"file0"},{"photo_id":"1352932984","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352933016":["hashtag1","hashtag2"]},{"1352932974":["hashtag1","hashtag2"]},{"1352933051":["hashtag1","hashtag2"]},{"1352932970":["hashtag1","hashtag2"]},{"1352932984":["hashtag1","hashtag2"]},{"1352932978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352933016, 1352932974, 1352933051, 1352932970, 1352932984, 1352932978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.295814514160156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:26:02.420977
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_45_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_35_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_25_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_15_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/24/image_23042025_07_25_05_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_55_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_45_9632.jpg', '/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_35_9632.jpg', '/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_25_10650.jpg', '/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_15_9664.jpg', '/home/nano/Desktop/images/23042025/07/24/image_23042025_07_25_05_9666.jpg', '/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_55_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_45_9632.jpg
/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_35_9632.jpg
/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_25_10650.jpg
/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_15_9664.jpg
/home/nano/Desktop/images/23042025/07/24/image_23042025_07_25_05_9666.jpg
/home/nano/Desktop/images/23042025/07/24/image_23042025_07_24_55_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352933412","1352933366","1352933461","1352933287","1352933320","1352933280"],"photo_ids_order":["1352933280","1352933287","1352933320","1352933366","1352933412","1352933461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84756d68791ed839f84f3eed4b9492d6.jpg","text":"TemporaryFile(/tmp/multipartBody7296619777660491630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386023484,"filename":"image_23042025_07_25_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3e7317fa599b4f1de3fe72f5a22e699.jpg","text":"TemporaryFile(/tmp/multipartBody6760763583825637063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386023484,"filename":"image_23042025_07_25_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd7ef59e067e922288d8cd5abf27af97.jpg","text":"TemporaryFile(/tmp/multipartBody1116576794844097917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386023484,"filename":"image_23042025_07_24_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4134b85af5697f20b56a8a7dbb40007b.jpg","text":"TemporaryFile(/tmp/multipartBody1690541545038842344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386023484,"filename":"image_23042025_07_25_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b6c91e45d2c470cd01fab524e403e85.jpg","text":"TemporaryFile(/tmp/multipartBody9148918939043602406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386023484,"filename":"image_23042025_07_25_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcd1dc4b65d1bc37c9b3315779c09c5b.jpg","text":"TemporaryFile(/tmp/multipartBody483887587118459538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386023484,"filename":"image_23042025_07_25_45_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352933320","file1":"1352933287","file0":"1352933280","file4":"1352933412","file5":"1352933461","file3":"1352933366"},"map_files_photo_id_array":[{"photo_id":"1352933461","filename":"file5"},{"photo_id":"1352933320","filename":"file2"},{"photo_id":"1352933412","filename":"file4"},{"photo_id":"1352933287","filename":"file1"},{"photo_id":"1352933280","filename":"file0"},{"photo_id":"1352933366","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352933412":["hashtag1","hashtag2"]},{"1352933366":["hashtag1","hashtag2"]},{"1352933461":["hashtag1","hashtag2"]},{"1352933287":["hashtag1","hashtag2"]},{"1352933320":["hashtag1","hashtag2"]},{"1352933280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352933412, 1352933366, 1352933461, 1352933287, 1352933320, 1352933280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.39969778060913 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:27:02.610822
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_45_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_35_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_25_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_15_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/07/25/image_23042025_07_26_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_55_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_45_9649.jpg', '/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_35_9642.jpg', '/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_25_10636.jpg', '/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_15_9670.jpg', '/home/nano/Desktop/images/23042025/07/25/image_23042025_07_26_05_9638.jpg', '/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_55_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_45_9649.jpg
/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_35_9642.jpg
/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_25_10636.jpg
/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_15_9670.jpg
/home/nano/Desktop/images/23042025/07/25/image_23042025_07_26_05_9638.jpg
/home/nano/Desktop/images/23042025/07/25/image_23042025_07_25_55_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352933793","1352933867","1352933789","1352933840","1352933801","1352933812"],"photo_ids_order":["1352933789","1352933793","1352933801","1352933812","1352933840","1352933867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b375be0168bd1d450555f134cca882ed.jpg","text":"TemporaryFile(/tmp/multipartBody7677184131682755201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386084418,"filename":"image_23042025_07_26_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4b02c4df47d7c637cba5a7b42ce93a4.jpg","text":"TemporaryFile(/tmp/multipartBody8364243240351478051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386084418,"filename":"image_23042025_07_25_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e72978456cbde4606004ecd7c8d4e52f.jpg","text":"TemporaryFile(/tmp/multipartBody6981361493244667936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386084418,"filename":"image_23042025_07_26_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ea19b59ab3182e9b6991a4163377dfc.jpg","text":"TemporaryFile(/tmp/multipartBody8478799253348619739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386084418,"filename":"image_23042025_07_26_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53411abc91160aa0973a686501e55562.jpg","text":"TemporaryFile(/tmp/multipartBody8624371377730183677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386084418,"filename":"image_23042025_07_26_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42748e83529ce1fd63f9609b7e53fda0.jpg","text":"TemporaryFile(/tmp/multipartBody5161635640384764048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386084418,"filename":"image_23042025_07_26_15_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352933801","file1":"1352933793","file0":"1352933789","file4":"1352933840","file5":"1352933867","file3":"1352933812"},"map_files_photo_id_array":[{"photo_id":"1352933867","filename":"file5"},{"photo_id":"1352933801","filename":"file2"},{"photo_id":"1352933840","filename":"file4"},{"photo_id":"1352933793","filename":"file1"},{"photo_id":"1352933789","filename":"file0"},{"photo_id":"1352933812","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352933793":["hashtag1","hashtag2"]},{"1352933867":["hashtag1","hashtag2"]},{"1352933789":["hashtag1","hashtag2"]},{"1352933840":["hashtag1","hashtag2"]},{"1352933801":["hashtag1","hashtag2"]},{"1352933812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352933793, 1352933867, 1352933789, 1352933840, 1352933801, 1352933812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63353204727173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:28:02.645668
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_45_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_25_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_15_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/26/image_23042025_07_27_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_45_10646.jpg', '/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_35_9636.jpg', '/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_25_10654.jpg', '/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_15_9635.jpg', '/home/nano/Desktop/images/23042025/07/26/image_23042025_07_27_05_9650.jpg', '/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_55_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_45_10646.jpg
/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_35_9636.jpg
/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_25_10654.jpg
/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_15_9635.jpg
/home/nano/Desktop/images/23042025/07/26/image_23042025_07_27_05_9650.jpg
/home/nano/Desktop/images/23042025/07/26/image_23042025_07_26_55_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352933967","1352933940","1352933999","1352934049","1352934025","1352934051"],"photo_ids_order":["1352933940","1352933967","1352933999","1352934025","1352934049","1352934051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7ed31d27a085df288c6e63e7e14f8fa.jpg","text":"TemporaryFile(/tmp/multipartBody1509259955429193835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386143803,"filename":"image_23042025_07_27_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57786cb600c3671feb2195db2659351a.jpg","text":"TemporaryFile(/tmp/multipartBody3892414321141025792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386143803,"filename":"image_23042025_07_27_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bc0f78248efef7a40d59221a1a6c5a1.jpg","text":"TemporaryFile(/tmp/multipartBody1457069149478209521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386143803,"filename":"image_23042025_07_27_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/770902199a37f386404c8ccbd2c101dd.jpg","text":"TemporaryFile(/tmp/multipartBody4075954258209907866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386143803,"filename":"image_23042025_07_27_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3e13fec67701645c9e6be8d49319d52.jpg","text":"TemporaryFile(/tmp/multipartBody5364382300814269601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386143803,"filename":"image_23042025_07_27_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f6b766d59654c27267a12d822eabbcf.jpg","text":"TemporaryFile(/tmp/multipartBody5216380696713558077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386143803,"filename":"image_23042025_07_26_55_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352933999","file1":"1352933967","file0":"1352933940","file4":"1352934049","file5":"1352934051","file3":"1352934025"},"map_files_photo_id_array":[{"photo_id":"1352934051","filename":"file5"},{"photo_id":"1352933999","filename":"file2"},{"photo_id":"1352934049","filename":"file4"},{"photo_id":"1352933967","filename":"file1"},{"photo_id":"1352933940","filename":"file0"},{"photo_id":"1352934025","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352933967":["hashtag1","hashtag2"]},{"1352933940":["hashtag1","hashtag2"]},{"1352933999":["hashtag1","hashtag2"]},{"1352934049":["hashtag1","hashtag2"]},{"1352934025":["hashtag1","hashtag2"]},{"1352934051":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352933967, 1352933940, 1352933999, 1352934049, 1352934025, 1352934051)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.730391263961792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:29:03.169021
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_45_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_15_10692.jpg', 2), ('/home/nano/Desktop/images/23042025/07/27/image_23042025_07_28_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_45_10654.jpg', '/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_35_9622.jpg', '/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_25_9630.jpg', '/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_15_10692.jpg', '/home/nano/Desktop/images/23042025/07/27/image_23042025_07_28_05_9638.jpg', '/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_45_10654.jpg
/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_35_9622.jpg
/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_25_9630.jpg
/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_15_10692.jpg
/home/nano/Desktop/images/23042025/07/27/image_23042025_07_28_05_9638.jpg
/home/nano/Desktop/images/23042025/07/27/image_23042025_07_27_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352934245","1352934212","1352934113","1352934107","1352934160","1352934103"],"photo_ids_order":["1352934103","1352934107","1352934113","1352934160","1352934212","1352934245"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e87e3d08fd9dbe483814df30e19cc6bf.jpg","text":"TemporaryFile(/tmp/multipartBody4384031274915943916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386204279,"filename":"image_23042025_07_27_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b47ef7019fef97e008219d818e75651.jpg","text":"TemporaryFile(/tmp/multipartBody2317703903539551420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386204279,"filename":"image_23042025_07_28_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbfebfafc47da185bdd6bb855d455365.jpg","text":"TemporaryFile(/tmp/multipartBody851794811234401034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386204279,"filename":"image_23042025_07_28_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6c7637476a95fb97df584fa9e1eae26.jpg","text":"TemporaryFile(/tmp/multipartBody1567491886648331696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386204279,"filename":"image_23042025_07_28_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6e79332139464032247c9cb7e307413.jpg","text":"TemporaryFile(/tmp/multipartBody5795645300924085558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386204279,"filename":"image_23042025_07_28_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3b9ec9142362f6ebb6e9f8f14d638c3.jpg","text":"TemporaryFile(/tmp/multipartBody8877599018063357903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386204279,"filename":"image_23042025_07_28_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352934113","file1":"1352934107","file0":"1352934103","file4":"1352934212","file5":"1352934245","file3":"1352934160"},"map_files_photo_id_array":[{"photo_id":"1352934245","filename":"file5"},{"photo_id":"1352934113","filename":"file2"},{"photo_id":"1352934212","filename":"file4"},{"photo_id":"1352934107","filename":"file1"},{"photo_id":"1352934103","filename":"file0"},{"photo_id":"1352934160","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352934245":["hashtag1","hashtag2"]},{"1352934212":["hashtag1","hashtag2"]},{"1352934113":["hashtag1","hashtag2"]},{"1352934107":["hashtag1","hashtag2"]},{"1352934160":["hashtag1","hashtag2"]},{"1352934103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352934245, 1352934212, 1352934113, 1352934107, 1352934160, 1352934103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.473894596099854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:30:02.899146
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_35_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_15_10870.jpg', 2), ('/home/nano/Desktop/images/23042025/07/28/image_23042025_07_29_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_45_10647.jpg', '/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_35_9627.jpg', '/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_25_9636.jpg', '/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_15_10870.jpg', '/home/nano/Desktop/images/23042025/07/28/image_23042025_07_29_05_9638.jpg', '/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_45_10647.jpg
/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_35_9627.jpg
/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_25_9636.jpg
/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_15_10870.jpg
/home/nano/Desktop/images/23042025/07/28/image_23042025_07_29_05_9638.jpg
/home/nano/Desktop/images/23042025/07/28/image_23042025_07_28_55_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352934440","1352934469","1352934460","1352934463","1352934450","1352934453"],"photo_ids_order":["1352934440","1352934450","1352934453","1352934460","1352934463","1352934469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c99900120b6bd42599d2a74ec5496b54.jpg","text":"TemporaryFile(/tmp/multipartBody3375101696491338985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386266105,"filename":"image_23042025_07_29_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/444d5aa1bc9436ccbfbe92c185a9bdc6.jpg","text":"TemporaryFile(/tmp/multipartBody5142870255784101741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386266105,"filename":"image_23042025_07_28_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbbc13132119043e62ebc94514b11b23.jpg","text":"TemporaryFile(/tmp/multipartBody3388153879493810151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386266105,"filename":"image_23042025_07_29_15_10870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35fbc8ba7cf7c14b1d4e71d66098b944.jpg","text":"TemporaryFile(/tmp/multipartBody3041102896988184355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386266105,"filename":"image_23042025_07_29_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1b2c90f07fc777756ba3c95112a4faa.jpg","text":"TemporaryFile(/tmp/multipartBody8055801233026533798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386266105,"filename":"image_23042025_07_29_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f36819c6b4f0801617afe50731acb269.jpg","text":"TemporaryFile(/tmp/multipartBody6700717220834964374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386266105,"filename":"image_23042025_07_29_25_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352934453","file1":"1352934450","file0":"1352934440","file4":"1352934463","file5":"1352934469","file3":"1352934460"},"map_files_photo_id_array":[{"photo_id":"1352934469","filename":"file5"},{"photo_id":"1352934453","filename":"file2"},{"photo_id":"1352934463","filename":"file4"},{"photo_id":"1352934450","filename":"file1"},{"photo_id":"1352934440","filename":"file0"},{"photo_id":"1352934460","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352934440":["hashtag1","hashtag2"]},{"1352934469":["hashtag1","hashtag2"]},{"1352934460":["hashtag1","hashtag2"]},{"1352934463":["hashtag1","hashtag2"]},{"1352934450":["hashtag1","hashtag2"]},{"1352934453":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352934440, 1352934469, 1352934460, 1352934463, 1352934450, 1352934453)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.851895809173584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:31:02.906302
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_45_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_35_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_25_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_15_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/07/29/image_23042025_07_30_05_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_55_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_45_10648.jpg', '/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_35_9649.jpg', '/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_25_9656.jpg', '/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_15_10674.jpg', '/home/nano/Desktop/images/23042025/07/29/image_23042025_07_30_05_9664.jpg', '/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_45_10648.jpg
/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_35_9649.jpg
/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_25_9656.jpg
/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_15_10674.jpg
/home/nano/Desktop/images/23042025/07/29/image_23042025_07_30_05_9664.jpg
/home/nano/Desktop/images/23042025/07/29/image_23042025_07_29_55_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352934539","1352934548","1352934535","1352934529","1352934544","1352934552"],"photo_ids_order":["1352934529","1352934535","1352934539","1352934544","1352934548","1352934552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26a3b14b15104ebad9bf401697dcd197.jpg","text":"TemporaryFile(/tmp/multipartBody5900739125266773996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386324149,"filename":"image_23042025_07_30_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e3e7a9c02b6f20db1ab1bfa3db1b23b.jpg","text":"TemporaryFile(/tmp/multipartBody1930676426287339879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386324149,"filename":"image_23042025_07_30_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6d028ca93786f2889d7dd5aea4f84af.jpg","text":"TemporaryFile(/tmp/multipartBody1316925263909112156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386324149,"filename":"image_23042025_07_30_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46794f46401da83bc86c2e0322548e80.jpg","text":"TemporaryFile(/tmp/multipartBody231852820627581123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386324149,"filename":"image_23042025_07_30_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f34fb07a00ed3a6de016bab70621432.jpg","text":"TemporaryFile(/tmp/multipartBody3738245807340906417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386324149,"filename":"image_23042025_07_30_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77a7265255aeb56210d47e4fa24d16aa.jpg","text":"TemporaryFile(/tmp/multipartBody6550930188585545815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386324149,"filename":"image_23042025_07_29_55_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352934539","file1":"1352934535","file0":"1352934529","file4":"1352934548","file5":"1352934552","file3":"1352934544"},"map_files_photo_id_array":[{"photo_id":"1352934552","filename":"file5"},{"photo_id":"1352934539","filename":"file2"},{"photo_id":"1352934548","filename":"file4"},{"photo_id":"1352934535","filename":"file1"},{"photo_id":"1352934529","filename":"file0"},{"photo_id":"1352934544","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352934539":["hashtag1","hashtag2"]},{"1352934548":["hashtag1","hashtag2"]},{"1352934535":["hashtag1","hashtag2"]},{"1352934529":["hashtag1","hashtag2"]},{"1352934544":["hashtag1","hashtag2"]},{"1352934552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352934539, 1352934548, 1352934535, 1352934529, 1352934544, 1352934552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.34946346282959 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:32:03.050849
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_45_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_25_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_15_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/07/30/image_23042025_07_31_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_55_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_45_10638.jpg', '/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_35_9637.jpg', '/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_25_9640.jpg', '/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_15_10708.jpg', '/home/nano/Desktop/images/23042025/07/30/image_23042025_07_31_05_9642.jpg', '/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_55_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_45_10638.jpg
/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_35_9637.jpg
/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_25_9640.jpg
/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_15_10708.jpg
/home/nano/Desktop/images/23042025/07/30/image_23042025_07_31_05_9642.jpg
/home/nano/Desktop/images/23042025/07/30/image_23042025_07_30_55_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352934600","1352934598","1352934602","1352934622","1352934604","1352934594"],"photo_ids_order":["1352934594","1352934598","1352934600","1352934602","1352934604","1352934622"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf8988de682b1396ccb1e0d37458fc3f.jpg","text":"TemporaryFile(/tmp/multipartBody5414036631709297029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386384314,"filename":"image_23042025_07_31_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20713675a56cffe52d4a7b99ca7a66fb.jpg","text":"TemporaryFile(/tmp/multipartBody3054960574442286265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386384314,"filename":"image_23042025_07_31_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3fcb279118e064632b15f145abda70b.jpg","text":"TemporaryFile(/tmp/multipartBody4950110036748316139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386384314,"filename":"image_23042025_07_31_15_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/222edd64cd985a922a13270e66b4f31a.jpg","text":"TemporaryFile(/tmp/multipartBody3903926857049539480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386384314,"filename":"image_23042025_07_30_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3686a7f79a97414eb2a0910c3af51c00.jpg","text":"TemporaryFile(/tmp/multipartBody2758568535825989602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386384314,"filename":"image_23042025_07_31_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32a8e44706bdab9d807b13d4683c9bdc.jpg","text":"TemporaryFile(/tmp/multipartBody2127181841656776765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386384314,"filename":"image_23042025_07_31_45_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352934600","file1":"1352934598","file0":"1352934594","file4":"1352934604","file5":"1352934622","file3":"1352934602"},"map_files_photo_id_array":[{"photo_id":"1352934622","filename":"file5"},{"photo_id":"1352934600","filename":"file2"},{"photo_id":"1352934604","filename":"file4"},{"photo_id":"1352934598","filename":"file1"},{"photo_id":"1352934594","filename":"file0"},{"photo_id":"1352934602","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352934600":["hashtag1","hashtag2"]},{"1352934598":["hashtag1","hashtag2"]},{"1352934602":["hashtag1","hashtag2"]},{"1352934622":["hashtag1","hashtag2"]},{"1352934604":["hashtag1","hashtag2"]},{"1352934594":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352934600, 1352934598, 1352934602, 1352934622, 1352934604, 1352934594)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.694030046463013 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:33:03.104019
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_45_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_15_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/07/31/image_23042025_07_32_05_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_55_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_45_10642.jpg', '/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_35_9626.jpg', '/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_25_9657.jpg', '/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_15_10704.jpg', '/home/nano/Desktop/images/23042025/07/31/image_23042025_07_32_05_9666.jpg', '/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_55_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_45_10642.jpg
/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_35_9626.jpg
/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_25_9657.jpg
/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_15_10704.jpg
/home/nano/Desktop/images/23042025/07/31/image_23042025_07_32_05_9666.jpg
/home/nano/Desktop/images/23042025/07/31/image_23042025_07_31_55_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352934915","1352934803","1352934997","1352934871","1352934783","1352934951"],"photo_ids_order":["1352934783","1352934803","1352934871","1352934915","1352934951","1352934997"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc20c01f855d90ae6967cffc1e5e1344.jpg","text":"TemporaryFile(/tmp/multipartBody1152795794457238566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386444436,"filename":"image_23042025_07_32_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e2b3b50852f128a3662663515bd6fef.jpg","text":"TemporaryFile(/tmp/multipartBody2688157896717891482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386444436,"filename":"image_23042025_07_32_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1cb90bf902bc52a8259e207a740d31b.jpg","text":"TemporaryFile(/tmp/multipartBody7153952058064767753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386444436,"filename":"image_23042025_07_31_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffd33bd087df9d33e8d83bfc779fc0c5.jpg","text":"TemporaryFile(/tmp/multipartBody667266402871283899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386444436,"filename":"image_23042025_07_32_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c43cce0af705671520018c9accf83169.jpg","text":"TemporaryFile(/tmp/multipartBody2751709197414434907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386444436,"filename":"image_23042025_07_32_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/266b433927e71a53231b225c4136a2de.jpg","text":"TemporaryFile(/tmp/multipartBody752218148896988444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386444436,"filename":"image_23042025_07_32_05_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352934871","file1":"1352934803","file0":"1352934783","file4":"1352934951","file5":"1352934997","file3":"1352934915"},"map_files_photo_id_array":[{"photo_id":"1352934997","filename":"file5"},{"photo_id":"1352934871","filename":"file2"},{"photo_id":"1352934951","filename":"file4"},{"photo_id":"1352934803","filename":"file1"},{"photo_id":"1352934783","filename":"file0"},{"photo_id":"1352934915","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352934915":["hashtag1","hashtag2"]},{"1352934803":["hashtag1","hashtag2"]},{"1352934997":["hashtag1","hashtag2"]},{"1352934871":["hashtag1","hashtag2"]},{"1352934783":["hashtag1","hashtag2"]},{"1352934951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352934915, 1352934803, 1352934997, 1352934871, 1352934783, 1352934951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82870936393738 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:34:03.496654
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_35_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_25_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_15_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/32/image_23042025_07_33_05_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_45_9639.jpg', '/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_35_10665.jpg', '/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_25_9627.jpg', '/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_15_9635.jpg', '/home/nano/Desktop/images/23042025/07/32/image_23042025_07_33_05_10645.jpg', '/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_45_9639.jpg
/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_35_10665.jpg
/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_25_9627.jpg
/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_15_9635.jpg
/home/nano/Desktop/images/23042025/07/32/image_23042025_07_33_05_10645.jpg
/home/nano/Desktop/images/23042025/07/32/image_23042025_07_32_55_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352935360","1352935441","1352935470","1352935347","1352935323","1352935404"],"photo_ids_order":["1352935323","1352935347","1352935360","1352935404","1352935441","1352935470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5323b86f06b7a4627fedc6f629499dd6.jpg","text":"TemporaryFile(/tmp/multipartBody2975789852329873499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386504729,"filename":"image_23042025_07_33_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0cdbbb8a18bec9bfb0f7a46bfb60ce4.jpg","text":"TemporaryFile(/tmp/multipartBody7140640756494926348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386504729,"filename":"image_23042025_07_33_05_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8dc6685d365ac6d281e4c1a5fa160265.jpg","text":"TemporaryFile(/tmp/multipartBody971464855414641704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386504729,"filename":"image_23042025_07_32_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fe9cd017d6c2663f9141d39424cf12c.jpg","text":"TemporaryFile(/tmp/multipartBody5180826527291403624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386504729,"filename":"image_23042025_07_33_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e163fb8d34d9ca475ede6c7c03355c48.jpg","text":"TemporaryFile(/tmp/multipartBody6249440415911696651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386504729,"filename":"image_23042025_07_33_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0b591618a8a05350768c78db42a8c8d.jpg","text":"TemporaryFile(/tmp/multipartBody8202786905400562560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386504729,"filename":"image_23042025_07_33_15_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352935360","file1":"1352935347","file0":"1352935323","file4":"1352935441","file5":"1352935470","file3":"1352935404"},"map_files_photo_id_array":[{"photo_id":"1352935470","filename":"file5"},{"photo_id":"1352935360","filename":"file2"},{"photo_id":"1352935441","filename":"file4"},{"photo_id":"1352935347","filename":"file1"},{"photo_id":"1352935323","filename":"file0"},{"photo_id":"1352935404","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352935360":["hashtag1","hashtag2"]},{"1352935441":["hashtag1","hashtag2"]},{"1352935470":["hashtag1","hashtag2"]},{"1352935347":["hashtag1","hashtag2"]},{"1352935323":["hashtag1","hashtag2"]},{"1352935404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352935360, 1352935441, 1352935470, 1352935347, 1352935323, 1352935404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.6830267906189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:35:02.455314
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_35_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_15_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/07/33/image_23042025_07_34_05_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_55_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_45_9644.jpg', '/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_35_10662.jpg', '/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_25_9643.jpg', '/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_15_9670.jpg', '/home/nano/Desktop/images/23042025/07/33/image_23042025_07_34_05_10648.jpg', '/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_55_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_45_9644.jpg
/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_35_10662.jpg
/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_25_9643.jpg
/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_15_9670.jpg
/home/nano/Desktop/images/23042025/07/33/image_23042025_07_34_05_10648.jpg
/home/nano/Desktop/images/23042025/07/33/image_23042025_07_33_55_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352935529","1352935532","1352935525","1352935540","1352935534","1352935536"],"photo_ids_order":["1352935525","1352935529","1352935532","1352935534","1352935536","1352935540"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0bcc978fd6ef33bf111f35dd9e1dac4.jpg","text":"TemporaryFile(/tmp/multipartBody7037485641405624545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386563508,"filename":"image_23042025_07_34_35_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f18d98fe56f439d37da18ef227d04da.jpg","text":"TemporaryFile(/tmp/multipartBody5531428203823323442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386563508,"filename":"image_23042025_07_34_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe21dc4d6eb215cc3d61e5a80e6d718f.jpg","text":"TemporaryFile(/tmp/multipartBody6062073343000329824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386563508,"filename":"image_23042025_07_34_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d9eeb30fdda807e533eb48e71a45e3e.jpg","text":"TemporaryFile(/tmp/multipartBody6853168199179988220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386563508,"filename":"image_23042025_07_33_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16ce0fe5225de22817795be3889bbeac.jpg","text":"TemporaryFile(/tmp/multipartBody2117202803103637021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386563508,"filename":"image_23042025_07_34_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/487db1194a6ade6342ef06cbff99a0ec.jpg","text":"TemporaryFile(/tmp/multipartBody8281513044098893158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386563508,"filename":"image_23042025_07_34_05_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352935532","file1":"1352935529","file0":"1352935525","file4":"1352935536","file5":"1352935540","file3":"1352935534"},"map_files_photo_id_array":[{"photo_id":"1352935540","filename":"file5"},{"photo_id":"1352935532","filename":"file2"},{"photo_id":"1352935536","filename":"file4"},{"photo_id":"1352935529","filename":"file1"},{"photo_id":"1352935525","filename":"file0"},{"photo_id":"1352935534","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352935529":["hashtag1","hashtag2"]},{"1352935532":["hashtag1","hashtag2"]},{"1352935525":["hashtag1","hashtag2"]},{"1352935540":["hashtag1","hashtag2"]},{"1352935534":["hashtag1","hashtag2"]},{"1352935536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352935529, 1352935532, 1352935525, 1352935540, 1352935534, 1352935536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.512794971466064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:36:02.375617
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_45_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_35_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_25_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_15_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/07/34/image_23042025_07_35_05_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_45_9658.jpg', '/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_35_10635.jpg', '/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_25_9650.jpg', '/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_15_9668.jpg', '/home/nano/Desktop/images/23042025/07/34/image_23042025_07_35_05_10669.jpg', '/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_45_9658.jpg
/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_35_10635.jpg
/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_25_9650.jpg
/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_15_9668.jpg
/home/nano/Desktop/images/23042025/07/34/image_23042025_07_35_05_10669.jpg
/home/nano/Desktop/images/23042025/07/34/image_23042025_07_34_55_9635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352935625","1352935630","1352935621","1352935615","1352935611","1352935608"],"photo_ids_order":["1352935608","1352935611","1352935615","1352935621","1352935625","1352935630"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7e244c99c3416c3b0414e25fb67d106.jpg","text":"TemporaryFile(/tmp/multipartBody9045738905196025039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386623551,"filename":"image_23042025_07_35_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93c399db0ea8a0544eae4397e3b9a888.jpg","text":"TemporaryFile(/tmp/multipartBody3328259767996672537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386623551,"filename":"image_23042025_07_34_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbd1c931a7c687b64db995daff1d37a3.jpg","text":"TemporaryFile(/tmp/multipartBody2593133471143754703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386623551,"filename":"image_23042025_07_35_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5b27f0cec7290aec453a5ee43bae86f.jpg","text":"TemporaryFile(/tmp/multipartBody7174725496593351762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386623551,"filename":"image_23042025_07_35_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b648c4e9c1acbdc4caa2a66099e1273f.jpg","text":"TemporaryFile(/tmp/multipartBody3664980106424538750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386623551,"filename":"image_23042025_07_35_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9feb7771fbe4929ffed672f1644f156e.jpg","text":"TemporaryFile(/tmp/multipartBody158153202312646475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386623551,"filename":"image_23042025_07_35_45_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352935615","file1":"1352935611","file0":"1352935608","file4":"1352935625","file5":"1352935630","file3":"1352935621"},"map_files_photo_id_array":[{"photo_id":"1352935630","filename":"file5"},{"photo_id":"1352935615","filename":"file2"},{"photo_id":"1352935625","filename":"file4"},{"photo_id":"1352935611","filename":"file1"},{"photo_id":"1352935608","filename":"file0"},{"photo_id":"1352935621","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352935625":["hashtag1","hashtag2"]},{"1352935630":["hashtag1","hashtag2"]},{"1352935621":["hashtag1","hashtag2"]},{"1352935615":["hashtag1","hashtag2"]},{"1352935611":["hashtag1","hashtag2"]},{"1352935608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352935625, 1352935630, 1352935621, 1352935615, 1352935611, 1352935608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.74891901016235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:37:02.633536
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_45_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_35_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_25_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_15_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/07/35/image_23042025_07_36_05_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_55_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_45_9653.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_35_9628.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_25_10678.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_15_9638.jpg', '/home/nano/Desktop/images/23042025/07/35/image_23042025_07_36_05_9668.jpg', '/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_45_9653.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_35_9628.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_25_10678.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_15_9638.jpg
/home/nano/Desktop/images/23042025/07/35/image_23042025_07_36_05_9668.jpg
/home/nano/Desktop/images/23042025/07/35/image_23042025_07_35_55_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352935772","1352935727","1352935742","1352935761","1352935749","1352935722"],"photo_ids_order":["1352935722","1352935727","1352935742","1352935749","1352935761","1352935772"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4aae6387df70f233f1bc0c3ff56b60b.jpg","text":"TemporaryFile(/tmp/multipartBody216879184350204196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386685082,"filename":"image_23042025_07_35_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fd471526daac6e8daaeb6d7bc29628d.jpg","text":"TemporaryFile(/tmp/multipartBody5693663864002723798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386685082,"filename":"image_23042025_07_36_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/926ce2ec33cd306ac1ec98650cf4492a.jpg","text":"TemporaryFile(/tmp/multipartBody765323448618183053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386685082,"filename":"image_23042025_07_36_25_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63429b515a7d3eed28126a7126942971.jpg","text":"TemporaryFile(/tmp/multipartBody8863616334529902102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386685082,"filename":"image_23042025_07_36_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f33946db5b63d9747580d1a21de040b.jpg","text":"TemporaryFile(/tmp/multipartBody4563332760754983987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386685082,"filename":"image_23042025_07_36_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90a8e8246ea0713a4fa40a52342f54b9.jpg","text":"TemporaryFile(/tmp/multipartBody150634282240698582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386685082,"filename":"image_23042025_07_36_45_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352935742","file1":"1352935727","file0":"1352935722","file4":"1352935761","file5":"1352935772","file3":"1352935749"},"map_files_photo_id_array":[{"photo_id":"1352935772","filename":"file5"},{"photo_id":"1352935742","filename":"file2"},{"photo_id":"1352935761","filename":"file4"},{"photo_id":"1352935727","filename":"file1"},{"photo_id":"1352935722","filename":"file0"},{"photo_id":"1352935749","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352935772":["hashtag1","hashtag2"]},{"1352935727":["hashtag1","hashtag2"]},{"1352935742":["hashtag1","hashtag2"]},{"1352935761":["hashtag1","hashtag2"]},{"1352935749":["hashtag1","hashtag2"]},{"1352935722":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352935772, 1352935727, 1352935742, 1352935761, 1352935749, 1352935722)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.961869955062866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:38:02.538252
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_45_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_25_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_37_05_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_55_10674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_45_9664.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_35_9637.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_25_10636.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_15_9636.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_37_05_9639.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_55_10674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_45_9664.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_35_9637.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_25_10636.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_15_9636.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_37_05_9639.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_55_10674.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1415205001831055 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:38:32.038836
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_45_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_35_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_25_10691.jpg', 2), ('/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_15_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_38_05_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_55_10682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_45_9675.jpg', '/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_35_9673.jpg', '/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_25_10691.jpg', '/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_15_9682.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_38_05_9696.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_55_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_45_9675.jpg
/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_35_9673.jpg
/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_25_10691.jpg
/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_15_9682.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_38_05_9696.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_55_10682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936108","1352936104","1352936085","1352936099","1352936090","1352936093"],"photo_ids_order":["1352936085","1352936090","1352936093","1352936099","1352936104","1352936108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c653151e2eddfcc20cc8c17f1bd5d29.jpg","text":"TemporaryFile(/tmp/multipartBody7938986549443780851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386773290,"filename":"image_23042025_07_37_55_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/70cc76db97477bbdf1513d532bb16c9d.jpg","text":"TemporaryFile(/tmp/multipartBody4806232401918388293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386773290,"filename":"image_23042025_07_38_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68587aa136ea92b40a26e1c46a7f55a9.jpg","text":"TemporaryFile(/tmp/multipartBody1180980470210990293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386773290,"filename":"image_23042025_07_38_45_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a94467bb9ff207e77e4be3797e2926b0.jpg","text":"TemporaryFile(/tmp/multipartBody7904686309119289437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386773290,"filename":"image_23042025_07_38_15_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fcf8e3a1a24af07f2d8cdca60b08743.jpg","text":"TemporaryFile(/tmp/multipartBody6092723304227261915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386773290,"filename":"image_23042025_07_38_35_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80d6b033ec67f1ec273b34bc38b73ead.jpg","text":"TemporaryFile(/tmp/multipartBody1600311019831000686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386773290,"filename":"image_23042025_07_38_25_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936093","file1":"1352936090","file0":"1352936085","file4":"1352936104","file5":"1352936108","file3":"1352936099"},"map_files_photo_id_array":[{"photo_id":"1352936108","filename":"file5"},{"photo_id":"1352936093","filename":"file2"},{"photo_id":"1352936104","filename":"file4"},{"photo_id":"1352936090","filename":"file1"},{"photo_id":"1352936085","filename":"file0"},{"photo_id":"1352936099","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936108":["hashtag1","hashtag2"]},{"1352936104":["hashtag1","hashtag2"]},{"1352936085":["hashtag1","hashtag2"]},{"1352936099":["hashtag1","hashtag2"]},{"1352936090":["hashtag1","hashtag2"]},{"1352936093":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936108, 1352936104, 1352936085, 1352936099, 1352936090, 1352936093)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.465027570724487 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:39:32.148305
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_45_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_35_10686.jpg', 2), ('/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_25_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_15_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/07/38/image_23042025_07_39_05_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_55_10689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_45_9693.jpg', '/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_35_10686.jpg', '/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_25_9676.jpg', '/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_15_9692.jpg', '/home/nano/Desktop/images/23042025/07/38/image_23042025_07_39_05_9691.jpg', '/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_55_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_45_9693.jpg
/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_35_10686.jpg
/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_25_9676.jpg
/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_15_9692.jpg
/home/nano/Desktop/images/23042025/07/38/image_23042025_07_39_05_9691.jpg
/home/nano/Desktop/images/23042025/07/38/image_23042025_07_38_55_10689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936176","1352936190","1352936184","1352936163","1352936172","1352936205"],"photo_ids_order":["1352936163","1352936172","1352936176","1352936184","1352936190","1352936205"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af37bc0a6478ea3bfb7b777c346aef0f.jpg","text":"TemporaryFile(/tmp/multipartBody7541047065194174521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386833676,"filename":"image_23042025_07_39_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f62a565a5434b20cd51cf11b2e091ca1.jpg","text":"TemporaryFile(/tmp/multipartBody5837869077802735302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386833676,"filename":"image_23042025_07_39_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d42b6d290a08da9ee6b6c70304b8311.jpg","text":"TemporaryFile(/tmp/multipartBody6444758580820578179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386833676,"filename":"image_23042025_07_39_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05f93e95610e9793ee92d39ebb5a9cb0.jpg","text":"TemporaryFile(/tmp/multipartBody7833366559686832202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386833676,"filename":"image_23042025_07_39_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f43f5541d719c2cf14c85255870b83bf.jpg","text":"TemporaryFile(/tmp/multipartBody5036229839663783233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386833676,"filename":"image_23042025_07_39_35_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6231a79d638c5b7c579d4c4cc4f7d8d.jpg","text":"TemporaryFile(/tmp/multipartBody8478025815517564884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386833676,"filename":"image_23042025_07_38_55_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936176","file1":"1352936172","file0":"1352936163","file4":"1352936190","file5":"1352936205","file3":"1352936184"},"map_files_photo_id_array":[{"photo_id":"1352936205","filename":"file5"},{"photo_id":"1352936176","filename":"file2"},{"photo_id":"1352936190","filename":"file4"},{"photo_id":"1352936172","filename":"file1"},{"photo_id":"1352936163","filename":"file0"},{"photo_id":"1352936184","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936176":["hashtag1","hashtag2"]},{"1352936190":["hashtag1","hashtag2"]},{"1352936184":["hashtag1","hashtag2"]},{"1352936163":["hashtag1","hashtag2"]},{"1352936172":["hashtag1","hashtag2"]},{"1352936205":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936176, 1352936190, 1352936184, 1352936163, 1352936172, 1352936205)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.05549168586731 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:40:32.232092
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_45_9748.jpg', 2), ('/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_35_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_25_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_15_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/07/39/image_23042025_07_40_05_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_55_9719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_45_9748.jpg', '/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_35_10708.jpg', '/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_25_9690.jpg', '/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_15_9714.jpg', '/home/nano/Desktop/images/23042025/07/39/image_23042025_07_40_05_10707.jpg', '/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_55_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_45_9748.jpg
/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_35_10708.jpg
/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_25_9690.jpg
/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_15_9714.jpg
/home/nano/Desktop/images/23042025/07/39/image_23042025_07_40_05_10707.jpg
/home/nano/Desktop/images/23042025/07/39/image_23042025_07_39_55_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936392","1352936318","1352936253","1352936400","1352936288","1352936357"],"photo_ids_order":["1352936253","1352936288","1352936318","1352936357","1352936392","1352936400"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5356128a2b8fdf0e66c420ec498e4d68.jpg","text":"TemporaryFile(/tmp/multipartBody3513866544723146425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386893731,"filename":"image_23042025_07_40_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da92ec92dd5589857f53900696ed6faf.jpg","text":"TemporaryFile(/tmp/multipartBody8331628170749803004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386893731,"filename":"image_23042025_07_40_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4e8ff70373e4122058121f3695a915b.jpg","text":"TemporaryFile(/tmp/multipartBody3684640528518213621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386893731,"filename":"image_23042025_07_40_45_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/507fa38eaa9061361d341f63bf043d84.jpg","text":"TemporaryFile(/tmp/multipartBody4716868418716039152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386893731,"filename":"image_23042025_07_39_55_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84782cdaaa88867bcfb721bdec8591a1.jpg","text":"TemporaryFile(/tmp/multipartBody8996699718156649375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386893731,"filename":"image_23042025_07_40_35_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b83fe2c3e778f806e6f084b52d26524d.jpg","text":"TemporaryFile(/tmp/multipartBody3029225312755317904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386893731,"filename":"image_23042025_07_40_15_9714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936318","file1":"1352936288","file0":"1352936253","file4":"1352936392","file5":"1352936400","file3":"1352936357"},"map_files_photo_id_array":[{"photo_id":"1352936400","filename":"file5"},{"photo_id":"1352936318","filename":"file2"},{"photo_id":"1352936392","filename":"file4"},{"photo_id":"1352936288","filename":"file1"},{"photo_id":"1352936253","filename":"file0"},{"photo_id":"1352936357","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936392":["hashtag1","hashtag2"]},{"1352936318":["hashtag1","hashtag2"]},{"1352936253":["hashtag1","hashtag2"]},{"1352936400":["hashtag1","hashtag2"]},{"1352936288":["hashtag1","hashtag2"]},{"1352936357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936392, 1352936318, 1352936253, 1352936400, 1352936288, 1352936357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.596750736236572 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:41:32.325585
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_45_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_35_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_25_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_15_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/07/40/image_23042025_07_41_05_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_55_9778.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_45_9697.jpg', '/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_35_9744.jpg', '/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_25_9733.jpg', '/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_15_10712.jpg', '/home/nano/Desktop/images/23042025/07/40/image_23042025_07_41_05_9800.jpg', '/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_55_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_45_9697.jpg
/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_35_9744.jpg
/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_25_9733.jpg
/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_15_10712.jpg
/home/nano/Desktop/images/23042025/07/40/image_23042025_07_41_05_9800.jpg
/home/nano/Desktop/images/23042025/07/40/image_23042025_07_40_55_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936482","1352936470","1352936487","1352936472","1352936477","1352936465"],"photo_ids_order":["1352936465","1352936470","1352936472","1352936477","1352936482","1352936487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30fdc845b46c692348b28ce2ccc7f83e.jpg","text":"TemporaryFile(/tmp/multipartBody4957253880217915420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386953729,"filename":"image_23042025_07_41_05_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb60ac0d215aa5d625919444ca15186e.jpg","text":"TemporaryFile(/tmp/multipartBody3531508405266183103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386953729,"filename":"image_23042025_07_41_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c4e8440b5617c08c1fae1936193f606.jpg","text":"TemporaryFile(/tmp/multipartBody5957665230194337922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386953729,"filename":"image_23042025_07_40_55_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20cf66b2cdc889611c52c50581fead9e.jpg","text":"TemporaryFile(/tmp/multipartBody7327469073206336552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386953729,"filename":"image_23042025_07_41_25_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9ab5be29feaafcc35cf67ec9f6e390e.jpg","text":"TemporaryFile(/tmp/multipartBody4726438526521239935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386953729,"filename":"image_23042025_07_41_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/defb2a4cfa9adf8edaaec676fe3934fb.jpg","text":"TemporaryFile(/tmp/multipartBody753253486671804806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745386953729,"filename":"image_23042025_07_41_45_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936472","file1":"1352936470","file0":"1352936465","file4":"1352936482","file5":"1352936487","file3":"1352936477"},"map_files_photo_id_array":[{"photo_id":"1352936487","filename":"file5"},{"photo_id":"1352936472","filename":"file2"},{"photo_id":"1352936482","filename":"file4"},{"photo_id":"1352936470","filename":"file1"},{"photo_id":"1352936465","filename":"file0"},{"photo_id":"1352936477","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936482":["hashtag1","hashtag2"]},{"1352936470":["hashtag1","hashtag2"]},{"1352936487":["hashtag1","hashtag2"]},{"1352936472":["hashtag1","hashtag2"]},{"1352936477":["hashtag1","hashtag2"]},{"1352936465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936482, 1352936470, 1352936487, 1352936472, 1352936477, 1352936465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08240294456482 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:42:32.424569
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_45_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_35_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_25_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_15_9811.jpg', 2), ('/home/nano/Desktop/images/23042025/07/41/image_23042025_07_42_05_9810.jpg', 2), ('/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_55_10806.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_45_9697.jpg', '/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_35_10700.jpg', '/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_25_9702.jpg', '/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_15_9811.jpg', '/home/nano/Desktop/images/23042025/07/41/image_23042025_07_42_05_9810.jpg', '/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_55_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_45_9697.jpg
/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_35_10700.jpg
/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_25_9702.jpg
/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_15_9811.jpg
/home/nano/Desktop/images/23042025/07/41/image_23042025_07_42_05_9810.jpg
/home/nano/Desktop/images/23042025/07/41/image_23042025_07_41_55_10806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936656","1352936641","1352936652","1352936637","1352936645","1352936648"],"photo_ids_order":["1352936637","1352936641","1352936645","1352936648","1352936652","1352936656"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88641a92cbf04c15fd76ad6f2adb1d5f.jpg","text":"TemporaryFile(/tmp/multipartBody6071497838059700948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387014026,"filename":"image_23042025_07_41_55_10806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e20809ccf26f8a63b3ecdcf4ed18dd88.jpg","text":"TemporaryFile(/tmp/multipartBody187647419896071975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387014026,"filename":"image_23042025_07_42_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f692ea561341d43a27492851fe592c63.jpg","text":"TemporaryFile(/tmp/multipartBody7919326192765665990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387014026,"filename":"image_23042025_07_42_05_9810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/558e984fe36da1242c6b9138b3a5a18d.jpg","text":"TemporaryFile(/tmp/multipartBody1750191172895531788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387014026,"filename":"image_23042025_07_42_45_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e21749a462ac5c862e9371ca9bbea825.jpg","text":"TemporaryFile(/tmp/multipartBody6246281799829919236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387014026,"filename":"image_23042025_07_42_25_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bfe823db6e2718fa33a12f9e308f416.jpg","text":"TemporaryFile(/tmp/multipartBody3864600240232511373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387014026,"filename":"image_23042025_07_42_15_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936645","file1":"1352936641","file0":"1352936637","file4":"1352936652","file5":"1352936656","file3":"1352936648"},"map_files_photo_id_array":[{"photo_id":"1352936656","filename":"file5"},{"photo_id":"1352936645","filename":"file2"},{"photo_id":"1352936652","filename":"file4"},{"photo_id":"1352936641","filename":"file1"},{"photo_id":"1352936637","filename":"file0"},{"photo_id":"1352936648","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936656":["hashtag1","hashtag2"]},{"1352936641":["hashtag1","hashtag2"]},{"1352936652":["hashtag1","hashtag2"]},{"1352936637":["hashtag1","hashtag2"]},{"1352936645":["hashtag1","hashtag2"]},{"1352936648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936656, 1352936641, 1352936652, 1352936637, 1352936645, 1352936648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.634395122528076 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:43:32.537155
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_45_10761.jpg', 2), ('/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_35_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_25_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_15_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/07/42/image_23042025_07_43_05_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_55_9686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_45_10761.jpg', '/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_35_9664.jpg', '/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_25_9698.jpg', '/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_15_10724.jpg', '/home/nano/Desktop/images/23042025/07/42/image_23042025_07_43_05_9643.jpg', '/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_55_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_45_10761.jpg
/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_35_9664.jpg
/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_25_9698.jpg
/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_15_10724.jpg
/home/nano/Desktop/images/23042025/07/42/image_23042025_07_43_05_9643.jpg
/home/nano/Desktop/images/23042025/07/42/image_23042025_07_42_55_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936729","1352936734","1352936743","1352936751","1352936777","1352936765"],"photo_ids_order":["1352936729","1352936734","1352936743","1352936751","1352936765","1352936777"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4dae18d893fa0bf885edc4ec86a7df9e.jpg","text":"TemporaryFile(/tmp/multipartBody6147515544904187045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387073881,"filename":"image_23042025_07_43_45_10761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/092c7666ea5f84c6688790a22a2168a6.jpg","text":"TemporaryFile(/tmp/multipartBody4471300066019612138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387073881,"filename":"image_23042025_07_43_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ab2a985388042c3a94e7ed356c15fb4.jpg","text":"TemporaryFile(/tmp/multipartBody7152251397755020053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387073881,"filename":"image_23042025_07_43_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/471444a6b989fbd4ffbeb78ae30b9507.jpg","text":"TemporaryFile(/tmp/multipartBody5414705001221027738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387073881,"filename":"image_23042025_07_43_15_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6a7c2c222f64785d39da697d21497dc.jpg","text":"TemporaryFile(/tmp/multipartBody6046024997576544795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387073881,"filename":"image_23042025_07_42_55_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f554ee604a6bcc8041ea5135fb2a3fd.jpg","text":"TemporaryFile(/tmp/multipartBody1626287721453090680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387073881,"filename":"image_23042025_07_43_05_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936743","file1":"1352936734","file0":"1352936729","file4":"1352936765","file5":"1352936777","file3":"1352936751"},"map_files_photo_id_array":[{"photo_id":"1352936777","filename":"file5"},{"photo_id":"1352936743","filename":"file2"},{"photo_id":"1352936765","filename":"file4"},{"photo_id":"1352936734","filename":"file1"},{"photo_id":"1352936729","filename":"file0"},{"photo_id":"1352936751","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936729":["hashtag1","hashtag2"]},{"1352936734":["hashtag1","hashtag2"]},{"1352936743":["hashtag1","hashtag2"]},{"1352936751":["hashtag1","hashtag2"]},{"1352936777":["hashtag1","hashtag2"]},{"1352936765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936729, 1352936734, 1352936743, 1352936751, 1352936777, 1352936765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18773150444031 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:44:32.639091
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_45_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_35_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_25_10779.jpg', 2), ('/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_14_9751.jpg', 2), ('/home/nano/Desktop/images/23042025/07/43/image_23042025_07_44_05_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_55_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_45_9695.jpg', '/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_35_9684.jpg', '/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_25_10779.jpg', '/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_14_9751.jpg', '/home/nano/Desktop/images/23042025/07/43/image_23042025_07_44_05_9707.jpg', '/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_55_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_45_9695.jpg
/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_35_9684.jpg
/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_25_10779.jpg
/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_14_9751.jpg
/home/nano/Desktop/images/23042025/07/43/image_23042025_07_44_05_9707.jpg
/home/nano/Desktop/images/23042025/07/43/image_23042025_07_43_55_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352936983","1352936977","1352936992","1352936988","1352936997","1352937000"],"photo_ids_order":["1352936977","1352936983","1352936988","1352936992","1352936997","1352937000"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d792c003126b8399670a85fb14dd8e38.jpg","text":"TemporaryFile(/tmp/multipartBody6496470485269410949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387134105,"filename":"image_23042025_07_44_35_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40b788f18604a39f0add9794cbfdc744.jpg","text":"TemporaryFile(/tmp/multipartBody6826357653801371760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387134105,"filename":"image_23042025_07_44_45_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2a847b3683e23bde34970884ccef9ca.jpg","text":"TemporaryFile(/tmp/multipartBody6957215500091159586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387134105,"filename":"image_23042025_07_44_14_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2235352041b32e3b0c9084add27f5d3b.jpg","text":"TemporaryFile(/tmp/multipartBody2724837362027756341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387134105,"filename":"image_23042025_07_44_25_10779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c1cd5c3fc674320b7ed7219825d1028.jpg","text":"TemporaryFile(/tmp/multipartBody261923166659706533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387134105,"filename":"image_23042025_07_44_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a25a982e21e2e1e5c3f79a74a68437e1.jpg","text":"TemporaryFile(/tmp/multipartBody7559321772162881985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387134105,"filename":"image_23042025_07_43_55_9690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352936988","file1":"1352936983","file0":"1352936977","file4":"1352936997","file5":"1352937000","file3":"1352936992"},"map_files_photo_id_array":[{"photo_id":"1352937000","filename":"file5"},{"photo_id":"1352936988","filename":"file2"},{"photo_id":"1352936997","filename":"file4"},{"photo_id":"1352936983","filename":"file1"},{"photo_id":"1352936977","filename":"file0"},{"photo_id":"1352936992","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352936983":["hashtag1","hashtag2"]},{"1352936977":["hashtag1","hashtag2"]},{"1352936992":["hashtag1","hashtag2"]},{"1352936988":["hashtag1","hashtag2"]},{"1352936997":["hashtag1","hashtag2"]},{"1352937000":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352936983, 1352936977, 1352936992, 1352936988, 1352936997, 1352937000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71395254135132 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:45:32.731195
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_45_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_35_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_25_10705.jpg', 2), ('/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_15_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/07/44/image_23042025_07_45_05_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_55_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_45_9692.jpg', '/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_35_9664.jpg', '/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_25_10705.jpg', '/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_15_9703.jpg', '/home/nano/Desktop/images/23042025/07/44/image_23042025_07_45_05_9696.jpg', '/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_45_9692.jpg
/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_35_9664.jpg
/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_25_10705.jpg
/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_15_9703.jpg
/home/nano/Desktop/images/23042025/07/44/image_23042025_07_45_05_9696.jpg
/home/nano/Desktop/images/23042025/07/44/image_23042025_07_44_55_10676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352937241","1352937214","1352937123","1352937114","1352937191","1352937116"],"photo_ids_order":["1352937114","1352937116","1352937123","1352937191","1352937214","1352937241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d53fe0bc40fc77c526ab0539918aa1cb.jpg","text":"TemporaryFile(/tmp/multipartBody227111980952369610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387194300,"filename":"image_23042025_07_44_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/671c6f0a3cfbdf79f3068aa07ab22655.jpg","text":"TemporaryFile(/tmp/multipartBody578131414834396341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387194300,"filename":"image_23042025_07_45_05_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3c012d8bdba32cf31a063251991f51c.jpg","text":"TemporaryFile(/tmp/multipartBody4156492297212927608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387194300,"filename":"image_23042025_07_45_25_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27ab718751571498403a55c9bf2355cb.jpg","text":"TemporaryFile(/tmp/multipartBody113089134012068176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387194300,"filename":"image_23042025_07_45_45_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc56749d644b75bfb14a6e87544ccd26.jpg","text":"TemporaryFile(/tmp/multipartBody3819584783998640327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387194300,"filename":"image_23042025_07_45_15_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a2e6d5ce2c85ac4cd1d1456fe6f2486.jpg","text":"TemporaryFile(/tmp/multipartBody3793581056059126038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387194300,"filename":"image_23042025_07_45_35_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352937123","file1":"1352937116","file0":"1352937114","file4":"1352937214","file5":"1352937241","file3":"1352937191"},"map_files_photo_id_array":[{"photo_id":"1352937241","filename":"file5"},{"photo_id":"1352937123","filename":"file2"},{"photo_id":"1352937214","filename":"file4"},{"photo_id":"1352937116","filename":"file1"},{"photo_id":"1352937114","filename":"file0"},{"photo_id":"1352937191","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352937241":["hashtag1","hashtag2"]},{"1352937214":["hashtag1","hashtag2"]},{"1352937123":["hashtag1","hashtag2"]},{"1352937114":["hashtag1","hashtag2"]},{"1352937191":["hashtag1","hashtag2"]},{"1352937116":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352937241, 1352937214, 1352937123, 1352937114, 1352937191, 1352937116)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.94526433944702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:46:31.837477
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_45_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_35_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_25_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_15_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/07/45/image_23042025_07_46_05_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_45_9683.jpg', '/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_35_10700.jpg', '/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_25_9687.jpg', '/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_15_9688.jpg', '/home/nano/Desktop/images/23042025/07/45/image_23042025_07_46_05_9731.jpg', '/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_45_9683.jpg
/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_35_10700.jpg
/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_25_9687.jpg
/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_15_9688.jpg
/home/nano/Desktop/images/23042025/07/45/image_23042025_07_46_05_9731.jpg
/home/nano/Desktop/images/23042025/07/45/image_23042025_07_45_55_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352937570","1352937558","1352937615","1352937563","1352937598","1352937583"],"photo_ids_order":["1352937558","1352937563","1352937570","1352937583","1352937598","1352937615"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af016e809b2a3921dd6c4f1c715ccd0d.jpg","text":"TemporaryFile(/tmp/multipartBody8121971001102685950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387253390,"filename":"image_23042025_07_46_25_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32ef7b028e7577ed228a21915abe3118.jpg","text":"TemporaryFile(/tmp/multipartBody4002351054868715098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387253390,"filename":"image_23042025_07_46_45_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/836172d9e58a13413184453012e16ef6.jpg","text":"TemporaryFile(/tmp/multipartBody7637161589482037808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387253390,"filename":"image_23042025_07_45_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f130509c66c9289e470cbf3ed04d2cf.jpg","text":"TemporaryFile(/tmp/multipartBody289925075781226205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387253390,"filename":"image_23042025_07_46_35_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f7604b3e6b8fea1bbc706518dc64e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4872529425925253651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387253390,"filename":"image_23042025_07_46_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06dace8cfbf84f2603e87a7c058b7580.jpg","text":"TemporaryFile(/tmp/multipartBody6359331996178432020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387253390,"filename":"image_23042025_07_46_15_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352937570","file1":"1352937563","file0":"1352937558","file4":"1352937598","file5":"1352937615","file3":"1352937583"},"map_files_photo_id_array":[{"photo_id":"1352937615","filename":"file5"},{"photo_id":"1352937570","filename":"file2"},{"photo_id":"1352937598","filename":"file4"},{"photo_id":"1352937563","filename":"file1"},{"photo_id":"1352937558","filename":"file0"},{"photo_id":"1352937583","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352937570":["hashtag1","hashtag2"]},{"1352937558":["hashtag1","hashtag2"]},{"1352937615":["hashtag1","hashtag2"]},{"1352937563":["hashtag1","hashtag2"]},{"1352937598":["hashtag1","hashtag2"]},{"1352937583":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352937570, 1352937558, 1352937615, 1352937563, 1352937598, 1352937583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.705141305923462 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:47:31.961943
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_45_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_35_10684.jpg', 2), ('/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_25_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_15_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/07/46/image_23042025_07_47_05_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_55_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_45_9682.jpg', '/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_35_10684.jpg', '/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_25_9664.jpg', '/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_15_9673.jpg', '/home/nano/Desktop/images/23042025/07/46/image_23042025_07_47_05_10676.jpg', '/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_55_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_45_9682.jpg
/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_35_10684.jpg
/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_25_9664.jpg
/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_15_9673.jpg
/home/nano/Desktop/images/23042025/07/46/image_23042025_07_47_05_10676.jpg
/home/nano/Desktop/images/23042025/07/46/image_23042025_07_46_55_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352937709","1352937753","1352937684","1352937738","1352937746","1352937680"],"photo_ids_order":["1352937680","1352937684","1352937709","1352937738","1352937746","1352937753"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad5d78a416633240a850cfb790845ba0.jpg","text":"TemporaryFile(/tmp/multipartBody853055666003371971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387313162,"filename":"image_23042025_07_47_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a67ea2de82162e0d0825cdc235ef938e.jpg","text":"TemporaryFile(/tmp/multipartBody6198409498479025704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387313162,"filename":"image_23042025_07_46_55_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef336edc12bb6ca4837d451a0283b61e.jpg","text":"TemporaryFile(/tmp/multipartBody7740021026380716452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387313162,"filename":"image_23042025_07_47_35_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2c8e487b97f3e17351ac26d1cfc4c8d.jpg","text":"TemporaryFile(/tmp/multipartBody5632013354274264783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387313162,"filename":"image_23042025_07_47_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/133e866bb5988aefcfefceaa2395f3a0.jpg","text":"TemporaryFile(/tmp/multipartBody1986739853850906612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387313162,"filename":"image_23042025_07_47_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3ad06fbe1c510c093ccd683991b7672.jpg","text":"TemporaryFile(/tmp/multipartBody8965534668495863634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387313162,"filename":"image_23042025_07_47_45_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352937709","file1":"1352937684","file0":"1352937680","file4":"1352937746","file5":"1352937753","file3":"1352937738"},"map_files_photo_id_array":[{"photo_id":"1352937753","filename":"file5"},{"photo_id":"1352937709","filename":"file2"},{"photo_id":"1352937746","filename":"file4"},{"photo_id":"1352937684","filename":"file1"},{"photo_id":"1352937680","filename":"file0"},{"photo_id":"1352937738","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352937709":["hashtag1","hashtag2"]},{"1352937753":["hashtag1","hashtag2"]},{"1352937684":["hashtag1","hashtag2"]},{"1352937738":["hashtag1","hashtag2"]},{"1352937746":["hashtag1","hashtag2"]},{"1352937680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352937709, 1352937753, 1352937684, 1352937738, 1352937746, 1352937680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.114840507507324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:48:32.059401
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_45_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_35_10756.jpg', 2), ('/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_25_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_15_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/07/47/image_23042025_07_48_05_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_55_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_45_9665.jpg', '/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_35_10756.jpg', '/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_25_9661.jpg', '/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_15_9664.jpg', '/home/nano/Desktop/images/23042025/07/47/image_23042025_07_48_05_10670.jpg', '/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_55_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_45_9665.jpg
/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_35_10756.jpg
/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_25_9661.jpg
/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_15_9664.jpg
/home/nano/Desktop/images/23042025/07/47/image_23042025_07_48_05_10670.jpg
/home/nano/Desktop/images/23042025/07/47/image_23042025_07_47_55_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352937802","1352937816","1352937807","1352937797","1352937791","1352937787"],"photo_ids_order":["1352937787","1352937791","1352937797","1352937802","1352937807","1352937816"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa0a9fdbd632b0f597f6b8da53b8072f.jpg","text":"TemporaryFile(/tmp/multipartBody7805620190790556937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387373561,"filename":"image_23042025_07_48_15_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc1a92dbef480a7513ec17f41f5ad508.jpg","text":"TemporaryFile(/tmp/multipartBody685424843496025855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387373561,"filename":"image_23042025_07_47_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7c08f93f12709b683e80c0c048db9fb.jpg","text":"TemporaryFile(/tmp/multipartBody7136798604955437085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387373561,"filename":"image_23042025_07_48_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7ceef991fa48f31c6cb873adb93fdeb.jpg","text":"TemporaryFile(/tmp/multipartBody4778317812989492900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387373561,"filename":"image_23042025_07_48_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56bb99705da0750d6b059f6bcc864489.jpg","text":"TemporaryFile(/tmp/multipartBody6208296190003427185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387373561,"filename":"image_23042025_07_48_35_10756.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a9088cdd7d25c46542d8dc896599763.jpg","text":"TemporaryFile(/tmp/multipartBody3613372029391249534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387373561,"filename":"image_23042025_07_48_45_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352937797","file1":"1352937791","file0":"1352937787","file4":"1352937807","file5":"1352937816","file3":"1352937802"},"map_files_photo_id_array":[{"photo_id":"1352937816","filename":"file5"},{"photo_id":"1352937797","filename":"file2"},{"photo_id":"1352937807","filename":"file4"},{"photo_id":"1352937791","filename":"file1"},{"photo_id":"1352937787","filename":"file0"},{"photo_id":"1352937802","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352937802":["hashtag1","hashtag2"]},{"1352937816":["hashtag1","hashtag2"]},{"1352937807":["hashtag1","hashtag2"]},{"1352937797":["hashtag1","hashtag2"]},{"1352937791":["hashtag1","hashtag2"]},{"1352937787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352937802, 1352937816, 1352937807, 1352937797, 1352937791, 1352937787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.192797899246216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:49:32.191066
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_45_10703.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_35_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_25_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_15_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/07/48/image_23042025_07_49_05_9765.jpg', 2), ('/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_55_9777.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_45_10703.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_35_9710.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_25_9692.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_15_10740.jpg', '/home/nano/Desktop/images/23042025/07/48/image_23042025_07_49_05_9765.jpg', '/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_55_9777.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_45_10703.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_35_9710.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_25_9692.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_15_10740.jpg
/home/nano/Desktop/images/23042025/07/48/image_23042025_07_49_05_9765.jpg
/home/nano/Desktop/images/23042025/07/48/image_23042025_07_48_55_9777.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938003","1352937963","1352937947","1352937956","1352937941","1352937935"],"photo_ids_order":["1352937935","1352937941","1352937947","1352937956","1352937963","1352938003"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ddbce66fd9af914256bc10be63ba4dd.jpg","text":"TemporaryFile(/tmp/multipartBody4856235161649356225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387433719,"filename":"image_23042025_07_48_55_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/015bed35e81f7376f15857e404d75eae.jpg","text":"TemporaryFile(/tmp/multipartBody2273563793610638287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387433719,"filename":"image_23042025_07_49_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6566f32aa5cbf9c5bbc3671ace715db0.jpg","text":"TemporaryFile(/tmp/multipartBody1041432765598032155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387433719,"filename":"image_23042025_07_49_25_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9bbad722428bde0fc1a15a52ffbdabcc.jpg","text":"TemporaryFile(/tmp/multipartBody8235466771252976096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387433719,"filename":"image_23042025_07_49_15_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7748c7da8d015c75aadaf5ea9ecbdfb.jpg","text":"TemporaryFile(/tmp/multipartBody4648889345332932992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387433719,"filename":"image_23042025_07_49_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/864d6534d58ce2f14f1cce44655f348c.jpg","text":"TemporaryFile(/tmp/multipartBody1257854194314678996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387433719,"filename":"image_23042025_07_49_45_10703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352937947","file1":"1352937941","file0":"1352937935","file4":"1352937963","file5":"1352938003","file3":"1352937956"},"map_files_photo_id_array":[{"photo_id":"1352938003","filename":"file5"},{"photo_id":"1352937947","filename":"file2"},{"photo_id":"1352937963","filename":"file4"},{"photo_id":"1352937941","filename":"file1"},{"photo_id":"1352937935","filename":"file0"},{"photo_id":"1352937956","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938003":["hashtag1","hashtag2"]},{"1352937963":["hashtag1","hashtag2"]},{"1352937947":["hashtag1","hashtag2"]},{"1352937956":["hashtag1","hashtag2"]},{"1352937941":["hashtag1","hashtag2"]},{"1352937935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938003, 1352937963, 1352937947, 1352937956, 1352937941, 1352937935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69753384590149 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:50:32.260653
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_45_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_35_10780.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_25_9798.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_15_9860.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_50_05_9835.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_55_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_45_9755.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_35_10780.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_25_9798.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_15_9860.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_50_05_9835.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_45_9755.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_35_10780.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_25_9798.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_15_9860.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_50_05_9835.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_55_9717.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6299874782562256 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:51:03.100065
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_45_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_35_10780.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_25_9798.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_15_9860.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_50_05_9835.jpg', 2), ('/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_55_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_45_9755.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_35_10780.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_25_9798.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_15_9860.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_50_05_9835.jpg', '/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_45_9755.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_35_10780.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_25_9798.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_15_9860.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_50_05_9835.jpg
/home/nano/Desktop/images/23042025/07/49/image_23042025_07_49_55_9717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938111","1352938097","1352938090","1352938084","1352938081","1352938078"],"photo_ids_order":["1352938078","1352938081","1352938084","1352938090","1352938097","1352938111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/308ebbbcda3fe99abb4296dcc9ce9e9b.jpg","text":"TemporaryFile(/tmp/multipartBody4474342600629702866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387524930,"filename":"image_23042025_07_49_55_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93bc878c0e794c2155a620b990056a7c.jpg","text":"TemporaryFile(/tmp/multipartBody881220343392448436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387524930,"filename":"image_23042025_07_50_05_9835.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e95d6ce7524fe5ef6c5da294e9236324.jpg","text":"TemporaryFile(/tmp/multipartBody6029678286012428270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387524930,"filename":"image_23042025_07_50_15_9860.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53fc6a4f776b04986e0b08684cb188c6.jpg","text":"TemporaryFile(/tmp/multipartBody6624566512576331776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387524930,"filename":"image_23042025_07_50_25_9798.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5803dbf79183abfa25e4ed6d6a9ac887.jpg","text":"TemporaryFile(/tmp/multipartBody2298439649311608646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387524930,"filename":"image_23042025_07_50_35_10780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/052463ef07b2f9d2617e144c722f289d.jpg","text":"TemporaryFile(/tmp/multipartBody7556839591754723401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387524930,"filename":"image_23042025_07_50_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352938084","file1":"1352938081","file0":"1352938078","file4":"1352938097","file5":"1352938111","file3":"1352938090"},"map_files_photo_id_array":[{"photo_id":"1352938111","filename":"file5"},{"photo_id":"1352938084","filename":"file2"},{"photo_id":"1352938097","filename":"file4"},{"photo_id":"1352938081","filename":"file1"},{"photo_id":"1352938078","filename":"file0"},{"photo_id":"1352938090","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938111":["hashtag1","hashtag2"]},{"1352938097":["hashtag1","hashtag2"]},{"1352938090":["hashtag1","hashtag2"]},{"1352938084":["hashtag1","hashtag2"]},{"1352938081":["hashtag1","hashtag2"]},{"1352938078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938111, 1352938097, 1352938090, 1352938084, 1352938081, 1352938078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.779178857803345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:52:03.046215
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_45_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_35_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_25_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_14_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_51_05_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_55_9762.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_45_9645.jpg', '/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_35_9726.jpg', '/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_25_10680.jpg', '/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_14_9772.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_51_05_9726.jpg', '/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_55_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_45_9645.jpg
/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_35_9726.jpg
/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_25_10680.jpg
/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_14_9772.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_51_05_9726.jpg
/home/nano/Desktop/images/23042025/07/50/image_23042025_07_50_55_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938149","1352938140","1352938142","1352938145","1352938153","1352938156"],"photo_ids_order":["1352938140","1352938142","1352938145","1352938149","1352938153","1352938156"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20a6b9106305c0b000b35e90305bb543.jpg","text":"TemporaryFile(/tmp/multipartBody4556616537412459526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387584565,"filename":"image_23042025_07_51_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cd8e7f3ffc8c8bb7d32a71e5ec50fba.jpg","text":"TemporaryFile(/tmp/multipartBody1165166466660484148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387584565,"filename":"image_23042025_07_51_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f736e187bb9c1aeb60baea858dbcd866.jpg","text":"TemporaryFile(/tmp/multipartBody403797416703811276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387584565,"filename":"image_23042025_07_51_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc680d79139572e68d8a892e6cbae82f.jpg","text":"TemporaryFile(/tmp/multipartBody1106986054655716515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387584565,"filename":"image_23042025_07_51_25_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00f0be9696a55819da353fc6fb4364eb.jpg","text":"TemporaryFile(/tmp/multipartBody5502203513200139835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387584565,"filename":"image_23042025_07_51_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cefce0b2d976a6684e45d3721a17fcbf.jpg","text":"TemporaryFile(/tmp/multipartBody7300392768370158952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387584565,"filename":"image_23042025_07_50_55_9762.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352938145","file1":"1352938142","file0":"1352938140","file4":"1352938153","file5":"1352938156","file3":"1352938149"},"map_files_photo_id_array":[{"photo_id":"1352938156","filename":"file5"},{"photo_id":"1352938145","filename":"file2"},{"photo_id":"1352938153","filename":"file4"},{"photo_id":"1352938142","filename":"file1"},{"photo_id":"1352938140","filename":"file0"},{"photo_id":"1352938149","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938149":["hashtag1","hashtag2"]},{"1352938140":["hashtag1","hashtag2"]},{"1352938142":["hashtag1","hashtag2"]},{"1352938145":["hashtag1","hashtag2"]},{"1352938153":["hashtag1","hashtag2"]},{"1352938156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938149, 1352938140, 1352938142, 1352938145, 1352938153, 1352938156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.420794248580933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:53:03.282282
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_45_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_35_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_25_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_15_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/07/51/image_23042025_07_52_05_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_55_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_45_9643.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_35_9721.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_25_10717.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_15_9663.jpg', '/home/nano/Desktop/images/23042025/07/51/image_23042025_07_52_05_9649.jpg', '/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_55_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_45_9643.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_35_9721.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_25_10717.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_15_9663.jpg
/home/nano/Desktop/images/23042025/07/51/image_23042025_07_52_05_9649.jpg
/home/nano/Desktop/images/23042025/07/51/image_23042025_07_51_55_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938204","1352938207","1352938188","1352938200","1352938193","1352938196"],"photo_ids_order":["1352938188","1352938193","1352938196","1352938200","1352938204","1352938207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b65da870a3bc04a0fb0b2568582e9ea0.jpg","text":"TemporaryFile(/tmp/multipartBody5593730487235503203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387644410,"filename":"image_23042025_07_52_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c886d5a1c1f8559753ed186302d1b85.jpg","text":"TemporaryFile(/tmp/multipartBody3585742177921027930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387644410,"filename":"image_23042025_07_51_55_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35f3c4ee7ee60ac509d3aa34cd1254cc.jpg","text":"TemporaryFile(/tmp/multipartBody7749616373950812177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387644410,"filename":"image_23042025_07_52_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dc062d3eddb6ed3e655bf59990401a0.jpg","text":"TemporaryFile(/tmp/multipartBody504255677851159037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387644410,"filename":"image_23042025_07_52_15_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cca5b3ab43843c23f875863fc38d9567.jpg","text":"TemporaryFile(/tmp/multipartBody7636528964269041026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387644410,"filename":"image_23042025_07_52_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee2470b8c4d663f830f724f73ccfb8b8.jpg","text":"TemporaryFile(/tmp/multipartBody5754813717925340031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387644410,"filename":"image_23042025_07_52_25_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352938196","file1":"1352938193","file0":"1352938188","file4":"1352938204","file5":"1352938207","file3":"1352938200"},"map_files_photo_id_array":[{"photo_id":"1352938207","filename":"file5"},{"photo_id":"1352938196","filename":"file2"},{"photo_id":"1352938204","filename":"file4"},{"photo_id":"1352938193","filename":"file1"},{"photo_id":"1352938188","filename":"file0"},{"photo_id":"1352938200","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938204":["hashtag1","hashtag2"]},{"1352938207":["hashtag1","hashtag2"]},{"1352938188":["hashtag1","hashtag2"]},{"1352938200":["hashtag1","hashtag2"]},{"1352938193":["hashtag1","hashtag2"]},{"1352938196":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938204, 1352938207, 1352938188, 1352938200, 1352938193, 1352938196)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.734522819519043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:54:03.587549
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_45_9764.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_35_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_25_10822.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_53_05_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_55_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_45_9764.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_35_9678.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_25_10822.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_15_9642.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_53_05_9637.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_45_9764.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_35_9678.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_25_10822.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_15_9642.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_53_05_9637.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_55_10633.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.256908893585205 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:54:32.646864
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_45_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_35_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_25_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_15_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_54_05_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_54_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_45_9666.jpg', '/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_35_10657.jpg', '/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_25_9738.jpg', '/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_15_9683.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_54_05_10673.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_54_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_45_9666.jpg
/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_35_10657.jpg
/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_25_9738.jpg
/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_15_9683.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_54_05_10673.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_54_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938303","1352938298","1352938328","1352938366","1352938369","1352938354"],"photo_ids_order":["1352938298","1352938303","1352938328","1352938354","1352938366","1352938369"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f35380e4033b469029ae50de56a91471.jpg","text":"TemporaryFile(/tmp/multipartBody2278812934769438380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387734166,"filename":"image_23042025_07_54_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b80e1629693110c6f3c73faff11b966d.jpg","text":"TemporaryFile(/tmp/multipartBody8836127833031794929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387734166,"filename":"image_23042025_07_54_45_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58147c38edb3501a66116462e7249973.jpg","text":"TemporaryFile(/tmp/multipartBody174282542623365156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387734166,"filename":"image_23042025_07_54_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bb2bbcb4b6f72772ba96d9e3218dec3.jpg","text":"TemporaryFile(/tmp/multipartBody2462777583544618244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387734166,"filename":"image_23042025_07_54_05_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5dfb3cf27956ebede3d38d9de5849d2.jpg","text":"TemporaryFile(/tmp/multipartBody7578592232470171741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387734166,"filename":"image_23042025_07_53_54_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b607ce9a3cf891fbc06dbb680e9c5de.jpg","text":"TemporaryFile(/tmp/multipartBody726952013410450293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387734166,"filename":"image_23042025_07_54_15_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352938328","file1":"1352938303","file0":"1352938298","file4":"1352938366","file5":"1352938369","file3":"1352938354"},"map_files_photo_id_array":[{"photo_id":"1352938369","filename":"file5"},{"photo_id":"1352938328","filename":"file2"},{"photo_id":"1352938366","filename":"file4"},{"photo_id":"1352938303","filename":"file1"},{"photo_id":"1352938298","filename":"file0"},{"photo_id":"1352938354","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938303":["hashtag1","hashtag2"]},{"1352938298":["hashtag1","hashtag2"]},{"1352938328":["hashtag1","hashtag2"]},{"1352938366":["hashtag1","hashtag2"]},{"1352938369":["hashtag1","hashtag2"]},{"1352938354":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938303, 1352938298, 1352938328, 1352938366, 1352938369, 1352938354)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.848889112472534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:55:32.769750
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_45_10746.jpg', 2), ('/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_35_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_25_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_15_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/07/54/image_23042025_07_55_05_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_55_9793.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_45_10746.jpg', '/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_35_9738.jpg', '/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_25_9641.jpg', '/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_15_9736.jpg', '/home/nano/Desktop/images/23042025/07/54/image_23042025_07_55_05_10721.jpg', '/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_55_9793.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_45_10746.jpg
/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_35_9738.jpg
/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_25_9641.jpg
/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_15_9736.jpg
/home/nano/Desktop/images/23042025/07/54/image_23042025_07_55_05_10721.jpg
/home/nano/Desktop/images/23042025/07/54/image_23042025_07_54_55_9793.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938569","1352938458","1352938484","1352938580","1352938541","1352938511"],"photo_ids_order":["1352938458","1352938484","1352938511","1352938541","1352938569","1352938580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2538d6ddf9115616b69f49817747075d.jpg","text":"TemporaryFile(/tmp/multipartBody2566067717179511491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387794342,"filename":"image_23042025_07_55_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45fae8f877eca844725041521c46d115.jpg","text":"TemporaryFile(/tmp/multipartBody4529584385387345319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387794342,"filename":"image_23042025_07_55_45_10746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2de44fbc780f9fed5698dca4b7b787e2.jpg","text":"TemporaryFile(/tmp/multipartBody2993976803894196837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387794342,"filename":"image_23042025_07_55_35_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f97a23e127345aace250425a69961d46.jpg","text":"TemporaryFile(/tmp/multipartBody8852703449289772864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387794342,"filename":"image_23042025_07_54_55_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee9b2ab288b2e4ab1d1325d198126124.jpg","text":"TemporaryFile(/tmp/multipartBody6485338054831196243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387794342,"filename":"image_23042025_07_55_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e82b4105cd97c9e68644c84dad0a5d3.jpg","text":"TemporaryFile(/tmp/multipartBody7909818982841714035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387794342,"filename":"image_23042025_07_55_25_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352938511","file1":"1352938484","file0":"1352938458","file4":"1352938569","file5":"1352938580","file3":"1352938541"},"map_files_photo_id_array":[{"photo_id":"1352938580","filename":"file5"},{"photo_id":"1352938511","filename":"file2"},{"photo_id":"1352938569","filename":"file4"},{"photo_id":"1352938484","filename":"file1"},{"photo_id":"1352938458","filename":"file0"},{"photo_id":"1352938541","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938569":["hashtag1","hashtag2"]},{"1352938458":["hashtag1","hashtag2"]},{"1352938484":["hashtag1","hashtag2"]},{"1352938580":["hashtag1","hashtag2"]},{"1352938541":["hashtag1","hashtag2"]},{"1352938511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938569, 1352938458, 1352938484, 1352938580, 1352938541, 1352938511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.41075015068054 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:56:31.858258
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_45_9749.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_35_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_25_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_15_10736.jpg', 2), ('/home/nano/Desktop/images/23042025/07/55/image_23042025_07_56_05_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_55_9747.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_45_9749.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_35_9732.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_25_9639.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_15_10736.jpg', '/home/nano/Desktop/images/23042025/07/55/image_23042025_07_56_05_9669.jpg', '/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_55_9747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_45_9749.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_35_9732.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_25_9639.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_15_10736.jpg
/home/nano/Desktop/images/23042025/07/55/image_23042025_07_56_05_9669.jpg
/home/nano/Desktop/images/23042025/07/55/image_23042025_07_55_55_9747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352938647","1352938650","1352938638","1352938623","1352938654","1352938630"],"photo_ids_order":["1352938623","1352938630","1352938638","1352938647","1352938650","1352938654"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6489f0832061146995998e8e7734ae89.jpg","text":"TemporaryFile(/tmp/multipartBody6147266501599043654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387853748,"filename":"image_23042025_07_56_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f593e60c5e05cc2b3836ccc1c95388b.jpg","text":"TemporaryFile(/tmp/multipartBody6239963830481090462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387853748,"filename":"image_23042025_07_56_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fa62c0b788d5f9372a2674a4e20ff2d.jpg","text":"TemporaryFile(/tmp/multipartBody1956686193098681824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387853748,"filename":"image_23042025_07_56_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/457d353bfc27f302f45617bf923bac9f.jpg","text":"TemporaryFile(/tmp/multipartBody6774182825102139383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387853748,"filename":"image_23042025_07_56_45_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02dc65d249938ac83f66409904ac57a1.jpg","text":"TemporaryFile(/tmp/multipartBody1985157671590523899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387853748,"filename":"image_23042025_07_55_55_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdde3664f1fcefb616053e5c66b37c0a.jpg","text":"TemporaryFile(/tmp/multipartBody8282624520057114416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745387853748,"filename":"image_23042025_07_56_35_9732.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352938638","file1":"1352938630","file0":"1352938623","file4":"1352938650","file5":"1352938654","file3":"1352938647"},"map_files_photo_id_array":[{"photo_id":"1352938654","filename":"file5"},{"photo_id":"1352938638","filename":"file2"},{"photo_id":"1352938650","filename":"file4"},{"photo_id":"1352938630","filename":"file1"},{"photo_id":"1352938623","filename":"file0"},{"photo_id":"1352938647","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352938647":["hashtag1","hashtag2"]},{"1352938650":["hashtag1","hashtag2"]},{"1352938638":["hashtag1","hashtag2"]},{"1352938623":["hashtag1","hashtag2"]},{"1352938654":["hashtag1","hashtag2"]},{"1352938630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352938647, 1352938650, 1352938638, 1352938623, 1352938654, 1352938630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.51401376724243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:57:31.959239
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_45_10613.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_25_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_15_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_57_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_45_10613.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_35_9639.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_25_9621.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_15_10643.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_57_05_9642.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_45_10613.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_35_9639.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_25_9621.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_15_10643.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_57_05_9642.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_55_10648.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:59:03.357559
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 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 627, 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 283, 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 353, 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_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 07:59:32.266263
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_45_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_15_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_58_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_55_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_45_10637.jpg', '/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_35_9626.jpg', '/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_25_9657.jpg', '/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_15_10676.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_58_05_9653.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_55_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_45_10637.jpg
/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_35_9626.jpg
/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_25_9657.jpg
/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_15_10676.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_58_05_9653.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_55_9613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352939904","1352940084","1352939963","1352940150","1352940020","1352940221"],"photo_ids_order":["1352939904","1352939963","1352940020","1352940084","1352940150","1352940221"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2300587e1eb17028dad6af4e2eec757.jpg","text":"TemporaryFile(/tmp/multipartBody8725608185045069589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388033362,"filename":"image_23042025_07_58_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a724045ae730074a99a276a11d1c6b0.jpg","text":"TemporaryFile(/tmp/multipartBody3305570571500573328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388033362,"filename":"image_23042025_07_58_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffc90b9893ca3c4a726ed4fb7d5fed04.jpg","text":"TemporaryFile(/tmp/multipartBody4013582776805371817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388033362,"filename":"image_23042025_07_58_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cba73ee58918810260c7cc0e47603b64.jpg","text":"TemporaryFile(/tmp/multipartBody5831296852365057409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388033362,"filename":"image_23042025_07_58_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27ba8e3bb84db8acfe7c1ef950dc2280.jpg","text":"TemporaryFile(/tmp/multipartBody6560205323400173722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388033362,"filename":"image_23042025_07_58_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b6c0f308bc1723686ba94adf072a08c.jpg","text":"TemporaryFile(/tmp/multipartBody7371537599756630787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388033362,"filename":"image_23042025_07_57_55_9613.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352940020","file1":"1352939963","file0":"1352939904","file4":"1352940150","file5":"1352940221","file3":"1352940084"},"map_files_photo_id_array":[{"photo_id":"1352940221","filename":"file5"},{"photo_id":"1352940020","filename":"file2"},{"photo_id":"1352940150","filename":"file4"},{"photo_id":"1352939963","filename":"file1"},{"photo_id":"1352939904","filename":"file0"},{"photo_id":"1352940084","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352939904":["hashtag1","hashtag2"]},{"1352940084":["hashtag1","hashtag2"]},{"1352939963":["hashtag1","hashtag2"]},{"1352940150":["hashtag1","hashtag2"]},{"1352940020":["hashtag1","hashtag2"]},{"1352940221":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352939904, 1352940084, 1352939963, 1352940150, 1352940020, 1352940221)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.867223501205444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:00:32.381275
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_35_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_25_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_15_10739.jpg', 2), ('/home/nano/Desktop/images/23042025/07/59/image_23042025_08_00_05_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_55_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_45_10652.jpg', '/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_35_9635.jpg', '/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_25_9744.jpg', '/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_15_10739.jpg', '/home/nano/Desktop/images/23042025/07/59/image_23042025_08_00_05_9668.jpg', '/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_55_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_45_10652.jpg
/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_35_9635.jpg
/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_25_9744.jpg
/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_15_10739.jpg
/home/nano/Desktop/images/23042025/07/59/image_23042025_08_00_05_9668.jpg
/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_55_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352941047","1352940891","1352940747","1352940956","1352941129","1352940812"],"photo_ids_order":["1352940747","1352940812","1352940891","1352940956","1352941047","1352941129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29fb2d0d707a38cb5d7158186704860d.jpg","text":"TemporaryFile(/tmp/multipartBody4857390187646381770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388094161,"filename":"image_23042025_08_00_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07ef086cdbee7ab391651773c66e29e5.jpg","text":"TemporaryFile(/tmp/multipartBody7606791019106418114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388094161,"filename":"image_23042025_08_00_25_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19072f14a854924f8a6e373cf8ab1001.jpg","text":"TemporaryFile(/tmp/multipartBody6387534457529931696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388094161,"filename":"image_23042025_08_00_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e3018e4ad1a17d2cb059d15cb44c5c8.jpg","text":"TemporaryFile(/tmp/multipartBody7401569269873450221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388094161,"filename":"image_23042025_08_00_15_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa409400c54a690cffabea5ff45a8b98.jpg","text":"TemporaryFile(/tmp/multipartBody654353506127727785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388094161,"filename":"image_23042025_07_59_55_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dffc5169388dcd1b81038da6bee91dee.jpg","text":"TemporaryFile(/tmp/multipartBody1879008295032162687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388094161,"filename":"image_23042025_08_00_35_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352940891","file1":"1352940812","file0":"1352940747","file4":"1352941047","file5":"1352941129","file3":"1352940956"},"map_files_photo_id_array":[{"photo_id":"1352941129","filename":"file5"},{"photo_id":"1352940891","filename":"file2"},{"photo_id":"1352941047","filename":"file4"},{"photo_id":"1352940812","filename":"file1"},{"photo_id":"1352940747","filename":"file0"},{"photo_id":"1352940956","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352941047":["hashtag1","hashtag2"]},{"1352940891":["hashtag1","hashtag2"]},{"1352940747":["hashtag1","hashtag2"]},{"1352940956":["hashtag1","hashtag2"]},{"1352941129":["hashtag1","hashtag2"]},{"1352940812":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352941047, 1352940891, 1352940747, 1352940956, 1352941129, 1352940812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.42439150810242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:01:32.453799
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_45_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_25_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_15_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/08/00/image_23042025_08_01_05_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_55_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_45_10657.jpg', '/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_35_9637.jpg', '/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_25_9685.jpg', '/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_15_10687.jpg', '/home/nano/Desktop/images/23042025/08/00/image_23042025_08_01_05_9643.jpg', '/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_55_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_45_10657.jpg
/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_35_9637.jpg
/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_25_9685.jpg
/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_15_10687.jpg
/home/nano/Desktop/images/23042025/08/00/image_23042025_08_01_05_9643.jpg
/home/nano/Desktop/images/23042025/08/00/image_23042025_08_00_55_9676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352941704","1352941626","1352941760","1352941733","1352941669","1352941572"],"photo_ids_order":["1352941572","1352941626","1352941669","1352941704","1352941733","1352941760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1970222caceacc62f8da1f7922fe383e.jpg","text":"TemporaryFile(/tmp/multipartBody3982466792943470455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388153793,"filename":"image_23042025_08_01_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0395bbaf7cac8f08da4097f3b1aaf399.jpg","text":"TemporaryFile(/tmp/multipartBody8114427738738876790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388153793,"filename":"image_23042025_08_01_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c17820cc05718de9525ef42422303525.jpg","text":"TemporaryFile(/tmp/multipartBody2594152208575886154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388153793,"filename":"image_23042025_08_00_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5b6dd1c03f2b56b5a34878754e5ca79.jpg","text":"TemporaryFile(/tmp/multipartBody7130086762763038780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388153793,"filename":"image_23042025_08_01_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99e4d8b7af4e769e5cf729780a50da14.jpg","text":"TemporaryFile(/tmp/multipartBody5596953505074869712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388153793,"filename":"image_23042025_08_01_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36554c7a0ee688e29b06898d489bace2.jpg","text":"TemporaryFile(/tmp/multipartBody7548545976174490569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388153793,"filename":"image_23042025_08_01_45_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352941669","file1":"1352941626","file0":"1352941572","file4":"1352941733","file5":"1352941760","file3":"1352941704"},"map_files_photo_id_array":[{"photo_id":"1352941760","filename":"file5"},{"photo_id":"1352941669","filename":"file2"},{"photo_id":"1352941733","filename":"file4"},{"photo_id":"1352941626","filename":"file1"},{"photo_id":"1352941572","filename":"file0"},{"photo_id":"1352941704","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352941704":["hashtag1","hashtag2"]},{"1352941626":["hashtag1","hashtag2"]},{"1352941760":["hashtag1","hashtag2"]},{"1352941733":["hashtag1","hashtag2"]},{"1352941669":["hashtag1","hashtag2"]},{"1352941572":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352941704, 1352941626, 1352941760, 1352941733, 1352941669, 1352941572)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.257750272750854 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:02:32.557498
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_45_10684.jpg', 2), ('/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_35_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_25_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_15_10686.jpg', 2), ('/home/nano/Desktop/images/23042025/08/01/image_23042025_08_02_05_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_45_10684.jpg', '/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_35_9660.jpg', '/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_25_9701.jpg', '/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_15_10686.jpg', '/home/nano/Desktop/images/23042025/08/01/image_23042025_08_02_05_9674.jpg', '/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_45_10684.jpg
/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_35_9660.jpg
/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_25_9701.jpg
/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_15_10686.jpg
/home/nano/Desktop/images/23042025/08/01/image_23042025_08_02_05_9674.jpg
/home/nano/Desktop/images/23042025/08/01/image_23042025_08_01_55_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352942037","1352942016","1352942006","1352942059","1352942026","1352942046"],"photo_ids_order":["1352942006","1352942016","1352942026","1352942037","1352942046","1352942059"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3779aaac804b0b8a3a2a12905fc79307.jpg","text":"TemporaryFile(/tmp/multipartBody1826208885719603032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388213820,"filename":"image_23042025_08_02_15_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e638f9eff2a76e22d91f5e50cc50fe0.jpg","text":"TemporaryFile(/tmp/multipartBody697946241916693502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388213820,"filename":"image_23042025_08_02_35_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/197e69599314485a98b5e03ff4b87a0c.jpg","text":"TemporaryFile(/tmp/multipartBody510000784880133122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388213820,"filename":"image_23042025_08_02_45_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b02bb647294f986a91e4efba0f6b8e11.jpg","text":"TemporaryFile(/tmp/multipartBody7247726533633354934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388213820,"filename":"image_23042025_08_01_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29e919fdee6f0157ad0e3f62b7c5850c.jpg","text":"TemporaryFile(/tmp/multipartBody5034301641647168125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388213820,"filename":"image_23042025_08_02_25_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30a17faa78772a4580b64ae76eb0d969.jpg","text":"TemporaryFile(/tmp/multipartBody4618997940638174077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388213820,"filename":"image_23042025_08_02_05_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352942026","file1":"1352942016","file0":"1352942006","file4":"1352942046","file5":"1352942059","file3":"1352942037"},"map_files_photo_id_array":[{"photo_id":"1352942059","filename":"file5"},{"photo_id":"1352942026","filename":"file2"},{"photo_id":"1352942046","filename":"file4"},{"photo_id":"1352942016","filename":"file1"},{"photo_id":"1352942006","filename":"file0"},{"photo_id":"1352942037","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352942037":["hashtag1","hashtag2"]},{"1352942016":["hashtag1","hashtag2"]},{"1352942006":["hashtag1","hashtag2"]},{"1352942059":["hashtag1","hashtag2"]},{"1352942026":["hashtag1","hashtag2"]},{"1352942046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352942037, 1352942016, 1352942006, 1352942059, 1352942026, 1352942046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11711764335632 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:03:32.664109
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_45_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_35_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_15_10699.jpg', 2), ('/home/nano/Desktop/images/23042025/08/02/image_23042025_08_03_05_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_55_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_45_10664.jpg', '/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_35_9646.jpg', '/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_25_9647.jpg', '/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_15_10699.jpg', '/home/nano/Desktop/images/23042025/08/02/image_23042025_08_03_05_9636.jpg', '/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_55_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_45_10664.jpg
/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_35_9646.jpg
/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_25_9647.jpg
/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_15_10699.jpg
/home/nano/Desktop/images/23042025/08/02/image_23042025_08_03_05_9636.jpg
/home/nano/Desktop/images/23042025/08/02/image_23042025_08_02_55_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352942208","1352942109","1352942240","1352942269","1352942176","1352942295"],"photo_ids_order":["1352942109","1352942176","1352942208","1352942240","1352942269","1352942295"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cfc8f3a8275894587ae28f9ac0dd729.jpg","text":"TemporaryFile(/tmp/multipartBody2973270801813106427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388274050,"filename":"image_23042025_08_03_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79820bb3d364ef55598478b8d7cf3180.jpg","text":"TemporaryFile(/tmp/multipartBody8440525586240138567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388274050,"filename":"image_23042025_08_03_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49d0b81fe0671716dc444b81000cc212.jpg","text":"TemporaryFile(/tmp/multipartBody1356755842235821134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388274050,"filename":"image_23042025_08_03_15_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/264e68a60e6971d803eedde2bc1a86c8.jpg","text":"TemporaryFile(/tmp/multipartBody5077950151064663376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388274050,"filename":"image_23042025_08_03_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd8f50651b72b2fc54a40c171786fec7.jpg","text":"TemporaryFile(/tmp/multipartBody1560766273038412138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388274050,"filename":"image_23042025_08_03_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a86ae90a75ad05db8a57808a1166957.jpg","text":"TemporaryFile(/tmp/multipartBody3580379330675326404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388274050,"filename":"image_23042025_08_02_55_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352942208","file1":"1352942176","file0":"1352942109","file4":"1352942269","file5":"1352942295","file3":"1352942240"},"map_files_photo_id_array":[{"photo_id":"1352942295","filename":"file5"},{"photo_id":"1352942208","filename":"file2"},{"photo_id":"1352942269","filename":"file4"},{"photo_id":"1352942176","filename":"file1"},{"photo_id":"1352942109","filename":"file0"},{"photo_id":"1352942240","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352942208":["hashtag1","hashtag2"]},{"1352942109":["hashtag1","hashtag2"]},{"1352942240":["hashtag1","hashtag2"]},{"1352942269":["hashtag1","hashtag2"]},{"1352942176":["hashtag1","hashtag2"]},{"1352942295":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352942208, 1352942109, 1352942240, 1352942269, 1352942176, 1352942295)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.39001750946045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:04:31.757732
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_45_10694.jpg', 2), ('/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_35_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_25_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_15_10702.jpg', 2), ('/home/nano/Desktop/images/23042025/08/03/image_23042025_08_04_05_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_45_10694.jpg', '/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_35_9703.jpg', '/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_25_9676.jpg', '/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_15_10702.jpg', '/home/nano/Desktop/images/23042025/08/03/image_23042025_08_04_05_9701.jpg', '/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_45_10694.jpg
/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_35_9703.jpg
/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_25_9676.jpg
/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_15_10702.jpg
/home/nano/Desktop/images/23042025/08/03/image_23042025_08_04_05_9701.jpg
/home/nano/Desktop/images/23042025/08/03/image_23042025_08_03_55_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352942645","1352942624","1352942593","1352942679","1352942652","1352942640"],"photo_ids_order":["1352942593","1352942624","1352942640","1352942645","1352942652","1352942679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d2ead4b25b1acda68bc39cc7db6f80b.jpg","text":"TemporaryFile(/tmp/multipartBody8391265536274883377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388333279,"filename":"image_23042025_08_04_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29669d7ca4ddb302c99a79cb7d4bf75f.jpg","text":"TemporaryFile(/tmp/multipartBody5819844741221869194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388333279,"filename":"image_23042025_08_04_35_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93303b58199baee70e0de439e2584ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2817716496481360068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388333279,"filename":"image_23042025_08_04_45_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6040c1de281caa3e96ac20baf5ffb64d.jpg","text":"TemporaryFile(/tmp/multipartBody2911317593968032029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388333279,"filename":"image_23042025_08_03_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7109450cd14b12fe4ad7090c2987f163.jpg","text":"TemporaryFile(/tmp/multipartBody6297418048699923090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388333279,"filename":"image_23042025_08_04_05_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/173ff5918a496f46a93697048d39c758.jpg","text":"TemporaryFile(/tmp/multipartBody1189433805328956259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388333279,"filename":"image_23042025_08_04_25_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352942640","file1":"1352942624","file0":"1352942593","file4":"1352942652","file5":"1352942679","file3":"1352942645"},"map_files_photo_id_array":[{"photo_id":"1352942679","filename":"file5"},{"photo_id":"1352942640","filename":"file2"},{"photo_id":"1352942652","filename":"file4"},{"photo_id":"1352942624","filename":"file1"},{"photo_id":"1352942593","filename":"file0"},{"photo_id":"1352942645","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352942645":["hashtag1","hashtag2"]},{"1352942624":["hashtag1","hashtag2"]},{"1352942593":["hashtag1","hashtag2"]},{"1352942679":["hashtag1","hashtag2"]},{"1352942652":["hashtag1","hashtag2"]},{"1352942640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352942645, 1352942624, 1352942593, 1352942679, 1352942652, 1352942640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.676246881484985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:05:31.888153
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_45_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_35_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_25_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_15_10697.jpg', 2), ('/home/nano/Desktop/images/23042025/08/04/image_23042025_08_05_05_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_55_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_45_10659.jpg', '/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_35_9657.jpg', '/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_25_9678.jpg', '/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_15_10697.jpg', '/home/nano/Desktop/images/23042025/08/04/image_23042025_08_05_05_9664.jpg', '/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_55_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_45_10659.jpg
/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_35_9657.jpg
/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_25_9678.jpg
/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_15_10697.jpg
/home/nano/Desktop/images/23042025/08/04/image_23042025_08_05_05_9664.jpg
/home/nano/Desktop/images/23042025/08/04/image_23042025_08_04_55_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352942896","1352943046","1352942983","1352942856","1352943111","1352943077"],"photo_ids_order":["1352942856","1352942896","1352942983","1352943046","1352943077","1352943111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d4c7728a6b76e4ad649cf1265e05a54.jpg","text":"TemporaryFile(/tmp/multipartBody6395929616106262595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388393457,"filename":"image_23042025_08_05_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90260c6cd7f88af90229a994f016ea5b.jpg","text":"TemporaryFile(/tmp/multipartBody198280799070498165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388393457,"filename":"image_23042025_08_05_15_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd017e50d6ed6a9cf0a9ddc1466e4f00.jpg","text":"TemporaryFile(/tmp/multipartBody2148894791329970417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388393457,"filename":"image_23042025_08_05_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f37145a0efe6c1f233be644517dd1d21.jpg","text":"TemporaryFile(/tmp/multipartBody6147874651661227483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388393457,"filename":"image_23042025_08_05_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85af6abacbe85382c5e7d19db749505f.jpg","text":"TemporaryFile(/tmp/multipartBody779140115058660696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388393457,"filename":"image_23042025_08_04_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8d32ed200b7b772a226f3bc25c1af1a.jpg","text":"TemporaryFile(/tmp/multipartBody4689109703228907924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388393457,"filename":"image_23042025_08_05_05_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352942983","file1":"1352942896","file0":"1352942856","file4":"1352943077","file5":"1352943111","file3":"1352943046"},"map_files_photo_id_array":[{"photo_id":"1352943111","filename":"file5"},{"photo_id":"1352942983","filename":"file2"},{"photo_id":"1352943077","filename":"file4"},{"photo_id":"1352942896","filename":"file1"},{"photo_id":"1352942856","filename":"file0"},{"photo_id":"1352943046","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352942896":["hashtag1","hashtag2"]},{"1352943046":["hashtag1","hashtag2"]},{"1352942983":["hashtag1","hashtag2"]},{"1352942856":["hashtag1","hashtag2"]},{"1352943111":["hashtag1","hashtag2"]},{"1352943077":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352942896, 1352943046, 1352942983, 1352942856, 1352943111, 1352943077)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.49725651741028 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:06:31.993582
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_35_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_25_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/08/05/image_23042025_08_06_05_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_55_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_45_10652.jpg', '/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_35_9667.jpg', '/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_25_9662.jpg', '/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_15_10671.jpg', '/home/nano/Desktop/images/23042025/08/05/image_23042025_08_06_05_9673.jpg', '/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_55_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_45_10652.jpg
/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_35_9667.jpg
/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_25_9662.jpg
/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_15_10671.jpg
/home/nano/Desktop/images/23042025/08/05/image_23042025_08_06_05_9673.jpg
/home/nano/Desktop/images/23042025/08/05/image_23042025_08_05_55_9665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352943199","1352943292","1352943181","1352943229","1352943260","1352943299"],"photo_ids_order":["1352943181","1352943199","1352943229","1352943260","1352943292","1352943299"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4b1dea0fc1f148bac163ba1ab4696b5.jpg","text":"TemporaryFile(/tmp/multipartBody6532657452392530079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388453716,"filename":"image_23042025_08_06_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44db09af338c64e10f7de559c550164f.jpg","text":"TemporaryFile(/tmp/multipartBody3809530837008874893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388453716,"filename":"image_23042025_08_06_05_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f14f27c37760dc33af2170163cc0cb5.jpg","text":"TemporaryFile(/tmp/multipartBody8216392213658914982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388453716,"filename":"image_23042025_08_06_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d84ec8fa3363cbe92790cd5de2832bea.jpg","text":"TemporaryFile(/tmp/multipartBody4715994552302875954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388453716,"filename":"image_23042025_08_06_25_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15dd45cd9c84fa695d1b827187f6daf3.jpg","text":"TemporaryFile(/tmp/multipartBody1645964227302545112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388453716,"filename":"image_23042025_08_06_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1be25cd3c905b50b476fcef17b6ded66.jpg","text":"TemporaryFile(/tmp/multipartBody5399734712429297115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388453716,"filename":"image_23042025_08_05_55_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352943229","file1":"1352943199","file0":"1352943181","file4":"1352943292","file5":"1352943299","file3":"1352943260"},"map_files_photo_id_array":[{"photo_id":"1352943299","filename":"file5"},{"photo_id":"1352943229","filename":"file2"},{"photo_id":"1352943292","filename":"file4"},{"photo_id":"1352943199","filename":"file1"},{"photo_id":"1352943181","filename":"file0"},{"photo_id":"1352943260","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352943199":["hashtag1","hashtag2"]},{"1352943292":["hashtag1","hashtag2"]},{"1352943181":["hashtag1","hashtag2"]},{"1352943229":["hashtag1","hashtag2"]},{"1352943260":["hashtag1","hashtag2"]},{"1352943299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352943199, 1352943292, 1352943181, 1352943229, 1352943260, 1352943299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.955354928970337 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:07:32.122699
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_45_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_35_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_25_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_15_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/06/image_23042025_08_07_05_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_45_10675.jpg', '/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_35_9650.jpg', '/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_25_9646.jpg', '/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_15_10654.jpg', '/home/nano/Desktop/images/23042025/08/06/image_23042025_08_07_05_9672.jpg', '/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_45_10675.jpg
/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_35_9650.jpg
/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_25_9646.jpg
/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_15_10654.jpg
/home/nano/Desktop/images/23042025/08/06/image_23042025_08_07_05_9672.jpg
/home/nano/Desktop/images/23042025/08/06/image_23042025_08_06_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352943439","1352943610","1352943585","1352943510","1352943468","1352943435"],"photo_ids_order":["1352943435","1352943439","1352943468","1352943510","1352943585","1352943610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1e1c841d69a27b02a72acd45472a6d1.jpg","text":"TemporaryFile(/tmp/multipartBody1049599564967383812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388513698,"filename":"image_23042025_08_07_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce98eef2b4b331f696d0133705686b06.jpg","text":"TemporaryFile(/tmp/multipartBody7005479121563975102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388513698,"filename":"image_23042025_08_06_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5cd60103c5727332cea75c58d866d34.jpg","text":"TemporaryFile(/tmp/multipartBody6735235091362410842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388513698,"filename":"image_23042025_08_07_05_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b576a04bb8c76335a238a215948ac38.jpg","text":"TemporaryFile(/tmp/multipartBody3098818592334894173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388513698,"filename":"image_23042025_08_07_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8704e8c23bdb1c08a2a5a638446adfdf.jpg","text":"TemporaryFile(/tmp/multipartBody1172582253169027465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388513698,"filename":"image_23042025_08_07_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17ce5807ba4ab15c2932285ab6949148.jpg","text":"TemporaryFile(/tmp/multipartBody5310908280029181726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388513698,"filename":"image_23042025_08_07_45_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352943468","file1":"1352943439","file0":"1352943435","file4":"1352943585","file5":"1352943610","file3":"1352943510"},"map_files_photo_id_array":[{"photo_id":"1352943610","filename":"file5"},{"photo_id":"1352943468","filename":"file2"},{"photo_id":"1352943585","filename":"file4"},{"photo_id":"1352943439","filename":"file1"},{"photo_id":"1352943435","filename":"file0"},{"photo_id":"1352943510","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352943439":["hashtag1","hashtag2"]},{"1352943610":["hashtag1","hashtag2"]},{"1352943585":["hashtag1","hashtag2"]},{"1352943510":["hashtag1","hashtag2"]},{"1352943468":["hashtag1","hashtag2"]},{"1352943435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352943439, 1352943610, 1352943585, 1352943510, 1352943468, 1352943435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.63765788078308 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:08:32.221880
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_45_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_15_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/08/07/image_23042025_08_08_05_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_45_10664.jpg', '/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_35_9642.jpg', '/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_25_9636.jpg', '/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_15_10661.jpg', '/home/nano/Desktop/images/23042025/08/07/image_23042025_08_08_05_9661.jpg', '/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_45_10664.jpg
/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_35_9642.jpg
/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_25_9636.jpg
/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_15_10661.jpg
/home/nano/Desktop/images/23042025/08/07/image_23042025_08_08_05_9661.jpg
/home/nano/Desktop/images/23042025/08/07/image_23042025_08_07_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352943661","1352943658","1352943667","1352943648","1352943671","1352943653"],"photo_ids_order":["1352943648","1352943653","1352943658","1352943661","1352943667","1352943671"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b836ddc947aee7890f89c30e81d5f95e.jpg","text":"TemporaryFile(/tmp/multipartBody5818667023856735265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388573499,"filename":"image_23042025_08_08_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b43b1086385f02dfa292678ec3a2c91.jpg","text":"TemporaryFile(/tmp/multipartBody4389906176641912670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388573499,"filename":"image_23042025_08_08_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec64a89e06ebf9929c05f479089103ed.jpg","text":"TemporaryFile(/tmp/multipartBody4252165077353003168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388573499,"filename":"image_23042025_08_08_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6503dba52cbdec96ab7b81ffb1322adf.jpg","text":"TemporaryFile(/tmp/multipartBody8481922656385302673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388573499,"filename":"image_23042025_08_08_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/501452e931a60fe81dc5e5d6b399e5fa.jpg","text":"TemporaryFile(/tmp/multipartBody5137050724037587369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388573499,"filename":"image_23042025_08_07_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8b682e922625454acc627f3cfc20f16.jpg","text":"TemporaryFile(/tmp/multipartBody2379998959036774522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388573499,"filename":"image_23042025_08_08_35_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352943658","file1":"1352943653","file0":"1352943648","file4":"1352943667","file5":"1352943671","file3":"1352943661"},"map_files_photo_id_array":[{"photo_id":"1352943671","filename":"file5"},{"photo_id":"1352943658","filename":"file2"},{"photo_id":"1352943667","filename":"file4"},{"photo_id":"1352943653","filename":"file1"},{"photo_id":"1352943648","filename":"file0"},{"photo_id":"1352943661","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352943661":["hashtag1","hashtag2"]},{"1352943658":["hashtag1","hashtag2"]},{"1352943667":["hashtag1","hashtag2"]},{"1352943648":["hashtag1","hashtag2"]},{"1352943671":["hashtag1","hashtag2"]},{"1352943653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352943661, 1352943658, 1352943667, 1352943648, 1352943671, 1352943653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.956140279769897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:09:32.335535
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_35_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_15_10694.jpg', 2), ('/home/nano/Desktop/images/23042025/08/08/image_23042025_08_09_05_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_45_10652.jpg', '/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_35_9650.jpg', '/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_25_9657.jpg', '/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_15_10694.jpg', '/home/nano/Desktop/images/23042025/08/08/image_23042025_08_09_05_9658.jpg', '/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_45_10652.jpg
/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_35_9650.jpg
/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_25_9657.jpg
/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_15_10694.jpg
/home/nano/Desktop/images/23042025/08/08/image_23042025_08_09_05_9658.jpg
/home/nano/Desktop/images/23042025/08/08/image_23042025_08_08_55_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352943848","1352943722","1352943731","1352943769","1352943808","1352943882"],"photo_ids_order":["1352943722","1352943731","1352943769","1352943808","1352943848","1352943882"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f389dffd68cff97097f8ae8b307b2f3.jpg","text":"TemporaryFile(/tmp/multipartBody4144257246159609793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388634005,"filename":"image_23042025_08_09_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0105cb6969ac49e2bcf4cbce7ab51ac4.jpg","text":"TemporaryFile(/tmp/multipartBody1479181741324498739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388634005,"filename":"image_23042025_08_09_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fe417f5e27bb56193739721035e751e.jpg","text":"TemporaryFile(/tmp/multipartBody7040228578145451386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388634005,"filename":"image_23042025_08_09_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6bfa144de581a85767f34a9f21e33c3.jpg","text":"TemporaryFile(/tmp/multipartBody7973165375781309461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388634005,"filename":"image_23042025_08_09_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c136ffb1fafc507d056899d194a561c5.jpg","text":"TemporaryFile(/tmp/multipartBody2208506128121354036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388634005,"filename":"image_23042025_08_09_15_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc195b3df7e03c44df0441b177c568b7.jpg","text":"TemporaryFile(/tmp/multipartBody7145870568310470522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388634005,"filename":"image_23042025_08_08_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352943769","file1":"1352943731","file0":"1352943722","file4":"1352943848","file5":"1352943882","file3":"1352943808"},"map_files_photo_id_array":[{"photo_id":"1352943882","filename":"file5"},{"photo_id":"1352943769","filename":"file2"},{"photo_id":"1352943848","filename":"file4"},{"photo_id":"1352943731","filename":"file1"},{"photo_id":"1352943722","filename":"file0"},{"photo_id":"1352943808","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352943848":["hashtag1","hashtag2"]},{"1352943722":["hashtag1","hashtag2"]},{"1352943731":["hashtag1","hashtag2"]},{"1352943769":["hashtag1","hashtag2"]},{"1352943808":["hashtag1","hashtag2"]},{"1352943882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352943848, 1352943722, 1352943731, 1352943769, 1352943808, 1352943882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.248600006103516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:10:32.423188
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_45_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_35_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_25_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_15_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/08/09/image_23042025_08_10_05_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_45_9672.jpg', '/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_35_10654.jpg', '/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_25_9656.jpg', '/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_15_10680.jpg', '/home/nano/Desktop/images/23042025/08/09/image_23042025_08_10_05_9622.jpg', '/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_45_9672.jpg
/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_35_10654.jpg
/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_25_9656.jpg
/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_15_10680.jpg
/home/nano/Desktop/images/23042025/08/09/image_23042025_08_10_05_9622.jpg
/home/nano/Desktop/images/23042025/08/09/image_23042025_08_09_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352943947","1352943932","1352943911","1352943925","1352943942","1352943950"],"photo_ids_order":["1352943911","1352943925","1352943932","1352943942","1352943947","1352943950"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13ef87bc9432b6af49495b8f85ef809f.jpg","text":"TemporaryFile(/tmp/multipartBody8753257582843034515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388693851,"filename":"image_23042025_08_10_05_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5b2bb44ded8d73b6769f533acfb1040.jpg","text":"TemporaryFile(/tmp/multipartBody2207290183144348735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388693851,"filename":"image_23042025_08_10_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de5ccb9dc569a6b672a4d6e38fbd02e4.jpg","text":"TemporaryFile(/tmp/multipartBody4490309571274144073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388693851,"filename":"image_23042025_08_10_45_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d84f151909a340fc35cf388683244741.jpg","text":"TemporaryFile(/tmp/multipartBody7251865282549901862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388693851,"filename":"image_23042025_08_10_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddaea4f6f92095bf31b9605f538e4342.jpg","text":"TemporaryFile(/tmp/multipartBody8427114334805306347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388693851,"filename":"image_23042025_08_10_15_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fdae149ec18a4a0e9dd929b2f2adb194.jpg","text":"TemporaryFile(/tmp/multipartBody5267703865241667255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388693851,"filename":"image_23042025_08_09_55_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352943932","file1":"1352943925","file0":"1352943911","file4":"1352943947","file5":"1352943950","file3":"1352943942"},"map_files_photo_id_array":[{"photo_id":"1352943950","filename":"file5"},{"photo_id":"1352943932","filename":"file2"},{"photo_id":"1352943947","filename":"file4"},{"photo_id":"1352943925","filename":"file1"},{"photo_id":"1352943911","filename":"file0"},{"photo_id":"1352943942","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352943947":["hashtag1","hashtag2"]},{"1352943932":["hashtag1","hashtag2"]},{"1352943911":["hashtag1","hashtag2"]},{"1352943925":["hashtag1","hashtag2"]},{"1352943942":["hashtag1","hashtag2"]},{"1352943950":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352943947, 1352943932, 1352943911, 1352943925, 1352943942, 1352943950)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54245924949646 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:11:32.506827
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_45_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_35_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_25_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_15_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/08/10/image_23042025_08_11_06_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_55_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_45_10675.jpg', '/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_35_9677.jpg', '/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_25_9650.jpg', '/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_15_9739.jpg', '/home/nano/Desktop/images/23042025/08/10/image_23042025_08_11_06_10664.jpg', '/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_45_10675.jpg
/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_35_9677.jpg
/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_25_9650.jpg
/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_15_9739.jpg
/home/nano/Desktop/images/23042025/08/10/image_23042025_08_11_06_10664.jpg
/home/nano/Desktop/images/23042025/08/10/image_23042025_08_10_55_9653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352944004","1352944036","1352944024","1352944015","1352943981","1352944029"],"photo_ids_order":["1352943981","1352944004","1352944015","1352944024","1352944029","1352944036"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3db97779645074886729ebd72ba21d8c.jpg","text":"TemporaryFile(/tmp/multipartBody4227537801490247475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388754040,"filename":"image_23042025_08_11_35_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ea885c545737916d9ded1523249dd86.jpg","text":"TemporaryFile(/tmp/multipartBody4292341317483039230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388754040,"filename":"image_23042025_08_10_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4284675224c8e133c415214183f9ef5f.jpg","text":"TemporaryFile(/tmp/multipartBody3979533044613550862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388754040,"filename":"image_23042025_08_11_15_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e207b4d272732d28ccd3978ac9f8f74f.jpg","text":"TemporaryFile(/tmp/multipartBody8054365773504366934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388754040,"filename":"image_23042025_08_11_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a9d31419666fbe399fec3bfa25937b9.jpg","text":"TemporaryFile(/tmp/multipartBody2203952809594729016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388754040,"filename":"image_23042025_08_11_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2dfdffe8cdff68c2db5e7ed18c04b7ec.jpg","text":"TemporaryFile(/tmp/multipartBody6342847581446391943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388754040,"filename":"image_23042025_08_11_06_10664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352944015","file1":"1352944004","file0":"1352943981","file4":"1352944029","file5":"1352944036","file3":"1352944024"},"map_files_photo_id_array":[{"photo_id":"1352944036","filename":"file5"},{"photo_id":"1352944015","filename":"file2"},{"photo_id":"1352944029","filename":"file4"},{"photo_id":"1352944004","filename":"file1"},{"photo_id":"1352943981","filename":"file0"},{"photo_id":"1352944024","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352944004":["hashtag1","hashtag2"]},{"1352944036":["hashtag1","hashtag2"]},{"1352944024":["hashtag1","hashtag2"]},{"1352944015":["hashtag1","hashtag2"]},{"1352943981":["hashtag1","hashtag2"]},{"1352944029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352944004, 1352944036, 1352944024, 1352944015, 1352943981, 1352944029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80428624153137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:12:32.580757
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_45_10631.jpg', 2), ('/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_35_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_25_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_15_10691.jpg', 2), ('/home/nano/Desktop/images/23042025/08/11/image_23042025_08_12_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_55_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_45_10631.jpg', '/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_35_9674.jpg', '/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_25_9677.jpg', '/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_15_10691.jpg', '/home/nano/Desktop/images/23042025/08/11/image_23042025_08_12_05_9638.jpg', '/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_55_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_45_10631.jpg
/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_35_9674.jpg
/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_25_9677.jpg
/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_15_10691.jpg
/home/nano/Desktop/images/23042025/08/11/image_23042025_08_12_05_9638.jpg
/home/nano/Desktop/images/23042025/08/11/image_23042025_08_11_55_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352944177","1352944408","1352944293","1352944326","1352944193","1352944376"],"photo_ids_order":["1352944177","1352944193","1352944293","1352944326","1352944376","1352944408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dfa7d7016d70a0471d95b6dca253f369.jpg","text":"TemporaryFile(/tmp/multipartBody2183114809020286902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388814955,"filename":"image_23042025_08_12_45_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2e400cfb07ab47b375c8d632082dc93.jpg","text":"TemporaryFile(/tmp/multipartBody4731246866425134570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388814955,"filename":"image_23042025_08_11_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d9dd507e5e1d57d27e1282ef8a28708.jpg","text":"TemporaryFile(/tmp/multipartBody5059236344842227327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388814955,"filename":"image_23042025_08_12_25_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84681c71e25747b9afade1344693524f.jpg","text":"TemporaryFile(/tmp/multipartBody8270592280645863311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388814955,"filename":"image_23042025_08_12_15_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fefd6143dc9dcbc82e25d78e533008d3.jpg","text":"TemporaryFile(/tmp/multipartBody4233598229398868023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388814955,"filename":"image_23042025_08_12_35_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a7aaedfb2f3136559f6a75fd4aec6b1.jpg","text":"TemporaryFile(/tmp/multipartBody1781842328425988293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388814955,"filename":"image_23042025_08_12_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352944293","file1":"1352944193","file0":"1352944177","file4":"1352944376","file5":"1352944408","file3":"1352944326"},"map_files_photo_id_array":[{"photo_id":"1352944408","filename":"file5"},{"photo_id":"1352944293","filename":"file2"},{"photo_id":"1352944376","filename":"file4"},{"photo_id":"1352944193","filename":"file1"},{"photo_id":"1352944177","filename":"file0"},{"photo_id":"1352944326","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352944177":["hashtag1","hashtag2"]},{"1352944408":["hashtag1","hashtag2"]},{"1352944293":["hashtag1","hashtag2"]},{"1352944326":["hashtag1","hashtag2"]},{"1352944193":["hashtag1","hashtag2"]},{"1352944376":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352944177, 1352944408, 1352944293, 1352944326, 1352944193, 1352944376)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57266092300415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:13:32.685493
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_45_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_35_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_25_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_15_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/08/12/image_23042025_08_13_04_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_55_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_45_10633.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_35_9659.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_25_9664.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_15_10712.jpg', '/home/nano/Desktop/images/23042025/08/12/image_23042025_08_13_04_9651.jpg', '/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_45_10633.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_35_9659.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_25_9664.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_15_10712.jpg
/home/nano/Desktop/images/23042025/08/12/image_23042025_08_13_04_9651.jpg
/home/nano/Desktop/images/23042025/08/12/image_23042025_08_12_55_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352944735","1352944677","1352944716","1352944704","1352944730","1352944724"],"photo_ids_order":["1352944677","1352944704","1352944716","1352944724","1352944730","1352944735"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab3f0fd08cfbf13562042945f765d54d.jpg","text":"TemporaryFile(/tmp/multipartBody9024428797770159164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388875865,"filename":"image_23042025_08_12_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff7b36f1ec56176d75256237f72ada17.jpg","text":"TemporaryFile(/tmp/multipartBody3354262303875340917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388875865,"filename":"image_23042025_08_13_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/013caca3c679b08110bd1be64fdb0660.jpg","text":"TemporaryFile(/tmp/multipartBody4531404652842962309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388875865,"filename":"image_23042025_08_13_25_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f45a0dd47844710987d0d02f5309cb2.jpg","text":"TemporaryFile(/tmp/multipartBody6141060318556105573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388875865,"filename":"image_23042025_08_13_35_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59e6d6543d4c6b09f09f9a17ae90b840.jpg","text":"TemporaryFile(/tmp/multipartBody3763613968366989610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388875865,"filename":"image_23042025_08_13_04_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0777299e4891f7c2eabcf1af4e4cbbe6.jpg","text":"TemporaryFile(/tmp/multipartBody5187088466080490756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388875865,"filename":"image_23042025_08_13_15_10712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352944716","file1":"1352944704","file0":"1352944677","file4":"1352944730","file5":"1352944735","file3":"1352944724"},"map_files_photo_id_array":[{"photo_id":"1352944735","filename":"file5"},{"photo_id":"1352944716","filename":"file2"},{"photo_id":"1352944730","filename":"file4"},{"photo_id":"1352944704","filename":"file1"},{"photo_id":"1352944677","filename":"file0"},{"photo_id":"1352944724","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352944735":["hashtag1","hashtag2"]},{"1352944677":["hashtag1","hashtag2"]},{"1352944716":["hashtag1","hashtag2"]},{"1352944704":["hashtag1","hashtag2"]},{"1352944730":["hashtag1","hashtag2"]},{"1352944724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352944735, 1352944677, 1352944716, 1352944704, 1352944730, 1352944724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94175839424133 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:14:31.802034
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_35_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_25_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_15_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_14_05_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_55_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_45_9639.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_35_10645.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_25_9676.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_15_9644.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_14_05_10667.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_45_9639.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_35_10645.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_25_9676.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_15_9644.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_14_05_10667.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_55_9650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.3868987560272217 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:15:02.641910
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_35_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_25_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_15_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_14_05_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_55_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_45_9639.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_35_10645.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_25_9676.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_15_9644.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_14_05_10667.jpg', '/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_45_9639.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_35_10645.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_25_9676.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_15_9644.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_14_05_10667.jpg
/home/nano/Desktop/images/23042025/08/13/image_23042025_08_13_55_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352945140","1352945134","1352945119","1352945130","1352945093","1352945126"],"photo_ids_order":["1352945093","1352945119","1352945126","1352945130","1352945134","1352945140"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccd804b83c25c61ea5f8d94ac9460b90.jpg","text":"TemporaryFile(/tmp/multipartBody8664466651324766554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388965436,"filename":"image_23042025_08_13_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff6c534f3534c3d257ca0f3f4cfbe22c.jpg","text":"TemporaryFile(/tmp/multipartBody2878984556740432027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388965436,"filename":"image_23042025_08_14_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6d509d0cfce07692207c3f2724d2d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1511669279416334196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388965436,"filename":"image_23042025_08_14_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6067ea2ceb5a9e3f917e61cde53a79f.jpg","text":"TemporaryFile(/tmp/multipartBody2225704513721682231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388965436,"filename":"image_23042025_08_14_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0732b06c9620cb81353b057cc64a68dd.jpg","text":"TemporaryFile(/tmp/multipartBody6721058060250868871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388965436,"filename":"image_23042025_08_14_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c35ba6b502807f976c74219e80b249c.jpg","text":"TemporaryFile(/tmp/multipartBody5723711555504449738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745388965436,"filename":"image_23042025_08_14_25_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352945126","file1":"1352945119","file0":"1352945093","file4":"1352945134","file5":"1352945140","file3":"1352945130"},"map_files_photo_id_array":[{"photo_id":"1352945140","filename":"file5"},{"photo_id":"1352945126","filename":"file2"},{"photo_id":"1352945134","filename":"file4"},{"photo_id":"1352945119","filename":"file1"},{"photo_id":"1352945093","filename":"file0"},{"photo_id":"1352945130","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352945140":["hashtag1","hashtag2"]},{"1352945134":["hashtag1","hashtag2"]},{"1352945119":["hashtag1","hashtag2"]},{"1352945130":["hashtag1","hashtag2"]},{"1352945093":["hashtag1","hashtag2"]},{"1352945126":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352945140, 1352945134, 1352945119, 1352945130, 1352945093, 1352945126)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.16157150268555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:16:02.506884
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_45_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_35_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_25_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_15_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_15_05_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_45_9649.jpg', '/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_35_10661.jpg', '/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_25_9638.jpg', '/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_15_9650.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_15_05_10643.jpg', '/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_45_9649.jpg
/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_35_10661.jpg
/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_25_9638.jpg
/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_15_9650.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_15_05_10643.jpg
/home/nano/Desktop/images/23042025/08/14/image_23042025_08_14_55_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352945323","1352945347","1352945301","1352945360","1352945342","1352945324"],"photo_ids_order":["1352945301","1352945323","1352945324","1352945342","1352945347","1352945360"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa869a766b4249a87c949e4d217f83b1.jpg","text":"TemporaryFile(/tmp/multipartBody2031542993292058868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389024544,"filename":"image_23042025_08_15_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/974d390331be1964100cab81b0c13151.jpg","text":"TemporaryFile(/tmp/multipartBody8510904446020637407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389024544,"filename":"image_23042025_08_15_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a3a7c265d6c39bb268708aa81091f8f.jpg","text":"TemporaryFile(/tmp/multipartBody5833013156008588281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389024544,"filename":"image_23042025_08_15_45_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7e651c58ce257c64e271d5239f2c690.jpg","text":"TemporaryFile(/tmp/multipartBody1458983914330317644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389024544,"filename":"image_23042025_08_14_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3d0b06facc43f464944117f10148f60.jpg","text":"TemporaryFile(/tmp/multipartBody1278742781021105806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389024544,"filename":"image_23042025_08_15_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0d0770fa14917d7d1a2e8f86077d43d.jpg","text":"TemporaryFile(/tmp/multipartBody1980383832387964302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389024544,"filename":"image_23042025_08_15_25_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352945324","file1":"1352945323","file0":"1352945301","file4":"1352945347","file5":"1352945360","file3":"1352945342"},"map_files_photo_id_array":[{"photo_id":"1352945360","filename":"file5"},{"photo_id":"1352945324","filename":"file2"},{"photo_id":"1352945347","filename":"file4"},{"photo_id":"1352945323","filename":"file1"},{"photo_id":"1352945301","filename":"file0"},{"photo_id":"1352945342","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352945323":["hashtag1","hashtag2"]},{"1352945347":["hashtag1","hashtag2"]},{"1352945301":["hashtag1","hashtag2"]},{"1352945360":["hashtag1","hashtag2"]},{"1352945342":["hashtag1","hashtag2"]},{"1352945324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352945323, 1352945347, 1352945301, 1352945360, 1352945342, 1352945324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.74246025085449 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:17:02.852915
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_45_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_35_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_25_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_15_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/08/15/image_23042025_08_16_05_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_45_9640.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_35_10655.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_25_9631.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_15_9649.jpg', '/home/nano/Desktop/images/23042025/08/15/image_23042025_08_16_05_10670.jpg', '/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_45_9640.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_35_10655.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_25_9631.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_15_9649.jpg
/home/nano/Desktop/images/23042025/08/15/image_23042025_08_16_05_10670.jpg
/home/nano/Desktop/images/23042025/08/15/image_23042025_08_15_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352945437","1352945460","1352945448","1352945465","1352945455","1352945440"],"photo_ids_order":["1352945437","1352945440","1352945448","1352945455","1352945460","1352945465"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65665b26e7a7275bd55936d3c8b08969.jpg","text":"TemporaryFile(/tmp/multipartBody6297058286558856210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389085512,"filename":"image_23042025_08_16_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8c77b334a92dbe84895941e96d8a749.jpg","text":"TemporaryFile(/tmp/multipartBody7574266677814506698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389085512,"filename":"image_23042025_08_16_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c2e1e0969de8d8384ff069c2026d966.jpg","text":"TemporaryFile(/tmp/multipartBody4609517421831556372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389085512,"filename":"image_23042025_08_16_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/567cadd43c5d1cc7b8686735fd5f7052.jpg","text":"TemporaryFile(/tmp/multipartBody838869584837537421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389085512,"filename":"image_23042025_08_15_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/614fdd1a9438113062cb748ee5595c2c.jpg","text":"TemporaryFile(/tmp/multipartBody505115754495223806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389085512,"filename":"image_23042025_08_16_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/875ee50f3f7dab4ad2928963d7c2e2f1.jpg","text":"TemporaryFile(/tmp/multipartBody3587817165619257150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389085512,"filename":"image_23042025_08_16_35_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352945448","file1":"1352945440","file0":"1352945437","file4":"1352945460","file5":"1352945465","file3":"1352945455"},"map_files_photo_id_array":[{"photo_id":"1352945465","filename":"file5"},{"photo_id":"1352945448","filename":"file2"},{"photo_id":"1352945460","filename":"file4"},{"photo_id":"1352945440","filename":"file1"},{"photo_id":"1352945437","filename":"file0"},{"photo_id":"1352945455","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352945437":["hashtag1","hashtag2"]},{"1352945460":["hashtag1","hashtag2"]},{"1352945448":["hashtag1","hashtag2"]},{"1352945465":["hashtag1","hashtag2"]},{"1352945455":["hashtag1","hashtag2"]},{"1352945440":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352945437, 1352945460, 1352945448, 1352945465, 1352945455, 1352945440)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.84919714927673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:18:02.774776
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_35_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_25_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_15_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_17_05_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_55_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_45_9648.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_35_9644.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_25_10647.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_15_9645.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_17_05_9666.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_55_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_45_9648.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_35_9644.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_25_10647.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_15_9645.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_17_05_9666.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_55_10640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4884636402130127 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:18:32.242507
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_45_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_35_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_25_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_15_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_18_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_55_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_45_9628.jpg', '/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_35_9651.jpg', '/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_25_10656.jpg', '/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_15_9665.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_18_05_9638.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_45_9628.jpg
/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_35_9651.jpg
/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_25_10656.jpg
/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_15_9665.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_18_05_9638.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_55_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352945716","1352945725","1352945704","1352945721","1352945709","1352945729"],"photo_ids_order":["1352945704","1352945709","1352945716","1352945721","1352945725","1352945729"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2183b23273fb479cc50d870de9d1ffd7.jpg","text":"TemporaryFile(/tmp/multipartBody7668560934347333473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389174973,"filename":"image_23042025_08_18_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5cf608c6bc070a876a5a31adc8b2d47.jpg","text":"TemporaryFile(/tmp/multipartBody4407610586136084016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389174973,"filename":"image_23042025_08_18_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23cc73e15634d68a05a8a800d3522dc3.jpg","text":"TemporaryFile(/tmp/multipartBody2809650573717488033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389174973,"filename":"image_23042025_08_18_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df9e70f861f118d0dc9e32b32b3ab089.jpg","text":"TemporaryFile(/tmp/multipartBody563694838408761549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389174973,"filename":"image_23042025_08_18_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d868a4a2c2ef44f577eb7cf39b39b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7336752556308454882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389174973,"filename":"image_23042025_08_18_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e8c1fbb7938d861149919dbd31dc949.jpg","text":"TemporaryFile(/tmp/multipartBody7071770158198772945asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389174973,"filename":"image_23042025_08_17_55_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352945716","file1":"1352945709","file0":"1352945704","file4":"1352945725","file5":"1352945729","file3":"1352945721"},"map_files_photo_id_array":[{"photo_id":"1352945729","filename":"file5"},{"photo_id":"1352945716","filename":"file2"},{"photo_id":"1352945725","filename":"file4"},{"photo_id":"1352945709","filename":"file1"},{"photo_id":"1352945704","filename":"file0"},{"photo_id":"1352945721","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352945716":["hashtag1","hashtag2"]},{"1352945725":["hashtag1","hashtag2"]},{"1352945704":["hashtag1","hashtag2"]},{"1352945721":["hashtag1","hashtag2"]},{"1352945709":["hashtag1","hashtag2"]},{"1352945729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352945716, 1352945725, 1352945704, 1352945721, 1352945709, 1352945729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.369145154953 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:19:32.378223
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_45_9793.jpg', 2), ('/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_35_9825.jpg', 2), ('/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_25_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_15_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/08/18/image_23042025_08_19_05_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_45_9793.jpg', '/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_35_9825.jpg', '/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_25_10740.jpg', '/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_15_9641.jpg', '/home/nano/Desktop/images/23042025/08/18/image_23042025_08_19_05_9648.jpg', '/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_45_9793.jpg
/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_35_9825.jpg
/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_25_10740.jpg
/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_15_9641.jpg
/home/nano/Desktop/images/23042025/08/18/image_23042025_08_19_05_9648.jpg
/home/nano/Desktop/images/23042025/08/18/image_23042025_08_18_55_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352945920","1352945821","1352945895","1352945937","1352945855","1352945878"],"photo_ids_order":["1352945821","1352945855","1352945878","1352945895","1352945920","1352945937"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7826e7c6be928a3490b66e1eb7b256f7.jpg","text":"TemporaryFile(/tmp/multipartBody5863429269914448356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389236528,"filename":"image_23042025_08_19_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f2da93b1394777df4d254c7a21b669c.jpg","text":"TemporaryFile(/tmp/multipartBody1806285706807988887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389236528,"filename":"image_23042025_08_19_45_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dc9d8f8d5f7f3633390ab88defc4fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5177946049222262399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389236528,"filename":"image_23042025_08_19_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c16d5064e63c1ef524d359b52c5e114.jpg","text":"TemporaryFile(/tmp/multipartBody4171063506624286726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389236528,"filename":"image_23042025_08_18_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1aae1813cc9c10b17e544ba99d127528.jpg","text":"TemporaryFile(/tmp/multipartBody2157339547000660377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389236528,"filename":"image_23042025_08_19_35_9825.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ba3744383c410c28dc922782f1c5e93.jpg","text":"TemporaryFile(/tmp/multipartBody15689576283996248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389236528,"filename":"image_23042025_08_19_25_10740.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352945878","file1":"1352945855","file0":"1352945821","file4":"1352945920","file5":"1352945937","file3":"1352945895"},"map_files_photo_id_array":[{"photo_id":"1352945937","filename":"file5"},{"photo_id":"1352945878","filename":"file2"},{"photo_id":"1352945920","filename":"file4"},{"photo_id":"1352945855","filename":"file1"},{"photo_id":"1352945821","filename":"file0"},{"photo_id":"1352945895","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352945920":["hashtag1","hashtag2"]},{"1352945821":["hashtag1","hashtag2"]},{"1352945895":["hashtag1","hashtag2"]},{"1352945937":["hashtag1","hashtag2"]},{"1352945855":["hashtag1","hashtag2"]},{"1352945878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352945920, 1352945821, 1352945895, 1352945937, 1352945855, 1352945878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.86775183677673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:20:32.486253
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_45_9889.jpg', 2), ('/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_35_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_25_9794.jpg', 2), ('/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_15_10791.jpg', 2), ('/home/nano/Desktop/images/23042025/08/19/image_23042025_08_20_05_9760.jpg', 2), ('/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_55_9837.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_45_9889.jpg', '/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_35_9772.jpg', '/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_25_9794.jpg', '/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_15_10791.jpg', '/home/nano/Desktop/images/23042025/08/19/image_23042025_08_20_05_9760.jpg', '/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_55_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_45_9889.jpg
/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_35_9772.jpg
/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_25_9794.jpg
/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_15_10791.jpg
/home/nano/Desktop/images/23042025/08/19/image_23042025_08_20_05_9760.jpg
/home/nano/Desktop/images/23042025/08/19/image_23042025_08_19_55_9837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352946162","1352946117","1352946088","1352946055","1352946019","1352946007"],"photo_ids_order":["1352946007","1352946019","1352946055","1352946088","1352946117","1352946162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e9bd730e2375f3c146b1b75b963e751.jpg","text":"TemporaryFile(/tmp/multipartBody7523894431086512019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389297453,"filename":"image_23042025_08_19_55_9837.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90fafc2103e8b9e9ddc2de7fac3ce3b1.jpg","text":"TemporaryFile(/tmp/multipartBody1336548282074153118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389297453,"filename":"image_23042025_08_20_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0599a76d89662472162e7492d2abd133.jpg","text":"TemporaryFile(/tmp/multipartBody4617316722284217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389297453,"filename":"image_23042025_08_20_15_10791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14955f8e097fb59db82f431bcf55277c.jpg","text":"TemporaryFile(/tmp/multipartBody117969516531329742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389297453,"filename":"image_23042025_08_20_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a64bb6ed252bd61eea79f24adfb75f03.jpg","text":"TemporaryFile(/tmp/multipartBody8822473352120325604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389297453,"filename":"image_23042025_08_20_35_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a166ad32b4ea3e2c6bfb7eaf71180e0.jpg","text":"TemporaryFile(/tmp/multipartBody7348367620725066758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389297453,"filename":"image_23042025_08_20_45_9889.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352946055","file1":"1352946019","file0":"1352946007","file4":"1352946117","file5":"1352946162","file3":"1352946088"},"map_files_photo_id_array":[{"photo_id":"1352946162","filename":"file5"},{"photo_id":"1352946055","filename":"file2"},{"photo_id":"1352946117","filename":"file4"},{"photo_id":"1352946019","filename":"file1"},{"photo_id":"1352946007","filename":"file0"},{"photo_id":"1352946088","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352946162":["hashtag1","hashtag2"]},{"1352946117":["hashtag1","hashtag2"]},{"1352946088":["hashtag1","hashtag2"]},{"1352946055":["hashtag1","hashtag2"]},{"1352946019":["hashtag1","hashtag2"]},{"1352946007":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352946162, 1352946117, 1352946088, 1352946055, 1352946019, 1352946007)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.751837730407715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:21:32.564879
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_45_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_35_9824.jpg', 2), ('/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_25_9855.jpg', 2), ('/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_15_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/08/20/image_23042025_08_21_05_10767.jpg', 2), ('/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_55_9749.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_45_10728.jpg', '/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_35_9824.jpg', '/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_25_9855.jpg', '/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_15_9704.jpg', '/home/nano/Desktop/images/23042025/08/20/image_23042025_08_21_05_10767.jpg', '/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_55_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_45_10728.jpg
/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_35_9824.jpg
/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_25_9855.jpg
/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_15_9704.jpg
/home/nano/Desktop/images/23042025/08/20/image_23042025_08_21_05_10767.jpg
/home/nano/Desktop/images/23042025/08/20/image_23042025_08_20_55_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352946408","1352946402","1352946359","1352946397","1352946391","1352946379"],"photo_ids_order":["1352946359","1352946379","1352946391","1352946397","1352946402","1352946408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6829efd49e79c22d5018994929f7f4a3.jpg","text":"TemporaryFile(/tmp/multipartBody4309709481616441669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389356734,"filename":"image_23042025_08_20_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d125ca91d0c736e895f430982381f04.jpg","text":"TemporaryFile(/tmp/multipartBody6449960802612659251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389356734,"filename":"image_23042025_08_21_05_10767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65a52995a035e77485d0c21b97755c88.jpg","text":"TemporaryFile(/tmp/multipartBody1790779353035321224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389356734,"filename":"image_23042025_08_21_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f31a6b5971f01ca9858faf1c5e527add.jpg","text":"TemporaryFile(/tmp/multipartBody6198645182583605005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389356734,"filename":"image_23042025_08_21_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d0d720c7f5ea593fb5822aa839f0fbc.jpg","text":"TemporaryFile(/tmp/multipartBody7528792585531318330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389356734,"filename":"image_23042025_08_21_25_9855.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95321dcb796819ac278252ecaf57b82a.jpg","text":"TemporaryFile(/tmp/multipartBody6617170138043260292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389356734,"filename":"image_23042025_08_21_35_9824.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352946391","file1":"1352946379","file0":"1352946359","file4":"1352946402","file5":"1352946408","file3":"1352946397"},"map_files_photo_id_array":[{"photo_id":"1352946408","filename":"file5"},{"photo_id":"1352946391","filename":"file2"},{"photo_id":"1352946402","filename":"file4"},{"photo_id":"1352946379","filename":"file1"},{"photo_id":"1352946359","filename":"file0"},{"photo_id":"1352946397","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352946408":["hashtag1","hashtag2"]},{"1352946402":["hashtag1","hashtag2"]},{"1352946359":["hashtag1","hashtag2"]},{"1352946397":["hashtag1","hashtag2"]},{"1352946391":["hashtag1","hashtag2"]},{"1352946379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352946408, 1352946402, 1352946359, 1352946397, 1352946391, 1352946379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.4793918132782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:22:32.665929
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_45_9763.jpg', 2), ('/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_35_9846.jpg', 2), ('/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_25_10846.jpg', 2), ('/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_15_9856.jpg', 2), ('/home/nano/Desktop/images/23042025/08/21/image_23042025_08_22_05_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_55_9700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_45_9763.jpg', '/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_35_9846.jpg', '/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_25_10846.jpg', '/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_15_9856.jpg', '/home/nano/Desktop/images/23042025/08/21/image_23042025_08_22_05_9672.jpg', '/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_55_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_45_9763.jpg
/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_35_9846.jpg
/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_25_10846.jpg
/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_15_9856.jpg
/home/nano/Desktop/images/23042025/08/21/image_23042025_08_22_05_9672.jpg
/home/nano/Desktop/images/23042025/08/21/image_23042025_08_21_55_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352946612","1352946615","1352946662","1352946701","1352946626","1352946631"],"photo_ids_order":["1352946612","1352946615","1352946626","1352946631","1352946662","1352946701"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5cffcd48c566d5891962de33cec4f9f4.jpg","text":"TemporaryFile(/tmp/multipartBody6948779456137239843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389417318,"filename":"image_23042025_08_22_45_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1ad8bc8e7c8241c7bc211749d47efca.jpg","text":"TemporaryFile(/tmp/multipartBody2357413038114590310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389417318,"filename":"image_23042025_08_22_35_9846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd9a3c28da4a85a8a7eccbb1468f80af.jpg","text":"TemporaryFile(/tmp/multipartBody5494164090455188036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389417318,"filename":"image_23042025_08_22_05_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/426331d3399992e161c3e6827f8bd16a.jpg","text":"TemporaryFile(/tmp/multipartBody7412827451462955172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389417318,"filename":"image_23042025_08_21_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f19069b0f17fd8297dee33e44ad6b09.jpg","text":"TemporaryFile(/tmp/multipartBody4872473557484606748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389417318,"filename":"image_23042025_08_22_25_10846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/565d2f879b881d4d7e5d076ec30d04b7.jpg","text":"TemporaryFile(/tmp/multipartBody8075681432594906099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389417318,"filename":"image_23042025_08_22_15_9856.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352946626","file1":"1352946615","file0":"1352946612","file4":"1352946662","file5":"1352946701","file3":"1352946631"},"map_files_photo_id_array":[{"photo_id":"1352946701","filename":"file5"},{"photo_id":"1352946626","filename":"file2"},{"photo_id":"1352946662","filename":"file4"},{"photo_id":"1352946615","filename":"file1"},{"photo_id":"1352946612","filename":"file0"},{"photo_id":"1352946631","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352946612":["hashtag1","hashtag2"]},{"1352946615":["hashtag1","hashtag2"]},{"1352946662":["hashtag1","hashtag2"]},{"1352946701":["hashtag1","hashtag2"]},{"1352946626":["hashtag1","hashtag2"]},{"1352946631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352946612, 1352946615, 1352946662, 1352946701, 1352946626, 1352946631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62278938293457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:23:31.851969
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_45_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_35_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_25_9760.jpg', 2), ('/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_15_10814.jpg', 2), ('/home/nano/Desktop/images/23042025/08/22/image_23042025_08_23_05_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_55_9703.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_45_9722.jpg', '/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_35_9777.jpg', '/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_25_9760.jpg', '/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_15_10814.jpg', '/home/nano/Desktop/images/23042025/08/22/image_23042025_08_23_05_9702.jpg', '/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_55_9703.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_45_9722.jpg
/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_35_9777.jpg
/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_25_9760.jpg
/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_15_10814.jpg
/home/nano/Desktop/images/23042025/08/22/image_23042025_08_23_05_9702.jpg
/home/nano/Desktop/images/23042025/08/22/image_23042025_08_22_55_9703.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352946768","1352946773","1352946761","1352946749","1352946778","1352946783"],"photo_ids_order":["1352946749","1352946761","1352946768","1352946773","1352946778","1352946783"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ff5d886b0fd97436868ce1491d2e616.jpg","text":"TemporaryFile(/tmp/multipartBody6468380386794436643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389475615,"filename":"image_23042025_08_23_25_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a824d6de61de61a48de95f5dbd251dc7.jpg","text":"TemporaryFile(/tmp/multipartBody6501825358223790540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389475615,"filename":"image_23042025_08_23_15_10814.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6505c851c3e548d184831245b431f2db.jpg","text":"TemporaryFile(/tmp/multipartBody3692500210608431448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389475615,"filename":"image_23042025_08_23_35_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/086a4a75a50317ec49387c25dac2c839.jpg","text":"TemporaryFile(/tmp/multipartBody2490768325395536829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389475615,"filename":"image_23042025_08_23_45_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be23184212255b9e2c541a97296050b0.jpg","text":"TemporaryFile(/tmp/multipartBody8490671995279114503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389475615,"filename":"image_23042025_08_23_05_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffd84d8dce7d566fa74bdd4b97fca151.jpg","text":"TemporaryFile(/tmp/multipartBody1802559105883893354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389475615,"filename":"image_23042025_08_22_55_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352946768","file1":"1352946761","file0":"1352946749","file4":"1352946778","file5":"1352946783","file3":"1352946773"},"map_files_photo_id_array":[{"photo_id":"1352946783","filename":"file5"},{"photo_id":"1352946768","filename":"file2"},{"photo_id":"1352946778","filename":"file4"},{"photo_id":"1352946761","filename":"file1"},{"photo_id":"1352946749","filename":"file0"},{"photo_id":"1352946773","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352946768":["hashtag1","hashtag2"]},{"1352946773":["hashtag1","hashtag2"]},{"1352946761":["hashtag1","hashtag2"]},{"1352946749":["hashtag1","hashtag2"]},{"1352946778":["hashtag1","hashtag2"]},{"1352946783":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352946768, 1352946773, 1352946761, 1352946749, 1352946778, 1352946783)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.508322954177856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:24:31.941140
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_45_9813.jpg', 2), ('/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_35_10785.jpg', 2), ('/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_25_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_15_9790.jpg', 2), ('/home/nano/Desktop/images/23042025/08/23/image_23042025_08_24_05_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_55_10888.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_45_9813.jpg', '/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_35_10785.jpg', '/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_25_9628.jpg', '/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_15_9790.jpg', '/home/nano/Desktop/images/23042025/08/23/image_23042025_08_24_05_9656.jpg', '/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_55_10888.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_45_9813.jpg
/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_35_10785.jpg
/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_25_9628.jpg
/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_15_9790.jpg
/home/nano/Desktop/images/23042025/08/23/image_23042025_08_24_05_9656.jpg
/home/nano/Desktop/images/23042025/08/23/image_23042025_08_23_55_10888.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352946849","1352946828","1352946837","1352946822","1352946854","1352946844"],"photo_ids_order":["1352946822","1352946828","1352946837","1352946844","1352946849","1352946854"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1be0b5287b9d7cac653284ca2239d84.jpg","text":"TemporaryFile(/tmp/multipartBody2443664646726196760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389534807,"filename":"image_23042025_08_24_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1740fe78ae43c1071e26cb3c3299e775.jpg","text":"TemporaryFile(/tmp/multipartBody7397696420186729591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389534807,"filename":"image_23042025_08_24_35_10785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b86fc6f32eff48ca63bce813a262364.jpg","text":"TemporaryFile(/tmp/multipartBody2684100539491418047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389534807,"filename":"image_23042025_08_24_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c1208e9a1227025de7d45b6adf503dd.jpg","text":"TemporaryFile(/tmp/multipartBody6536521924554965639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389534807,"filename":"image_23042025_08_24_45_9813.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5095a2d040c370f3b16821f6b2cef69.jpg","text":"TemporaryFile(/tmp/multipartBody1249507384004349749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389534807,"filename":"image_23042025_08_23_55_10888.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5beacf3fe943a5effca461f370d6d364.jpg","text":"TemporaryFile(/tmp/multipartBody8958605008493763821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389534807,"filename":"image_23042025_08_24_15_9790.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352946837","file1":"1352946828","file0":"1352946822","file4":"1352946849","file5":"1352946854","file3":"1352946844"},"map_files_photo_id_array":[{"photo_id":"1352946854","filename":"file5"},{"photo_id":"1352946837","filename":"file2"},{"photo_id":"1352946849","filename":"file4"},{"photo_id":"1352946828","filename":"file1"},{"photo_id":"1352946822","filename":"file0"},{"photo_id":"1352946844","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352946849":["hashtag1","hashtag2"]},{"1352946828":["hashtag1","hashtag2"]},{"1352946837":["hashtag1","hashtag2"]},{"1352946822":["hashtag1","hashtag2"]},{"1352946854":["hashtag1","hashtag2"]},{"1352946844":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352946849, 1352946828, 1352946837, 1352946822, 1352946854, 1352946844)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08000135421753 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:25:32.120178
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_45_9843.jpg', 2), ('/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_35_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_25_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_15_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/08/24/image_23042025_08_25_05_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_55_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_45_9843.jpg', '/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_35_9815.jpg', '/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_25_9724.jpg', '/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_15_9689.jpg', '/home/nano/Desktop/images/23042025/08/24/image_23042025_08_25_05_10716.jpg', '/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_55_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_45_9843.jpg
/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_35_9815.jpg
/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_25_9724.jpg
/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_15_9689.jpg
/home/nano/Desktop/images/23042025/08/24/image_23042025_08_25_05_10716.jpg
/home/nano/Desktop/images/23042025/08/24/image_23042025_08_24_55_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947074","1352947053","1352946888","1352947061","1352947040","1352946892"],"photo_ids_order":["1352946888","1352946892","1352947040","1352947053","1352947061","1352947074"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1efe237ca314f17b23008c5e26ffd13e.jpg","text":"TemporaryFile(/tmp/multipartBody6614003885416063896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389596579,"filename":"image_23042025_08_24_55_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c518eaa8142aa71556b491d313e1a081.jpg","text":"TemporaryFile(/tmp/multipartBody2007392063093633255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389596579,"filename":"image_23042025_08_25_15_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4028128b0ff7589d4afab311ac7f3a4.jpg","text":"TemporaryFile(/tmp/multipartBody2176609228459059836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389596579,"filename":"image_23042025_08_25_45_9843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29413188edafc05226723bfb5e386e89.jpg","text":"TemporaryFile(/tmp/multipartBody7770457869439721321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389596579,"filename":"image_23042025_08_25_05_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5c962bfd149cb9bfc3ce9b6de9ca2b8.jpg","text":"TemporaryFile(/tmp/multipartBody836894986136103325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389596579,"filename":"image_23042025_08_25_25_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/094bd4db83858d9846a6dcbf19224cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6147645359467298818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389596579,"filename":"image_23042025_08_25_35_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947040","file1":"1352946892","file0":"1352946888","file4":"1352947061","file5":"1352947074","file3":"1352947053"},"map_files_photo_id_array":[{"photo_id":"1352947074","filename":"file5"},{"photo_id":"1352947040","filename":"file2"},{"photo_id":"1352947061","filename":"file4"},{"photo_id":"1352946892","filename":"file1"},{"photo_id":"1352946888","filename":"file0"},{"photo_id":"1352947053","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947074":["hashtag1","hashtag2"]},{"1352947053":["hashtag1","hashtag2"]},{"1352946888":["hashtag1","hashtag2"]},{"1352947061":["hashtag1","hashtag2"]},{"1352947040":["hashtag1","hashtag2"]},{"1352946892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947074, 1352947053, 1352946888, 1352947061, 1352947040, 1352946892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.80743718147278 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:26:32.217405
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_45_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_35_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_25_10726.jpg', 2), ('/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/25/image_23042025_08_26_05_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_55_10840.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_45_9690.jpg', '/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_35_9721.jpg', '/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_25_10726.jpg', '/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_15_9636.jpg', '/home/nano/Desktop/images/23042025/08/25/image_23042025_08_26_05_9698.jpg', '/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_55_10840.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_45_9690.jpg
/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_35_9721.jpg
/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_25_10726.jpg
/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_15_9636.jpg
/home/nano/Desktop/images/23042025/08/25/image_23042025_08_26_05_9698.jpg
/home/nano/Desktop/images/23042025/08/25/image_23042025_08_25_55_10840.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947136","1352947130","1352947150","1352947141","1352947210","1352947158"],"photo_ids_order":["1352947130","1352947136","1352947141","1352947150","1352947158","1352947210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eaee7aa8598938af8a674eff0ef4d72e.jpg","text":"TemporaryFile(/tmp/multipartBody3281120652355427042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389655781,"filename":"image_23042025_08_26_35_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b09a21e4f7761003fad9d5893bf320f.jpg","text":"TemporaryFile(/tmp/multipartBody3672638240842087366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389655781,"filename":"image_23042025_08_26_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b55bb921af72d4a84c9371e1888f754.jpg","text":"TemporaryFile(/tmp/multipartBody2962687162725380080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389655781,"filename":"image_23042025_08_26_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b155850a3b8de5814c3afa2ce0a86df.jpg","text":"TemporaryFile(/tmp/multipartBody3952692585414904124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389655781,"filename":"image_23042025_08_26_25_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2ac43178df26439b270c630ba561f7f.jpg","text":"TemporaryFile(/tmp/multipartBody209248894073536412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389655781,"filename":"image_23042025_08_25_55_10840.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/550131f91a5ac22d7518bdc1b85bec76.jpg","text":"TemporaryFile(/tmp/multipartBody8937967784773046767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389655781,"filename":"image_23042025_08_26_05_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947141","file1":"1352947136","file0":"1352947130","file4":"1352947158","file5":"1352947210","file3":"1352947150"},"map_files_photo_id_array":[{"photo_id":"1352947210","filename":"file5"},{"photo_id":"1352947141","filename":"file2"},{"photo_id":"1352947158","filename":"file4"},{"photo_id":"1352947136","filename":"file1"},{"photo_id":"1352947130","filename":"file0"},{"photo_id":"1352947150","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947136":["hashtag1","hashtag2"]},{"1352947130":["hashtag1","hashtag2"]},{"1352947150":["hashtag1","hashtag2"]},{"1352947141":["hashtag1","hashtag2"]},{"1352947210":["hashtag1","hashtag2"]},{"1352947158":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947136, 1352947130, 1352947150, 1352947141, 1352947210, 1352947158)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.18380522727966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:27:32.332718
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_45_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_35_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_25_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_15_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/26/image_23042025_08_27_05_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_55_9731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_45_9619.jpg', '/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_35_10633.jpg', '/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_25_9620.jpg', '/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_15_9638.jpg', '/home/nano/Desktop/images/23042025/08/26/image_23042025_08_27_05_10669.jpg', '/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_55_9731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_45_9619.jpg
/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_35_10633.jpg
/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_25_9620.jpg
/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_15_9638.jpg
/home/nano/Desktop/images/23042025/08/26/image_23042025_08_27_05_10669.jpg
/home/nano/Desktop/images/23042025/08/26/image_23042025_08_26_55_9731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947373","1352947355","1352947349","1352947381","1352947384","1352947362"],"photo_ids_order":["1352947349","1352947355","1352947362","1352947373","1352947381","1352947384"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1bd881f4ae7c68831e30027132b63b7.jpg","text":"TemporaryFile(/tmp/multipartBody917831977180293222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389714173,"filename":"image_23042025_08_27_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5605ca6291fcadebc37331cbbf2ea5d3.jpg","text":"TemporaryFile(/tmp/multipartBody3219331527885174279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389714173,"filename":"image_23042025_08_27_35_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75957d2b76730e781e383834c5823e9a.jpg","text":"TemporaryFile(/tmp/multipartBody6505304634983732903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389714173,"filename":"image_23042025_08_27_45_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fea876e3a6dbe70be024664e26fcf3d.jpg","text":"TemporaryFile(/tmp/multipartBody4742000589065888260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389714173,"filename":"image_23042025_08_27_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e573554ac8dda78a23fa1fb9c1758cda.jpg","text":"TemporaryFile(/tmp/multipartBody8121230764170201675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389714173,"filename":"image_23042025_08_26_55_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ab734b883e1dab51d46c1325cd499c2.jpg","text":"TemporaryFile(/tmp/multipartBody7342771889875393568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389714173,"filename":"image_23042025_08_27_25_9620.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947362","file1":"1352947355","file0":"1352947349","file4":"1352947381","file5":"1352947384","file3":"1352947373"},"map_files_photo_id_array":[{"photo_id":"1352947384","filename":"file5"},{"photo_id":"1352947362","filename":"file2"},{"photo_id":"1352947381","filename":"file4"},{"photo_id":"1352947355","filename":"file1"},{"photo_id":"1352947349","filename":"file0"},{"photo_id":"1352947373","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947373":["hashtag1","hashtag2"]},{"1352947355":["hashtag1","hashtag2"]},{"1352947349":["hashtag1","hashtag2"]},{"1352947381":["hashtag1","hashtag2"]},{"1352947384":["hashtag1","hashtag2"]},{"1352947362":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947373, 1352947355, 1352947349, 1352947381, 1352947384, 1352947362)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.976778745651245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:28:32.494691
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_45_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_35_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_25_10626.jpg', 2), ('/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/08/27/image_23042025_08_28_05_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_45_9627.jpg', '/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_35_9622.jpg', '/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_25_10626.jpg', '/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_15_9642.jpg', '/home/nano/Desktop/images/23042025/08/27/image_23042025_08_28_05_9637.jpg', '/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_45_9627.jpg
/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_35_9622.jpg
/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_25_10626.jpg
/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_15_9642.jpg
/home/nano/Desktop/images/23042025/08/27/image_23042025_08_28_05_9637.jpg
/home/nano/Desktop/images/23042025/08/27/image_23042025_08_27_55_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947437","1352947427","1352947421","1352947415","1352947441","1352947432"],"photo_ids_order":["1352947415","1352947421","1352947427","1352947432","1352947437","1352947441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb1fbf30001940a32fca8120c1907dc9.jpg","text":"TemporaryFile(/tmp/multipartBody5035979606559026792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389774550,"filename":"image_23042025_08_28_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb27ac1d84f611b171000421572ea031.jpg","text":"TemporaryFile(/tmp/multipartBody4408109227320893981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389774550,"filename":"image_23042025_08_28_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2e3a2ebeba3b9be88601a9cadc59a61.jpg","text":"TemporaryFile(/tmp/multipartBody678902594715099641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389774550,"filename":"image_23042025_08_28_35_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7605eb53712395ab11339d1354b8d73f.jpg","text":"TemporaryFile(/tmp/multipartBody5750122984736118488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389774550,"filename":"image_23042025_08_28_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f81389d152801958596c5d70c480cbc.jpg","text":"TemporaryFile(/tmp/multipartBody6889726327357648647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389774550,"filename":"image_23042025_08_27_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b68bafdba8d4b8b4fa9068edd7eca9f7.jpg","text":"TemporaryFile(/tmp/multipartBody2429229858105301989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389774550,"filename":"image_23042025_08_28_15_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947427","file1":"1352947421","file0":"1352947415","file4":"1352947437","file5":"1352947441","file3":"1352947432"},"map_files_photo_id_array":[{"photo_id":"1352947441","filename":"file5"},{"photo_id":"1352947427","filename":"file2"},{"photo_id":"1352947437","filename":"file4"},{"photo_id":"1352947421","filename":"file1"},{"photo_id":"1352947415","filename":"file0"},{"photo_id":"1352947432","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947437":["hashtag1","hashtag2"]},{"1352947427":["hashtag1","hashtag2"]},{"1352947421":["hashtag1","hashtag2"]},{"1352947415":["hashtag1","hashtag2"]},{"1352947441":["hashtag1","hashtag2"]},{"1352947432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947437, 1352947427, 1352947421, 1352947415, 1352947441, 1352947432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.48188281059265 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:29:32.702786
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_45_10627.jpg', 2), ('/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_35_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_25_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_15_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/28/image_23042025_08_29_05_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_55_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_45_10627.jpg', '/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_35_9619.jpg', '/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_25_9622.jpg', '/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_15_10639.jpg', '/home/nano/Desktop/images/23042025/08/28/image_23042025_08_29_05_9625.jpg', '/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_55_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_45_10627.jpg
/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_35_9619.jpg
/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_25_9622.jpg
/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_15_10639.jpg
/home/nano/Desktop/images/23042025/08/28/image_23042025_08_29_05_9625.jpg
/home/nano/Desktop/images/23042025/08/28/image_23042025_08_28_55_10630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947629","1352947586","1352947520","1352947573","1352947549","1352947645"],"photo_ids_order":["1352947520","1352947549","1352947573","1352947586","1352947629","1352947645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/716fadc565f294da509d51be81fd0de1.jpg","text":"TemporaryFile(/tmp/multipartBody4494734437566607124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389834962,"filename":"image_23042025_08_29_05_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa2284efb5beb6278cf3f8458a73573c.jpg","text":"TemporaryFile(/tmp/multipartBody2878377083343351254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389834962,"filename":"image_23042025_08_29_15_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc1653a2cd91c553b34a7233c713d410.jpg","text":"TemporaryFile(/tmp/multipartBody3912388146185920117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389834962,"filename":"image_23042025_08_29_45_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c958640d3487023ac0ea7b817d1ecc6b.jpg","text":"TemporaryFile(/tmp/multipartBody939130431552184325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389834962,"filename":"image_23042025_08_29_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c878386654a8a8c2d1e78ee0b2f1c601.jpg","text":"TemporaryFile(/tmp/multipartBody4200913987180157195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389834962,"filename":"image_23042025_08_29_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e38af205aa40ac709b98055c683d2d7.jpg","text":"TemporaryFile(/tmp/multipartBody629599068324954407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389834962,"filename":"image_23042025_08_28_55_10630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947573","file1":"1352947549","file0":"1352947520","file4":"1352947629","file5":"1352947645","file3":"1352947586"},"map_files_photo_id_array":[{"photo_id":"1352947645","filename":"file5"},{"photo_id":"1352947573","filename":"file2"},{"photo_id":"1352947629","filename":"file4"},{"photo_id":"1352947549","filename":"file1"},{"photo_id":"1352947520","filename":"file0"},{"photo_id":"1352947586","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947629":["hashtag1","hashtag2"]},{"1352947586":["hashtag1","hashtag2"]},{"1352947520":["hashtag1","hashtag2"]},{"1352947573":["hashtag1","hashtag2"]},{"1352947549":["hashtag1","hashtag2"]},{"1352947645":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947629, 1352947586, 1352947520, 1352947573, 1352947549, 1352947645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37244892120361 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:30:31.784588
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_45_9616.jpg', 2), ('/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_35_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_25_9611.jpg', 2), ('/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_15_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/08/29/image_23042025_08_30_05_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_55_9615.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_45_9616.jpg', '/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_35_10628.jpg', '/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_25_9611.jpg', '/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_15_10647.jpg', '/home/nano/Desktop/images/23042025/08/29/image_23042025_08_30_05_9629.jpg', '/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_55_9615.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_45_9616.jpg
/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_35_10628.jpg
/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_25_9611.jpg
/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_15_10647.jpg
/home/nano/Desktop/images/23042025/08/29/image_23042025_08_30_05_9629.jpg
/home/nano/Desktop/images/23042025/08/29/image_23042025_08_29_55_9615.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947815","1352947787","1352947856","1352947834","1352947843","1352947839"],"photo_ids_order":["1352947787","1352947815","1352947834","1352947839","1352947843","1352947856"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6bd2cbdef242453ad124ca1ab4b18f5.jpg","text":"TemporaryFile(/tmp/multipartBody330258548512658516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389895066,"filename":"image_23042025_08_30_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be5ced9c8adbb91099b7c4d8c7ae5dfe.jpg","text":"TemporaryFile(/tmp/multipartBody3171276890508578029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389895066,"filename":"image_23042025_08_30_45_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5dfef910cd7edd79ee3f7bda98514210.jpg","text":"TemporaryFile(/tmp/multipartBody7948378714138796810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389895066,"filename":"image_23042025_08_29_55_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdc68b64a64bb3ee4779811523625fa5.jpg","text":"TemporaryFile(/tmp/multipartBody812640996989492678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389895066,"filename":"image_23042025_08_30_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51fc9c09a0446b52ef171fe93d14a7aa.jpg","text":"TemporaryFile(/tmp/multipartBody7403641449193985871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389895066,"filename":"image_23042025_08_30_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5958e1e26409536c458d6f6f367ba64.jpg","text":"TemporaryFile(/tmp/multipartBody8586164750232878813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389895066,"filename":"image_23042025_08_30_15_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947834","file1":"1352947815","file0":"1352947787","file4":"1352947843","file5":"1352947856","file3":"1352947839"},"map_files_photo_id_array":[{"photo_id":"1352947856","filename":"file5"},{"photo_id":"1352947834","filename":"file2"},{"photo_id":"1352947843","filename":"file4"},{"photo_id":"1352947815","filename":"file1"},{"photo_id":"1352947787","filename":"file0"},{"photo_id":"1352947839","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947815":["hashtag1","hashtag2"]},{"1352947787":["hashtag1","hashtag2"]},{"1352947856":["hashtag1","hashtag2"]},{"1352947834":["hashtag1","hashtag2"]},{"1352947843":["hashtag1","hashtag2"]},{"1352947839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947815, 1352947787, 1352947856, 1352947834, 1352947843, 1352947839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.23918056488037 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:31:31.885522
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_45_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_35_10624.jpg', 2), ('/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_15_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/08/30/image_23042025_08_31_05_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_55_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_45_9624.jpg', '/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_35_10624.jpg', '/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_25_9630.jpg', '/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_15_9621.jpg', '/home/nano/Desktop/images/23042025/08/30/image_23042025_08_31_05_10642.jpg', '/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_55_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_45_9624.jpg
/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_35_10624.jpg
/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_25_9630.jpg
/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_15_9621.jpg
/home/nano/Desktop/images/23042025/08/30/image_23042025_08_31_05_10642.jpg
/home/nano/Desktop/images/23042025/08/30/image_23042025_08_30_55_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947947","1352947914","1352947934","1352947951","1352947941","1352947923"],"photo_ids_order":["1352947914","1352947923","1352947934","1352947941","1352947947","1352947951"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5b2f4f6b7cd311ebfdf6e7905cad88c.jpg","text":"TemporaryFile(/tmp/multipartBody294462535597646605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389954254,"filename":"image_23042025_08_31_05_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9aac4b4f27b48db50c9ea6cb5592fb1d.jpg","text":"TemporaryFile(/tmp/multipartBody6325775158781620246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389954254,"filename":"image_23042025_08_31_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cfe860dd137f2e8b71d4e6bcbaebf82.jpg","text":"TemporaryFile(/tmp/multipartBody925189578973257427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389954254,"filename":"image_23042025_08_31_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1207d1a8a1c9848649808c091c1427c2.jpg","text":"TemporaryFile(/tmp/multipartBody2655817337230935045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389954254,"filename":"image_23042025_08_30_55_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9741e5f8e7882ad55b8c3b734b0d637a.jpg","text":"TemporaryFile(/tmp/multipartBody1920454988373976926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389954254,"filename":"image_23042025_08_31_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bcaefaabc75dfadea94c4ed3793c8fd.jpg","text":"TemporaryFile(/tmp/multipartBody3142196695090423164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745389954254,"filename":"image_23042025_08_31_35_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947934","file1":"1352947923","file0":"1352947914","file4":"1352947947","file5":"1352947951","file3":"1352947941"},"map_files_photo_id_array":[{"photo_id":"1352947951","filename":"file5"},{"photo_id":"1352947934","filename":"file2"},{"photo_id":"1352947947","filename":"file4"},{"photo_id":"1352947923","filename":"file1"},{"photo_id":"1352947914","filename":"file0"},{"photo_id":"1352947941","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947947":["hashtag1","hashtag2"]},{"1352947914":["hashtag1","hashtag2"]},{"1352947934":["hashtag1","hashtag2"]},{"1352947951":["hashtag1","hashtag2"]},{"1352947941":["hashtag1","hashtag2"]},{"1352947923":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947947, 1352947914, 1352947934, 1352947951, 1352947941, 1352947923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.443198680877686 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:32:31.998456
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_45_9615.jpg', 2), ('/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_35_9616.jpg', 2), ('/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_25_10626.jpg', 2), ('/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_15_9616.jpg', 2), ('/home/nano/Desktop/images/23042025/08/31/image_23042025_08_32_05_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_55_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_45_9615.jpg', '/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_35_9616.jpg', '/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_25_10626.jpg', '/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_15_9616.jpg', '/home/nano/Desktop/images/23042025/08/31/image_23042025_08_32_05_9630.jpg', '/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_55_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_45_9615.jpg
/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_35_9616.jpg
/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_25_10626.jpg
/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_15_9616.jpg
/home/nano/Desktop/images/23042025/08/31/image_23042025_08_32_05_9630.jpg
/home/nano/Desktop/images/23042025/08/31/image_23042025_08_31_55_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352947997","1352947985","1352947990","1352948002","1352948005","1352948010"],"photo_ids_order":["1352947985","1352947990","1352947997","1352948002","1352948005","1352948010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f034e202b8ce420f21a25677b332090.jpg","text":"TemporaryFile(/tmp/multipartBody2350465252425480545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390014169,"filename":"image_23042025_08_32_25_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81ca2f74b4868e8cb0230086a7e08fa0.jpg","text":"TemporaryFile(/tmp/multipartBody9180721557912213390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390014169,"filename":"image_23042025_08_32_45_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8801e28453b80d406964d75bdd7bd50.jpg","text":"TemporaryFile(/tmp/multipartBody5067789486358204461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390014169,"filename":"image_23042025_08_32_35_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/564364c7ac32617363a279860d8d3bfe.jpg","text":"TemporaryFile(/tmp/multipartBody4570356536279034643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390014169,"filename":"image_23042025_08_32_15_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c26da704d9d2a577a27f5e5f9195874.jpg","text":"TemporaryFile(/tmp/multipartBody400240965758621605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390014169,"filename":"image_23042025_08_32_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f87934a30159713db8ad4619c9fd2ba6.jpg","text":"TemporaryFile(/tmp/multipartBody5157200290471666257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390014169,"filename":"image_23042025_08_31_55_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352947997","file1":"1352947990","file0":"1352947985","file4":"1352948005","file5":"1352948010","file3":"1352948002"},"map_files_photo_id_array":[{"photo_id":"1352948010","filename":"file5"},{"photo_id":"1352947997","filename":"file2"},{"photo_id":"1352948005","filename":"file4"},{"photo_id":"1352947990","filename":"file1"},{"photo_id":"1352947985","filename":"file0"},{"photo_id":"1352948002","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352947997":["hashtag1","hashtag2"]},{"1352947985":["hashtag1","hashtag2"]},{"1352947990":["hashtag1","hashtag2"]},{"1352948002":["hashtag1","hashtag2"]},{"1352948005":["hashtag1","hashtag2"]},{"1352948010":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352947997, 1352947985, 1352947990, 1352948002, 1352948005, 1352948010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.93834066390991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:33:32.096648
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_45_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_35_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_25_10717.jpg', 2), ('/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_15_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/08/32/image_23042025_08_33_05_9797.jpg', 2), ('/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_55_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_45_9694.jpg', '/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_35_9692.jpg', '/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_25_10717.jpg', '/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_15_9704.jpg', '/home/nano/Desktop/images/23042025/08/32/image_23042025_08_33_05_9797.jpg', '/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_55_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_45_9694.jpg
/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_35_9692.jpg
/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_25_10717.jpg
/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_15_9704.jpg
/home/nano/Desktop/images/23042025/08/32/image_23042025_08_33_05_9797.jpg
/home/nano/Desktop/images/23042025/08/32/image_23042025_08_32_55_10643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352948100","1352948078","1352948074","1352948116","1352948094","1352948088"],"photo_ids_order":["1352948074","1352948078","1352948088","1352948094","1352948100","1352948116"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb97ad6a98c5a819df493cb5b9f9f488.jpg","text":"TemporaryFile(/tmp/multipartBody6380383065937032299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390074934,"filename":"image_23042025_08_33_05_9797.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4861733fc773588760aed155ad5b887.jpg","text":"TemporaryFile(/tmp/multipartBody774565542679155230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390074934,"filename":"image_23042025_08_33_35_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c9e3c99b7abc0b22608991e51267a1e.jpg","text":"TemporaryFile(/tmp/multipartBody8852406886880817087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390074934,"filename":"image_23042025_08_33_45_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41845a4471ebe3dcb199feac9aa101d5.jpg","text":"TemporaryFile(/tmp/multipartBody3356291560740617289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390074934,"filename":"image_23042025_08_32_55_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/683607f2fc569aa2acbb68db551d2df8.jpg","text":"TemporaryFile(/tmp/multipartBody651533533397809982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390074934,"filename":"image_23042025_08_33_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1347e576570456efb0f628af11c1137e.jpg","text":"TemporaryFile(/tmp/multipartBody1201561899575919184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390074934,"filename":"image_23042025_08_33_25_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352948088","file1":"1352948078","file0":"1352948074","file4":"1352948100","file5":"1352948116","file3":"1352948094"},"map_files_photo_id_array":[{"photo_id":"1352948116","filename":"file5"},{"photo_id":"1352948088","filename":"file2"},{"photo_id":"1352948100","filename":"file4"},{"photo_id":"1352948078","filename":"file1"},{"photo_id":"1352948074","filename":"file0"},{"photo_id":"1352948094","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352948100":["hashtag1","hashtag2"]},{"1352948078":["hashtag1","hashtag2"]},{"1352948074":["hashtag1","hashtag2"]},{"1352948116":["hashtag1","hashtag2"]},{"1352948094":["hashtag1","hashtag2"]},{"1352948088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352948100, 1352948078, 1352948074, 1352948116, 1352948094, 1352948088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.62000560760498 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:34:32.196616
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_45_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_35_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_25_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_15_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/08/33/image_23042025_08_34_05_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_55_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_45_9638.jpg', '/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_35_10728.jpg', '/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_25_9674.jpg', '/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_15_9680.jpg', '/home/nano/Desktop/images/23042025/08/33/image_23042025_08_34_05_10696.jpg', '/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_55_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_45_9638.jpg
/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_35_10728.jpg
/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_25_9674.jpg
/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_15_9680.jpg
/home/nano/Desktop/images/23042025/08/33/image_23042025_08_34_05_10696.jpg
/home/nano/Desktop/images/23042025/08/33/image_23042025_08_33_55_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352948246","1352948240","1352948234","1352948222","1352948229","1352948244"],"photo_ids_order":["1352948222","1352948229","1352948234","1352948240","1352948244","1352948246"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e740d0e57eaccf0a28857b2c2c2b3601.jpg","text":"TemporaryFile(/tmp/multipartBody8304713029790310535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390134917,"filename":"image_23042025_08_33_55_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/771324d3ece0edf967a7f798d02e356e.jpg","text":"TemporaryFile(/tmp/multipartBody5755492385818461285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390134917,"filename":"image_23042025_08_34_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5403bd729239db99740b8865fd452ec.jpg","text":"TemporaryFile(/tmp/multipartBody1511878539746552849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390134917,"filename":"image_23042025_08_34_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2735f77f6778ca289a79b79375ae5dd5.jpg","text":"TemporaryFile(/tmp/multipartBody8535351877668631844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390134917,"filename":"image_23042025_08_34_45_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bbc58cfb6226136331243276da75cb8.jpg","text":"TemporaryFile(/tmp/multipartBody5828118510726527526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390134917,"filename":"image_23042025_08_34_35_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f593fdd76b314eac2a937a0c06888b1f.jpg","text":"TemporaryFile(/tmp/multipartBody4555828022825043762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390134917,"filename":"image_23042025_08_34_05_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352948234","file1":"1352948229","file0":"1352948222","file4":"1352948244","file5":"1352948246","file3":"1352948240"},"map_files_photo_id_array":[{"photo_id":"1352948246","filename":"file5"},{"photo_id":"1352948234","filename":"file2"},{"photo_id":"1352948244","filename":"file4"},{"photo_id":"1352948229","filename":"file1"},{"photo_id":"1352948222","filename":"file0"},{"photo_id":"1352948240","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352948246":["hashtag1","hashtag2"]},{"1352948240":["hashtag1","hashtag2"]},{"1352948234":["hashtag1","hashtag2"]},{"1352948222":["hashtag1","hashtag2"]},{"1352948229":["hashtag1","hashtag2"]},{"1352948244":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352948246, 1352948240, 1352948234, 1352948222, 1352948229, 1352948244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.553083419799805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:35:32.275628
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_45_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_35_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_25_9618.jpg', 2), ('/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_15_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/08/34/image_23042025_08_35_05_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_45_9643.jpg', '/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_35_10642.jpg', '/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_25_9618.jpg', '/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_15_9653.jpg', '/home/nano/Desktop/images/23042025/08/34/image_23042025_08_35_05_10667.jpg', '/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_45_9643.jpg
/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_35_10642.jpg
/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_25_9618.jpg
/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_15_9653.jpg
/home/nano/Desktop/images/23042025/08/34/image_23042025_08_35_05_10667.jpg
/home/nano/Desktop/images/23042025/08/34/image_23042025_08_34_55_9635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352948285","1352948298","1352948292","1352948289","1352948301","1352948294"],"photo_ids_order":["1352948285","1352948289","1352948292","1352948294","1352948298","1352948301"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c8a6f889163a925d7b00833dbcb33b8.jpg","text":"TemporaryFile(/tmp/multipartBody503719255787908206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390194407,"filename":"image_23042025_08_35_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02e1c241cf540d50dbae7f831793ca5f.jpg","text":"TemporaryFile(/tmp/multipartBody3260778022497015093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390194407,"filename":"image_23042025_08_35_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/765831fe0a04e08e4ad4172fc28f1797.jpg","text":"TemporaryFile(/tmp/multipartBody6395425332749715665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390194407,"filename":"image_23042025_08_35_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65555f71847a37438ecfc7d1cdb4a04f.jpg","text":"TemporaryFile(/tmp/multipartBody1289673265210655617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390194407,"filename":"image_23042025_08_35_35_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08e272dd36c5708d1a739b0b53ccf127.jpg","text":"TemporaryFile(/tmp/multipartBody514843971167479352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390194407,"filename":"image_23042025_08_34_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81e626fd2a2d0a893f9a05fbab1de690.jpg","text":"TemporaryFile(/tmp/multipartBody64963064025587932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390194407,"filename":"image_23042025_08_35_15_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352948292","file1":"1352948289","file0":"1352948285","file4":"1352948298","file5":"1352948301","file3":"1352948294"},"map_files_photo_id_array":[{"photo_id":"1352948301","filename":"file5"},{"photo_id":"1352948292","filename":"file2"},{"photo_id":"1352948298","filename":"file4"},{"photo_id":"1352948289","filename":"file1"},{"photo_id":"1352948285","filename":"file0"},{"photo_id":"1352948294","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352948285":["hashtag1","hashtag2"]},{"1352948298":["hashtag1","hashtag2"]},{"1352948292":["hashtag1","hashtag2"]},{"1352948289":["hashtag1","hashtag2"]},{"1352948301":["hashtag1","hashtag2"]},{"1352948294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352948285, 1352948298, 1352948292, 1352948289, 1352948301, 1352948294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.23755383491516 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:36:32.393874
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_45_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_25_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_15_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/08/35/image_23042025_08_36_05_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_45_9624.jpg', '/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_35_9630.jpg', '/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_25_10640.jpg', '/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_15_9645.jpg', '/home/nano/Desktop/images/23042025/08/35/image_23042025_08_36_05_9647.jpg', '/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_45_9624.jpg
/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_35_9630.jpg
/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_25_10640.jpg
/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_15_9645.jpg
/home/nano/Desktop/images/23042025/08/35/image_23042025_08_36_05_9647.jpg
/home/nano/Desktop/images/23042025/08/35/image_23042025_08_35_55_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352948392","1352948386","1352948380","1352948362","1352948358","1352948367"],"photo_ids_order":["1352948358","1352948362","1352948367","1352948380","1352948386","1352948392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce281fde22db62b7cf3c3e5a9b171ca1.jpg","text":"TemporaryFile(/tmp/multipartBody4486860058055699546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390254761,"filename":"image_23042025_08_35_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f50af9f06e6be7f5d382412cdb031e73.jpg","text":"TemporaryFile(/tmp/multipartBody8565592272636126018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390254761,"filename":"image_23042025_08_36_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4cd5ed2b2f904d7f46488e0044f5bf73.jpg","text":"TemporaryFile(/tmp/multipartBody6019593021592939455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390254761,"filename":"image_23042025_08_36_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4664ff2f6be2a621318ece5ce0323e78.jpg","text":"TemporaryFile(/tmp/multipartBody4949002322162426300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390254761,"filename":"image_23042025_08_36_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e907419fcb079f0b5a6e3e7ca8a691d4.jpg","text":"TemporaryFile(/tmp/multipartBody2363597721092292839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390254761,"filename":"image_23042025_08_36_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbad1212b11e1c3fdde5464cac00836e.jpg","text":"TemporaryFile(/tmp/multipartBody317724125915411977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390254761,"filename":"image_23042025_08_36_25_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352948367","file1":"1352948362","file0":"1352948358","file4":"1352948386","file5":"1352948392","file3":"1352948380"},"map_files_photo_id_array":[{"photo_id":"1352948392","filename":"file5"},{"photo_id":"1352948367","filename":"file2"},{"photo_id":"1352948386","filename":"file4"},{"photo_id":"1352948362","filename":"file1"},{"photo_id":"1352948358","filename":"file0"},{"photo_id":"1352948380","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352948392":["hashtag1","hashtag2"]},{"1352948386":["hashtag1","hashtag2"]},{"1352948380":["hashtag1","hashtag2"]},{"1352948362":["hashtag1","hashtag2"]},{"1352948358":["hashtag1","hashtag2"]},{"1352948367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352948392, 1352948386, 1352948380, 1352948362, 1352948358, 1352948367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51545166969299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:37:32.470491
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_45_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_35_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_25_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/36/image_23042025_08_37_05_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_55_10630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_45_9676.jpg', '/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_35_9635.jpg', '/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_25_10629.jpg', '/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_15_9636.jpg', '/home/nano/Desktop/images/23042025/08/36/image_23042025_08_37_05_9626.jpg', '/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_55_10630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_45_9676.jpg
/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_35_9635.jpg
/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_25_10629.jpg
/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_15_9636.jpg
/home/nano/Desktop/images/23042025/08/36/image_23042025_08_37_05_9626.jpg
/home/nano/Desktop/images/23042025/08/36/image_23042025_08_36_55_10630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352948729","1352948689","1352948650","1352948746","1352948742","1352948736"],"photo_ids_order":["1352948650","1352948689","1352948729","1352948736","1352948742","1352948746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8336e30ad746517fd79d52fc9ed3e89.jpg","text":"TemporaryFile(/tmp/multipartBody5302065472288265870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390315741,"filename":"image_23042025_08_37_25_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1c3902bac1ef96bf8f8c8095660b0d3.jpg","text":"TemporaryFile(/tmp/multipartBody7691105155117876702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390315741,"filename":"image_23042025_08_37_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63b54e26b6a96ef93928052bfb72c129.jpg","text":"TemporaryFile(/tmp/multipartBody5665917228321833726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390315741,"filename":"image_23042025_08_37_45_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91d88d760be757d62f8ea1278adf6d77.jpg","text":"TemporaryFile(/tmp/multipartBody687158715574974527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390315741,"filename":"image_23042025_08_36_55_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85085001fb1fe62b8fe6d0f8ed5959f6.jpg","text":"TemporaryFile(/tmp/multipartBody967670766195580757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390315741,"filename":"image_23042025_08_37_05_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b146c7f6d37eae31a83d1648014d95ae.jpg","text":"TemporaryFile(/tmp/multipartBody1349796864734311216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390315741,"filename":"image_23042025_08_37_15_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352948729","file1":"1352948689","file0":"1352948650","file4":"1352948742","file5":"1352948746","file3":"1352948736"},"map_files_photo_id_array":[{"photo_id":"1352948746","filename":"file5"},{"photo_id":"1352948729","filename":"file2"},{"photo_id":"1352948742","filename":"file4"},{"photo_id":"1352948689","filename":"file1"},{"photo_id":"1352948650","filename":"file0"},{"photo_id":"1352948736","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352948729":["hashtag1","hashtag2"]},{"1352948689":["hashtag1","hashtag2"]},{"1352948650":["hashtag1","hashtag2"]},{"1352948746":["hashtag1","hashtag2"]},{"1352948742":["hashtag1","hashtag2"]},{"1352948736":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352948729, 1352948689, 1352948650, 1352948746, 1352948742, 1352948736)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11805963516235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:38:32.589063
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_35_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_25_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_15_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/08/37/image_23042025_08_38_05_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_45_10652.jpg', '/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_35_9642.jpg', '/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_25_9635.jpg', '/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_15_10676.jpg', '/home/nano/Desktop/images/23042025/08/37/image_23042025_08_38_05_9649.jpg', '/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_45_10652.jpg
/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_35_9642.jpg
/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_25_9635.jpg
/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_15_10676.jpg
/home/nano/Desktop/images/23042025/08/37/image_23042025_08_38_05_9649.jpg
/home/nano/Desktop/images/23042025/08/37/image_23042025_08_37_55_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352948945","1352948956","1352948950","1352948926","1352948935","1352948964"],"photo_ids_order":["1352948926","1352948935","1352948945","1352948950","1352948956","1352948964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb395ac8dadd60cad1e1867e663fd4fc.jpg","text":"TemporaryFile(/tmp/multipartBody576934486265374847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390374911,"filename":"image_23042025_08_38_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6aef776b4683673402c997aa4d6ab66.jpg","text":"TemporaryFile(/tmp/multipartBody7929416774323102502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390374911,"filename":"image_23042025_08_38_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86c334c6d05bb5e0e4972683f2e9f72a.jpg","text":"TemporaryFile(/tmp/multipartBody750714251187174886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390374911,"filename":"image_23042025_08_38_15_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d67ed3fbb0bf5c8ab7a4157fa0376cc3.jpg","text":"TemporaryFile(/tmp/multipartBody8166095562728683968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390374911,"filename":"image_23042025_08_38_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90b822c3a3dd5c3104e986e20bf78cc0.jpg","text":"TemporaryFile(/tmp/multipartBody6556590772345335989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390374911,"filename":"image_23042025_08_38_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6439575a83382a19623236f6c67fdf36.jpg","text":"TemporaryFile(/tmp/multipartBody5748755048217618977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390374911,"filename":"image_23042025_08_37_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352948945","file1":"1352948935","file0":"1352948926","file4":"1352948956","file5":"1352948964","file3":"1352948950"},"map_files_photo_id_array":[{"photo_id":"1352948964","filename":"file5"},{"photo_id":"1352948945","filename":"file2"},{"photo_id":"1352948956","filename":"file4"},{"photo_id":"1352948935","filename":"file1"},{"photo_id":"1352948926","filename":"file0"},{"photo_id":"1352948950","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352948945":["hashtag1","hashtag2"]},{"1352948956":["hashtag1","hashtag2"]},{"1352948950":["hashtag1","hashtag2"]},{"1352948926":["hashtag1","hashtag2"]},{"1352948935":["hashtag1","hashtag2"]},{"1352948964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352948945, 1352948956, 1352948950, 1352948926, 1352948935, 1352948964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81863856315613 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:39:32.696567
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_45_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_25_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_15_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/08/38/image_23042025_08_39_05_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_45_10646.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_35_9636.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_25_9640.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_15_10722.jpg', '/home/nano/Desktop/images/23042025/08/38/image_23042025_08_39_05_9640.jpg', '/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_45_10646.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_35_9636.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_25_9640.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_15_10722.jpg
/home/nano/Desktop/images/23042025/08/38/image_23042025_08_39_05_9640.jpg
/home/nano/Desktop/images/23042025/08/38/image_23042025_08_38_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352949029","1352949008","1352949013","1352949033","1352949024","1352949018"],"photo_ids_order":["1352949008","1352949013","1352949018","1352949024","1352949029","1352949033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0feac1993b30154383e484acee1d3cf.jpg","text":"TemporaryFile(/tmp/multipartBody7498019368634482560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390435568,"filename":"image_23042025_08_39_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec25af66fe19c60c4c972266c7fcf7e2.jpg","text":"TemporaryFile(/tmp/multipartBody6505019435309122709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390435568,"filename":"image_23042025_08_39_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28230e06b6605a1a7b8e879f884bf73b.jpg","text":"TemporaryFile(/tmp/multipartBody8682755118090737263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390435568,"filename":"image_23042025_08_39_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aaa7f1418c828027de99b9b7f79b8c3f.jpg","text":"TemporaryFile(/tmp/multipartBody8648404945154860955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390435568,"filename":"image_23042025_08_38_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30f469e7bab30b364bbe0721bb000c0c.jpg","text":"TemporaryFile(/tmp/multipartBody4768741843695184521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390435568,"filename":"image_23042025_08_39_15_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ff94d17ef42a58eda8aef9eabd383c2.jpg","text":"TemporaryFile(/tmp/multipartBody1336857287575102089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390435568,"filename":"image_23042025_08_39_25_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352949018","file1":"1352949013","file0":"1352949008","file4":"1352949029","file5":"1352949033","file3":"1352949024"},"map_files_photo_id_array":[{"photo_id":"1352949033","filename":"file5"},{"photo_id":"1352949018","filename":"file2"},{"photo_id":"1352949029","filename":"file4"},{"photo_id":"1352949013","filename":"file1"},{"photo_id":"1352949008","filename":"file0"},{"photo_id":"1352949024","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352949029":["hashtag1","hashtag2"]},{"1352949008":["hashtag1","hashtag2"]},{"1352949013":["hashtag1","hashtag2"]},{"1352949033":["hashtag1","hashtag2"]},{"1352949024":["hashtag1","hashtag2"]},{"1352949018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352949029, 1352949008, 1352949013, 1352949033, 1352949024, 1352949018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.818487882614136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:40:31.775922
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_45_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_35_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_15_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_40_05_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_55_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_45_10655.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_35_9671.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_25_9637.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_15_10693.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_40_05_9658.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_55_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_45_10655.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_35_9671.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_25_9637.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_15_10693.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_40_05_9658.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_55_9623.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
'int' object is not iterable
time to upload: 132.16001725196838 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 0x7f84089160>: Failed to establish a new connection: [Errno 110] Connection timed out',))
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:43:02.766219
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_45_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_35_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_25_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/08/41/image_23042025_08_42_05_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_55_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_45_9625.jpg', '/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_35_10636.jpg', '/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_25_9631.jpg', '/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_15_9642.jpg', '/home/nano/Desktop/images/23042025/08/41/image_23042025_08_42_05_10663.jpg', '/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_45_9625.jpg
/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_35_10636.jpg
/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_25_9631.jpg
/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_15_9642.jpg
/home/nano/Desktop/images/23042025/08/41/image_23042025_08_42_05_10663.jpg
/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_55_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352950313","1352950327","1352950321","1352950287","1352950209","1352950199"],"photo_ids_order":["1352950199","1352950209","1352950287","1352950313","1352950321","1352950327"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ede5bfedb726da8c3f49cdf3c2ac9e01.jpg","text":"TemporaryFile(/tmp/multipartBody8031132356828821222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390644030,"filename":"image_23042025_08_42_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/035996768aaeda8be921fb5233a38da5.jpg","text":"TemporaryFile(/tmp/multipartBody1039695118306043975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390644030,"filename":"image_23042025_08_41_55_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c67afa8be7aef50fb8aa7d7fc2706a64.jpg","text":"TemporaryFile(/tmp/multipartBody2718159420520885975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390644030,"filename":"image_23042025_08_42_05_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ebab31a0507173bc525f1715f4588eb.jpg","text":"TemporaryFile(/tmp/multipartBody1921073753003777609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390644030,"filename":"image_23042025_08_42_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4b0d6508b358311c3b6c410f96e9c44.jpg","text":"TemporaryFile(/tmp/multipartBody1952028321297763584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390644030,"filename":"image_23042025_08_42_35_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6fb2f677df29c59720c99527a7bb69d.jpg","text":"TemporaryFile(/tmp/multipartBody5257332065653794744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390644030,"filename":"image_23042025_08_42_45_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352950287","file1":"1352950209","file0":"1352950199","file4":"1352950321","file5":"1352950327","file3":"1352950313"},"map_files_photo_id_array":[{"photo_id":"1352950327","filename":"file5"},{"photo_id":"1352950287","filename":"file2"},{"photo_id":"1352950321","filename":"file4"},{"photo_id":"1352950209","filename":"file1"},{"photo_id":"1352950199","filename":"file0"},{"photo_id":"1352950313","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352950313":["hashtag1","hashtag2"]},{"1352950327":["hashtag1","hashtag2"]},{"1352950321":["hashtag1","hashtag2"]},{"1352950287":["hashtag1","hashtag2"]},{"1352950209":["hashtag1","hashtag2"]},{"1352950199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352950313, 1352950327, 1352950321, 1352950287, 1352950209, 1352950199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.70473122596741 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:44:03.120119
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_55_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_35_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_25_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_15_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/08/42/image_23042025_08_43_05_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_55_9627.jpg', '/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_35_10730.jpg', '/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_25_9632.jpg', '/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_15_9634.jpg', '/home/nano/Desktop/images/23042025/08/42/image_23042025_08_43_05_10636.jpg', '/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_55_9627.jpg
/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_35_10730.jpg
/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_25_9632.jpg
/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_15_9634.jpg
/home/nano/Desktop/images/23042025/08/42/image_23042025_08_43_05_10636.jpg
/home/nano/Desktop/images/23042025/08/42/image_23042025_08_42_55_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352950472","1352950498","1352950519","1352950510","1352950494","1352950527"],"photo_ids_order":["1352950472","1352950494","1352950498","1352950510","1352950519","1352950527"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e587ddfbbc579aa418032aa1f5ee08c.jpg","text":"TemporaryFile(/tmp/multipartBody5406481420776742811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390704355,"filename":"image_23042025_08_43_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d453615e396f0e7ac5815e40e0ff64d3.jpg","text":"TemporaryFile(/tmp/multipartBody7627458579364458586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390704355,"filename":"image_23042025_08_43_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df2e00eb36740b4812277931889c14ab.jpg","text":"TemporaryFile(/tmp/multipartBody4051277220711525085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390704355,"filename":"image_23042025_08_43_05_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c45fbc4ee8bbce8659e44a313386c60.jpg","text":"TemporaryFile(/tmp/multipartBody6012327945100094128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390704355,"filename":"image_23042025_08_43_15_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bccbc5033bfeb1a6e81c264c2b73f6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5924072925439003237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390704355,"filename":"image_23042025_08_43_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4702832d8037309a197e1ba2a2e90e59.jpg","text":"TemporaryFile(/tmp/multipartBody5580711339008168313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390704355,"filename":"image_23042025_08_42_55_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352950498","file1":"1352950494","file0":"1352950472","file4":"1352950519","file5":"1352950527","file3":"1352950510"},"map_files_photo_id_array":[{"photo_id":"1352950527","filename":"file5"},{"photo_id":"1352950498","filename":"file2"},{"photo_id":"1352950519","filename":"file4"},{"photo_id":"1352950494","filename":"file1"},{"photo_id":"1352950472","filename":"file0"},{"photo_id":"1352950510","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352950472":["hashtag1","hashtag2"]},{"1352950498":["hashtag1","hashtag2"]},{"1352950519":["hashtag1","hashtag2"]},{"1352950510":["hashtag1","hashtag2"]},{"1352950494":["hashtag1","hashtag2"]},{"1352950527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352950472, 1352950498, 1352950519, 1352950510, 1352950494, 1352950527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.854732275009155 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:45:03.013962
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_45_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_35_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_25_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_15_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/08/43/image_23042025_08_44_05_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_45_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_45_9678.jpg', '/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_35_10663.jpg', '/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_25_9667.jpg', '/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_15_9687.jpg', '/home/nano/Desktop/images/23042025/08/43/image_23042025_08_44_05_10721.jpg', '/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_45_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_45_9678.jpg
/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_35_10663.jpg
/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_25_9667.jpg
/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_15_9687.jpg
/home/nano/Desktop/images/23042025/08/43/image_23042025_08_44_05_10721.jpg
/home/nano/Desktop/images/23042025/08/43/image_23042025_08_43_45_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352950838","1352950826","1352950792","1352950786","1352950833","1352950842"],"photo_ids_order":["1352950786","1352950792","1352950826","1352950833","1352950838","1352950842"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b38bcb1a2dcffdbbbb61a7fc73ba96ce.jpg","text":"TemporaryFile(/tmp/multipartBody978744965088798289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390764561,"filename":"image_23042025_08_44_05_10721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b39281326a881e541d20afeb01b74fae.jpg","text":"TemporaryFile(/tmp/multipartBody2411784823239561969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390764561,"filename":"image_23042025_08_44_25_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f063cdabe4c22496c7fb56717954a077.jpg","text":"TemporaryFile(/tmp/multipartBody1269487710529576763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390764561,"filename":"image_23042025_08_44_35_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b0ec3b029d03a51ee1f2d3a4890a868.jpg","text":"TemporaryFile(/tmp/multipartBody6871540294506256479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390764561,"filename":"image_23042025_08_44_45_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3d6387c2bbc991f5d57fd686423e3dc.jpg","text":"TemporaryFile(/tmp/multipartBody3736961773703491765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390764561,"filename":"image_23042025_08_44_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b65a1297728e12e8655a624fc7e1878.jpg","text":"TemporaryFile(/tmp/multipartBody5873453860043376424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390764561,"filename":"image_23042025_08_43_45_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352950826","file1":"1352950792","file0":"1352950786","file4":"1352950838","file5":"1352950842","file3":"1352950833"},"map_files_photo_id_array":[{"photo_id":"1352950842","filename":"file5"},{"photo_id":"1352950826","filename":"file2"},{"photo_id":"1352950838","filename":"file4"},{"photo_id":"1352950792","filename":"file1"},{"photo_id":"1352950786","filename":"file0"},{"photo_id":"1352950833","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352950838":["hashtag1","hashtag2"]},{"1352950826":["hashtag1","hashtag2"]},{"1352950792":["hashtag1","hashtag2"]},{"1352950786":["hashtag1","hashtag2"]},{"1352950833":["hashtag1","hashtag2"]},{"1352950842":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352950838, 1352950826, 1352950792, 1352950786, 1352950833, 1352950842)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14773654937744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:46:02.718797
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_45_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_35_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_25_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_15_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/08/44/image_23042025_08_45_05_10725.jpg', 2), ('/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_55_9700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_45_10707.jpg', '/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_35_9702.jpg', '/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_25_9666.jpg', '/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_15_9709.jpg', '/home/nano/Desktop/images/23042025/08/44/image_23042025_08_45_05_10725.jpg', '/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_55_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_45_10707.jpg
/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_35_9702.jpg
/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_25_9666.jpg
/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_15_9709.jpg
/home/nano/Desktop/images/23042025/08/44/image_23042025_08_45_05_10725.jpg
/home/nano/Desktop/images/23042025/08/44/image_23042025_08_44_55_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352951030","1352951062","1352950984","1352951004","1352951078","1352950970"],"photo_ids_order":["1352950970","1352950984","1352951004","1352951030","1352951062","1352951078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f926fb97e0bc0e05c888de71ee38f8ea.jpg","text":"TemporaryFile(/tmp/multipartBody6725250248923228407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390823992,"filename":"image_23042025_08_45_15_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82abaae8b9f16f690dd12327a9ef0c44.jpg","text":"TemporaryFile(/tmp/multipartBody7325651005264599537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390823992,"filename":"image_23042025_08_45_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f540b10218b2ef75bb32a1794d22640.jpg","text":"TemporaryFile(/tmp/multipartBody2265812176600221123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390823992,"filename":"image_23042025_08_45_35_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4476a8d1007c416e3679f27a8232e556.jpg","text":"TemporaryFile(/tmp/multipartBody1496209170266205081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390823992,"filename":"image_23042025_08_45_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56b0417966593ae7b84aeec48d150d89.jpg","text":"TemporaryFile(/tmp/multipartBody3172359506186668257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390823992,"filename":"image_23042025_08_44_55_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f902fcdbb8b5f23b4bc57618e280ce9d.jpg","text":"TemporaryFile(/tmp/multipartBody4689489213166611284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390823992,"filename":"image_23042025_08_45_45_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352951004","file1":"1352950984","file0":"1352950970","file4":"1352951062","file5":"1352951078","file3":"1352951030"},"map_files_photo_id_array":[{"photo_id":"1352951078","filename":"file5"},{"photo_id":"1352951004","filename":"file2"},{"photo_id":"1352951062","filename":"file4"},{"photo_id":"1352950984","filename":"file1"},{"photo_id":"1352950970","filename":"file0"},{"photo_id":"1352951030","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352951030":["hashtag1","hashtag2"]},{"1352951062":["hashtag1","hashtag2"]},{"1352950984":["hashtag1","hashtag2"]},{"1352951004":["hashtag1","hashtag2"]},{"1352951078":["hashtag1","hashtag2"]},{"1352950970":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352951030, 1352951062, 1352950984, 1352951004, 1352951078, 1352950970)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75674295425415 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:47:03.164706
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_45_10713.jpg', 2), ('/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_35_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_25_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_15_10710.jpg', 2), ('/home/nano/Desktop/images/23042025/08/45/image_23042025_08_46_05_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_55_9683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_45_10713.jpg', '/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_35_9694.jpg', '/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_25_9718.jpg', '/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_15_10710.jpg', '/home/nano/Desktop/images/23042025/08/45/image_23042025_08_46_05_9683.jpg', '/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_55_9683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_45_10713.jpg
/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_35_9694.jpg
/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_25_9718.jpg
/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_15_10710.jpg
/home/nano/Desktop/images/23042025/08/45/image_23042025_08_46_05_9683.jpg
/home/nano/Desktop/images/23042025/08/45/image_23042025_08_45_55_9683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352951368","1352951434","1352951397","1352951331","1352951468","1352951282"],"photo_ids_order":["1352951282","1352951331","1352951368","1352951397","1352951434","1352951468"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62fae983b2cfa6b4d95b525f5dac4bd3.jpg","text":"TemporaryFile(/tmp/multipartBody5067792329785689253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390884751,"filename":"image_23042025_08_46_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd8e94c5125025cd5c4417f09acb3f98.jpg","text":"TemporaryFile(/tmp/multipartBody7683287933227133804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390884751,"filename":"image_23042025_08_46_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7e83b4855619be5c6c74470f63cf052.jpg","text":"TemporaryFile(/tmp/multipartBody4943115317758482607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390884751,"filename":"image_23042025_08_46_15_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b115192ff559eb78bf3971532588c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody1399688524513790308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390884751,"filename":"image_23042025_08_46_35_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/257e8be043e4c155896fa6e38262a157.jpg","text":"TemporaryFile(/tmp/multipartBody4294602755750660262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390884751,"filename":"image_23042025_08_45_55_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6e7236af170fb0b69bd5b59a04a7d19.jpg","text":"TemporaryFile(/tmp/multipartBody5667719834062020809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390884751,"filename":"image_23042025_08_46_45_10713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352951368","file1":"1352951331","file0":"1352951282","file4":"1352951434","file5":"1352951468","file3":"1352951397"},"map_files_photo_id_array":[{"photo_id":"1352951468","filename":"file5"},{"photo_id":"1352951368","filename":"file2"},{"photo_id":"1352951434","filename":"file4"},{"photo_id":"1352951331","filename":"file1"},{"photo_id":"1352951282","filename":"file0"},{"photo_id":"1352951397","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352951368":["hashtag1","hashtag2"]},{"1352951434":["hashtag1","hashtag2"]},{"1352951397":["hashtag1","hashtag2"]},{"1352951331":["hashtag1","hashtag2"]},{"1352951468":["hashtag1","hashtag2"]},{"1352951282":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352951368, 1352951434, 1352951397, 1352951331, 1352951468, 1352951282)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.999420404434204 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:48:03.080094
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_45_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_35_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_25_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_15_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/08/46/image_23042025_08_47_05_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_55_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_45_9693.jpg', '/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_35_9726.jpg', '/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_25_10701.jpg', '/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_15_9674.jpg', '/home/nano/Desktop/images/23042025/08/46/image_23042025_08_47_05_9732.jpg', '/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_45_9693.jpg
/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_35_9726.jpg
/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_25_10701.jpg
/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_15_9674.jpg
/home/nano/Desktop/images/23042025/08/46/image_23042025_08_47_05_9732.jpg
/home/nano/Desktop/images/23042025/08/46/image_23042025_08_46_55_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352952385","1352952451","1352952634","1352952585","1352952540","1352952503"],"photo_ids_order":["1352952385","1352952451","1352952503","1352952540","1352952585","1352952634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eeecde4daddb2acdae71aade764a0cd3.jpg","text":"TemporaryFile(/tmp/multipartBody5573039979962432167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390944968,"filename":"image_23042025_08_47_45_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e29394fbe250ae36bd65a34b2726f09.jpg","text":"TemporaryFile(/tmp/multipartBody4963034198568702680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390944968,"filename":"image_23042025_08_47_35_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c500a94302059f379906b89589095ed8.jpg","text":"TemporaryFile(/tmp/multipartBody811822355359831509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390944968,"filename":"image_23042025_08_46_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87557cf0fcf34af440a7f4974f1f7771.jpg","text":"TemporaryFile(/tmp/multipartBody8659430372634050294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390944968,"filename":"image_23042025_08_47_05_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eec7cbbfdd227443af1597d39a141177.jpg","text":"TemporaryFile(/tmp/multipartBody8180945734138477130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390944968,"filename":"image_23042025_08_47_15_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fdf8d0bd803a5c4bec273d9cfadf629.jpg","text":"TemporaryFile(/tmp/multipartBody7185808619350434284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745390944968,"filename":"image_23042025_08_47_25_10701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352952503","file1":"1352952451","file0":"1352952385","file4":"1352952585","file5":"1352952634","file3":"1352952540"},"map_files_photo_id_array":[{"photo_id":"1352952634","filename":"file5"},{"photo_id":"1352952503","filename":"file2"},{"photo_id":"1352952585","filename":"file4"},{"photo_id":"1352952451","filename":"file1"},{"photo_id":"1352952385","filename":"file0"},{"photo_id":"1352952540","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352952385":["hashtag1","hashtag2"]},{"1352952451":["hashtag1","hashtag2"]},{"1352952634":["hashtag1","hashtag2"]},{"1352952585":["hashtag1","hashtag2"]},{"1352952540":["hashtag1","hashtag2"]},{"1352952503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352952385, 1352952451, 1352952634, 1352952585, 1352952540, 1352952503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.88963317871094 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:49:03.702165
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_45_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_35_10729.jpg', 2), ('/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_24_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_15_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/08/47/image_23042025_08_48_05_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_55_10711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_45_9688.jpg', '/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_35_10729.jpg', '/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_24_9697.jpg', '/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_15_9704.jpg', '/home/nano/Desktop/images/23042025/08/47/image_23042025_08_48_05_9731.jpg', '/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_55_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_45_9688.jpg
/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_35_10729.jpg
/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_24_9697.jpg
/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_15_9704.jpg
/home/nano/Desktop/images/23042025/08/47/image_23042025_08_48_05_9731.jpg
/home/nano/Desktop/images/23042025/08/47/image_23042025_08_47_55_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352952795","1352952867","1352952825","1352952920","1352952790","1352952787"],"photo_ids_order":["1352952787","1352952790","1352952795","1352952825","1352952867","1352952920"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4150d4b84dae4269ff0d6e55cff42162.jpg","text":"TemporaryFile(/tmp/multipartBody14074275532227586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391005293,"filename":"image_23042025_08_48_24_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4de9b38be348cee32a086f77ea8a0179.jpg","text":"TemporaryFile(/tmp/multipartBody4099989909376642177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391005293,"filename":"image_23042025_08_48_05_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d15a25ffe1b78e710057ec4939b5b15a.jpg","text":"TemporaryFile(/tmp/multipartBody4133230492497581318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391005293,"filename":"image_23042025_08_48_15_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36c4ac418a4eb7de634bd9970f4c3b74.jpg","text":"TemporaryFile(/tmp/multipartBody4785754558827640077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391005293,"filename":"image_23042025_08_47_55_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a585382cba0d767eb4338c8c160654b.jpg","text":"TemporaryFile(/tmp/multipartBody6680569651394102989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391005293,"filename":"image_23042025_08_48_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e18a80ded7151b672ba60573a8e18be5.jpg","text":"TemporaryFile(/tmp/multipartBody5467341117607421598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391005293,"filename":"image_23042025_08_48_45_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352952795","file1":"1352952790","file0":"1352952787","file4":"1352952867","file5":"1352952920","file3":"1352952825"},"map_files_photo_id_array":[{"photo_id":"1352952920","filename":"file5"},{"photo_id":"1352952795","filename":"file2"},{"photo_id":"1352952867","filename":"file4"},{"photo_id":"1352952790","filename":"file1"},{"photo_id":"1352952787","filename":"file0"},{"photo_id":"1352952825","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352952795":["hashtag1","hashtag2"]},{"1352952867":["hashtag1","hashtag2"]},{"1352952825":["hashtag1","hashtag2"]},{"1352952920":["hashtag1","hashtag2"]},{"1352952790":["hashtag1","hashtag2"]},{"1352952787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352952795, 1352952867, 1352952825, 1352952920, 1352952790, 1352952787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.034706115722656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:50:02.357495
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_45_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_35_10632.jpg', 2), ('/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_25_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_15_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/08/48/image_23042025_08_49_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_55_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_45_9617.jpg', '/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_35_10632.jpg', '/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_25_9623.jpg', '/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_15_9691.jpg', '/home/nano/Desktop/images/23042025/08/48/image_23042025_08_49_05_10719.jpg', '/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_55_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_45_9617.jpg
/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_35_10632.jpg
/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_25_9623.jpg
/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_15_9691.jpg
/home/nano/Desktop/images/23042025/08/48/image_23042025_08_49_05_10719.jpg
/home/nano/Desktop/images/23042025/08/48/image_23042025_08_48_55_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352953228","1352953295","1352953206","1352953401","1352953366","1352953339"],"photo_ids_order":["1352953206","1352953228","1352953295","1352953339","1352953366","1352953401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75cc798e2681e7e8ec10b5195a881c9a.jpg","text":"TemporaryFile(/tmp/multipartBody4752600494153338402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391063740,"filename":"image_23042025_08_49_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56f4be6fc0e887167f80a4010921c718.jpg","text":"TemporaryFile(/tmp/multipartBody4425546970988844725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391063740,"filename":"image_23042025_08_49_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b187e87414aabd94a16426422c659e0f.jpg","text":"TemporaryFile(/tmp/multipartBody3820731731672060837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391063740,"filename":"image_23042025_08_49_45_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4dca408cef657fd20b650a416f42c16f.jpg","text":"TemporaryFile(/tmp/multipartBody837457266512908849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391063740,"filename":"image_23042025_08_48_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb8155139a51c9a2e3de0e299df07809.jpg","text":"TemporaryFile(/tmp/multipartBody4465635062782428722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391063740,"filename":"image_23042025_08_49_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b91873b2ed53009e965619b41b311556.jpg","text":"TemporaryFile(/tmp/multipartBody4417883240514648993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391063740,"filename":"image_23042025_08_49_15_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352953295","file1":"1352953228","file0":"1352953206","file4":"1352953366","file5":"1352953401","file3":"1352953339"},"map_files_photo_id_array":[{"photo_id":"1352953401","filename":"file5"},{"photo_id":"1352953295","filename":"file2"},{"photo_id":"1352953366","filename":"file4"},{"photo_id":"1352953228","filename":"file1"},{"photo_id":"1352953206","filename":"file0"},{"photo_id":"1352953339","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352953228":["hashtag1","hashtag2"]},{"1352953295":["hashtag1","hashtag2"]},{"1352953206":["hashtag1","hashtag2"]},{"1352953401":["hashtag1","hashtag2"]},{"1352953366":["hashtag1","hashtag2"]},{"1352953339":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352953228, 1352953295, 1352953206, 1352953401, 1352953366, 1352953339)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.35135579109192 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:51:02.601786
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_45_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_35_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_25_10699.jpg', 2), ('/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_15_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/49/image_23042025_08_50_05_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_54_9616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_45_9656.jpg', '/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_35_9724.jpg', '/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_25_10699.jpg', '/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_15_9639.jpg', '/home/nano/Desktop/images/23042025/08/49/image_23042025_08_50_05_10657.jpg', '/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_54_9616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_45_9656.jpg
/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_35_9724.jpg
/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_25_10699.jpg
/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_15_9639.jpg
/home/nano/Desktop/images/23042025/08/49/image_23042025_08_50_05_10657.jpg
/home/nano/Desktop/images/23042025/08/49/image_23042025_08_49_54_9616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352953519","1352953776","1352953725","1352953484","1352953576","1352953642"],"photo_ids_order":["1352953484","1352953519","1352953576","1352953642","1352953725","1352953776"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d6b4bd7356099fcfdf702866aa8f410.jpg","text":"TemporaryFile(/tmp/multipartBody8917746677816962295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391124065,"filename":"image_23042025_08_50_35_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c6985f8387422513cf98543ba0512e9.jpg","text":"TemporaryFile(/tmp/multipartBody8342884285957840039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391124065,"filename":"image_23042025_08_49_54_9616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1ccff06e8dbc861128acf8f80325e65.jpg","text":"TemporaryFile(/tmp/multipartBody2035636248334138768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391124065,"filename":"image_23042025_08_50_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebf8454d87ed4495c7d4af7ac86b6167.jpg","text":"TemporaryFile(/tmp/multipartBody9049095217826388076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391124065,"filename":"image_23042025_08_50_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccb2d1492a44f43074e97b9d71b6aae3.jpg","text":"TemporaryFile(/tmp/multipartBody584458331236758647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391124065,"filename":"image_23042025_08_50_25_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bf571850cef1780fc77b227072ea7b5.jpg","text":"TemporaryFile(/tmp/multipartBody7248920561873098180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391124065,"filename":"image_23042025_08_50_15_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352953576","file1":"1352953519","file0":"1352953484","file4":"1352953725","file5":"1352953776","file3":"1352953642"},"map_files_photo_id_array":[{"photo_id":"1352953776","filename":"file5"},{"photo_id":"1352953576","filename":"file2"},{"photo_id":"1352953725","filename":"file4"},{"photo_id":"1352953519","filename":"file1"},{"photo_id":"1352953484","filename":"file0"},{"photo_id":"1352953642","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352953519":["hashtag1","hashtag2"]},{"1352953776":["hashtag1","hashtag2"]},{"1352953725":["hashtag1","hashtag2"]},{"1352953484":["hashtag1","hashtag2"]},{"1352953576":["hashtag1","hashtag2"]},{"1352953642":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352953519, 1352953776, 1352953725, 1352953484, 1352953576, 1352953642)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.15182089805603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:52:02.468861
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_45_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_35_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_25_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_15_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/08/50/image_23042025_08_51_05_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_55_9685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_45_9667.jpg', '/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_35_10701.jpg', '/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_25_9738.jpg', '/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_15_9680.jpg', '/home/nano/Desktop/images/23042025/08/50/image_23042025_08_51_05_10728.jpg', '/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_55_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_45_9667.jpg
/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_35_10701.jpg
/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_25_9738.jpg
/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_15_9680.jpg
/home/nano/Desktop/images/23042025/08/50/image_23042025_08_51_05_10728.jpg
/home/nano/Desktop/images/23042025/08/50/image_23042025_08_50_55_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352954760","1352954748","1352954741","1352954738","1352954723","1352954694"],"photo_ids_order":["1352954694","1352954723","1352954738","1352954741","1352954748","1352954760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f9dd610663b1cabd2b54acd01017a9b.jpg","text":"TemporaryFile(/tmp/multipartBody512858022543580218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391184051,"filename":"image_23042025_08_50_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67deb7f4e41fe925d97702ac610f992c.jpg","text":"TemporaryFile(/tmp/multipartBody1488695881613393226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391184051,"filename":"image_23042025_08_51_05_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ba6c7c2cf5c99bbe688254fff093c40.jpg","text":"TemporaryFile(/tmp/multipartBody8106922227051443584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391184051,"filename":"image_23042025_08_51_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1f49739008d17c8c1ff874ce81222b5.jpg","text":"TemporaryFile(/tmp/multipartBody3335061622610000910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391184051,"filename":"image_23042025_08_51_25_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64985832bb9abfac0defa050699ecc7a.jpg","text":"TemporaryFile(/tmp/multipartBody5077900995274777535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391184051,"filename":"image_23042025_08_51_35_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f2288f5dea3ade3cba1393cc8b5a81c.jpg","text":"TemporaryFile(/tmp/multipartBody324170524588019181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391184051,"filename":"image_23042025_08_51_45_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352954738","file1":"1352954723","file0":"1352954694","file4":"1352954748","file5":"1352954760","file3":"1352954741"},"map_files_photo_id_array":[{"photo_id":"1352954760","filename":"file5"},{"photo_id":"1352954738","filename":"file2"},{"photo_id":"1352954748","filename":"file4"},{"photo_id":"1352954723","filename":"file1"},{"photo_id":"1352954694","filename":"file0"},{"photo_id":"1352954741","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352954760":["hashtag1","hashtag2"]},{"1352954748":["hashtag1","hashtag2"]},{"1352954741":["hashtag1","hashtag2"]},{"1352954738":["hashtag1","hashtag2"]},{"1352954723":["hashtag1","hashtag2"]},{"1352954694":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352954760, 1352954748, 1352954741, 1352954738, 1352954723, 1352954694)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25013589859009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:53:02.787355
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_45_10732.jpg', 2), ('/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_35_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_25_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_15_9700.jpg', 2), ('/home/nano/Desktop/images/23042025/08/51/image_23042025_08_52_06_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_55_9699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_45_10732.jpg', '/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_35_9685.jpg', '/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_25_9721.jpg', '/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_15_9700.jpg', '/home/nano/Desktop/images/23042025/08/51/image_23042025_08_52_06_10728.jpg', '/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_55_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_45_10732.jpg
/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_35_9685.jpg
/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_25_9721.jpg
/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_15_9700.jpg
/home/nano/Desktop/images/23042025/08/51/image_23042025_08_52_06_10728.jpg
/home/nano/Desktop/images/23042025/08/51/image_23042025_08_51_55_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352955024","1352955303","1352955382","1352954924","1352954941","1352954944"],"photo_ids_order":["1352954924","1352954941","1352954944","1352955024","1352955303","1352955382"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/872923b1b9023fff4e4457d6770d0107.jpg","text":"TemporaryFile(/tmp/multipartBody5510437239414875335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391244220,"filename":"image_23042025_08_52_15_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de1dd389adb2a176f5e4eb18a05af826.jpg","text":"TemporaryFile(/tmp/multipartBody7589303105439524216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391244220,"filename":"image_23042025_08_52_06_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce50da9da78f5ad67e654392e2575812.jpg","text":"TemporaryFile(/tmp/multipartBody5441549655872331593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391244220,"filename":"image_23042025_08_51_55_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7a03b88a43933ce59bde910978fd1c4.jpg","text":"TemporaryFile(/tmp/multipartBody2185482580247902302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391244220,"filename":"image_23042025_08_52_45_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/369ed2051556aee0e1669ac16fe27eba.jpg","text":"TemporaryFile(/tmp/multipartBody5902192169257394409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391244220,"filename":"image_23042025_08_52_35_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0eb408fe5af40e72f94b70896a10d277.jpg","text":"TemporaryFile(/tmp/multipartBody4165634521423176196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391244220,"filename":"image_23042025_08_52_25_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352954944","file1":"1352954941","file0":"1352954924","file4":"1352955303","file5":"1352955382","file3":"1352955024"},"map_files_photo_id_array":[{"photo_id":"1352955382","filename":"file5"},{"photo_id":"1352954944","filename":"file2"},{"photo_id":"1352955303","filename":"file4"},{"photo_id":"1352954941","filename":"file1"},{"photo_id":"1352954924","filename":"file0"},{"photo_id":"1352955024","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352955024":["hashtag1","hashtag2"]},{"1352955303":["hashtag1","hashtag2"]},{"1352955382":["hashtag1","hashtag2"]},{"1352954924":["hashtag1","hashtag2"]},{"1352954941":["hashtag1","hashtag2"]},{"1352954944":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352955024, 1352955303, 1352955382, 1352954924, 1352954941, 1352954944)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3637216091156 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:54:03.059378
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_45_10685.jpg', 2), ('/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_35_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_25_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_15_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/08/52/image_23042025_08_53_05_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_55_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_45_10685.jpg', '/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_35_9713.jpg', '/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_25_9638.jpg', '/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_15_10720.jpg', '/home/nano/Desktop/images/23042025/08/52/image_23042025_08_53_05_9690.jpg', '/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_55_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_45_10685.jpg
/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_35_9713.jpg
/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_25_9638.jpg
/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_15_10720.jpg
/home/nano/Desktop/images/23042025/08/52/image_23042025_08_53_05_9690.jpg
/home/nano/Desktop/images/23042025/08/52/image_23042025_08_52_55_9674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352955590","1352955584","1352955572","1352955586","1352955580","1352955576"],"photo_ids_order":["1352955572","1352955576","1352955580","1352955584","1352955586","1352955590"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb6f4787f77e4d8dab995644766b4e88.jpg","text":"TemporaryFile(/tmp/multipartBody8382927220972246196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391305077,"filename":"image_23042025_08_52_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb61bfee5a65c157c44806cf20201a71.jpg","text":"TemporaryFile(/tmp/multipartBody8305071998603718818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391305077,"filename":"image_23042025_08_53_15_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76839f401da8f801cb60a4c4eb4d87e9.jpg","text":"TemporaryFile(/tmp/multipartBody4016150719165484634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391305077,"filename":"image_23042025_08_53_45_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a2bd41c970fb6c496d5e56c9de12e86.jpg","text":"TemporaryFile(/tmp/multipartBody1504939680851812790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391305077,"filename":"image_23042025_08_53_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd944430cf078d424c09fe3fece67f92.jpg","text":"TemporaryFile(/tmp/multipartBody2385903717849329064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391305077,"filename":"image_23042025_08_53_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80f6cdddb2ab5f7ff8ec42c8b3d5631c.jpg","text":"TemporaryFile(/tmp/multipartBody7153017111199253836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391305077,"filename":"image_23042025_08_53_35_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352955580","file1":"1352955576","file0":"1352955572","file4":"1352955586","file5":"1352955590","file3":"1352955584"},"map_files_photo_id_array":[{"photo_id":"1352955590","filename":"file5"},{"photo_id":"1352955580","filename":"file2"},{"photo_id":"1352955586","filename":"file4"},{"photo_id":"1352955576","filename":"file1"},{"photo_id":"1352955572","filename":"file0"},{"photo_id":"1352955584","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352955590":["hashtag1","hashtag2"]},{"1352955584":["hashtag1","hashtag2"]},{"1352955572":["hashtag1","hashtag2"]},{"1352955586":["hashtag1","hashtag2"]},{"1352955580":["hashtag1","hashtag2"]},{"1352955576":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352955590, 1352955584, 1352955572, 1352955586, 1352955580, 1352955576)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02179551124573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:55:02.988744
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_45_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_35_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_25_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_15_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/08/53/image_23042025_08_54_05_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_55_9722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_45_10659.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_35_9625.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_25_10650.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_15_9695.jpg', '/home/nano/Desktop/images/23042025/08/53/image_23042025_08_54_05_9639.jpg', '/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_55_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_45_10659.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_35_9625.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_25_10650.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_15_9695.jpg
/home/nano/Desktop/images/23042025/08/53/image_23042025_08_54_05_9639.jpg
/home/nano/Desktop/images/23042025/08/53/image_23042025_08_53_55_9722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352955869","1352955950","1352955947","1352955955","1352955619","1352955690"],"photo_ids_order":["1352955619","1352955690","1352955869","1352955947","1352955950","1352955955"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/672fb87ac6e4ccfafb442eafd21ba31a.jpg","text":"TemporaryFile(/tmp/multipartBody8976125045259102761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391364529,"filename":"image_23042025_08_54_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/227e0c17652af2041b12db30d37fa71a.jpg","text":"TemporaryFile(/tmp/multipartBody7106862137357428765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391364529,"filename":"image_23042025_08_54_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efd4a478bab24200d13e2423fc41bed4.jpg","text":"TemporaryFile(/tmp/multipartBody4662924164683022213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391364529,"filename":"image_23042025_08_54_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f9f94195ee2fdf7b0fc869b2792cc2f.jpg","text":"TemporaryFile(/tmp/multipartBody530448986451961658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391364529,"filename":"image_23042025_08_53_55_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b08a74c758ce4548fea387249da65f5.jpg","text":"TemporaryFile(/tmp/multipartBody268545767148493182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391364529,"filename":"image_23042025_08_54_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b92b358ee1177e61d6e64563362b97e2.jpg","text":"TemporaryFile(/tmp/multipartBody7991132975058033566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391364529,"filename":"image_23042025_08_54_35_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352955869","file1":"1352955690","file0":"1352955619","file4":"1352955950","file5":"1352955955","file3":"1352955947"},"map_files_photo_id_array":[{"photo_id":"1352955955","filename":"file5"},{"photo_id":"1352955869","filename":"file2"},{"photo_id":"1352955950","filename":"file4"},{"photo_id":"1352955690","filename":"file1"},{"photo_id":"1352955619","filename":"file0"},{"photo_id":"1352955947","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352955869":["hashtag1","hashtag2"]},{"1352955950":["hashtag1","hashtag2"]},{"1352955947":["hashtag1","hashtag2"]},{"1352955955":["hashtag1","hashtag2"]},{"1352955619":["hashtag1","hashtag2"]},{"1352955690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352955869, 1352955950, 1352955947, 1352955955, 1352955619, 1352955690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.0881724357605 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:56:02.962857
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_45_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_35_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_25_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_15_10682.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_55_05_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_45_10655.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_35_9654.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_25_9667.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_15_10682.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_55_05_9674.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_45_10655.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_35_9654.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_25_9667.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_15_10682.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_55_05_9674.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_55_9643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6929230690002441 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:56:32.373661
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_45_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_35_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_25_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_15_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_56_05_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_55_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_45_10660.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_35_9646.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_25_9661.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_15_10688.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_56_05_9670.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_55_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_45_10660.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_35_9646.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_25_9661.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_15_10688.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_56_05_9670.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_55_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352956046","1352956042","1352956036","1352956030","1352956024","1352956018"],"photo_ids_order":["1352956018","1352956024","1352956030","1352956036","1352956042","1352956046"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a35980af78902934d93ab0215f4a0e8f.jpg","text":"TemporaryFile(/tmp/multipartBody1002776365881076321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391453959,"filename":"image_23042025_08_55_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efdd54bcb7754e5cb83270947de9cccb.jpg","text":"TemporaryFile(/tmp/multipartBody2509200911414178373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391453959,"filename":"image_23042025_08_56_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aebabdbf8aace0bfcdf50d37f22f8dbf.jpg","text":"TemporaryFile(/tmp/multipartBody1929834470975515055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391453959,"filename":"image_23042025_08_56_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9163c2bdf13f10926c6c82fe168147a.jpg","text":"TemporaryFile(/tmp/multipartBody1689369111545285009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391453959,"filename":"image_23042025_08_56_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e435b7a0eafefdc74bf71d3898b9ca90.jpg","text":"TemporaryFile(/tmp/multipartBody3520547322095869568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391453959,"filename":"image_23042025_08_56_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08fb37c56b87a16c80a8764a45cf60ff.jpg","text":"TemporaryFile(/tmp/multipartBody6299863562402506793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391453959,"filename":"image_23042025_08_56_45_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352956030","file1":"1352956024","file0":"1352956018","file4":"1352956042","file5":"1352956046","file3":"1352956036"},"map_files_photo_id_array":[{"photo_id":"1352956046","filename":"file5"},{"photo_id":"1352956030","filename":"file2"},{"photo_id":"1352956042","filename":"file4"},{"photo_id":"1352956024","filename":"file1"},{"photo_id":"1352956018","filename":"file0"},{"photo_id":"1352956036","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352956046":["hashtag1","hashtag2"]},{"1352956042":["hashtag1","hashtag2"]},{"1352956036":["hashtag1","hashtag2"]},{"1352956030":["hashtag1","hashtag2"]},{"1352956024":["hashtag1","hashtag2"]},{"1352956018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352956046, 1352956042, 1352956036, 1352956030, 1352956024, 1352956018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.543115854263306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:57:32.540176
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_45_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_35_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_25_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_15_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_57_05_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_45_10662.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_35_9648.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_25_9678.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_15_10687.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_57_05_9654.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_45_10662.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_35_9648.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_25_9678.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_15_10687.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_57_05_9654.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_55_9705.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:58:02.982024
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_45_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_35_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_25_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_15_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_57_05_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_45_10662.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_35_9648.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_25_9678.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_15_10687.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_57_05_9654.jpg', '/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_45_10662.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_35_9648.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_25_9678.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_15_10687.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_57_05_9654.jpg
/home/nano/Desktop/images/23042025/08/56/image_23042025_08_56_55_9705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352956618","1352956593","1352956767","1352956793","1352956694","1352956605"],"photo_ids_order":["1352956593","1352956605","1352956618","1352956694","1352956767","1352956793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4775495b084321eb8ae0d1bfbf815e0.jpg","text":"TemporaryFile(/tmp/multipartBody3147920883932489367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391544774,"filename":"image_23042025_08_57_25_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdb75402f5aa889bff02b0b60817889c.jpg","text":"TemporaryFile(/tmp/multipartBody4663630685314347394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391544774,"filename":"image_23042025_08_57_45_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ad50fb7b45d29a400d89ce29b98aac3.jpg","text":"TemporaryFile(/tmp/multipartBody930332359409476653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391544774,"filename":"image_23042025_08_57_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d925b1d44aa092eb9eb4fcf4c157b48c.jpg","text":"TemporaryFile(/tmp/multipartBody5560355252788936730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391544774,"filename":"image_23042025_08_56_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09f2567412dbf3fda5f9e473b1c0d440.jpg","text":"TemporaryFile(/tmp/multipartBody5051346082128393092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391544774,"filename":"image_23042025_08_57_15_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10a36961512218eca4ebdf67a52a6811.jpg","text":"TemporaryFile(/tmp/multipartBody3958154694935650204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391544774,"filename":"image_23042025_08_57_35_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352956618","file1":"1352956605","file0":"1352956593","file4":"1352956767","file5":"1352956793","file3":"1352956694"},"map_files_photo_id_array":[{"photo_id":"1352956793","filename":"file5"},{"photo_id":"1352956618","filename":"file2"},{"photo_id":"1352956767","filename":"file4"},{"photo_id":"1352956605","filename":"file1"},{"photo_id":"1352956593","filename":"file0"},{"photo_id":"1352956694","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352956618":["hashtag1","hashtag2"]},{"1352956593":["hashtag1","hashtag2"]},{"1352956767":["hashtag1","hashtag2"]},{"1352956793":["hashtag1","hashtag2"]},{"1352956694":["hashtag1","hashtag2"]},{"1352956605":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352956618, 1352956593, 1352956767, 1352956793, 1352956694, 1352956605)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.358052492141724 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 08:59:03.675101
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_45_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_35_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_25_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_15_10682.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_55_05_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_55_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_45_10655.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_35_9654.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_25_9667.jpg', '/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_15_10682.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_55_05_9674.jpg', '/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_55_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_45_10655.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_35_9654.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_25_9667.jpg
/home/nano/Desktop/images/23042025/08/55/image_23042025_08_55_15_10682.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_55_05_9674.jpg
/home/nano/Desktop/images/23042025/08/54/image_23042025_08_54_55_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352957332","1352957199","1352957367","1352957232","1352957297","1352957267"],"photo_ids_order":["1352957199","1352957232","1352957267","1352957297","1352957332","1352957367"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad57de6ea3c5b5e436c5ae2de3243dc2.jpg","text":"TemporaryFile(/tmp/multipartBody4049622106495228415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391605752,"filename":"image_23042025_08_55_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2891ceaf3ec1e1743c2f29995cb6582f.jpg","text":"TemporaryFile(/tmp/multipartBody6473672990236335910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391605752,"filename":"image_23042025_08_55_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05c2c2e495befe52e3b1971b514164f2.jpg","text":"TemporaryFile(/tmp/multipartBody4340379366396091378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391605752,"filename":"image_23042025_08_54_55_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4056f3b1cd491f9fe2cf57c8ffe49fc.jpg","text":"TemporaryFile(/tmp/multipartBody3468769643041858686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391605752,"filename":"image_23042025_08_55_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9aa9b42e90c5a80526b9bff187e0998b.jpg","text":"TemporaryFile(/tmp/multipartBody4815754883580268931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391605752,"filename":"image_23042025_08_55_15_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fbc8c65dcb4540615cbd1f37cd66613.jpg","text":"TemporaryFile(/tmp/multipartBody2643249545549450850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391605752,"filename":"image_23042025_08_55_25_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352957267","file1":"1352957232","file0":"1352957199","file4":"1352957332","file5":"1352957367","file3":"1352957297"},"map_files_photo_id_array":[{"photo_id":"1352957367","filename":"file5"},{"photo_id":"1352957267","filename":"file2"},{"photo_id":"1352957332","filename":"file4"},{"photo_id":"1352957232","filename":"file1"},{"photo_id":"1352957199","filename":"file0"},{"photo_id":"1352957297","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352957332":["hashtag1","hashtag2"]},{"1352957199":["hashtag1","hashtag2"]},{"1352957367":["hashtag1","hashtag2"]},{"1352957232":["hashtag1","hashtag2"]},{"1352957297":["hashtag1","hashtag2"]},{"1352957267":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352957332, 1352957199, 1352957367, 1352957232, 1352957297, 1352957267)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.152655839920044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:00:03.190714
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_45_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_25_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_15_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/08/58/image_23042025_08_59_05_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_55_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_45_10659.jpg', '/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_35_9639.jpg', '/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_25_9656.jpg', '/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_15_10670.jpg', '/home/nano/Desktop/images/23042025/08/58/image_23042025_08_59_05_9644.jpg', '/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_55_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_45_10659.jpg
/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_35_9639.jpg
/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_25_9656.jpg
/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_15_10670.jpg
/home/nano/Desktop/images/23042025/08/58/image_23042025_08_59_05_9644.jpg
/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_55_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352957593","1352957572","1352957548","1352957496","1352957466","1352957522"],"photo_ids_order":["1352957466","1352957496","1352957522","1352957548","1352957572","1352957593"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ca8c15d396d5f010159d03d94b113c0.jpg","text":"TemporaryFile(/tmp/multipartBody2211179335204512636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391664893,"filename":"image_23042025_08_58_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba06e05f0fbb63dde0f384df6c6ddfdf.jpg","text":"TemporaryFile(/tmp/multipartBody2636285619680942735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391664893,"filename":"image_23042025_08_59_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49c3fa9e24aee90aa68f0e8c45d7f82e.jpg","text":"TemporaryFile(/tmp/multipartBody7372155176893919059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391664893,"filename":"image_23042025_08_59_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ab97dfb8cfebf515dadfcbf32677ff0.jpg","text":"TemporaryFile(/tmp/multipartBody4545662311293650186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391664893,"filename":"image_23042025_08_59_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c971300df0df3e71e767738f41addac.jpg","text":"TemporaryFile(/tmp/multipartBody5809307840316413616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391664893,"filename":"image_23042025_08_59_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fb10a1d9b0200c7d2feb97158e73556.jpg","text":"TemporaryFile(/tmp/multipartBody2298585286524220673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391664893,"filename":"image_23042025_08_59_25_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352957522","file1":"1352957496","file0":"1352957466","file4":"1352957572","file5":"1352957593","file3":"1352957548"},"map_files_photo_id_array":[{"photo_id":"1352957593","filename":"file5"},{"photo_id":"1352957522","filename":"file2"},{"photo_id":"1352957572","filename":"file4"},{"photo_id":"1352957496","filename":"file1"},{"photo_id":"1352957466","filename":"file0"},{"photo_id":"1352957548","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352957593":["hashtag1","hashtag2"]},{"1352957572":["hashtag1","hashtag2"]},{"1352957548":["hashtag1","hashtag2"]},{"1352957496":["hashtag1","hashtag2"]},{"1352957466":["hashtag1","hashtag2"]},{"1352957522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352957593, 1352957572, 1352957548, 1352957496, 1352957466, 1352957522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.93238115310669 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:01:02.552792
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_45_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_35_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_25_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_15_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/08/59/image_23042025_09_00_05_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_45_10664.jpg', '/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_35_9656.jpg', '/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_25_9646.jpg', '/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_15_10669.jpg', '/home/nano/Desktop/images/23042025/08/59/image_23042025_09_00_05_9671.jpg', '/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_45_10664.jpg
/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_35_9656.jpg
/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_25_9646.jpg
/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_15_10669.jpg
/home/nano/Desktop/images/23042025/08/59/image_23042025_09_00_05_9671.jpg
/home/nano/Desktop/images/23042025/08/59/image_23042025_08_59_55_9635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352957728","1352957713","1352957736","1352957730","1352957724","1352957732"],"photo_ids_order":["1352957713","1352957724","1352957728","1352957730","1352957732","1352957736"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b00732a47e7084665b92cd0c26e12926.jpg","text":"TemporaryFile(/tmp/multipartBody2809449785646350448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391723718,"filename":"image_23042025_09_00_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4ac140dc07a3f404f711e13fbfd38a7.jpg","text":"TemporaryFile(/tmp/multipartBody52028083406337729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391723718,"filename":"image_23042025_09_00_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4420bf5126316dea75c3cd2a35c38d9.jpg","text":"TemporaryFile(/tmp/multipartBody1874589663326720251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391723718,"filename":"image_23042025_08_59_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c94ab5bc45deca5be405ef142b1a5c1.jpg","text":"TemporaryFile(/tmp/multipartBody7121984352735751296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391723718,"filename":"image_23042025_09_00_15_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/489d6d74764265a1956c58e350c2178b.jpg","text":"TemporaryFile(/tmp/multipartBody8185152344524425907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391723718,"filename":"image_23042025_09_00_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a72a24ee73ce87572102932b5aa61bd9.jpg","text":"TemporaryFile(/tmp/multipartBody7978941901287850719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391723718,"filename":"image_23042025_09_00_05_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352957728","file1":"1352957724","file0":"1352957713","file4":"1352957732","file5":"1352957736","file3":"1352957730"},"map_files_photo_id_array":[{"photo_id":"1352957736","filename":"file5"},{"photo_id":"1352957728","filename":"file2"},{"photo_id":"1352957732","filename":"file4"},{"photo_id":"1352957724","filename":"file1"},{"photo_id":"1352957713","filename":"file0"},{"photo_id":"1352957730","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352957728":["hashtag1","hashtag2"]},{"1352957713":["hashtag1","hashtag2"]},{"1352957736":["hashtag1","hashtag2"]},{"1352957730":["hashtag1","hashtag2"]},{"1352957724":["hashtag1","hashtag2"]},{"1352957732":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352957728, 1352957713, 1352957736, 1352957730, 1352957724, 1352957732)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97517251968384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:02:02.464953
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_45_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_25_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_15_10689.jpg', 2), ('/home/nano/Desktop/images/23042025/09/00/image_23042025_09_01_05_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_45_10669.jpg', '/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_35_9639.jpg', '/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_25_9668.jpg', '/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_15_10689.jpg', '/home/nano/Desktop/images/23042025/09/00/image_23042025_09_01_05_9676.jpg', '/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_45_10669.jpg
/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_35_9639.jpg
/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_25_9668.jpg
/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_15_10689.jpg
/home/nano/Desktop/images/23042025/09/00/image_23042025_09_01_05_9676.jpg
/home/nano/Desktop/images/23042025/09/00/image_23042025_09_00_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352957860","1352957884","1352957901","1352957888","1352957876","1352957873"],"photo_ids_order":["1352957860","1352957873","1352957876","1352957884","1352957888","1352957901"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/358d49766b77ac8b4f6f2d0087137aa7.jpg","text":"TemporaryFile(/tmp/multipartBody7948291197565220769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391783990,"filename":"image_23042025_09_01_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4325b5b25b73f813f1e04e0fc546eca.jpg","text":"TemporaryFile(/tmp/multipartBody8535414809151574703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391783990,"filename":"image_23042025_09_01_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a49ed727be447424a247885e76ac8a58.jpg","text":"TemporaryFile(/tmp/multipartBody1347138325091315442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391783990,"filename":"image_23042025_09_00_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d5030780d1393528d174cf39bfec453.jpg","text":"TemporaryFile(/tmp/multipartBody2394745404244248287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391783990,"filename":"image_23042025_09_01_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/198c5ec18e015c82bf907907f6e4ab37.jpg","text":"TemporaryFile(/tmp/multipartBody758874291976429494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391783990,"filename":"image_23042025_09_01_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9ccf1f1f1b2ce42c7e5438d78356392.jpg","text":"TemporaryFile(/tmp/multipartBody4592468566886414482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391783990,"filename":"image_23042025_09_01_35_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352957876","file1":"1352957873","file0":"1352957860","file4":"1352957888","file5":"1352957901","file3":"1352957884"},"map_files_photo_id_array":[{"photo_id":"1352957901","filename":"file5"},{"photo_id":"1352957876","filename":"file2"},{"photo_id":"1352957888","filename":"file4"},{"photo_id":"1352957873","filename":"file1"},{"photo_id":"1352957860","filename":"file0"},{"photo_id":"1352957884","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352957860":["hashtag1","hashtag2"]},{"1352957884":["hashtag1","hashtag2"]},{"1352957901":["hashtag1","hashtag2"]},{"1352957888":["hashtag1","hashtag2"]},{"1352957876":["hashtag1","hashtag2"]},{"1352957873":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352957860, 1352957884, 1352957901, 1352957888, 1352957876, 1352957873)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.911882638931274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:03:02.692772
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_45_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_35_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_15_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/09/01/image_23042025_09_02_06_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_45_9640.jpg', '/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_35_10637.jpg', '/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_25_9657.jpg', '/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_15_9652.jpg', '/home/nano/Desktop/images/23042025/09/01/image_23042025_09_02_06_10668.jpg', '/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_45_9640.jpg
/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_35_10637.jpg
/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_25_9657.jpg
/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_15_9652.jpg
/home/nano/Desktop/images/23042025/09/01/image_23042025_09_02_06_10668.jpg
/home/nano/Desktop/images/23042025/09/01/image_23042025_09_01_55_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352957953","1352957958","1352957955","1352957951","1352957945","1352957948"],"photo_ids_order":["1352957945","1352957948","1352957951","1352957953","1352957955","1352957958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/478418dc9f0c1f6d977308f1d5eb4de5.jpg","text":"TemporaryFile(/tmp/multipartBody8381612294101336879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391844051,"filename":"image_23042025_09_02_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93fc9c2c299e3047e29dfee7bd4118ca.jpg","text":"TemporaryFile(/tmp/multipartBody1231980649061533459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391844051,"filename":"image_23042025_09_01_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fe1fb0d418053f099b6241f8a92e959.jpg","text":"TemporaryFile(/tmp/multipartBody284284748766633351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391844051,"filename":"image_23042025_09_02_06_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fb682d092dee7d67647a6412995bda1.jpg","text":"TemporaryFile(/tmp/multipartBody3801963416739242632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391844051,"filename":"image_23042025_09_02_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/848879ab93f7cb32b8e062f2ab5fffbb.jpg","text":"TemporaryFile(/tmp/multipartBody9110779006230549098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391844051,"filename":"image_23042025_09_02_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ea20bf6497756ece774751f051ad4f2.jpg","text":"TemporaryFile(/tmp/multipartBody6558083800869410631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391844051,"filename":"image_23042025_09_02_35_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352957951","file1":"1352957948","file0":"1352957945","file4":"1352957955","file5":"1352957958","file3":"1352957953"},"map_files_photo_id_array":[{"photo_id":"1352957958","filename":"file5"},{"photo_id":"1352957951","filename":"file2"},{"photo_id":"1352957955","filename":"file4"},{"photo_id":"1352957948","filename":"file1"},{"photo_id":"1352957945","filename":"file0"},{"photo_id":"1352957953","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352957953":["hashtag1","hashtag2"]},{"1352957958":["hashtag1","hashtag2"]},{"1352957955":["hashtag1","hashtag2"]},{"1352957951":["hashtag1","hashtag2"]},{"1352957945":["hashtag1","hashtag2"]},{"1352957948":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352957953, 1352957958, 1352957955, 1352957951, 1352957945, 1352957948)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.867499351501465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:04:02.974386
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_45_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_25_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_15_10733.jpg', 2), ('/home/nano/Desktop/images/23042025/09/02/image_23042025_09_03_05_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_55_9727.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_45_10720.jpg', '/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_35_9708.jpg', '/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_25_9708.jpg', '/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_15_10733.jpg', '/home/nano/Desktop/images/23042025/09/02/image_23042025_09_03_05_9711.jpg', '/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_55_9727.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_45_10720.jpg
/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_35_9708.jpg
/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_25_9708.jpg
/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_15_10733.jpg
/home/nano/Desktop/images/23042025/09/02/image_23042025_09_03_05_9711.jpg
/home/nano/Desktop/images/23042025/09/02/image_23042025_09_02_55_9727.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352958004","1352958001","1352958080","1352958077","1352957996","1352958107"],"photo_ids_order":["1352957996","1352958001","1352958004","1352958077","1352958080","1352958107"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4addf2909ac8b7334b68c256c2ed9be7.jpg","text":"TemporaryFile(/tmp/multipartBody1732095649814077728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391904873,"filename":"image_23042025_09_03_25_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f33090752d599455591b1f764fd0ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5667334575756078978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391904873,"filename":"image_23042025_09_03_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9bd06e588ab7e058c118e4a5ee49e2c.jpg","text":"TemporaryFile(/tmp/multipartBody8789555496912282123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391904873,"filename":"image_23042025_09_03_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/438bd2d1c869d57690eb07d841b72ae1.jpg","text":"TemporaryFile(/tmp/multipartBody1997191655347090286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391904873,"filename":"image_23042025_09_03_15_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8eb0b92d793b67541aa3196982e43b89.jpg","text":"TemporaryFile(/tmp/multipartBody4017710893046882776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391904873,"filename":"image_23042025_09_03_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f7460ff8cfb74b419caa453ba742792.jpg","text":"TemporaryFile(/tmp/multipartBody8866225352752065471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391904873,"filename":"image_23042025_09_02_55_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352958004","file1":"1352958001","file0":"1352957996","file4":"1352958080","file5":"1352958107","file3":"1352958077"},"map_files_photo_id_array":[{"photo_id":"1352958107","filename":"file5"},{"photo_id":"1352958004","filename":"file2"},{"photo_id":"1352958080","filename":"file4"},{"photo_id":"1352958001","filename":"file1"},{"photo_id":"1352957996","filename":"file0"},{"photo_id":"1352958077","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352958004":["hashtag1","hashtag2"]},{"1352958001":["hashtag1","hashtag2"]},{"1352958080":["hashtag1","hashtag2"]},{"1352958077":["hashtag1","hashtag2"]},{"1352957996":["hashtag1","hashtag2"]},{"1352958107":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352958004, 1352958001, 1352958080, 1352958077, 1352957996, 1352958107)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.562355756759644 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:05:02.944824
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_35_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_25_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_15_9759.jpg', 2), ('/home/nano/Desktop/images/23042025/09/03/image_23042025_09_04_05_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_55_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_45_9708.jpg', '/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_35_9708.jpg', '/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_25_10719.jpg', '/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_15_9759.jpg', '/home/nano/Desktop/images/23042025/09/03/image_23042025_09_04_05_9711.jpg', '/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_55_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_45_9708.jpg
/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_35_9708.jpg
/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_25_10719.jpg
/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_15_9759.jpg
/home/nano/Desktop/images/23042025/09/03/image_23042025_09_04_05_9711.jpg
/home/nano/Desktop/images/23042025/09/03/image_23042025_09_03_55_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352958193","1352958187","1352958195","1352958183","1352958191","1352958199"],"photo_ids_order":["1352958183","1352958187","1352958191","1352958193","1352958195","1352958199"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9f6d72f781f124a5a23aa2133417275.jpg","text":"TemporaryFile(/tmp/multipartBody3063388734193718213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391964509,"filename":"image_23042025_09_04_15_9759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c613da7539546541a8e9726502e1c3d5.jpg","text":"TemporaryFile(/tmp/multipartBody4997431014440377824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391964509,"filename":"image_23042025_09_04_35_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8abe78f038c9f75a826fc31fcb1b2558.jpg","text":"TemporaryFile(/tmp/multipartBody6420431999165568361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391964509,"filename":"image_23042025_09_04_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34dc0e72a484d88ac9390f4a75cdd224.jpg","text":"TemporaryFile(/tmp/multipartBody1786269567820892657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391964509,"filename":"image_23042025_09_04_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a5d515b136b363c936a287bf2fcffdb.jpg","text":"TemporaryFile(/tmp/multipartBody1523745107735954813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391964509,"filename":"image_23042025_09_04_25_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8be7baba043798b8a80d315bf3361822.jpg","text":"TemporaryFile(/tmp/multipartBody8317532734449151463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745391964509,"filename":"image_23042025_09_03_55_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352958191","file1":"1352958187","file0":"1352958183","file4":"1352958195","file5":"1352958199","file3":"1352958193"},"map_files_photo_id_array":[{"photo_id":"1352958199","filename":"file5"},{"photo_id":"1352958191","filename":"file2"},{"photo_id":"1352958195","filename":"file4"},{"photo_id":"1352958187","filename":"file1"},{"photo_id":"1352958183","filename":"file0"},{"photo_id":"1352958193","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352958193":["hashtag1","hashtag2"]},{"1352958187":["hashtag1","hashtag2"]},{"1352958195":["hashtag1","hashtag2"]},{"1352958183":["hashtag1","hashtag2"]},{"1352958191":["hashtag1","hashtag2"]},{"1352958199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352958193, 1352958187, 1352958195, 1352958183, 1352958191, 1352958199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.904940366744995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:06:03.035051
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_45_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_35_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_25_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_15_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/09/04/image_23042025_09_05_05_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_55_10720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_45_9633.jpg', '/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_35_10707.jpg', '/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_25_9730.jpg', '/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_15_9727.jpg', '/home/nano/Desktop/images/23042025/09/04/image_23042025_09_05_05_9722.jpg', '/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_55_10720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_45_9633.jpg
/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_35_10707.jpg
/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_25_9730.jpg
/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_15_9727.jpg
/home/nano/Desktop/images/23042025/09/04/image_23042025_09_05_05_9722.jpg
/home/nano/Desktop/images/23042025/09/04/image_23042025_09_04_55_10720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352958360","1352958363","1352958395","1352958321","1352958371","1352958365"],"photo_ids_order":["1352958321","1352958360","1352958363","1352958365","1352958371","1352958395"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a777cf6c3464c431372ffa01f172c23b.jpg","text":"TemporaryFile(/tmp/multipartBody8801884090659963696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392024682,"filename":"image_23042025_09_05_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42a4c433a9dbe98db1ac838366fc34da.jpg","text":"TemporaryFile(/tmp/multipartBody7645369397823723894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392024682,"filename":"image_23042025_09_05_25_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ef579af82d9c7ae61d79271a104246f.jpg","text":"TemporaryFile(/tmp/multipartBody61911011926867680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392024682,"filename":"image_23042025_09_04_55_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38ee820dfe9aa1c453aa4d10ae438155.jpg","text":"TemporaryFile(/tmp/multipartBody6823552821512973134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392024682,"filename":"image_23042025_09_05_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1464cedd2e13e6eb9791a939af970d59.jpg","text":"TemporaryFile(/tmp/multipartBody6305969133394978312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392024682,"filename":"image_23042025_09_05_05_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/910ae4440b46871a202bfd3929592e07.jpg","text":"TemporaryFile(/tmp/multipartBody1079770472969801404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392024682,"filename":"image_23042025_09_05_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352958363","file1":"1352958360","file0":"1352958321","file4":"1352958371","file5":"1352958395","file3":"1352958365"},"map_files_photo_id_array":[{"photo_id":"1352958395","filename":"file5"},{"photo_id":"1352958363","filename":"file2"},{"photo_id":"1352958371","filename":"file4"},{"photo_id":"1352958360","filename":"file1"},{"photo_id":"1352958321","filename":"file0"},{"photo_id":"1352958365","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352958360":["hashtag1","hashtag2"]},{"1352958363":["hashtag1","hashtag2"]},{"1352958395":["hashtag1","hashtag2"]},{"1352958321":["hashtag1","hashtag2"]},{"1352958371":["hashtag1","hashtag2"]},{"1352958365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352958360, 1352958363, 1352958395, 1352958321, 1352958371, 1352958365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.0593900680542 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:07:03.297028
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_45_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_35_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_25_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_15_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/09/05/image_23042025_09_06_05_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_45_9646.jpg', '/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_35_10650.jpg', '/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_25_9634.jpg', '/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_15_9666.jpg', '/home/nano/Desktop/images/23042025/09/05/image_23042025_09_06_05_10633.jpg', '/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_45_9646.jpg
/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_35_10650.jpg
/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_25_9634.jpg
/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_15_9666.jpg
/home/nano/Desktop/images/23042025/09/05/image_23042025_09_06_05_10633.jpg
/home/nano/Desktop/images/23042025/09/05/image_23042025_09_05_55_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352958730","1352958759","1352958747","1352958720","1352958702","1352958752"],"photo_ids_order":["1352958702","1352958720","1352958730","1352958747","1352958752","1352958759"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af4b22ad6db76323b57a11d09925898d.jpg","text":"TemporaryFile(/tmp/multipartBody3986334552256446563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392084842,"filename":"image_23042025_09_06_25_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4371f95a0ed9313380a89cf6f27b4a3c.jpg","text":"TemporaryFile(/tmp/multipartBody1181377641387846570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392084842,"filename":"image_23042025_09_05_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6443234da604b9da5bc6b2b3714dfde.jpg","text":"TemporaryFile(/tmp/multipartBody760286652513345183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392084842,"filename":"image_23042025_09_06_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7781839bbde3d95ed092ac11eaa8bd59.jpg","text":"TemporaryFile(/tmp/multipartBody1388517152208857591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392084842,"filename":"image_23042025_09_06_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92fcbe5d93c45e2e17737eb87cc36e86.jpg","text":"TemporaryFile(/tmp/multipartBody7041448529979205878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392084842,"filename":"image_23042025_09_06_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64f98bec6f77205342b3405ac7a3e31c.jpg","text":"TemporaryFile(/tmp/multipartBody2900809827509587919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392084842,"filename":"image_23042025_09_06_05_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352958730","file1":"1352958720","file0":"1352958702","file4":"1352958752","file5":"1352958759","file3":"1352958747"},"map_files_photo_id_array":[{"photo_id":"1352958759","filename":"file5"},{"photo_id":"1352958730","filename":"file2"},{"photo_id":"1352958752","filename":"file4"},{"photo_id":"1352958720","filename":"file1"},{"photo_id":"1352958702","filename":"file0"},{"photo_id":"1352958747","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352958730":["hashtag1","hashtag2"]},{"1352958759":["hashtag1","hashtag2"]},{"1352958747":["hashtag1","hashtag2"]},{"1352958720":["hashtag1","hashtag2"]},{"1352958702":["hashtag1","hashtag2"]},{"1352958752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352958730, 1352958759, 1352958747, 1352958720, 1352958702, 1352958752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.531503677368164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:08:03.184837
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_35_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_25_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_15_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/09/06/image_23042025_09_07_05_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_55_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_45_9641.jpg', '/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_35_9646.jpg', '/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_25_10674.jpg', '/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_15_9643.jpg', '/home/nano/Desktop/images/23042025/09/06/image_23042025_09_07_05_9660.jpg', '/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_55_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_45_9641.jpg
/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_35_9646.jpg
/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_25_10674.jpg
/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_15_9643.jpg
/home/nano/Desktop/images/23042025/09/06/image_23042025_09_07_05_9660.jpg
/home/nano/Desktop/images/23042025/09/06/image_23042025_09_06_55_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959015","1352959000","1352958988","1352959053","1352959032","1352959013"],"photo_ids_order":["1352958988","1352959000","1352959013","1352959015","1352959032","1352959053"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ddfc5edfffd980b08da9ca52b99c97d.jpg","text":"TemporaryFile(/tmp/multipartBody1830514272336342851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392144357,"filename":"image_23042025_09_07_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d4714165b1584e45292935d141a297f.jpg","text":"TemporaryFile(/tmp/multipartBody3277581207064886728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392144357,"filename":"image_23042025_09_07_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c5c9d5de40fda3f0cbc11ecd9e75bc3.jpg","text":"TemporaryFile(/tmp/multipartBody6088520657730249471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392144357,"filename":"image_23042025_09_07_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/451e914d808a773431b5452caac90b6d.jpg","text":"TemporaryFile(/tmp/multipartBody2072210126395718526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392144357,"filename":"image_23042025_09_06_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e6c3f9e7fad72fbd52316a996f4a2a2.jpg","text":"TemporaryFile(/tmp/multipartBody3712721305042567460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392144357,"filename":"image_23042025_09_07_05_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01cf53d468e8fa262f675bcb0160fd45.jpg","text":"TemporaryFile(/tmp/multipartBody5690287993540972706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392144357,"filename":"image_23042025_09_07_25_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352959013","file1":"1352959000","file0":"1352958988","file4":"1352959032","file5":"1352959053","file3":"1352959015"},"map_files_photo_id_array":[{"photo_id":"1352959053","filename":"file5"},{"photo_id":"1352959013","filename":"file2"},{"photo_id":"1352959032","filename":"file4"},{"photo_id":"1352959000","filename":"file1"},{"photo_id":"1352958988","filename":"file0"},{"photo_id":"1352959015","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959015":["hashtag1","hashtag2"]},{"1352959000":["hashtag1","hashtag2"]},{"1352958988":["hashtag1","hashtag2"]},{"1352959053":["hashtag1","hashtag2"]},{"1352959032":["hashtag1","hashtag2"]},{"1352959013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959015, 1352959000, 1352958988, 1352959053, 1352959032, 1352959013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.540318727493286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:09:03.760982
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_45_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_35_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_25_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_15_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/09/07/image_23042025_09_08_05_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_45_9645.jpg', '/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_35_9642.jpg', '/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_25_10664.jpg', '/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_15_9671.jpg', '/home/nano/Desktop/images/23042025/09/07/image_23042025_09_08_05_9643.jpg', '/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_45_9645.jpg
/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_35_9642.jpg
/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_25_10664.jpg
/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_15_9671.jpg
/home/nano/Desktop/images/23042025/09/07/image_23042025_09_08_05_9643.jpg
/home/nano/Desktop/images/23042025/09/07/image_23042025_09_07_55_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959097","1352959094","1352959100","1352959103","1352959106","1352959111"],"photo_ids_order":["1352959094","1352959097","1352959100","1352959103","1352959106","1352959111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69da9e261103c3061c818f4ec4300e57.jpg","text":"TemporaryFile(/tmp/multipartBody1740922296403894027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392205631,"filename":"image_23042025_09_08_35_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b451df89e6e91ce503ce35e2696f384.jpg","text":"TemporaryFile(/tmp/multipartBody3210945799842151540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392205631,"filename":"image_23042025_09_08_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07007ab6dbf2ad7c1d37140352945437.jpg","text":"TemporaryFile(/tmp/multipartBody271913950603167789asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392205631,"filename":"image_23042025_09_08_25_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d825ff39ba3c9e89d1c965152503990.jpg","text":"TemporaryFile(/tmp/multipartBody3366561576047819718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392205631,"filename":"image_23042025_09_08_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45133df1c4b95a9dc0f7310ee597b0e2.jpg","text":"TemporaryFile(/tmp/multipartBody4070860745621214653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392205631,"filename":"image_23042025_09_08_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b07edaf6bf0dfd45f83f17a97ecfd026.jpg","text":"TemporaryFile(/tmp/multipartBody6228266535933199610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392205631,"filename":"image_23042025_09_07_55_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352959100","file1":"1352959097","file0":"1352959094","file4":"1352959106","file5":"1352959111","file3":"1352959103"},"map_files_photo_id_array":[{"photo_id":"1352959111","filename":"file5"},{"photo_id":"1352959100","filename":"file2"},{"photo_id":"1352959106","filename":"file4"},{"photo_id":"1352959097","filename":"file1"},{"photo_id":"1352959094","filename":"file0"},{"photo_id":"1352959103","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959097":["hashtag1","hashtag2"]},{"1352959094":["hashtag1","hashtag2"]},{"1352959100":["hashtag1","hashtag2"]},{"1352959103":["hashtag1","hashtag2"]},{"1352959106":["hashtag1","hashtag2"]},{"1352959111":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959097, 1352959094, 1352959100, 1352959103, 1352959106, 1352959111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.379114627838135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:10:02.432315
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_45_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_35_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_25_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_15_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/09/08/image_23042025_09_09_05_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_55_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_45_9656.jpg', '/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_35_9652.jpg', '/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_25_10648.jpg', '/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_15_9668.jpg', '/home/nano/Desktop/images/23042025/09/08/image_23042025_09_09_05_9670.jpg', '/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_45_9656.jpg
/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_35_9652.jpg
/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_25_10648.jpg
/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_15_9668.jpg
/home/nano/Desktop/images/23042025/09/08/image_23042025_09_09_05_9670.jpg
/home/nano/Desktop/images/23042025/09/08/image_23042025_09_08_55_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959185","1352959146","1352959193","1352959187","1352959189","1352959156"],"photo_ids_order":["1352959146","1352959156","1352959185","1352959187","1352959189","1352959193"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84fdfaa2d75329d618e9d06c21833e34.jpg","text":"TemporaryFile(/tmp/multipartBody506634125396846071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392263719,"filename":"image_23042025_09_09_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ded75d15af1f1ac089e16c19a34e0b8b.jpg","text":"TemporaryFile(/tmp/multipartBody8353118918723082909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392263719,"filename":"image_23042025_09_09_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/427576f7b0e6e2f62f518bcb6abda595.jpg","text":"TemporaryFile(/tmp/multipartBody8943204477583997310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392263719,"filename":"image_23042025_09_08_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a6498329a16bb4c2582b29b470c2f80.jpg","text":"TemporaryFile(/tmp/multipartBody3944739722889891504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392263719,"filename":"image_23042025_09_09_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e9eee0f2b3ef57c82b3bac63383aa50.jpg","text":"TemporaryFile(/tmp/multipartBody2588486088683438737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392263719,"filename":"image_23042025_09_09_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d444c67e9066aa48f6baa07e8c8e168f.jpg","text":"TemporaryFile(/tmp/multipartBody5129430908685210283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392263719,"filename":"image_23042025_09_09_35_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352959185","file1":"1352959156","file0":"1352959146","file4":"1352959189","file5":"1352959193","file3":"1352959187"},"map_files_photo_id_array":[{"photo_id":"1352959193","filename":"file5"},{"photo_id":"1352959185","filename":"file2"},{"photo_id":"1352959189","filename":"file4"},{"photo_id":"1352959156","filename":"file1"},{"photo_id":"1352959146","filename":"file0"},{"photo_id":"1352959187","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959185":["hashtag1","hashtag2"]},{"1352959146":["hashtag1","hashtag2"]},{"1352959193":["hashtag1","hashtag2"]},{"1352959187":["hashtag1","hashtag2"]},{"1352959189":["hashtag1","hashtag2"]},{"1352959156":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959185, 1352959146, 1352959193, 1352959187, 1352959189, 1352959156)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.582478046417236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:11:02.661404
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_45_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_35_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_25_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_15_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/09/09/image_23042025_09_10_05_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_45_9628.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_35_9653.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_25_10670.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_15_9661.jpg', '/home/nano/Desktop/images/23042025/09/09/image_23042025_09_10_05_9665.jpg', '/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_45_9628.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_35_9653.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_25_10670.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_15_9661.jpg
/home/nano/Desktop/images/23042025/09/09/image_23042025_09_10_05_9665.jpg
/home/nano/Desktop/images/23042025/09/09/image_23042025_09_09_55_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959405","1352959402","1352959374","1352959314","1352959397","1352959351"],"photo_ids_order":["1352959314","1352959351","1352959374","1352959397","1352959402","1352959405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ca615c9f818ebc721270118b84b700b8.jpg","text":"TemporaryFile(/tmp/multipartBody8112658466397461754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392324009,"filename":"image_23042025_09_09_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccafd9d69d361c5b64c4df8176e888b7.jpg","text":"TemporaryFile(/tmp/multipartBody5378162948765976034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392324009,"filename":"image_23042025_09_10_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9813db30f82603b711bb219b10e03d01.jpg","text":"TemporaryFile(/tmp/multipartBody8126302900655481624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392324009,"filename":"image_23042025_09_10_25_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2bc8340087b484a8118ac9a17e924a0.jpg","text":"TemporaryFile(/tmp/multipartBody8269059129618067957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392324009,"filename":"image_23042025_09_10_45_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa3907182d7a39561002d615efd454ce.jpg","text":"TemporaryFile(/tmp/multipartBody4000118848205940020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392324009,"filename":"image_23042025_09_10_15_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c1af4f949e7452729d8c53f0f397f41.jpg","text":"TemporaryFile(/tmp/multipartBody4399968559731475019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392324009,"filename":"image_23042025_09_10_35_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352959374","file1":"1352959351","file0":"1352959314","file4":"1352959402","file5":"1352959405","file3":"1352959397"},"map_files_photo_id_array":[{"photo_id":"1352959405","filename":"file5"},{"photo_id":"1352959374","filename":"file2"},{"photo_id":"1352959402","filename":"file4"},{"photo_id":"1352959351","filename":"file1"},{"photo_id":"1352959314","filename":"file0"},{"photo_id":"1352959397","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959405":["hashtag1","hashtag2"]},{"1352959402":["hashtag1","hashtag2"]},{"1352959374":["hashtag1","hashtag2"]},{"1352959314":["hashtag1","hashtag2"]},{"1352959397":["hashtag1","hashtag2"]},{"1352959351":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959405, 1352959402, 1352959374, 1352959314, 1352959397, 1352959351)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.73879432678223 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:12:02.506373
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_45_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_35_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_25_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_14_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_11_05_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_55_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_45_10677.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_35_9649.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_25_10649.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_14_9641.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_11_05_9668.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_55_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_45_10677.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_35_9649.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_25_10649.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_14_9641.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_11_05_9668.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_55_10653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.6189756393432617 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:12:32.050162
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_45_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_35_9821.jpg', 2), ('/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_25_10761.jpg', 2), ('/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_15_9743.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_12_05_9790.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_55_9716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_45_9691.jpg', '/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_35_9821.jpg', '/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_25_10761.jpg', '/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_15_9743.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_12_05_9790.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_55_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_45_9691.jpg
/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_35_9821.jpg
/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_25_10761.jpg
/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_15_9743.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_12_05_9790.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_55_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959575","1352959587","1352959572","1352959580","1352959568","1352959564"],"photo_ids_order":["1352959564","1352959568","1352959572","1352959575","1352959580","1352959587"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c221c018e3ca2fa66b000f30e3950f8e.jpg","text":"TemporaryFile(/tmp/multipartBody6731503970289619568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392415926,"filename":"image_23042025_09_12_15_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/769b1e18b5eb743dcc4e95da24009814.jpg","text":"TemporaryFile(/tmp/multipartBody4766475332742458432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392415926,"filename":"image_23042025_09_11_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d82829f0caffc980dc5863b487d7e1b.jpg","text":"TemporaryFile(/tmp/multipartBody2753410503091235081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392415926,"filename":"image_23042025_09_12_25_10761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6572ad30c483c90f82d45771681c3e9.jpg","text":"TemporaryFile(/tmp/multipartBody4103770539747920653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392415926,"filename":"image_23042025_09_12_05_9790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53cc3ffe9b8e726bbbad4a5d79830b26.jpg","text":"TemporaryFile(/tmp/multipartBody2169749345204952446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392415926,"filename":"image_23042025_09_12_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d07630fa2de1916509100d5bb1d7d9f.jpg","text":"TemporaryFile(/tmp/multipartBody8105869711721719351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392415926,"filename":"image_23042025_09_12_45_9691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352959572","file1":"1352959568","file0":"1352959564","file4":"1352959580","file5":"1352959587","file3":"1352959575"},"map_files_photo_id_array":[{"photo_id":"1352959587","filename":"file5"},{"photo_id":"1352959572","filename":"file2"},{"photo_id":"1352959580","filename":"file4"},{"photo_id":"1352959568","filename":"file1"},{"photo_id":"1352959564","filename":"file0"},{"photo_id":"1352959575","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959575":["hashtag1","hashtag2"]},{"1352959587":["hashtag1","hashtag2"]},{"1352959572":["hashtag1","hashtag2"]},{"1352959580":["hashtag1","hashtag2"]},{"1352959568":["hashtag1","hashtag2"]},{"1352959564":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959575, 1352959587, 1352959572, 1352959580, 1352959568, 1352959564)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.651043176651 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:13:32.134898
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_45_9869.jpg', 2), ('/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_35_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_25_9887.jpg', 2), ('/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_15_10757.jpg', 2), ('/home/nano/Desktop/images/23042025/09/12/image_23042025_09_13_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_55_9854.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_45_9869.jpg', '/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_35_9705.jpg', '/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_25_9887.jpg', '/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_15_10757.jpg', '/home/nano/Desktop/images/23042025/09/12/image_23042025_09_13_05_9653.jpg', '/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_55_9854.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_45_9869.jpg
/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_35_9705.jpg
/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_25_9887.jpg
/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_15_10757.jpg
/home/nano/Desktop/images/23042025/09/12/image_23042025_09_13_05_9653.jpg
/home/nano/Desktop/images/23042025/09/12/image_23042025_09_12_55_9854.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959717","1352959705","1352959721","1352959712","1352959675","1352959708"],"photo_ids_order":["1352959675","1352959705","1352959708","1352959712","1352959717","1352959721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/109145cb5c6033669463477a57dbdb56.jpg","text":"TemporaryFile(/tmp/multipartBody3606334729471532427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392474293,"filename":"image_23042025_09_13_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/089fa2fc400f2e3240ee036bb2f7049e.jpg","text":"TemporaryFile(/tmp/multipartBody203779754976460907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392474293,"filename":"image_23042025_09_13_35_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bde2242dc68e9639a2dd79eeb4dabd2a.jpg","text":"TemporaryFile(/tmp/multipartBody8008999781690112931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392474293,"filename":"image_23042025_09_12_55_9854.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4360a5717018a3f637b97bd8c510fbb.jpg","text":"TemporaryFile(/tmp/multipartBody237946610043483859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392474293,"filename":"image_23042025_09_13_15_10757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94d6ee41be012616705d6d60930bf2c5.jpg","text":"TemporaryFile(/tmp/multipartBody6586543266588217467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392474293,"filename":"image_23042025_09_13_45_9869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41cbaa663325129b9fc7c44b02111725.jpg","text":"TemporaryFile(/tmp/multipartBody8103008855683290197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392474293,"filename":"image_23042025_09_13_25_9887.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352959708","file1":"1352959705","file0":"1352959675","file4":"1352959717","file5":"1352959721","file3":"1352959712"},"map_files_photo_id_array":[{"photo_id":"1352959721","filename":"file5"},{"photo_id":"1352959708","filename":"file2"},{"photo_id":"1352959717","filename":"file4"},{"photo_id":"1352959705","filename":"file1"},{"photo_id":"1352959675","filename":"file0"},{"photo_id":"1352959712","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959717":["hashtag1","hashtag2"]},{"1352959705":["hashtag1","hashtag2"]},{"1352959721":["hashtag1","hashtag2"]},{"1352959712":["hashtag1","hashtag2"]},{"1352959675":["hashtag1","hashtag2"]},{"1352959708":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959717, 1352959705, 1352959721, 1352959712, 1352959675, 1352959708)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38581871986389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:14:32.238610
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_45_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_35_10745.jpg', 2), ('/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_25_9734.jpg', 2), ('/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_15_9748.jpg', 2), ('/home/nano/Desktop/images/23042025/09/13/image_23042025_09_14_05_9765.jpg', 2), ('/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_55_10754.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_45_9679.jpg', '/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_35_10745.jpg', '/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_25_9734.jpg', '/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_15_9748.jpg', '/home/nano/Desktop/images/23042025/09/13/image_23042025_09_14_05_9765.jpg', '/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_55_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_45_9679.jpg
/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_35_10745.jpg
/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_25_9734.jpg
/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_15_9748.jpg
/home/nano/Desktop/images/23042025/09/13/image_23042025_09_14_05_9765.jpg
/home/nano/Desktop/images/23042025/09/13/image_23042025_09_13_55_10754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352959863","1352960067","1352960124","1352960162","1352959942","1352960012"],"photo_ids_order":["1352959863","1352959942","1352960012","1352960067","1352960124","1352960162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80fd5cb92eb9009c08440f0efe23867c.jpg","text":"TemporaryFile(/tmp/multipartBody2206003443677514294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392534035,"filename":"image_23042025_09_14_45_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3c28e241ee5f319381a6445167c4a59.jpg","text":"TemporaryFile(/tmp/multipartBody6284122721717866499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392534035,"filename":"image_23042025_09_14_15_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fecc871248230576461fdc72343cd8ed.jpg","text":"TemporaryFile(/tmp/multipartBody4295114727711472931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392534035,"filename":"image_23042025_09_14_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b863b5d9995d78114e9e0ec6df0b3985.jpg","text":"TemporaryFile(/tmp/multipartBody3828124617649682901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392534035,"filename":"image_23042025_09_13_55_10754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50106db912a63ff2784d6eb40dce9f16.jpg","text":"TemporaryFile(/tmp/multipartBody7469450352206760667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392534035,"filename":"image_23042025_09_14_35_10745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc30236f09d53948effe3f61d4274d80.jpg","text":"TemporaryFile(/tmp/multipartBody4501605025189356784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392534035,"filename":"image_23042025_09_14_25_9734.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352960012","file1":"1352959942","file0":"1352959863","file4":"1352960124","file5":"1352960162","file3":"1352960067"},"map_files_photo_id_array":[{"photo_id":"1352960162","filename":"file5"},{"photo_id":"1352960012","filename":"file2"},{"photo_id":"1352960124","filename":"file4"},{"photo_id":"1352959942","filename":"file1"},{"photo_id":"1352959863","filename":"file0"},{"photo_id":"1352960067","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352959863":["hashtag1","hashtag2"]},{"1352960067":["hashtag1","hashtag2"]},{"1352960124":["hashtag1","hashtag2"]},{"1352960162":["hashtag1","hashtag2"]},{"1352959942":["hashtag1","hashtag2"]},{"1352960012":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352959863, 1352960067, 1352960124, 1352960162, 1352959942, 1352960012)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.09635329246521 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:15:32.349551
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_35_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_25_9618.jpg', 2), ('/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/09/14/image_23042025_09_15_05_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_55_9681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_45_9648.jpg', '/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_35_10635.jpg', '/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_25_9618.jpg', '/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_15_10671.jpg', '/home/nano/Desktop/images/23042025/09/14/image_23042025_09_15_05_9664.jpg', '/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_55_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_45_9648.jpg
/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_35_10635.jpg
/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_25_9618.jpg
/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_15_10671.jpg
/home/nano/Desktop/images/23042025/09/14/image_23042025_09_15_05_9664.jpg
/home/nano/Desktop/images/23042025/09/14/image_23042025_09_14_55_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352960902","1352961108","1352961024","1352961074","1352960963","1352960854"],"photo_ids_order":["1352960854","1352960902","1352960963","1352961024","1352961074","1352961108"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a68ca89491750d800c8acffb6b5f8e5a.jpg","text":"TemporaryFile(/tmp/multipartBody5077406392672878989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392593811,"filename":"image_23042025_09_15_35_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1470fe611fa6b90e17129fa24e2d8a69.jpg","text":"TemporaryFile(/tmp/multipartBody5027008370467094523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392593811,"filename":"image_23042025_09_14_55_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fe877d9994c0b0e8d6beaf5f912901e.jpg","text":"TemporaryFile(/tmp/multipartBody9007284251750473542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392593811,"filename":"image_23042025_09_15_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ac2886c7a29df1e1c9595711b48a62c.jpg","text":"TemporaryFile(/tmp/multipartBody7273679880015016008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392593811,"filename":"image_23042025_09_15_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/804c2e511574ee51a9a3754ffc159add.jpg","text":"TemporaryFile(/tmp/multipartBody5502737830337462663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392593811,"filename":"image_23042025_09_15_25_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e16fe28ac5622170aeeff3def44dfd2.jpg","text":"TemporaryFile(/tmp/multipartBody906088649865211170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392593811,"filename":"image_23042025_09_15_45_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352960963","file1":"1352960902","file0":"1352960854","file4":"1352961074","file5":"1352961108","file3":"1352961024"},"map_files_photo_id_array":[{"photo_id":"1352961108","filename":"file5"},{"photo_id":"1352960963","filename":"file2"},{"photo_id":"1352961074","filename":"file4"},{"photo_id":"1352960902","filename":"file1"},{"photo_id":"1352960854","filename":"file0"},{"photo_id":"1352961024","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352960902":["hashtag1","hashtag2"]},{"1352961108":["hashtag1","hashtag2"]},{"1352961024":["hashtag1","hashtag2"]},{"1352961074":["hashtag1","hashtag2"]},{"1352960963":["hashtag1","hashtag2"]},{"1352960854":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352960902, 1352961108, 1352961024, 1352961074, 1352960963, 1352960854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65423512458801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:16:32.451141
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_35_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_25_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_15_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/09/15/image_23042025_09_16_05_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_55_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_45_9708.jpg', '/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_35_10654.jpg', '/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_25_9631.jpg', '/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_15_9647.jpg', '/home/nano/Desktop/images/23042025/09/15/image_23042025_09_16_05_10646.jpg', '/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_55_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_45_9708.jpg
/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_35_10654.jpg
/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_25_9631.jpg
/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_15_9647.jpg
/home/nano/Desktop/images/23042025/09/15/image_23042025_09_16_05_10646.jpg
/home/nano/Desktop/images/23042025/09/15/image_23042025_09_15_55_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352962158","1352962032","1352962212","1352961953","1352962304","1352962087"],"photo_ids_order":["1352961953","1352962032","1352962087","1352962158","1352962212","1352962304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c2b1bce1d78bc18a76d38f3e2c97c04.jpg","text":"TemporaryFile(/tmp/multipartBody7438179215188902479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392653920,"filename":"image_23042025_09_16_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b875d17684797d1b958303b308f7084c.jpg","text":"TemporaryFile(/tmp/multipartBody379979646013214508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392653920,"filename":"image_23042025_09_16_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10d07f0b5c16af8b6a8f200bd74c6811.jpg","text":"TemporaryFile(/tmp/multipartBody1731416016030342171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392653920,"filename":"image_23042025_09_16_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f35e6e9653fca3aacd136afdf5a785c5.jpg","text":"TemporaryFile(/tmp/multipartBody1880636047447384967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392653920,"filename":"image_23042025_09_16_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff83500a1f48d522dbeb84ec7fc77191.jpg","text":"TemporaryFile(/tmp/multipartBody5489556886287381613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392653920,"filename":"image_23042025_09_15_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da43607d059774e4237c44316563c875.jpg","text":"TemporaryFile(/tmp/multipartBody2698401759896339565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392653920,"filename":"image_23042025_09_16_25_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352962087","file1":"1352962032","file0":"1352961953","file4":"1352962212","file5":"1352962304","file3":"1352962158"},"map_files_photo_id_array":[{"photo_id":"1352962304","filename":"file5"},{"photo_id":"1352962087","filename":"file2"},{"photo_id":"1352962212","filename":"file4"},{"photo_id":"1352962032","filename":"file1"},{"photo_id":"1352961953","filename":"file0"},{"photo_id":"1352962158","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352962158":["hashtag1","hashtag2"]},{"1352962032":["hashtag1","hashtag2"]},{"1352962212":["hashtag1","hashtag2"]},{"1352961953":["hashtag1","hashtag2"]},{"1352962304":["hashtag1","hashtag2"]},{"1352962087":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352962158, 1352962032, 1352962212, 1352961953, 1352962304, 1352962087)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77400016784668 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:17:32.538356
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_45_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_35_10699.jpg', 2), ('/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_25_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_15_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/09/16/image_23042025_09_17_05_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_55_9693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_45_9701.jpg', '/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_35_10699.jpg', '/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_25_9639.jpg', '/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_15_9652.jpg', '/home/nano/Desktop/images/23042025/09/16/image_23042025_09_17_05_10662.jpg', '/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_45_9701.jpg
/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_35_10699.jpg
/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_25_9639.jpg
/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_15_9652.jpg
/home/nano/Desktop/images/23042025/09/16/image_23042025_09_17_05_10662.jpg
/home/nano/Desktop/images/23042025/09/16/image_23042025_09_16_55_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352962964","1352963278","1352963005","1352963101","1352963028","1352962986"],"photo_ids_order":["1352962964","1352962986","1352963005","1352963028","1352963101","1352963278"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e3c9460ed8f27775cceaa4bc6069a91.jpg","text":"TemporaryFile(/tmp/multipartBody1925761826128854432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392713641,"filename":"image_23042025_09_17_45_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3554b7912a6406e8b5ca8154efb6732.jpg","text":"TemporaryFile(/tmp/multipartBody1422133431940215983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392713641,"filename":"image_23042025_09_16_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc7b4ac734df9d12f11899209c3dac80.jpg","text":"TemporaryFile(/tmp/multipartBody7664529939965653633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392713641,"filename":"image_23042025_09_17_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e06d261b7d40e8b7f21f3682ca072baf.jpg","text":"TemporaryFile(/tmp/multipartBody7512594852475176128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392713641,"filename":"image_23042025_09_17_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a87049c369dfbd6c8b45acb7931e31f.jpg","text":"TemporaryFile(/tmp/multipartBody3818244269043989771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392713641,"filename":"image_23042025_09_17_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7447cff72e837eacf0602bdc87f79cc5.jpg","text":"TemporaryFile(/tmp/multipartBody61582749724903695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392713641,"filename":"image_23042025_09_17_35_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352963005","file1":"1352962986","file0":"1352962964","file4":"1352963101","file5":"1352963278","file3":"1352963028"},"map_files_photo_id_array":[{"photo_id":"1352963278","filename":"file5"},{"photo_id":"1352963005","filename":"file2"},{"photo_id":"1352963101","filename":"file4"},{"photo_id":"1352962986","filename":"file1"},{"photo_id":"1352962964","filename":"file0"},{"photo_id":"1352963028","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352962964":["hashtag1","hashtag2"]},{"1352963278":["hashtag1","hashtag2"]},{"1352963005":["hashtag1","hashtag2"]},{"1352963101":["hashtag1","hashtag2"]},{"1352963028":["hashtag1","hashtag2"]},{"1352962986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352962964, 1352963278, 1352963005, 1352963101, 1352963028, 1352962986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.152464628219604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:18:32.621650
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_35_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_25_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_15_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/09/17/image_23042025_09_18_05_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_55_9620.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_45_9634.jpg', '/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_35_10651.jpg', '/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_25_9718.jpg', '/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_15_9731.jpg', '/home/nano/Desktop/images/23042025/09/17/image_23042025_09_18_05_10649.jpg', '/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_55_9620.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_45_9634.jpg
/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_35_10651.jpg
/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_25_9718.jpg
/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_15_9731.jpg
/home/nano/Desktop/images/23042025/09/17/image_23042025_09_18_05_10649.jpg
/home/nano/Desktop/images/23042025/09/17/image_23042025_09_17_55_9620.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352964122","1352964067","1352964175","1352964597","1352964399","1352964264"],"photo_ids_order":["1352964067","1352964122","1352964175","1352964264","1352964399","1352964597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64bb84560328a1b6ee7ade9f5e4bb757.jpg","text":"TemporaryFile(/tmp/multipartBody8899884696468603432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392774008,"filename":"image_23042025_09_18_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65ef51e15fc2e58fd79d3ac2d51a78c6.jpg","text":"TemporaryFile(/tmp/multipartBody8483268961395688836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392774008,"filename":"image_23042025_09_18_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbbcc8be065ed6ff00af935b646c8e9f.jpg","text":"TemporaryFile(/tmp/multipartBody5806403802261653216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392774008,"filename":"image_23042025_09_18_25_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4817579c1ac41f1d6e341a6cdb56f1a9.jpg","text":"TemporaryFile(/tmp/multipartBody7202902458904250456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392774008,"filename":"image_23042025_09_17_55_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ab2ce8cd858b5f108ab7d67a7675d16.jpg","text":"TemporaryFile(/tmp/multipartBody3070447638477148524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392774008,"filename":"image_23042025_09_18_05_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/800c309f49450ca5cabf8ae8c3add4d9.jpg","text":"TemporaryFile(/tmp/multipartBody1309297220543613063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392774008,"filename":"image_23042025_09_18_15_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352964175","file1":"1352964122","file0":"1352964067","file4":"1352964399","file5":"1352964597","file3":"1352964264"},"map_files_photo_id_array":[{"photo_id":"1352964597","filename":"file5"},{"photo_id":"1352964175","filename":"file2"},{"photo_id":"1352964399","filename":"file4"},{"photo_id":"1352964122","filename":"file1"},{"photo_id":"1352964067","filename":"file0"},{"photo_id":"1352964264","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352964122":["hashtag1","hashtag2"]},{"1352964067":["hashtag1","hashtag2"]},{"1352964175":["hashtag1","hashtag2"]},{"1352964597":["hashtag1","hashtag2"]},{"1352964399":["hashtag1","hashtag2"]},{"1352964264":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352964122, 1352964067, 1352964175, 1352964597, 1352964399, 1352964264)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.507758378982544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:19:32.724950
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_45_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_35_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_25_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/09/18/image_23042025_09_19_05_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_55_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_45_9650.jpg', '/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_35_10650.jpg', '/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_25_9644.jpg', '/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_15_9642.jpg', '/home/nano/Desktop/images/23042025/09/18/image_23042025_09_19_05_10665.jpg', '/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_45_9650.jpg
/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_35_10650.jpg
/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_25_9644.jpg
/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_15_9642.jpg
/home/nano/Desktop/images/23042025/09/18/image_23042025_09_19_05_10665.jpg
/home/nano/Desktop/images/23042025/09/18/image_23042025_09_18_55_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352965606","1352965398","1352965323","1352965538","1352965448","1352965229"],"photo_ids_order":["1352965229","1352965323","1352965398","1352965448","1352965538","1352965606"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18fcd09978cfa9f30006770b8541b1b0.jpg","text":"TemporaryFile(/tmp/multipartBody5674029569239295739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392833929,"filename":"image_23042025_09_18_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4c4be97e6d7a6698f2e6d57452fa5d8.jpg","text":"TemporaryFile(/tmp/multipartBody8537748487604006170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392833929,"filename":"image_23042025_09_19_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd224f2e8b052c5eab9fc49f27cfcfb6.jpg","text":"TemporaryFile(/tmp/multipartBody4962872575762269084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392833929,"filename":"image_23042025_09_19_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/339fb35e39b39e2188e11d81e479ae1c.jpg","text":"TemporaryFile(/tmp/multipartBody321298380285825684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392833929,"filename":"image_23042025_09_19_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1333492403b7f4e597812486d16bb91.jpg","text":"TemporaryFile(/tmp/multipartBody3100465928641867221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392833929,"filename":"image_23042025_09_19_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fc55f629e71f468a95c659b5b50306a.jpg","text":"TemporaryFile(/tmp/multipartBody6100711622623729199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392833929,"filename":"image_23042025_09_19_45_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352965398","file1":"1352965323","file0":"1352965229","file4":"1352965538","file5":"1352965606","file3":"1352965448"},"map_files_photo_id_array":[{"photo_id":"1352965606","filename":"file5"},{"photo_id":"1352965398","filename":"file2"},{"photo_id":"1352965538","filename":"file4"},{"photo_id":"1352965323","filename":"file1"},{"photo_id":"1352965229","filename":"file0"},{"photo_id":"1352965448","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352965606":["hashtag1","hashtag2"]},{"1352965398":["hashtag1","hashtag2"]},{"1352965323":["hashtag1","hashtag2"]},{"1352965538":["hashtag1","hashtag2"]},{"1352965448":["hashtag1","hashtag2"]},{"1352965229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352965606, 1352965398, 1352965323, 1352965538, 1352965448, 1352965229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.02144169807434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:20:31.822378
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_45_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_35_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_25_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_15_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/09/19/image_23042025_09_20_05_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_55_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_45_9664.jpg', '/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_35_10638.jpg', '/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_25_9649.jpg', '/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_15_9668.jpg', '/home/nano/Desktop/images/23042025/09/19/image_23042025_09_20_05_10655.jpg', '/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_55_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_45_9664.jpg
/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_35_10638.jpg
/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_25_9649.jpg
/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_15_9668.jpg
/home/nano/Desktop/images/23042025/09/19/image_23042025_09_20_05_10655.jpg
/home/nano/Desktop/images/23042025/09/19/image_23042025_09_19_55_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352966221","1352966311","1352966163","1352966249","1352966279","1352966191"],"photo_ids_order":["1352966163","1352966191","1352966221","1352966249","1352966279","1352966311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b166d8781dce7c4a4cac131f1d39354.jpg","text":"TemporaryFile(/tmp/multipartBody5509051233872950414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392893033,"filename":"image_23042025_09_20_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6a6a4e9155d2630f88814e6b1ffe061.jpg","text":"TemporaryFile(/tmp/multipartBody4160683040893949786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392893033,"filename":"image_23042025_09_19_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0939e38640329b727c033220b35612d6.jpg","text":"TemporaryFile(/tmp/multipartBody236553491573829779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392893033,"filename":"image_23042025_09_20_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/927044c95637713ce0cf42df59af5640.jpg","text":"TemporaryFile(/tmp/multipartBody1647661298658262192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392893033,"filename":"image_23042025_09_20_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2463081495a00c577a841f9fe8751f58.jpg","text":"TemporaryFile(/tmp/multipartBody2465923175677276167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392893033,"filename":"image_23042025_09_20_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86fe3be15d06154bba142046560e1c86.jpg","text":"TemporaryFile(/tmp/multipartBody5421323649254716022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392893033,"filename":"image_23042025_09_20_35_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352966221","file1":"1352966191","file0":"1352966163","file4":"1352966279","file5":"1352966311","file3":"1352966249"},"map_files_photo_id_array":[{"photo_id":"1352966311","filename":"file5"},{"photo_id":"1352966221","filename":"file2"},{"photo_id":"1352966279","filename":"file4"},{"photo_id":"1352966191","filename":"file1"},{"photo_id":"1352966163","filename":"file0"},{"photo_id":"1352966249","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352966221":["hashtag1","hashtag2"]},{"1352966311":["hashtag1","hashtag2"]},{"1352966163":["hashtag1","hashtag2"]},{"1352966249":["hashtag1","hashtag2"]},{"1352966279":["hashtag1","hashtag2"]},{"1352966191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352966221, 1352966311, 1352966163, 1352966249, 1352966279, 1352966191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.6215078830719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:21:31.942139
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_45_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_35_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_25_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_15_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/09/20/image_23042025_09_21_05_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_55_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_45_9633.jpg', '/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_35_9638.jpg', '/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_25_10650.jpg', '/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_15_9644.jpg', '/home/nano/Desktop/images/23042025/09/20/image_23042025_09_21_05_9629.jpg', '/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_45_9633.jpg
/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_35_9638.jpg
/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_25_10650.jpg
/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_15_9644.jpg
/home/nano/Desktop/images/23042025/09/20/image_23042025_09_21_05_9629.jpg
/home/nano/Desktop/images/23042025/09/20/image_23042025_09_20_55_10633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352966862","1352967158","1352966981","1352966786","1352967076","1352966702"],"photo_ids_order":["1352966702","1352966786","1352966862","1352966981","1352967076","1352967158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ede61904114299b840ab84be87712bd.jpg","text":"TemporaryFile(/tmp/multipartBody1653316461796895068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392953110,"filename":"image_23042025_09_21_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e88f7315c1e099ef8fafae883a33e5b.jpg","text":"TemporaryFile(/tmp/multipartBody4793438703648949558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392953110,"filename":"image_23042025_09_20_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb01b969b3b7b22a1e642dac7757015c.jpg","text":"TemporaryFile(/tmp/multipartBody3570387380053521941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392953110,"filename":"image_23042025_09_21_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41d7d3f6936b8c642ce663ac97441734.jpg","text":"TemporaryFile(/tmp/multipartBody3373459460177610500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392953110,"filename":"image_23042025_09_21_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/576382c0076faa103da5c8f835a1df2d.jpg","text":"TemporaryFile(/tmp/multipartBody4146814662896132612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392953110,"filename":"image_23042025_09_21_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0d19bc77e66cf9db788cb988b43509e.jpg","text":"TemporaryFile(/tmp/multipartBody8891563647072789683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745392953110,"filename":"image_23042025_09_21_45_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352966862","file1":"1352966786","file0":"1352966702","file4":"1352967076","file5":"1352967158","file3":"1352966981"},"map_files_photo_id_array":[{"photo_id":"1352967158","filename":"file5"},{"photo_id":"1352966862","filename":"file2"},{"photo_id":"1352967076","filename":"file4"},{"photo_id":"1352966786","filename":"file1"},{"photo_id":"1352966702","filename":"file0"},{"photo_id":"1352966981","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352966862":["hashtag1","hashtag2"]},{"1352967158":["hashtag1","hashtag2"]},{"1352966981":["hashtag1","hashtag2"]},{"1352966786":["hashtag1","hashtag2"]},{"1352967076":["hashtag1","hashtag2"]},{"1352966702":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352966862, 1352967158, 1352966981, 1352966786, 1352967076, 1352966702)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27108120918274 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:22:32.041651
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_45_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_35_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_25_10679.jpg', 2), ('/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_15_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/09/21/image_23042025_09_22_05_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_45_9668.jpg', '/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_35_9682.jpg', '/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_25_10679.jpg', '/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_15_9650.jpg', '/home/nano/Desktop/images/23042025/09/21/image_23042025_09_22_05_9652.jpg', '/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_45_9668.jpg
/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_35_9682.jpg
/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_25_10679.jpg
/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_15_9650.jpg
/home/nano/Desktop/images/23042025/09/21/image_23042025_09_22_05_9652.jpg
/home/nano/Desktop/images/23042025/09/21/image_23042025_09_21_55_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352968122","1352968202","1352968357","1352967997","1352968287","1352968053"],"photo_ids_order":["1352967997","1352968053","1352968122","1352968202","1352968287","1352968357"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17a04fa910a20463bf766cf9d650d4c4.jpg","text":"TemporaryFile(/tmp/multipartBody5607503519718041724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393014246,"filename":"image_23042025_09_22_25_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/734ef8f5edcd77847c170633133b834b.jpg","text":"TemporaryFile(/tmp/multipartBody1340182520554962245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393014246,"filename":"image_23042025_09_22_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45527151e618b6bebf2e33110afee56d.jpg","text":"TemporaryFile(/tmp/multipartBody2959403814292289037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393014246,"filename":"image_23042025_09_21_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/afd49d6a806b24b364b3003f4354ce15.jpg","text":"TemporaryFile(/tmp/multipartBody8391277512087042660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393014246,"filename":"image_23042025_09_22_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8abd70e7daa741d9615718d07d2aa01.jpg","text":"TemporaryFile(/tmp/multipartBody6801485450156552321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393014246,"filename":"image_23042025_09_22_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/222e0f22468009849f361c3ab9de9932.jpg","text":"TemporaryFile(/tmp/multipartBody8515317172496063637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393014246,"filename":"image_23042025_09_22_35_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352968122","file1":"1352968053","file0":"1352967997","file4":"1352968287","file5":"1352968357","file3":"1352968202"},"map_files_photo_id_array":[{"photo_id":"1352968357","filename":"file5"},{"photo_id":"1352968122","filename":"file2"},{"photo_id":"1352968287","filename":"file4"},{"photo_id":"1352968053","filename":"file1"},{"photo_id":"1352967997","filename":"file0"},{"photo_id":"1352968202","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352968122":["hashtag1","hashtag2"]},{"1352968202":["hashtag1","hashtag2"]},{"1352968357":["hashtag1","hashtag2"]},{"1352967997":["hashtag1","hashtag2"]},{"1352968287":["hashtag1","hashtag2"]},{"1352968053":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352968122, 1352968202, 1352968357, 1352967997, 1352968287, 1352968053)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.143696546554565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:23:32.166308
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_45_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_35_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_25_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_15_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/09/22/image_23042025_09_23_05_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_45_9715.jpg', '/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_35_9678.jpg', '/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_25_10700.jpg', '/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_15_9677.jpg', '/home/nano/Desktop/images/23042025/09/22/image_23042025_09_23_05_9677.jpg', '/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_45_9715.jpg
/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_35_9678.jpg
/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_25_10700.jpg
/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_15_9677.jpg
/home/nano/Desktop/images/23042025/09/22/image_23042025_09_23_05_9677.jpg
/home/nano/Desktop/images/23042025/09/22/image_23042025_09_22_55_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352968812","1352968634","1352968928","1352968678","1352968732","1352968878"],"photo_ids_order":["1352968634","1352968678","1352968732","1352968812","1352968878","1352968928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2bc24a854ce350fbfaa8b6dc31909ae.jpg","text":"TemporaryFile(/tmp/multipartBody5773041125319839093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393074418,"filename":"image_23042025_09_23_15_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5254b150bcbaa46217da7b02b7f43fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3773965543900544137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393074418,"filename":"image_23042025_09_23_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6314c824edea1eda31d50378614728d5.jpg","text":"TemporaryFile(/tmp/multipartBody4065691385897384920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393074418,"filename":"image_23042025_09_22_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d40ab35c14b1c872010cca8fd08d8bdf.jpg","text":"TemporaryFile(/tmp/multipartBody8927739371950104652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393074418,"filename":"image_23042025_09_23_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe963432521d366cf2173ace4791f6eb.jpg","text":"TemporaryFile(/tmp/multipartBody6250211756037470054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393074418,"filename":"image_23042025_09_23_25_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c3820b84575e79449159cbac4189122.jpg","text":"TemporaryFile(/tmp/multipartBody973962033147224803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393074418,"filename":"image_23042025_09_23_05_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352968732","file1":"1352968678","file0":"1352968634","file4":"1352968878","file5":"1352968928","file3":"1352968812"},"map_files_photo_id_array":[{"photo_id":"1352968928","filename":"file5"},{"photo_id":"1352968732","filename":"file2"},{"photo_id":"1352968878","filename":"file4"},{"photo_id":"1352968678","filename":"file1"},{"photo_id":"1352968634","filename":"file0"},{"photo_id":"1352968812","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352968812":["hashtag1","hashtag2"]},{"1352968634":["hashtag1","hashtag2"]},{"1352968928":["hashtag1","hashtag2"]},{"1352968678":["hashtag1","hashtag2"]},{"1352968732":["hashtag1","hashtag2"]},{"1352968878":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352968812, 1352968634, 1352968928, 1352968678, 1352968732, 1352968878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1414475440979 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:24:32.255947
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_45_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_35_10816.jpg', 2), ('/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_25_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_15_9752.jpg', 2), ('/home/nano/Desktop/images/23042025/09/23/image_23042025_09_24_05_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_55_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_45_9664.jpg', '/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_35_10816.jpg', '/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_25_9701.jpg', '/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_15_9752.jpg', '/home/nano/Desktop/images/23042025/09/23/image_23042025_09_24_05_9695.jpg', '/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_55_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_45_9664.jpg
/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_35_10816.jpg
/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_25_9701.jpg
/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_15_9752.jpg
/home/nano/Desktop/images/23042025/09/23/image_23042025_09_24_05_9695.jpg
/home/nano/Desktop/images/23042025/09/23/image_23042025_09_23_55_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352969303","1352969146","1352969356","1352969116","1352969250","1352969198"],"photo_ids_order":["1352969116","1352969146","1352969198","1352969250","1352969303","1352969356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6f900449fac00547984b74112cc3fa7.jpg","text":"TemporaryFile(/tmp/multipartBody4723231595200747808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393134637,"filename":"image_23042025_09_24_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40213df840b4d1ecf91da4c4d63960d8.jpg","text":"TemporaryFile(/tmp/multipartBody1966326900940769122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393134637,"filename":"image_23042025_09_24_35_10816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0351ec46f6fb60185ad6ee7ac8df758a.jpg","text":"TemporaryFile(/tmp/multipartBody8676775809345346985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393134637,"filename":"image_23042025_09_23_55_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ff6266a6f34dc5636ef33cca1a709a0.jpg","text":"TemporaryFile(/tmp/multipartBody1662411241484174740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393134637,"filename":"image_23042025_09_24_45_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/411f63ff3ade6ab2e712b865d2179152.jpg","text":"TemporaryFile(/tmp/multipartBody4500873416327565864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393134637,"filename":"image_23042025_09_24_15_9752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c86827673fb9b91a7fdeb3f671dae19.jpg","text":"TemporaryFile(/tmp/multipartBody3909304960203834423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393134637,"filename":"image_23042025_09_24_25_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352969198","file1":"1352969146","file0":"1352969116","file4":"1352969303","file5":"1352969356","file3":"1352969250"},"map_files_photo_id_array":[{"photo_id":"1352969356","filename":"file5"},{"photo_id":"1352969198","filename":"file2"},{"photo_id":"1352969303","filename":"file4"},{"photo_id":"1352969146","filename":"file1"},{"photo_id":"1352969116","filename":"file0"},{"photo_id":"1352969250","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352969303":["hashtag1","hashtag2"]},{"1352969146":["hashtag1","hashtag2"]},{"1352969356":["hashtag1","hashtag2"]},{"1352969116":["hashtag1","hashtag2"]},{"1352969250":["hashtag1","hashtag2"]},{"1352969198":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352969303, 1352969146, 1352969356, 1352969116, 1352969250, 1352969198)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.412071228027344 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:25:32.345998
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_45_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_25_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_15_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/09/24/image_23042025_09_25_05_9848.jpg', 2), ('/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_55_9836.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_45_10675.jpg', '/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_35_9639.jpg', '/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_25_9664.jpg', '/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_15_10683.jpg', '/home/nano/Desktop/images/23042025/09/24/image_23042025_09_25_05_9848.jpg', '/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_55_9836.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_45_10675.jpg
/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_35_9639.jpg
/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_25_9664.jpg
/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_15_10683.jpg
/home/nano/Desktop/images/23042025/09/24/image_23042025_09_25_05_9848.jpg
/home/nano/Desktop/images/23042025/09/24/image_23042025_09_24_55_9836.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352969776","1352969914","1352969725","1352969874","1352969841","1352969814"],"photo_ids_order":["1352969725","1352969776","1352969814","1352969841","1352969874","1352969914"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f445b44b8c38ae20b6aeca7d7fa8abeb.jpg","text":"TemporaryFile(/tmp/multipartBody7394790372406433987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393193895,"filename":"image_23042025_09_25_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09c19b7f4f36aabee7843f708e74c79b.jpg","text":"TemporaryFile(/tmp/multipartBody5346873124597259509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393193895,"filename":"image_23042025_09_24_55_9836.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b49da4c8a02ffc46483d966cfbcc5e9.jpg","text":"TemporaryFile(/tmp/multipartBody4915434228085801285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393193895,"filename":"image_23042025_09_25_45_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d30b3e4cae6e0b95dbbfb54f40a2852.jpg","text":"TemporaryFile(/tmp/multipartBody3738047489721084411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393193895,"filename":"image_23042025_09_25_05_9848.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6775e08ff47bb53ac68e792636f10b28.jpg","text":"TemporaryFile(/tmp/multipartBody7893130125174887697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393193895,"filename":"image_23042025_09_25_15_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ed382bfd752b8b8c679d985c91d0d14.jpg","text":"TemporaryFile(/tmp/multipartBody458333950991823974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393193895,"filename":"image_23042025_09_25_25_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352969814","file1":"1352969776","file0":"1352969725","file4":"1352969874","file5":"1352969914","file3":"1352969841"},"map_files_photo_id_array":[{"photo_id":"1352969914","filename":"file5"},{"photo_id":"1352969814","filename":"file2"},{"photo_id":"1352969874","filename":"file4"},{"photo_id":"1352969776","filename":"file1"},{"photo_id":"1352969725","filename":"file0"},{"photo_id":"1352969841","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352969776":["hashtag1","hashtag2"]},{"1352969914":["hashtag1","hashtag2"]},{"1352969725":["hashtag1","hashtag2"]},{"1352969874":["hashtag1","hashtag2"]},{"1352969841":["hashtag1","hashtag2"]},{"1352969814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352969776, 1352969914, 1352969725, 1352969874, 1352969841, 1352969814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.722952842712402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:26:32.433987
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_45_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_35_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_25_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_15_9844.jpg', 2), ('/home/nano/Desktop/images/23042025/09/25/image_23042025_09_26_05_9836.jpg', 2), ('/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_55_9685.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_45_9657.jpg', '/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_35_9800.jpg', '/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_25_10673.jpg', '/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_15_9844.jpg', '/home/nano/Desktop/images/23042025/09/25/image_23042025_09_26_05_9836.jpg', '/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_55_9685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_45_9657.jpg
/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_35_9800.jpg
/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_25_10673.jpg
/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_15_9844.jpg
/home/nano/Desktop/images/23042025/09/25/image_23042025_09_26_05_9836.jpg
/home/nano/Desktop/images/23042025/09/25/image_23042025_09_25_55_9685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352970170","1352970080","1352970200","1352970055","1352970136","1352970109"],"photo_ids_order":["1352970055","1352970080","1352970109","1352970136","1352970170","1352970200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73fc557d1443b2206115b07442ae0d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1809263891695748764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393254452,"filename":"image_23042025_09_26_05_9836.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/732c0455d2ab09084a8745f7530668b7.jpg","text":"TemporaryFile(/tmp/multipartBody2190069651297160119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393254452,"filename":"image_23042025_09_26_35_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f9afd87af11215fc8e38c8a5bb09f4c.jpg","text":"TemporaryFile(/tmp/multipartBody9001560612239902951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393254452,"filename":"image_23042025_09_25_55_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f385e667f8fe67ebfbab02309e4281e4.jpg","text":"TemporaryFile(/tmp/multipartBody5887068411291255060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393254452,"filename":"image_23042025_09_26_45_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbd8b773907df475decff5cb6975fedf.jpg","text":"TemporaryFile(/tmp/multipartBody3221491547077366106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393254452,"filename":"image_23042025_09_26_15_9844.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e971d81d846221ff3105b8617ecc7cff.jpg","text":"TemporaryFile(/tmp/multipartBody3042046636809905250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393254452,"filename":"image_23042025_09_26_25_10673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352970109","file1":"1352970080","file0":"1352970055","file4":"1352970170","file5":"1352970200","file3":"1352970136"},"map_files_photo_id_array":[{"photo_id":"1352970200","filename":"file5"},{"photo_id":"1352970109","filename":"file2"},{"photo_id":"1352970170","filename":"file4"},{"photo_id":"1352970080","filename":"file1"},{"photo_id":"1352970055","filename":"file0"},{"photo_id":"1352970136","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352970170":["hashtag1","hashtag2"]},{"1352970080":["hashtag1","hashtag2"]},{"1352970200":["hashtag1","hashtag2"]},{"1352970055":["hashtag1","hashtag2"]},{"1352970136":["hashtag1","hashtag2"]},{"1352970109":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352970170, 1352970080, 1352970200, 1352970055, 1352970136, 1352970109)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.5665180683136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:27:32.573254
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_45_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_35_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_25_9700.jpg', 2), ('/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_15_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/09/26/image_23042025_09_27_05_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_55_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_45_9672.jpg', '/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_35_10657.jpg', '/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_25_9700.jpg', '/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_15_9678.jpg', '/home/nano/Desktop/images/23042025/09/26/image_23042025_09_27_05_10628.jpg', '/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_55_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_45_9672.jpg
/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_35_10657.jpg
/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_25_9700.jpg
/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_15_9678.jpg
/home/nano/Desktop/images/23042025/09/26/image_23042025_09_27_05_10628.jpg
/home/nano/Desktop/images/23042025/09/26/image_23042025_09_26_55_9676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352970321","1352970345","1352970318","1352970411","1352970383","1352970314"],"photo_ids_order":["1352970314","1352970318","1352970321","1352970345","1352970383","1352970411"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fd069492917cad096987668fb3a38d9.jpg","text":"TemporaryFile(/tmp/multipartBody6519722327628122178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393314390,"filename":"image_23042025_09_27_25_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56ec633b7e08ce4f63ec90aa485116d3.jpg","text":"TemporaryFile(/tmp/multipartBody7073457803801252634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393314390,"filename":"image_23042025_09_27_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b8fd11f1d6cbf7c81ead47e5cbafdb9.jpg","text":"TemporaryFile(/tmp/multipartBody3299598633801059698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393314390,"filename":"image_23042025_09_27_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/913e5ddb0a45e3c6e92bb401f4a6df1d.jpg","text":"TemporaryFile(/tmp/multipartBody6621118953990604341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393314390,"filename":"image_23042025_09_26_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64a50232e1d623cb6d98f5ada8222c48.jpg","text":"TemporaryFile(/tmp/multipartBody1226211157043659494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393314390,"filename":"image_23042025_09_27_05_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d0a46dcd0bcbf748844f58fae83ad7d.jpg","text":"TemporaryFile(/tmp/multipartBody3593447189077850442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393314390,"filename":"image_23042025_09_27_45_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352970321","file1":"1352970318","file0":"1352970314","file4":"1352970383","file5":"1352970411","file3":"1352970345"},"map_files_photo_id_array":[{"photo_id":"1352970411","filename":"file5"},{"photo_id":"1352970321","filename":"file2"},{"photo_id":"1352970383","filename":"file4"},{"photo_id":"1352970318","filename":"file1"},{"photo_id":"1352970314","filename":"file0"},{"photo_id":"1352970345","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352970321":["hashtag1","hashtag2"]},{"1352970345":["hashtag1","hashtag2"]},{"1352970318":["hashtag1","hashtag2"]},{"1352970411":["hashtag1","hashtag2"]},{"1352970383":["hashtag1","hashtag2"]},{"1352970314":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352970321, 1352970345, 1352970318, 1352970411, 1352970383, 1352970314)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.317989349365234 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:28:32.675288
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_45_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_35_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_25_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_15_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/09/27/image_23042025_09_28_05_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_55_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_45_9640.jpg', '/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_35_9633.jpg', '/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_25_10635.jpg', '/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_15_9635.jpg', '/home/nano/Desktop/images/23042025/09/27/image_23042025_09_28_05_10639.jpg', '/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_45_9640.jpg
/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_35_9633.jpg
/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_25_10635.jpg
/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_15_9635.jpg
/home/nano/Desktop/images/23042025/09/27/image_23042025_09_28_05_10639.jpg
/home/nano/Desktop/images/23042025/09/27/image_23042025_09_27_55_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352970941","1352971045","1352970883","1352970769","1352971003","1352970820"],"photo_ids_order":["1352970769","1352970820","1352970883","1352970941","1352971003","1352971045"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95c88aa30d1d564ba4c86864ea5c2cf7.jpg","text":"TemporaryFile(/tmp/multipartBody1114356883577685878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393374007,"filename":"image_23042025_09_28_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a24ef4673380a490b1265601b5131ba.jpg","text":"TemporaryFile(/tmp/multipartBody1280737069998949438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393374007,"filename":"image_23042025_09_27_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d31b4a383175d07b48ada147e8b9263.jpg","text":"TemporaryFile(/tmp/multipartBody4452459507971830341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393374007,"filename":"image_23042025_09_28_25_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef140da0ad3e5536c96e5394f8a8d0f6.jpg","text":"TemporaryFile(/tmp/multipartBody3406463720718576353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393374007,"filename":"image_23042025_09_28_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42a4d30a7a6c793a1836953b9a439ba4.jpg","text":"TemporaryFile(/tmp/multipartBody2266272856826090107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393374007,"filename":"image_23042025_09_28_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18fa5796d946098deefe9eb652b5bddb.jpg","text":"TemporaryFile(/tmp/multipartBody2380383656049270565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393374007,"filename":"image_23042025_09_28_35_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352970883","file1":"1352970820","file0":"1352970769","file4":"1352971003","file5":"1352971045","file3":"1352970941"},"map_files_photo_id_array":[{"photo_id":"1352971045","filename":"file5"},{"photo_id":"1352970883","filename":"file2"},{"photo_id":"1352971003","filename":"file4"},{"photo_id":"1352970820","filename":"file1"},{"photo_id":"1352970769","filename":"file0"},{"photo_id":"1352970941","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352970941":["hashtag1","hashtag2"]},{"1352971045":["hashtag1","hashtag2"]},{"1352970883":["hashtag1","hashtag2"]},{"1352970769":["hashtag1","hashtag2"]},{"1352971003":["hashtag1","hashtag2"]},{"1352970820":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352970941, 1352971045, 1352970883, 1352970769, 1352971003, 1352970820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.33917474746704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:29:31.794230
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_45_9610.jpg', 2), ('/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_25_10631.jpg', 2), ('/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_15_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/09/28/image_23042025_09_29_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_55_10638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_45_9610.jpg', '/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_35_9636.jpg', '/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_25_10631.jpg', '/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_15_9672.jpg', '/home/nano/Desktop/images/23042025/09/28/image_23042025_09_29_05_9642.jpg', '/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_55_10638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_45_9610.jpg
/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_35_9636.jpg
/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_25_10631.jpg
/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_15_9672.jpg
/home/nano/Desktop/images/23042025/09/28/image_23042025_09_29_05_9642.jpg
/home/nano/Desktop/images/23042025/09/28/image_23042025_09_28_55_10638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352971244","1352971349","1352971214","1352971377","1352971275","1352971317"],"photo_ids_order":["1352971214","1352971244","1352971275","1352971317","1352971349","1352971377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15e2dd6209faa7457451f1268f8d2640.jpg","text":"TemporaryFile(/tmp/multipartBody2690298780978587839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393433239,"filename":"image_23042025_09_29_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a9fe1b51d231b2ae59a78966949a5c6.jpg","text":"TemporaryFile(/tmp/multipartBody2123393655423901091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393433239,"filename":"image_23042025_09_29_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/406fd184185c27f8662416eafb729f46.jpg","text":"TemporaryFile(/tmp/multipartBody5039769949951583520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393433239,"filename":"image_23042025_09_29_45_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1845aecf369d725e6b7afff629a5929.jpg","text":"TemporaryFile(/tmp/multipartBody4363274691605882109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393433239,"filename":"image_23042025_09_28_55_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/131250bd72496731a9b88070711c9c48.jpg","text":"TemporaryFile(/tmp/multipartBody5253954480261087817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393433239,"filename":"image_23042025_09_29_25_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35a655f74101bea370af2cfbdd76d166.jpg","text":"TemporaryFile(/tmp/multipartBody3999412186000210605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393433239,"filename":"image_23042025_09_29_15_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352971275","file1":"1352971244","file0":"1352971214","file4":"1352971349","file5":"1352971377","file3":"1352971317"},"map_files_photo_id_array":[{"photo_id":"1352971377","filename":"file5"},{"photo_id":"1352971275","filename":"file2"},{"photo_id":"1352971349","filename":"file4"},{"photo_id":"1352971244","filename":"file1"},{"photo_id":"1352971214","filename":"file0"},{"photo_id":"1352971317","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352971244":["hashtag1","hashtag2"]},{"1352971349":["hashtag1","hashtag2"]},{"1352971214":["hashtag1","hashtag2"]},{"1352971377":["hashtag1","hashtag2"]},{"1352971275":["hashtag1","hashtag2"]},{"1352971317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352971244, 1352971349, 1352971214, 1352971377, 1352971275, 1352971317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.16055226325989 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:30:31.904653
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_45_10565.jpg', 2), ('/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_35_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_25_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_15_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/09/29/image_23042025_09_30_05_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_55_10627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_45_10565.jpg', '/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_35_9560.jpg', '/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_25_10571.jpg', '/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_15_9651.jpg', '/home/nano/Desktop/images/23042025/09/29/image_23042025_09_30_05_9682.jpg', '/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_55_10627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_45_10565.jpg
/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_35_9560.jpg
/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_25_10571.jpg
/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_15_9651.jpg
/home/nano/Desktop/images/23042025/09/29/image_23042025_09_30_05_9682.jpg
/home/nano/Desktop/images/23042025/09/29/image_23042025_09_29_55_10627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352971582","1352971540","1352971584","1352971572","1352971551","1352971545"],"photo_ids_order":["1352971540","1352971545","1352971551","1352971572","1352971582","1352971584"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e688a4b5f18a009ac7229caad74fcf96.jpg","text":"TemporaryFile(/tmp/multipartBody8366864252666900970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393493088,"filename":"image_23042025_09_30_05_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/197fcad30769d0c5b80c9f8cdb04fcc4.jpg","text":"TemporaryFile(/tmp/multipartBody6049897000758161597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393493088,"filename":"image_23042025_09_30_45_10565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87550f62c6a11fc57e8933c44fe55ba8.jpg","text":"TemporaryFile(/tmp/multipartBody5488993045464056724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393493088,"filename":"image_23042025_09_29_55_10627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fc820c8de3821e1103fe926ade97383.jpg","text":"TemporaryFile(/tmp/multipartBody3236774505872947034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393493088,"filename":"image_23042025_09_30_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e352e2b19c082d24f933e704d46039e.jpg","text":"TemporaryFile(/tmp/multipartBody1365427793196385388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393493088,"filename":"image_23042025_09_30_25_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/523facf4ca09568ff202d6ac62f1d5a5.jpg","text":"TemporaryFile(/tmp/multipartBody3668149775253529160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393493088,"filename":"image_23042025_09_30_35_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352971551","file1":"1352971545","file0":"1352971540","file4":"1352971582","file5":"1352971584","file3":"1352971572"},"map_files_photo_id_array":[{"photo_id":"1352971584","filename":"file5"},{"photo_id":"1352971551","filename":"file2"},{"photo_id":"1352971582","filename":"file4"},{"photo_id":"1352971545","filename":"file1"},{"photo_id":"1352971540","filename":"file0"},{"photo_id":"1352971572","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352971582":["hashtag1","hashtag2"]},{"1352971540":["hashtag1","hashtag2"]},{"1352971584":["hashtag1","hashtag2"]},{"1352971572":["hashtag1","hashtag2"]},{"1352971551":["hashtag1","hashtag2"]},{"1352971545":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352971582, 1352971540, 1352971584, 1352971572, 1352971551, 1352971545)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.588719606399536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:31:32.005769
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_24_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/30/image_23042025_09_31_05_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_55_9555.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_45_10677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_45_9564.jpg', '/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_35_10569.jpg', '/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_24_9572.jpg', '/home/nano/Desktop/images/23042025/09/30/image_23042025_09_31_05_10584.jpg', '/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_55_9555.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_45_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_45_9564.jpg
/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_35_10569.jpg
/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_24_9572.jpg
/home/nano/Desktop/images/23042025/09/30/image_23042025_09_31_05_10584.jpg
/home/nano/Desktop/images/23042025/09/30/image_23042025_09_30_55_9555.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_45_10677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352971898","1352971928","1352971936","1352971945","1352971939","1352971933"],"photo_ids_order":["1352971898","1352971928","1352971933","1352971936","1352971939","1352971945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54a02b914e1cc7c9002ee8f614cac2cd.jpg","text":"TemporaryFile(/tmp/multipartBody7281415943449433585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393553108,"filename":"image_23042025_09_31_45_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c08b04c056b2c8b6eaa72220b7ee1a04.jpg","text":"TemporaryFile(/tmp/multipartBody1404135976412579486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393553108,"filename":"image_23042025_09_31_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/534cc3e788a04119c88a8abb95c3bc7a.jpg","text":"TemporaryFile(/tmp/multipartBody2178259253478931944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393553108,"filename":"image_23042025_09_31_05_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c334023e853d24490366e51fd3c2a01f.jpg","text":"TemporaryFile(/tmp/multipartBody8547697378227269782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393553108,"filename":"image_23042025_09_11_45_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c492b46242eba860ec329392368abad.jpg","text":"TemporaryFile(/tmp/multipartBody6682446754627841553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393553108,"filename":"image_23042025_09_30_55_9555.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1bcedfc792ce0d984725017d12ef711.jpg","text":"TemporaryFile(/tmp/multipartBody2414783536489957004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393553108,"filename":"image_23042025_09_31_24_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352971933","file1":"1352971928","file0":"1352971898","file4":"1352971939","file5":"1352971945","file3":"1352971936"},"map_files_photo_id_array":[{"photo_id":"1352971945","filename":"file5"},{"photo_id":"1352971933","filename":"file2"},{"photo_id":"1352971939","filename":"file4"},{"photo_id":"1352971928","filename":"file1"},{"photo_id":"1352971898","filename":"file0"},{"photo_id":"1352971936","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352971898":["hashtag1","hashtag2"]},{"1352971928":["hashtag1","hashtag2"]},{"1352971936":["hashtag1","hashtag2"]},{"1352971945":["hashtag1","hashtag2"]},{"1352971939":["hashtag1","hashtag2"]},{"1352971933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352971898, 1352971928, 1352971936, 1352971945, 1352971939, 1352971933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15094327926636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:32:32.103561
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_45_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_35_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_25_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_15_10577.jpg', 2), ('/home/nano/Desktop/images/23042025/09/31/image_23042025_09_32_05_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_55_10589.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_45_10569.jpg', '/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_35_9561.jpg', '/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_25_9570.jpg', '/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_15_10577.jpg', '/home/nano/Desktop/images/23042025/09/31/image_23042025_09_32_05_9571.jpg', '/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_55_10589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_45_10569.jpg
/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_35_9561.jpg
/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_25_9570.jpg
/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_15_10577.jpg
/home/nano/Desktop/images/23042025/09/31/image_23042025_09_32_05_9571.jpg
/home/nano/Desktop/images/23042025/09/31/image_23042025_09_31_55_10589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352972029","1352972314","1352972608","1352972020","1352972460","1352972118"],"photo_ids_order":["1352972020","1352972029","1352972118","1352972314","1352972460","1352972608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c809e8df33b1adcbffb1c5b83831be87.jpg","text":"TemporaryFile(/tmp/multipartBody7590303935598008660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393613071,"filename":"image_23042025_09_32_35_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/435cd5c099f7b3136e82ec769ea17a05.jpg","text":"TemporaryFile(/tmp/multipartBody795542437367354374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393613071,"filename":"image_23042025_09_32_15_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3cd0df3e37b17eeaabc4b6803c618fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8901361199454461805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393613071,"filename":"image_23042025_09_31_55_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f56165bcc6e47e810aa8b8cf121f730.jpg","text":"TemporaryFile(/tmp/multipartBody6119770215365015766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393613071,"filename":"image_23042025_09_32_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5385bf981a64cbc0564dcd28a26029c.jpg","text":"TemporaryFile(/tmp/multipartBody3687470879865708908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393613071,"filename":"image_23042025_09_32_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65b8aa5674c1086c385ce1b26aa09861.jpg","text":"TemporaryFile(/tmp/multipartBody7623770796470626279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393613071,"filename":"image_23042025_09_32_25_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352972118","file1":"1352972029","file0":"1352972020","file4":"1352972460","file5":"1352972608","file3":"1352972314"},"map_files_photo_id_array":[{"photo_id":"1352972608","filename":"file5"},{"photo_id":"1352972118","filename":"file2"},{"photo_id":"1352972460","filename":"file4"},{"photo_id":"1352972029","filename":"file1"},{"photo_id":"1352972020","filename":"file0"},{"photo_id":"1352972314","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352972029":["hashtag1","hashtag2"]},{"1352972314":["hashtag1","hashtag2"]},{"1352972608":["hashtag1","hashtag2"]},{"1352972020":["hashtag1","hashtag2"]},{"1352972460":["hashtag1","hashtag2"]},{"1352972118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352972029, 1352972314, 1352972608, 1352972020, 1352972460, 1352972118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61996126174927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:33:32.231432
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_35_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_25_10567.jpg', 2), ('/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_15_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/32/image_23042025_09_33_05_10579.jpg', 2), ('/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_55_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_45_10574.jpg', '/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_35_9560.jpg', '/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_25_10567.jpg', '/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_15_9559.jpg', '/home/nano/Desktop/images/23042025/09/32/image_23042025_09_33_05_10579.jpg', '/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_55_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_45_10574.jpg
/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_35_9560.jpg
/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_25_10567.jpg
/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_15_9559.jpg
/home/nano/Desktop/images/23042025/09/32/image_23042025_09_33_05_10579.jpg
/home/nano/Desktop/images/23042025/09/32/image_23042025_09_32_55_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352972924","1352973340","1352973463","1352973525","1352972952","1352972934"],"photo_ids_order":["1352972924","1352972934","1352972952","1352973340","1352973463","1352973525"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb5de775ab023e5f77b5435c90fd428e.jpg","text":"TemporaryFile(/tmp/multipartBody5726034390047633970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393673205,"filename":"image_23042025_09_33_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/340680998bf677aaf4df1deb05240c1d.jpg","text":"TemporaryFile(/tmp/multipartBody7096270653890101290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393673205,"filename":"image_23042025_09_33_15_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cca8be51c38f506daa8d26aca011b465.jpg","text":"TemporaryFile(/tmp/multipartBody252931431867501292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393673205,"filename":"image_23042025_09_33_05_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/556291cb0cd7af5b65871297cca98473.jpg","text":"TemporaryFile(/tmp/multipartBody7382400534691115568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393673205,"filename":"image_23042025_09_32_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/997cc1e300ca968345728597720c678e.jpg","text":"TemporaryFile(/tmp/multipartBody4369123644867070876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393673205,"filename":"image_23042025_09_33_25_10567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3445928e7a67c0da499c4c3168a16802.jpg","text":"TemporaryFile(/tmp/multipartBody5869801388633772195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393673205,"filename":"image_23042025_09_33_35_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352972952","file1":"1352972934","file0":"1352972924","file4":"1352973463","file5":"1352973525","file3":"1352973340"},"map_files_photo_id_array":[{"photo_id":"1352973525","filename":"file5"},{"photo_id":"1352972952","filename":"file2"},{"photo_id":"1352973463","filename":"file4"},{"photo_id":"1352972934","filename":"file1"},{"photo_id":"1352972924","filename":"file0"},{"photo_id":"1352973340","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352972924":["hashtag1","hashtag2"]},{"1352973340":["hashtag1","hashtag2"]},{"1352973463":["hashtag1","hashtag2"]},{"1352973525":["hashtag1","hashtag2"]},{"1352972952":["hashtag1","hashtag2"]},{"1352972934":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352972924, 1352973340, 1352973463, 1352973525, 1352972952, 1352972934)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 49.87214541435242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:34:32.315528
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_45_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_15_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/09/33/image_23042025_09_34_05_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_55_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_45_9558.jpg', '/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_35_10569.jpg', '/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_25_9565.jpg', '/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_15_10591.jpg', '/home/nano/Desktop/images/23042025/09/33/image_23042025_09_34_05_9576.jpg', '/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_55_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_45_9558.jpg
/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_35_10569.jpg
/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_25_9565.jpg
/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_15_10591.jpg
/home/nano/Desktop/images/23042025/09/33/image_23042025_09_34_05_9576.jpg
/home/nano/Desktop/images/23042025/09/33/image_23042025_09_33_55_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352973982","1352974015","1352973853","1352974041","1352974067","1352973932"],"photo_ids_order":["1352973853","1352973932","1352973982","1352974015","1352974041","1352974067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbbb660094e83b016c7e7b21b293785f.jpg","text":"TemporaryFile(/tmp/multipartBody2814691741777291122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393733239,"filename":"image_23042025_09_34_25_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d6f84d4374c675834bf7e1be641d9c2.jpg","text":"TemporaryFile(/tmp/multipartBody8925068453750942739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393733239,"filename":"image_23042025_09_34_15_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79f371897d0133fde549ce191d931bf2.jpg","text":"TemporaryFile(/tmp/multipartBody9009372306034777114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393733239,"filename":"image_23042025_09_34_45_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cad0157d4224ff74caf644a328103bb5.jpg","text":"TemporaryFile(/tmp/multipartBody597817597245574811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393733239,"filename":"image_23042025_09_34_05_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7235264d12d12282d02b7dd6f12e625e.jpg","text":"TemporaryFile(/tmp/multipartBody530131564044823676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393733239,"filename":"image_23042025_09_33_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b56d38ffe9b096b91c025043c0bab996.jpg","text":"TemporaryFile(/tmp/multipartBody108619600190914245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393733239,"filename":"image_23042025_09_34_35_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352973982","file1":"1352973932","file0":"1352973853","file4":"1352974041","file5":"1352974067","file3":"1352974015"},"map_files_photo_id_array":[{"photo_id":"1352974067","filename":"file5"},{"photo_id":"1352973982","filename":"file2"},{"photo_id":"1352974041","filename":"file4"},{"photo_id":"1352973932","filename":"file1"},{"photo_id":"1352973853","filename":"file0"},{"photo_id":"1352974015","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352973982":["hashtag1","hashtag2"]},{"1352974015":["hashtag1","hashtag2"]},{"1352973853":["hashtag1","hashtag2"]},{"1352974041":["hashtag1","hashtag2"]},{"1352974067":["hashtag1","hashtag2"]},{"1352973932":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352973982, 1352974015, 1352973853, 1352974041, 1352974067, 1352973932)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85311818122864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:35:32.448121
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_35_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_15_9600.jpg', 2), ('/home/nano/Desktop/images/23042025/09/34/image_23042025_09_35_05_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_55_10568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_45_10571.jpg', '/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_35_9559.jpg', '/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_25_10574.jpg', '/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_15_9600.jpg', '/home/nano/Desktop/images/23042025/09/34/image_23042025_09_35_05_9560.jpg', '/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_55_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_45_10571.jpg
/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_35_9559.jpg
/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_25_10574.jpg
/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_15_9600.jpg
/home/nano/Desktop/images/23042025/09/34/image_23042025_09_35_05_9560.jpg
/home/nano/Desktop/images/23042025/09/34/image_23042025_09_34_55_10568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352974315","1352974438","1352974353","1352974401","1352974268","1352974223"],"photo_ids_order":["1352974223","1352974268","1352974315","1352974353","1352974401","1352974438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/773ff7cdefa667301226dc4d4d84dc3f.jpg","text":"TemporaryFile(/tmp/multipartBody492346656761801868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393793410,"filename":"image_23042025_09_35_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f06dcf9ee663b2599a7b84d72db63cf.jpg","text":"TemporaryFile(/tmp/multipartBody4494319912000551138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393793410,"filename":"image_23042025_09_34_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99e4ce53b851e72b465d5d95f5b037bf.jpg","text":"TemporaryFile(/tmp/multipartBody177326073895348019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393793410,"filename":"image_23042025_09_35_15_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d723eaae78073c4e40525bc7cea4195b.jpg","text":"TemporaryFile(/tmp/multipartBody7576625118519785801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393793410,"filename":"image_23042025_09_35_05_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fe6c30a0513a3e14831078f2a4650da.jpg","text":"TemporaryFile(/tmp/multipartBody5404308329857711852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393793410,"filename":"image_23042025_09_35_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50422b85b51e26d327408949d9c8b061.jpg","text":"TemporaryFile(/tmp/multipartBody4635494801551855431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393793410,"filename":"image_23042025_09_35_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352974315","file1":"1352974268","file0":"1352974223","file4":"1352974401","file5":"1352974438","file3":"1352974353"},"map_files_photo_id_array":[{"photo_id":"1352974438","filename":"file5"},{"photo_id":"1352974315","filename":"file2"},{"photo_id":"1352974401","filename":"file4"},{"photo_id":"1352974268","filename":"file1"},{"photo_id":"1352974223","filename":"file0"},{"photo_id":"1352974353","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352974315":["hashtag1","hashtag2"]},{"1352974438":["hashtag1","hashtag2"]},{"1352974353":["hashtag1","hashtag2"]},{"1352974401":["hashtag1","hashtag2"]},{"1352974268":["hashtag1","hashtag2"]},{"1352974223":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352974315, 1352974438, 1352974353, 1352974401, 1352974268, 1352974223)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49378228187561 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:36:32.520957
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_25_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_15_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/09/35/image_23042025_09_36_05_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_55_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_45_9563.jpg', '/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_35_10570.jpg', '/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_25_9558.jpg', '/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_15_9581.jpg', '/home/nano/Desktop/images/23042025/09/35/image_23042025_09_36_05_10576.jpg', '/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_45_9563.jpg
/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_35_10570.jpg
/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_25_9558.jpg
/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_15_9581.jpg
/home/nano/Desktop/images/23042025/09/35/image_23042025_09_36_05_10576.jpg
/home/nano/Desktop/images/23042025/09/35/image_23042025_09_35_55_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352974887","1352974725","1352974931","1352974847","1352974811","1352974754"],"photo_ids_order":["1352974725","1352974754","1352974811","1352974847","1352974887","1352974931"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5f803891ce57f6250a90268341f82e7.jpg","text":"TemporaryFile(/tmp/multipartBody2363094594050514768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393853603,"filename":"image_23042025_09_36_05_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/165157bc53470d8c0be65f7bc7fbbd48.jpg","text":"TemporaryFile(/tmp/multipartBody4802423737506713876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393853603,"filename":"image_23042025_09_36_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0bf3fa9b0873d5dac509b2e62adc59d5.jpg","text":"TemporaryFile(/tmp/multipartBody7849903425077219910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393853603,"filename":"image_23042025_09_35_55_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a8bfae9e52a3ad24bea8cc8d6552461.jpg","text":"TemporaryFile(/tmp/multipartBody3525858627734216516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393853603,"filename":"image_23042025_09_36_15_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2c314b84d8cc583fac66b9424b2904b.jpg","text":"TemporaryFile(/tmp/multipartBody4504432327752518964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393853603,"filename":"image_23042025_09_36_25_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07026ef1d48abb63eb74063511b03e0f.jpg","text":"TemporaryFile(/tmp/multipartBody9017084966906423128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393853603,"filename":"image_23042025_09_36_35_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352974811","file1":"1352974754","file0":"1352974725","file4":"1352974887","file5":"1352974931","file3":"1352974847"},"map_files_photo_id_array":[{"photo_id":"1352974931","filename":"file5"},{"photo_id":"1352974811","filename":"file2"},{"photo_id":"1352974887","filename":"file4"},{"photo_id":"1352974754","filename":"file1"},{"photo_id":"1352974725","filename":"file0"},{"photo_id":"1352974847","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352974887":["hashtag1","hashtag2"]},{"1352974725":["hashtag1","hashtag2"]},{"1352974931":["hashtag1","hashtag2"]},{"1352974847":["hashtag1","hashtag2"]},{"1352974811":["hashtag1","hashtag2"]},{"1352974754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352974887, 1352974725, 1352974931, 1352974847, 1352974811, 1352974754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.086283922195435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:37:32.640827
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_45_10567.jpg', 2), ('/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_35_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_25_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_15_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/09/36/image_23042025_09_37_05_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_45_10567.jpg', '/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_35_9567.jpg', '/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_25_9573.jpg', '/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_15_10597.jpg', '/home/nano/Desktop/images/23042025/09/36/image_23042025_09_37_05_9563.jpg', '/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_45_10567.jpg
/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_35_9567.jpg
/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_25_9573.jpg
/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_15_10597.jpg
/home/nano/Desktop/images/23042025/09/36/image_23042025_09_37_05_9563.jpg
/home/nano/Desktop/images/23042025/09/36/image_23042025_09_36_55_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352975268","1352975457","1352975352","1352975450","1352975383","1352975419"],"photo_ids_order":["1352975268","1352975352","1352975383","1352975419","1352975450","1352975457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77207e9dbec5d3f3ac63fff526bfd28b.jpg","text":"TemporaryFile(/tmp/multipartBody7038390457848049609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393913675,"filename":"image_23042025_09_37_45_10567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3cc7ec5fcecece13404d06a7e297d27.jpg","text":"TemporaryFile(/tmp/multipartBody7280726821138681886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393913675,"filename":"image_23042025_09_36_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb8b8b46e582fc84b4408df805efd607.jpg","text":"TemporaryFile(/tmp/multipartBody2955366666740012845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393913675,"filename":"image_23042025_09_37_35_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bd83c381a0aad8fa4a1c1ad5affd72a.jpg","text":"TemporaryFile(/tmp/multipartBody8133013277145713657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393913675,"filename":"image_23042025_09_37_05_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d8266a54a1e387b542cb400756e5125.jpg","text":"TemporaryFile(/tmp/multipartBody3254654364436716178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393913675,"filename":"image_23042025_09_37_25_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f16c3f9c73ac08c558e9bef79da1023.jpg","text":"TemporaryFile(/tmp/multipartBody6592478991692332381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393913675,"filename":"image_23042025_09_37_15_10597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352975383","file1":"1352975352","file0":"1352975268","file4":"1352975450","file5":"1352975457","file3":"1352975419"},"map_files_photo_id_array":[{"photo_id":"1352975457","filename":"file5"},{"photo_id":"1352975383","filename":"file2"},{"photo_id":"1352975450","filename":"file4"},{"photo_id":"1352975352","filename":"file1"},{"photo_id":"1352975268","filename":"file0"},{"photo_id":"1352975419","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352975268":["hashtag1","hashtag2"]},{"1352975457":["hashtag1","hashtag2"]},{"1352975352":["hashtag1","hashtag2"]},{"1352975450":["hashtag1","hashtag2"]},{"1352975383":["hashtag1","hashtag2"]},{"1352975419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352975268, 1352975457, 1352975352, 1352975450, 1352975383, 1352975419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.36392283439636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:38:32.725088
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_24_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_15_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/37/image_23042025_09_38_05_10603.jpg', 2), ('/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_45_9562.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_35_10570.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_24_9577.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_15_9570.jpg', '/home/nano/Desktop/images/23042025/09/37/image_23042025_09_38_05_10603.jpg', '/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_45_9562.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_35_10570.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_24_9577.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_15_9570.jpg
/home/nano/Desktop/images/23042025/09/37/image_23042025_09_38_05_10603.jpg
/home/nano/Desktop/images/23042025/09/37/image_23042025_09_37_55_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352975544","1352975651","1352975686","1352975581","1352975539","1352975620"],"photo_ids_order":["1352975539","1352975544","1352975581","1352975620","1352975651","1352975686"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/424c11924f11ac9b39e0a4f97472dadf.jpg","text":"TemporaryFile(/tmp/multipartBody3287975611481364442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393973800,"filename":"image_23042025_09_38_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/165038457e1fbb00a6a8f117f97c5bd4.jpg","text":"TemporaryFile(/tmp/multipartBody5263518437622734120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393973800,"filename":"image_23042025_09_38_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26d96234e45dc9d0c5bdfeeb0d1359ab.jpg","text":"TemporaryFile(/tmp/multipartBody426668648855596758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393973800,"filename":"image_23042025_09_37_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9668b98f79cd2bc48d0305f6f8aadaf.jpg","text":"TemporaryFile(/tmp/multipartBody8906915806670431463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393973800,"filename":"image_23042025_09_38_24_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2abac9af06fcf37fafdea5d9c51b9f1c.jpg","text":"TemporaryFile(/tmp/multipartBody6995112018342263707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393973800,"filename":"image_23042025_09_38_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5173c7a5fc12927f5c11037ef0d74eaa.jpg","text":"TemporaryFile(/tmp/multipartBody7198280097494891533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745393973800,"filename":"image_23042025_09_38_15_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352975581","file1":"1352975544","file0":"1352975539","file4":"1352975651","file5":"1352975686","file3":"1352975620"},"map_files_photo_id_array":[{"photo_id":"1352975686","filename":"file5"},{"photo_id":"1352975581","filename":"file2"},{"photo_id":"1352975651","filename":"file4"},{"photo_id":"1352975544","filename":"file1"},{"photo_id":"1352975539","filename":"file0"},{"photo_id":"1352975620","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352975544":["hashtag1","hashtag2"]},{"1352975651":["hashtag1","hashtag2"]},{"1352975686":["hashtag1","hashtag2"]},{"1352975581":["hashtag1","hashtag2"]},{"1352975539":["hashtag1","hashtag2"]},{"1352975620":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352975544, 1352975651, 1352975686, 1352975581, 1352975539, 1352975620)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.355918407440186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:39:31.852362
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_45_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_35_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_15_10619.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_39_05_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_45_10569.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_35_9559.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_25_9562.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_15_10619.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_39_05_9577.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_45_10569.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_35_9559.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_25_9562.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_15_10619.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_39_05_9577.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_55_10571.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9818000793457031 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:40:02.459798
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_45_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_35_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_15_10619.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_39_05_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_55_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_45_10569.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_35_9559.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_25_9562.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_15_10619.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_39_05_9577.jpg', '/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_55_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_45_10569.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_35_9559.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_25_9562.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_15_10619.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_39_05_9577.jpg
/home/nano/Desktop/images/23042025/09/38/image_23042025_09_38_55_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352976197","1352976263","1352976187","1352976206","1352976282","1352976234"],"photo_ids_order":["1352976187","1352976197","1352976206","1352976234","1352976263","1352976282"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3812a83ddcbc228551c43695d6da2393.jpg","text":"TemporaryFile(/tmp/multipartBody2943196293223773762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394063601,"filename":"image_23042025_09_39_35_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5538f71532e3828fd68e156d72da5622.jpg","text":"TemporaryFile(/tmp/multipartBody3760680448315916575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394063601,"filename":"image_23042025_09_39_05_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7a1554d93d3a604096cfdd2d5101b3f.jpg","text":"TemporaryFile(/tmp/multipartBody7657671551974727522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394063601,"filename":"image_23042025_09_39_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c35b68118998ef9e2f294c65faf3b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody314278501143910555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394063601,"filename":"image_23042025_09_39_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02e571c1e2903613567b7976714923f9.jpg","text":"TemporaryFile(/tmp/multipartBody590256235191214720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394063601,"filename":"image_23042025_09_38_55_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad05f3c8a7548af9bf22baef85bdd9b2.jpg","text":"TemporaryFile(/tmp/multipartBody5262527601183635902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394063601,"filename":"image_23042025_09_39_15_10619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352976206","file1":"1352976197","file0":"1352976187","file4":"1352976263","file5":"1352976282","file3":"1352976234"},"map_files_photo_id_array":[{"photo_id":"1352976282","filename":"file5"},{"photo_id":"1352976206","filename":"file2"},{"photo_id":"1352976263","filename":"file4"},{"photo_id":"1352976197","filename":"file1"},{"photo_id":"1352976187","filename":"file0"},{"photo_id":"1352976234","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352976197":["hashtag1","hashtag2"]},{"1352976263":["hashtag1","hashtag2"]},{"1352976187":["hashtag1","hashtag2"]},{"1352976206":["hashtag1","hashtag2"]},{"1352976282":["hashtag1","hashtag2"]},{"1352976234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352976197, 1352976263, 1352976187, 1352976206, 1352976282, 1352976234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.996662855148315 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:41:02.684722
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_45_9557.jpg', 2), ('/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_25_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_15_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_40_05_10612.jpg', 2), ('/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_55_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_45_9557.jpg', '/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_35_9562.jpg', '/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_25_10589.jpg', '/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_15_9573.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_40_05_10612.jpg', '/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_45_9557.jpg
/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_35_9562.jpg
/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_25_10589.jpg
/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_15_9573.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_40_05_10612.jpg
/home/nano/Desktop/images/23042025/09/39/image_23042025_09_39_55_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352976603","1352976641","1352976620","1352976818","1352976707","1352976631"],"photo_ids_order":["1352976603","1352976620","1352976631","1352976641","1352976707","1352976818"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba378b3d7813c42bf0da18a1b074af88.jpg","text":"TemporaryFile(/tmp/multipartBody408670172316327141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394123665,"filename":"image_23042025_09_40_45_9557.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee146120539df1f40477007cdee92359.jpg","text":"TemporaryFile(/tmp/multipartBody4869722246310620027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394123665,"filename":"image_23042025_09_40_15_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34fafa376fc007d400da0e414c929871.jpg","text":"TemporaryFile(/tmp/multipartBody4404634861629674571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394123665,"filename":"image_23042025_09_40_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50802d0eb17995272beebdf29da593f5.jpg","text":"TemporaryFile(/tmp/multipartBody5697319066178594278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394123665,"filename":"image_23042025_09_39_55_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/755d2b21ab8754309c7d01270b9eb60f.jpg","text":"TemporaryFile(/tmp/multipartBody4289054492471441930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394123665,"filename":"image_23042025_09_40_05_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f6c000be15a854f3b09da4082dc4bdf.jpg","text":"TemporaryFile(/tmp/multipartBody107230630411929108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394123665,"filename":"image_23042025_09_40_25_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352976631","file1":"1352976620","file0":"1352976603","file4":"1352976707","file5":"1352976818","file3":"1352976641"},"map_files_photo_id_array":[{"photo_id":"1352976818","filename":"file5"},{"photo_id":"1352976631","filename":"file2"},{"photo_id":"1352976707","filename":"file4"},{"photo_id":"1352976620","filename":"file1"},{"photo_id":"1352976603","filename":"file0"},{"photo_id":"1352976641","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352976603":["hashtag1","hashtag2"]},{"1352976641":["hashtag1","hashtag2"]},{"1352976620":["hashtag1","hashtag2"]},{"1352976818":["hashtag1","hashtag2"]},{"1352976707":["hashtag1","hashtag2"]},{"1352976631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352976603, 1352976641, 1352976620, 1352976818, 1352976707, 1352976631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.1412718296051 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:42:02.688163
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_45_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_35_10568.jpg', 2), ('/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_25_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_15_10578.jpg', 2), ('/home/nano/Desktop/images/23042025/09/40/image_23042025_09_41_05_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_55_10568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_45_9560.jpg', '/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_35_10568.jpg', '/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_25_9562.jpg', '/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_15_10578.jpg', '/home/nano/Desktop/images/23042025/09/40/image_23042025_09_41_05_9564.jpg', '/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_55_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_45_9560.jpg
/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_35_10568.jpg
/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_25_9562.jpg
/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_15_10578.jpg
/home/nano/Desktop/images/23042025/09/40/image_23042025_09_41_05_9564.jpg
/home/nano/Desktop/images/23042025/09/40/image_23042025_09_40_55_10568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352977631","1352977711","1352977828","1352977797","1352977758","1352977539"],"photo_ids_order":["1352977539","1352977631","1352977711","1352977758","1352977797","1352977828"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c099dc5d867644629539f993f2ef2295.jpg","text":"TemporaryFile(/tmp/multipartBody3798843403752349304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394185164,"filename":"image_23042025_09_41_35_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b6c5bab7a2fff27411d36d3d1bd58e4.jpg","text":"TemporaryFile(/tmp/multipartBody5944935281225605895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394185164,"filename":"image_23042025_09_41_25_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8637d9f844419a77b0f8faa7bcce9ab5.jpg","text":"TemporaryFile(/tmp/multipartBody5447041425382009351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394185164,"filename":"image_23042025_09_40_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb19e01681595804f6735037ba8d6def.jpg","text":"TemporaryFile(/tmp/multipartBody3474075732614127311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394185164,"filename":"image_23042025_09_41_05_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ba5fa17467a889c7686a11a3a887b1f.jpg","text":"TemporaryFile(/tmp/multipartBody6256174832751250147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394185164,"filename":"image_23042025_09_41_15_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc30c4002894e3e03ef89ecce4d9d43a.jpg","text":"TemporaryFile(/tmp/multipartBody8257200055806262155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394185164,"filename":"image_23042025_09_41_45_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352977711","file1":"1352977631","file0":"1352977539","file4":"1352977797","file5":"1352977828","file3":"1352977758"},"map_files_photo_id_array":[{"photo_id":"1352977828","filename":"file5"},{"photo_id":"1352977711","filename":"file2"},{"photo_id":"1352977797","filename":"file4"},{"photo_id":"1352977631","filename":"file1"},{"photo_id":"1352977539","filename":"file0"},{"photo_id":"1352977758","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352977631":["hashtag1","hashtag2"]},{"1352977711":["hashtag1","hashtag2"]},{"1352977828":["hashtag1","hashtag2"]},{"1352977797":["hashtag1","hashtag2"]},{"1352977758":["hashtag1","hashtag2"]},{"1352977539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352977631, 1352977711, 1352977828, 1352977797, 1352977758, 1352977539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.19192028045654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:43:02.878549
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_45_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_25_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_15_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/09/41/image_23042025_09_42_05_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_55_9558.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_45_10573.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_35_9562.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_25_10584.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_15_9578.jpg', '/home/nano/Desktop/images/23042025/09/41/image_23042025_09_42_05_10586.jpg', '/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_55_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_45_10573.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_35_9562.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_25_10584.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_15_9578.jpg
/home/nano/Desktop/images/23042025/09/41/image_23042025_09_42_05_10586.jpg
/home/nano/Desktop/images/23042025/09/41/image_23042025_09_41_55_9558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352978187","1352978217","1352978124","1352978127","1352978156","1352978120"],"photo_ids_order":["1352978120","1352978124","1352978127","1352978156","1352978187","1352978217"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b3f1fd478d01a69873338e8f6b33509.jpg","text":"TemporaryFile(/tmp/multipartBody8217659858541744272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394244080,"filename":"image_23042025_09_42_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccef2553972654aee2d2948e04f4f110.jpg","text":"TemporaryFile(/tmp/multipartBody2536367846756737969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394244080,"filename":"image_23042025_09_41_55_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3453683958c400fdeb9086921a3d90c.jpg","text":"TemporaryFile(/tmp/multipartBody1044308729576381445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394244080,"filename":"image_23042025_09_42_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a939dd70f9b1bbfe3445f54d31f5d158.jpg","text":"TemporaryFile(/tmp/multipartBody583495152151476681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394244080,"filename":"image_23042025_09_42_25_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2aa78e831d3620771243377d08dacbd.jpg","text":"TemporaryFile(/tmp/multipartBody3020218859031927858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394244080,"filename":"image_23042025_09_42_15_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c1979ba39e246040dd9d48b99e4ecfb.jpg","text":"TemporaryFile(/tmp/multipartBody8741373666697688296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394244080,"filename":"image_23042025_09_42_45_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352978127","file1":"1352978124","file0":"1352978120","file4":"1352978187","file5":"1352978217","file3":"1352978156"},"map_files_photo_id_array":[{"photo_id":"1352978217","filename":"file5"},{"photo_id":"1352978127","filename":"file2"},{"photo_id":"1352978187","filename":"file4"},{"photo_id":"1352978124","filename":"file1"},{"photo_id":"1352978120","filename":"file0"},{"photo_id":"1352978156","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352978187":["hashtag1","hashtag2"]},{"1352978217":["hashtag1","hashtag2"]},{"1352978124":["hashtag1","hashtag2"]},{"1352978127":["hashtag1","hashtag2"]},{"1352978156":["hashtag1","hashtag2"]},{"1352978120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352978187, 1352978217, 1352978124, 1352978127, 1352978156, 1352978120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.298595905303955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:44:03.305546
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_45_9556.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_43_05_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_55_9575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_45_9556.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_35_10572.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_25_9560.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_15_10594.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_43_05_9558.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_55_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_45_9556.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_35_10572.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_25_9560.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_15_10594.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_43_05_9558.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_55_9575.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9531896114349365 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:44:32.426643
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_45_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_25_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_15_9591.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_44_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_55_10576.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_45_10572.jpg', '/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_35_9562.jpg', '/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_25_10596.jpg', '/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_15_9591.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_44_05_9566.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_55_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_45_10572.jpg
/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_35_9562.jpg
/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_25_10596.jpg
/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_15_9591.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_44_05_9566.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_55_10576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352978516","1352978494","1352978500","1352978492","1352978511","1352978505"],"photo_ids_order":["1352978492","1352978494","1352978500","1352978505","1352978511","1352978516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc42960a26fd6f71d50f61689b4ecd83.jpg","text":"TemporaryFile(/tmp/multipartBody2801303816479323031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394333332,"filename":"image_23042025_09_43_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/360abafd9680d2a87dd3f7b19b9dc4f5.jpg","text":"TemporaryFile(/tmp/multipartBody540833251549211630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394333332,"filename":"image_23042025_09_44_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8377ea8d77ff7e3008f2557e6536e1f2.jpg","text":"TemporaryFile(/tmp/multipartBody5638942381038980876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394333332,"filename":"image_23042025_09_44_25_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33f6f1da6e1af0ba8eb4925dd1d79e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8465970837677893139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394333332,"filename":"image_23042025_09_44_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4374916ff9c0bfdd9ce0d4e8cd9e4323.jpg","text":"TemporaryFile(/tmp/multipartBody5807379338026090128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394333332,"filename":"image_23042025_09_44_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a38dd41edd88fd8d69e4ac6e32cb691d.jpg","text":"TemporaryFile(/tmp/multipartBody8918369472057853897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394333332,"filename":"image_23042025_09_44_15_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352978500","file1":"1352978494","file0":"1352978492","file4":"1352978511","file5":"1352978516","file3":"1352978505"},"map_files_photo_id_array":[{"photo_id":"1352978516","filename":"file5"},{"photo_id":"1352978500","filename":"file2"},{"photo_id":"1352978511","filename":"file4"},{"photo_id":"1352978494","filename":"file1"},{"photo_id":"1352978492","filename":"file0"},{"photo_id":"1352978505","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352978516":["hashtag1","hashtag2"]},{"1352978494":["hashtag1","hashtag2"]},{"1352978500":["hashtag1","hashtag2"]},{"1352978492":["hashtag1","hashtag2"]},{"1352978511":["hashtag1","hashtag2"]},{"1352978505":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352978516, 1352978494, 1352978500, 1352978492, 1352978511, 1352978505)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44245004653931 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:45:32.569819
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_25_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_15_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/09/44/image_23042025_09_45_05_10581.jpg', 2), ('/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_55_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_45_9563.jpg', '/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_35_10572.jpg', '/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_25_9559.jpg', '/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_15_9575.jpg', '/home/nano/Desktop/images/23042025/09/44/image_23042025_09_45_05_10581.jpg', '/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_55_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_45_9563.jpg
/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_35_10572.jpg
/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_25_9559.jpg
/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_15_9575.jpg
/home/nano/Desktop/images/23042025/09/44/image_23042025_09_45_05_10581.jpg
/home/nano/Desktop/images/23042025/09/44/image_23042025_09_44_55_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352978572","1352978563","1352978559","1352978637","1352978579","1352978567"],"photo_ids_order":["1352978559","1352978563","1352978567","1352978572","1352978579","1352978637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac769266f8ae0da7a3dd08930cee28dc.jpg","text":"TemporaryFile(/tmp/multipartBody4406059214270023915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394393505,"filename":"image_23042025_09_45_15_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffa89f8ee58a4305bc8444b91718d242.jpg","text":"TemporaryFile(/tmp/multipartBody2755327183319829725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394393505,"filename":"image_23042025_09_45_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/673fcec0cef177f35487613c0eec70cb.jpg","text":"TemporaryFile(/tmp/multipartBody3405784226633723559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394393505,"filename":"image_23042025_09_45_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f53bdf0d526523773ac0ea6f310e862b.jpg","text":"TemporaryFile(/tmp/multipartBody5763784909542767010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394393505,"filename":"image_23042025_09_44_55_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7af87f92bf434f0f087f2beac5847f52.jpg","text":"TemporaryFile(/tmp/multipartBody8126214614495778312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394393505,"filename":"image_23042025_09_45_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3d443d8566e6ba6ec7da42dd65bc629.jpg","text":"TemporaryFile(/tmp/multipartBody6617041515197403179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394393505,"filename":"image_23042025_09_45_25_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352978567","file1":"1352978563","file0":"1352978559","file4":"1352978579","file5":"1352978637","file3":"1352978572"},"map_files_photo_id_array":[{"photo_id":"1352978637","filename":"file5"},{"photo_id":"1352978567","filename":"file2"},{"photo_id":"1352978579","filename":"file4"},{"photo_id":"1352978563","filename":"file1"},{"photo_id":"1352978559","filename":"file0"},{"photo_id":"1352978572","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352978572":["hashtag1","hashtag2"]},{"1352978563":["hashtag1","hashtag2"]},{"1352978559":["hashtag1","hashtag2"]},{"1352978637":["hashtag1","hashtag2"]},{"1352978579":["hashtag1","hashtag2"]},{"1352978567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352978572, 1352978563, 1352978559, 1352978637, 1352978579, 1352978567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.762975931167603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:46:32.641518
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_45_10568.jpg', 2), ('/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_35_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_25_9590.jpg', 2), ('/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_15_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/09/45/image_23042025_09_46_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_55_10579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_45_10568.jpg', '/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_35_9559.jpg', '/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_25_9590.jpg', '/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_15_10588.jpg', '/home/nano/Desktop/images/23042025/09/45/image_23042025_09_46_05_9568.jpg', '/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_55_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_45_10568.jpg
/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_35_9559.jpg
/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_25_9590.jpg
/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_15_10588.jpg
/home/nano/Desktop/images/23042025/09/45/image_23042025_09_46_05_9568.jpg
/home/nano/Desktop/images/23042025/09/45/image_23042025_09_45_55_10579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352978825","1352978788","1352978830","1352978805","1352978798","1352978795"],"photo_ids_order":["1352978788","1352978795","1352978798","1352978805","1352978825","1352978830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a047b4316282227f0faccfe2b6c7585.jpg","text":"TemporaryFile(/tmp/multipartBody1781375856564570841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394453723,"filename":"image_23042025_09_46_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acb942b0aa4742474537b447b9583113.jpg","text":"TemporaryFile(/tmp/multipartBody963880534513706244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394453723,"filename":"image_23042025_09_46_45_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/110ccdc0b016505a99329358ad4fd447.jpg","text":"TemporaryFile(/tmp/multipartBody1720770680444035023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394453723,"filename":"image_23042025_09_45_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04b6da515476bd433780fec13dca5b06.jpg","text":"TemporaryFile(/tmp/multipartBody5167086047549776638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394453723,"filename":"image_23042025_09_46_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7b01b49a2e1e2a7aee9841d5b360627.jpg","text":"TemporaryFile(/tmp/multipartBody5493896028683875757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394453723,"filename":"image_23042025_09_46_25_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06de22f8ce92e809e14eecf64c1431bf.jpg","text":"TemporaryFile(/tmp/multipartBody5466908747800684724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394453723,"filename":"image_23042025_09_46_35_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352978798","file1":"1352978795","file0":"1352978788","file4":"1352978825","file5":"1352978830","file3":"1352978805"},"map_files_photo_id_array":[{"photo_id":"1352978830","filename":"file5"},{"photo_id":"1352978798","filename":"file2"},{"photo_id":"1352978825","filename":"file4"},{"photo_id":"1352978795","filename":"file1"},{"photo_id":"1352978788","filename":"file0"},{"photo_id":"1352978805","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352978825":["hashtag1","hashtag2"]},{"1352978788":["hashtag1","hashtag2"]},{"1352978830":["hashtag1","hashtag2"]},{"1352978805":["hashtag1","hashtag2"]},{"1352978798":["hashtag1","hashtag2"]},{"1352978795":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352978825, 1352978788, 1352978830, 1352978805, 1352978798, 1352978795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.621224403381348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:47:32.728498
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_35_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_25_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_15_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/46/image_23042025_09_47_05_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_45_9562.jpg', '/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_35_9561.jpg', '/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_25_10570.jpg', '/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_15_9569.jpg', '/home/nano/Desktop/images/23042025/09/46/image_23042025_09_47_05_10570.jpg', '/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_45_9562.jpg
/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_35_9561.jpg
/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_25_10570.jpg
/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_15_9569.jpg
/home/nano/Desktop/images/23042025/09/46/image_23042025_09_47_05_10570.jpg
/home/nano/Desktop/images/23042025/09/46/image_23042025_09_46_55_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352979031","1352978950","1352979016","1352978935","1352978960","1352978954"],"photo_ids_order":["1352978935","1352978950","1352978954","1352978960","1352979016","1352979031"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf0b1636c340d7f02222e127aec91912.jpg","text":"TemporaryFile(/tmp/multipartBody588651776123730446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394513853,"filename":"image_23042025_09_46_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7e8cf88b270783a675fcf14c10efe98.jpg","text":"TemporaryFile(/tmp/multipartBody2812217079447728612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394513853,"filename":"image_23042025_09_47_35_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8337bc6d767cabca0009c09fc2ad2022.jpg","text":"TemporaryFile(/tmp/multipartBody1589192938631591287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394513853,"filename":"image_23042025_09_47_05_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5517792bdc3cd1b691e3ad7415a8360c.jpg","text":"TemporaryFile(/tmp/multipartBody7204960740450103412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394513853,"filename":"image_23042025_09_47_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8276d4b2e26c0871797489f5cc11b5a.jpg","text":"TemporaryFile(/tmp/multipartBody1555249512272803626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394513853,"filename":"image_23042025_09_47_15_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd94122117daf34cb31912b3e478f7b2.jpg","text":"TemporaryFile(/tmp/multipartBody4737777942274929578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394513853,"filename":"image_23042025_09_47_25_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352978954","file1":"1352978950","file0":"1352978935","file4":"1352979016","file5":"1352979031","file3":"1352978960"},"map_files_photo_id_array":[{"photo_id":"1352979031","filename":"file5"},{"photo_id":"1352978954","filename":"file2"},{"photo_id":"1352979016","filename":"file4"},{"photo_id":"1352978950","filename":"file1"},{"photo_id":"1352978935","filename":"file0"},{"photo_id":"1352978960","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352979031":["hashtag1","hashtag2"]},{"1352978950":["hashtag1","hashtag2"]},{"1352979016":["hashtag1","hashtag2"]},{"1352978935":["hashtag1","hashtag2"]},{"1352978960":["hashtag1","hashtag2"]},{"1352978954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352979031, 1352978950, 1352979016, 1352978935, 1352978960, 1352978954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12312173843384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:48:31.859169
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_45_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_35_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_25_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_15_10595.jpg', 2), ('/home/nano/Desktop/images/23042025/09/47/image_23042025_09_48_05_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_55_10568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_45_9558.jpg', '/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_35_10573.jpg', '/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_25_9571.jpg', '/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_15_10595.jpg', '/home/nano/Desktop/images/23042025/09/47/image_23042025_09_48_05_9575.jpg', '/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_55_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_45_9558.jpg
/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_35_10573.jpg
/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_25_9571.jpg
/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_15_10595.jpg
/home/nano/Desktop/images/23042025/09/47/image_23042025_09_48_05_9575.jpg
/home/nano/Desktop/images/23042025/09/47/image_23042025_09_47_55_10568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352979178","1352979183","1352979192","1352979188","1352979167","1352979172"],"photo_ids_order":["1352979167","1352979172","1352979178","1352979183","1352979188","1352979192"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24f7c3e88fe042e69cc114ad35bacdba.jpg","text":"TemporaryFile(/tmp/multipartBody931531766870999179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394572850,"filename":"image_23042025_09_48_25_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc6bddfdc271c533ddb9850f2ac4700f.jpg","text":"TemporaryFile(/tmp/multipartBody8003421238775013856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394572850,"filename":"image_23042025_09_48_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2847f052f8ecebf3eeeea454a31160c.jpg","text":"TemporaryFile(/tmp/multipartBody1407170995866584930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394572850,"filename":"image_23042025_09_47_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/814cc9e6669a158810e77511d38fe07f.jpg","text":"TemporaryFile(/tmp/multipartBody2644913941888975852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394572850,"filename":"image_23042025_09_48_05_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba275867b8119911073c5d2d4c39f03f.jpg","text":"TemporaryFile(/tmp/multipartBody9114783337487336173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394572850,"filename":"image_23042025_09_48_45_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b4931ef3d495488de24f8dc438fc7f5.jpg","text":"TemporaryFile(/tmp/multipartBody7018549042133804777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394572850,"filename":"image_23042025_09_48_35_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352979178","file1":"1352979172","file0":"1352979167","file4":"1352979188","file5":"1352979192","file3":"1352979183"},"map_files_photo_id_array":[{"photo_id":"1352979192","filename":"file5"},{"photo_id":"1352979178","filename":"file2"},{"photo_id":"1352979188","filename":"file4"},{"photo_id":"1352979172","filename":"file1"},{"photo_id":"1352979167","filename":"file0"},{"photo_id":"1352979183","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352979178":["hashtag1","hashtag2"]},{"1352979183":["hashtag1","hashtag2"]},{"1352979192":["hashtag1","hashtag2"]},{"1352979188":["hashtag1","hashtag2"]},{"1352979167":["hashtag1","hashtag2"]},{"1352979172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352979178, 1352979183, 1352979192, 1352979188, 1352979167, 1352979172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.586758613586426 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:49:31.955277
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_45_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_35_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_25_10568.jpg', 2), ('/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_15_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/48/image_23042025_09_49_05_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_55_9577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_45_10586.jpg', '/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_35_9558.jpg', '/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_25_10568.jpg', '/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_15_9560.jpg', '/home/nano/Desktop/images/23042025/09/48/image_23042025_09_49_05_10592.jpg', '/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_55_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_45_10586.jpg
/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_35_9558.jpg
/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_25_10568.jpg
/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_15_9560.jpg
/home/nano/Desktop/images/23042025/09/48/image_23042025_09_49_05_10592.jpg
/home/nano/Desktop/images/23042025/09/48/image_23042025_09_48_55_9577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352979259","1352979232","1352979291","1352979342","1352979237","1352979323"],"photo_ids_order":["1352979232","1352979237","1352979259","1352979291","1352979323","1352979342"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/214cffb41112422cb2f2efd9de1c2d3f.jpg","text":"TemporaryFile(/tmp/multipartBody4554996996957100520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394632946,"filename":"image_23042025_09_49_25_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b0545eca32aeecb4135301aa0c24edf.jpg","text":"TemporaryFile(/tmp/multipartBody3265703841698252526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394632946,"filename":"image_23042025_09_49_45_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5ca2bdb7dd21917c71585578393743d.jpg","text":"TemporaryFile(/tmp/multipartBody2399497066340325647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394632946,"filename":"image_23042025_09_49_15_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/823b7306ae3ed6cb604d7e6d629fc5a1.jpg","text":"TemporaryFile(/tmp/multipartBody7144982821953173765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394632946,"filename":"image_23042025_09_48_55_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e38382eeffd0be5306d1240935d2e90.jpg","text":"TemporaryFile(/tmp/multipartBody7128252672823105133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394632946,"filename":"image_23042025_09_49_35_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52251593ba0fc86a8c3e49782b0981a6.jpg","text":"TemporaryFile(/tmp/multipartBody8168089294294252639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394632946,"filename":"image_23042025_09_49_05_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352979259","file1":"1352979237","file0":"1352979232","file4":"1352979323","file5":"1352979342","file3":"1352979291"},"map_files_photo_id_array":[{"photo_id":"1352979342","filename":"file5"},{"photo_id":"1352979259","filename":"file2"},{"photo_id":"1352979323","filename":"file4"},{"photo_id":"1352979237","filename":"file1"},{"photo_id":"1352979232","filename":"file0"},{"photo_id":"1352979291","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352979259":["hashtag1","hashtag2"]},{"1352979232":["hashtag1","hashtag2"]},{"1352979291":["hashtag1","hashtag2"]},{"1352979342":["hashtag1","hashtag2"]},{"1352979237":["hashtag1","hashtag2"]},{"1352979323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352979259, 1352979232, 1352979291, 1352979342, 1352979237, 1352979323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77415180206299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:50:32.039499
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_25_9606.jpg', 2), ('/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_15_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_55_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_45_9556.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_45_9563.jpg', '/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_35_10569.jpg', '/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_25_9606.jpg', '/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_15_10590.jpg', '/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_55_9561.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_45_9556.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_45_9563.jpg
/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_35_10569.jpg
/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_25_9606.jpg
/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_15_10590.jpg
/home/nano/Desktop/images/23042025/09/49/image_23042025_09_49_55_9561.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_45_9556.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352979784","1352979754","1352979820","1352979729","1352979716","1352979775"],"photo_ids_order":["1352979716","1352979729","1352979754","1352979775","1352979784","1352979820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/959b21dedcfb3d546acc7b88cf6151e6.jpg","text":"TemporaryFile(/tmp/multipartBody4978908825196222932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394692990,"filename":"image_23042025_09_49_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/401a04fba5d32921b6eea89e0eed9b5e.jpg","text":"TemporaryFile(/tmp/multipartBody7851283194890605076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394692990,"filename":"image_23042025_09_50_25_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/562705fe818fd99fb123bd188eab0e54.jpg","text":"TemporaryFile(/tmp/multipartBody310390999996717122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394692990,"filename":"image_23042025_09_43_45_9556.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3ac931996372fe4450da8ba34ea5cba.jpg","text":"TemporaryFile(/tmp/multipartBody2294785641866823335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394692990,"filename":"image_23042025_09_50_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c8a1f2de8c6716ad1f722116e7fa26a.jpg","text":"TemporaryFile(/tmp/multipartBody3016082996458352786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394692990,"filename":"image_23042025_09_50_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b1a3fd8c5beeca0123052adc62fa846.jpg","text":"TemporaryFile(/tmp/multipartBody6012304230953500569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394692990,"filename":"image_23042025_09_50_15_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352979754","file1":"1352979729","file0":"1352979716","file4":"1352979784","file5":"1352979820","file3":"1352979775"},"map_files_photo_id_array":[{"photo_id":"1352979820","filename":"file5"},{"photo_id":"1352979754","filename":"file2"},{"photo_id":"1352979784","filename":"file4"},{"photo_id":"1352979729","filename":"file1"},{"photo_id":"1352979716","filename":"file0"},{"photo_id":"1352979775","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352979784":["hashtag1","hashtag2"]},{"1352979754":["hashtag1","hashtag2"]},{"1352979820":["hashtag1","hashtag2"]},{"1352979729":["hashtag1","hashtag2"]},{"1352979716":["hashtag1","hashtag2"]},{"1352979775":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352979784, 1352979754, 1352979820, 1352979729, 1352979716, 1352979775)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.99491763114929 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:51:32.258710
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_45_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_25_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_15_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/50/image_23042025_09_51_05_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_55_10568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_45_10569.jpg', '/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_35_9562.jpg', '/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_25_10569.jpg', '/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_15_9559.jpg', '/home/nano/Desktop/images/23042025/09/50/image_23042025_09_51_05_9564.jpg', '/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_55_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_45_10569.jpg
/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_35_9562.jpg
/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_25_10569.jpg
/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_15_9559.jpg
/home/nano/Desktop/images/23042025/09/50/image_23042025_09_51_05_9564.jpg
/home/nano/Desktop/images/23042025/09/50/image_23042025_09_50_55_10568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352980066","1352980086","1352980113","1352980056","1352980143","1352980061"],"photo_ids_order":["1352980056","1352980061","1352980066","1352980086","1352980113","1352980143"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62dd2b5be78073e2ffd1ee4a6c262d96.jpg","text":"TemporaryFile(/tmp/multipartBody5901299587436390130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394753251,"filename":"image_23042025_09_51_25_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b527e3faacde96531caa743a5078a869.jpg","text":"TemporaryFile(/tmp/multipartBody2132810268212428447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394753251,"filename":"image_23042025_09_51_15_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecc4d6166423093c606d13331a296534.jpg","text":"TemporaryFile(/tmp/multipartBody597867515714811187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394753251,"filename":"image_23042025_09_51_05_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc61d3208ff2c5318f696b61f0406959.jpg","text":"TemporaryFile(/tmp/multipartBody2395855855988139652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394753251,"filename":"image_23042025_09_51_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88891d644178ba318e84f7767f109114.jpg","text":"TemporaryFile(/tmp/multipartBody5542237552969772773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394753251,"filename":"image_23042025_09_50_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a88e29dcd9be8874ba321049fb6b5c64.jpg","text":"TemporaryFile(/tmp/multipartBody1496665284606915482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394753251,"filename":"image_23042025_09_51_35_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352980066","file1":"1352980061","file0":"1352980056","file4":"1352980113","file5":"1352980143","file3":"1352980086"},"map_files_photo_id_array":[{"photo_id":"1352980143","filename":"file5"},{"photo_id":"1352980066","filename":"file2"},{"photo_id":"1352980113","filename":"file4"},{"photo_id":"1352980061","filename":"file1"},{"photo_id":"1352980056","filename":"file0"},{"photo_id":"1352980086","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352980066":["hashtag1","hashtag2"]},{"1352980086":["hashtag1","hashtag2"]},{"1352980113":["hashtag1","hashtag2"]},{"1352980056":["hashtag1","hashtag2"]},{"1352980143":["hashtag1","hashtag2"]},{"1352980061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352980066, 1352980086, 1352980113, 1352980056, 1352980143, 1352980061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.832877159118652 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:52:32.349942
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_25_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_15_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/51/image_23042025_09_52_05_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_55_9576.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_45_9561.jpg', '/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_35_10570.jpg', '/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_25_9565.jpg', '/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_15_9559.jpg', '/home/nano/Desktop/images/23042025/09/51/image_23042025_09_52_05_10593.jpg', '/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_55_9576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_45_9561.jpg
/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_35_10570.jpg
/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_25_9565.jpg
/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_15_9559.jpg
/home/nano/Desktop/images/23042025/09/51/image_23042025_09_52_05_10593.jpg
/home/nano/Desktop/images/23042025/09/51/image_23042025_09_51_55_9576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352980237","1352980339","1352980275","1352980335","1352980329","1352980322"],"photo_ids_order":["1352980237","1352980275","1352980322","1352980329","1352980335","1352980339"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4590c7d3fd0695c9fbe72bed7c44719.jpg","text":"TemporaryFile(/tmp/multipartBody7965285624849360775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394813177,"filename":"image_23042025_09_52_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a74507d054d261b9b4bd0df9c2e70cbd.jpg","text":"TemporaryFile(/tmp/multipartBody8878998094050512243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394813177,"filename":"image_23042025_09_51_55_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4190000df5ca20e3a9b83becdfc7eaf4.jpg","text":"TemporaryFile(/tmp/multipartBody7717737474356902391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394813177,"filename":"image_23042025_09_52_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa468988b6c8fed0e51e3abb2aefda5c.jpg","text":"TemporaryFile(/tmp/multipartBody8497684439221182700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394813177,"filename":"image_23042025_09_52_05_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/614c216fdd46a6dd99cbf5bfb77a17f2.jpg","text":"TemporaryFile(/tmp/multipartBody1004385564179413114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394813177,"filename":"image_23042025_09_52_15_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd056d891c7608b1cf4838693e52ff13.jpg","text":"TemporaryFile(/tmp/multipartBody1838189893413983146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394813177,"filename":"image_23042025_09_52_25_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352980322","file1":"1352980275","file0":"1352980237","file4":"1352980335","file5":"1352980339","file3":"1352980329"},"map_files_photo_id_array":[{"photo_id":"1352980339","filename":"file5"},{"photo_id":"1352980322","filename":"file2"},{"photo_id":"1352980335","filename":"file4"},{"photo_id":"1352980275","filename":"file1"},{"photo_id":"1352980237","filename":"file0"},{"photo_id":"1352980329","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352980237":["hashtag1","hashtag2"]},{"1352980339":["hashtag1","hashtag2"]},{"1352980275":["hashtag1","hashtag2"]},{"1352980335":["hashtag1","hashtag2"]},{"1352980329":["hashtag1","hashtag2"]},{"1352980322":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352980237, 1352980339, 1352980275, 1352980335, 1352980329, 1352980322)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.799938678741455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:53:32.448756
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_35_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_15_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/09/52/image_23042025_09_53_05_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_55_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_45_10571.jpg', '/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_35_9574.jpg', '/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_25_9561.jpg', '/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_15_10580.jpg', '/home/nano/Desktop/images/23042025/09/52/image_23042025_09_53_05_9568.jpg', '/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_45_10571.jpg
/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_35_9574.jpg
/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_25_9561.jpg
/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_15_10580.jpg
/home/nano/Desktop/images/23042025/09/52/image_23042025_09_53_05_9568.jpg
/home/nano/Desktop/images/23042025/09/52/image_23042025_09_52_55_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352980505","1352980525","1352980510","1352980521","1352980515","1352980529"],"photo_ids_order":["1352980505","1352980510","1352980515","1352980521","1352980525","1352980529"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c545803462132afb5e9e4951c8ff6c0.jpg","text":"TemporaryFile(/tmp/multipartBody1544387187278609605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394873452,"filename":"image_23042025_09_53_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fff0ef8ff5e0c51b6a02240f309150d.jpg","text":"TemporaryFile(/tmp/multipartBody4068503649976207031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394873452,"filename":"image_23042025_09_53_05_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eafab9d62be7aa77835294e01901797b.jpg","text":"TemporaryFile(/tmp/multipartBody5352521570263953891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394873452,"filename":"image_23042025_09_53_35_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d39ec630da076d49e2b9b4f20db61a62.jpg","text":"TemporaryFile(/tmp/multipartBody6684928364420178787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394873452,"filename":"image_23042025_09_53_15_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc57689df074b7838c2ecbf1111a4cd5.jpg","text":"TemporaryFile(/tmp/multipartBody7731292934408785653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394873452,"filename":"image_23042025_09_53_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c7d838fc117715536869de6c2e0392c.jpg","text":"TemporaryFile(/tmp/multipartBody4888253940276015151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394873452,"filename":"image_23042025_09_52_55_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352980515","file1":"1352980510","file0":"1352980505","file4":"1352980525","file5":"1352980529","file3":"1352980521"},"map_files_photo_id_array":[{"photo_id":"1352980529","filename":"file5"},{"photo_id":"1352980515","filename":"file2"},{"photo_id":"1352980525","filename":"file4"},{"photo_id":"1352980510","filename":"file1"},{"photo_id":"1352980505","filename":"file0"},{"photo_id":"1352980521","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352980505":["hashtag1","hashtag2"]},{"1352980525":["hashtag1","hashtag2"]},{"1352980510":["hashtag1","hashtag2"]},{"1352980521":["hashtag1","hashtag2"]},{"1352980515":["hashtag1","hashtag2"]},{"1352980529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352980505, 1352980525, 1352980510, 1352980521, 1352980515, 1352980529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.44197344779968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:54:32.550715
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_45_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_35_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_25_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_15_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/09/53/image_23042025_09_54_05_10603.jpg', 2), ('/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_55_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_45_9560.jpg', '/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_35_9563.jpg', '/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_25_10586.jpg', '/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_15_9566.jpg', '/home/nano/Desktop/images/23042025/09/53/image_23042025_09_54_05_10603.jpg', '/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_45_9560.jpg
/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_35_9563.jpg
/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_25_10586.jpg
/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_15_9566.jpg
/home/nano/Desktop/images/23042025/09/53/image_23042025_09_54_05_10603.jpg
/home/nano/Desktop/images/23042025/09/53/image_23042025_09_53_55_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352980591","1352980606","1352980587","1352980602","1352980611","1352980595"],"photo_ids_order":["1352980587","1352980591","1352980595","1352980602","1352980606","1352980611"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60eb34f4e25f8751986f1e46f5ea5a03.jpg","text":"TemporaryFile(/tmp/multipartBody1208919404540934143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394933568,"filename":"image_23042025_09_54_35_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c553037704309b0796e852ca3513649c.jpg","text":"TemporaryFile(/tmp/multipartBody8824666435026279851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394933568,"filename":"image_23042025_09_54_05_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97e59e08ea3d9c80e8b2d8d0a0ff18ea.jpg","text":"TemporaryFile(/tmp/multipartBody475361380748809129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394933568,"filename":"image_23042025_09_54_45_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7880cc9355cf38d34981500fec813aae.jpg","text":"TemporaryFile(/tmp/multipartBody1746194163500806389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394933568,"filename":"image_23042025_09_54_15_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39bf6c05926bc1cafc6d67d67e7d0a4f.jpg","text":"TemporaryFile(/tmp/multipartBody437137697162774172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394933568,"filename":"image_23042025_09_53_55_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4529bb7c7b060327c7457a8fc1fbb81b.jpg","text":"TemporaryFile(/tmp/multipartBody6479959779301353316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394933568,"filename":"image_23042025_09_54_25_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352980595","file1":"1352980591","file0":"1352980587","file4":"1352980606","file5":"1352980611","file3":"1352980602"},"map_files_photo_id_array":[{"photo_id":"1352980611","filename":"file5"},{"photo_id":"1352980595","filename":"file2"},{"photo_id":"1352980606","filename":"file4"},{"photo_id":"1352980591","filename":"file1"},{"photo_id":"1352980587","filename":"file0"},{"photo_id":"1352980602","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352980591":["hashtag1","hashtag2"]},{"1352980606":["hashtag1","hashtag2"]},{"1352980587":["hashtag1","hashtag2"]},{"1352980602":["hashtag1","hashtag2"]},{"1352980611":["hashtag1","hashtag2"]},{"1352980595":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352980591, 1352980606, 1352980587, 1352980602, 1352980611, 1352980595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.729089975357056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:55:32.640200
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_45_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_15_10598.jpg', 2), ('/home/nano/Desktop/images/23042025/09/54/image_23042025_09_55_05_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_55_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_45_9560.jpg', '/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_35_10570.jpg', '/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_25_9560.jpg', '/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_15_10598.jpg', '/home/nano/Desktop/images/23042025/09/54/image_23042025_09_55_05_9577.jpg', '/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_55_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_45_9560.jpg
/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_35_10570.jpg
/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_25_9560.jpg
/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_15_10598.jpg
/home/nano/Desktop/images/23042025/09/54/image_23042025_09_55_05_9577.jpg
/home/nano/Desktop/images/23042025/09/54/image_23042025_09_54_55_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352980715","1352980643","1352980678","1352980674","1352980668","1352980697"],"photo_ids_order":["1352980643","1352980668","1352980674","1352980678","1352980697","1352980715"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/106f778d459b022681d7982a0ee61e43.jpg","text":"TemporaryFile(/tmp/multipartBody6603633100477791845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394993580,"filename":"image_23042025_09_54_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/514d5eaadf02bd3c47640a4de3266ad4.jpg","text":"TemporaryFile(/tmp/multipartBody6006293815547306698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394993580,"filename":"image_23042025_09_55_45_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/295dc1d6369dc633dcb06c40be70990c.jpg","text":"TemporaryFile(/tmp/multipartBody4107559079746893579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394993580,"filename":"image_23042025_09_55_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b273954699f6741bc9576d94f1b7d0ec.jpg","text":"TemporaryFile(/tmp/multipartBody3810635200463019366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394993580,"filename":"image_23042025_09_55_25_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc55ff9419beb2f215667ccea06c3471.jpg","text":"TemporaryFile(/tmp/multipartBody4155102451186578876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394993580,"filename":"image_23042025_09_55_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcebfdccb0e8e77ed8d72bb91bac0cc0.jpg","text":"TemporaryFile(/tmp/multipartBody2575401681952126984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745394993580,"filename":"image_23042025_09_55_05_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352980674","file1":"1352980668","file0":"1352980643","file4":"1352980697","file5":"1352980715","file3":"1352980678"},"map_files_photo_id_array":[{"photo_id":"1352980715","filename":"file5"},{"photo_id":"1352980674","filename":"file2"},{"photo_id":"1352980697","filename":"file4"},{"photo_id":"1352980668","filename":"file1"},{"photo_id":"1352980643","filename":"file0"},{"photo_id":"1352980678","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352980715":["hashtag1","hashtag2"]},{"1352980643":["hashtag1","hashtag2"]},{"1352980678":["hashtag1","hashtag2"]},{"1352980674":["hashtag1","hashtag2"]},{"1352980668":["hashtag1","hashtag2"]},{"1352980697":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352980715, 1352980643, 1352980678, 1352980674, 1352980668, 1352980697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.13429045677185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:56:32.776690
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_45_10568.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_35_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_25_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_15_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/09/55/image_23042025_09_56_05_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_55_9558.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_45_10568.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_35_9560.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_25_10569.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_15_9582.jpg', '/home/nano/Desktop/images/23042025/09/55/image_23042025_09_56_05_10575.jpg', '/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_55_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_45_10568.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_35_9560.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_25_10569.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_15_9582.jpg
/home/nano/Desktop/images/23042025/09/55/image_23042025_09_56_05_10575.jpg
/home/nano/Desktop/images/23042025/09/55/image_23042025_09_55_55_9558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352981230","1352981143","1352981070","1352981276","1352981197","1352981021"],"photo_ids_order":["1352981021","1352981070","1352981143","1352981197","1352981230","1352981276"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d2e4c1eb9c19afadb60b6235c5fb093.jpg","text":"TemporaryFile(/tmp/multipartBody2407177547461987154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395053861,"filename":"image_23042025_09_56_05_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/465fa319881bea19d189df84f6a2dd66.jpg","text":"TemporaryFile(/tmp/multipartBody7648857468485924054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395053861,"filename":"image_23042025_09_56_25_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a0c2e290a2ab3a555af4efcb8c84421.jpg","text":"TemporaryFile(/tmp/multipartBody3659222549403509004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395053861,"filename":"image_23042025_09_56_35_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4320b82336317a50c9ea1b4154aede8.jpg","text":"TemporaryFile(/tmp/multipartBody4072254371451376566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395053861,"filename":"image_23042025_09_55_55_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5282b4926c47bbec8278aea5923721e8.jpg","text":"TemporaryFile(/tmp/multipartBody2885009388418513462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395053861,"filename":"image_23042025_09_56_15_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fb4a941a0eab6e4a7cf68f0d7ae997b.jpg","text":"TemporaryFile(/tmp/multipartBody2810613367061628837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395053861,"filename":"image_23042025_09_56_45_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352981143","file1":"1352981070","file0":"1352981021","file4":"1352981230","file5":"1352981276","file3":"1352981197"},"map_files_photo_id_array":[{"photo_id":"1352981276","filename":"file5"},{"photo_id":"1352981143","filename":"file2"},{"photo_id":"1352981230","filename":"file4"},{"photo_id":"1352981070","filename":"file1"},{"photo_id":"1352981021","filename":"file0"},{"photo_id":"1352981197","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352981230":["hashtag1","hashtag2"]},{"1352981143":["hashtag1","hashtag2"]},{"1352981070":["hashtag1","hashtag2"]},{"1352981276":["hashtag1","hashtag2"]},{"1352981197":["hashtag1","hashtag2"]},{"1352981021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352981230, 1352981143, 1352981070, 1352981276, 1352981197, 1352981021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.587891340255737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:57:31.920827
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_45_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_25_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_15_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_57_05_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_55_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_45_9560.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_35_10570.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_25_9559.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_15_10587.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_57_05_9580.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_45_9560.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_35_10570.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_25_9559.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_15_10587.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_57_05_9580.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_55_9559.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 09:59:02.886968
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_45_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_35_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_25_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_15_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_58_05_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_45_10570.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_35_9558.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_25_10584.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_15_9575.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_58_05_9567.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_45_10570.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_35_9558.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_25_10584.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_15_9575.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_58_05_9567.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_55_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352982600","1352982411","1352982455","1352982376","1352982562","1352982529"],"photo_ids_order":["1352982376","1352982411","1352982455","1352982529","1352982562","1352982600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86a82829cd090974aaa6723d92767c48.jpg","text":"TemporaryFile(/tmp/multipartBody3175096540197988487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395203976,"filename":"image_23042025_09_57_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad2c20b2ecb2fa92d12d3144a07a4902.jpg","text":"TemporaryFile(/tmp/multipartBody2086788265562202265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395203976,"filename":"image_23042025_09_58_35_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91d14633b0ec0581e80053317e12d06f.jpg","text":"TemporaryFile(/tmp/multipartBody253594856063023487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395203976,"filename":"image_23042025_09_58_25_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df5689b624052f7e709665bdf88fa851.jpg","text":"TemporaryFile(/tmp/multipartBody4254823419446454091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395203976,"filename":"image_23042025_09_58_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c18809c3715f2903a5420452ed61c3ac.jpg","text":"TemporaryFile(/tmp/multipartBody6650628308526709089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395203976,"filename":"image_23042025_09_58_05_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1671f232b86faa80356e480ee46a97fa.jpg","text":"TemporaryFile(/tmp/multipartBody7121623026047623522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395203976,"filename":"image_23042025_09_58_15_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352982455","file1":"1352982411","file0":"1352982376","file4":"1352982562","file5":"1352982600","file3":"1352982529"},"map_files_photo_id_array":[{"photo_id":"1352982600","filename":"file5"},{"photo_id":"1352982455","filename":"file2"},{"photo_id":"1352982562","filename":"file4"},{"photo_id":"1352982411","filename":"file1"},{"photo_id":"1352982376","filename":"file0"},{"photo_id":"1352982529","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352982600":["hashtag1","hashtag2"]},{"1352982411":["hashtag1","hashtag2"]},{"1352982455":["hashtag1","hashtag2"]},{"1352982376":["hashtag1","hashtag2"]},{"1352982562":["hashtag1","hashtag2"]},{"1352982529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352982600, 1352982411, 1352982455, 1352982376, 1352982562, 1352982529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91101264953613 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:00:02.801065
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_45_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_15_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_59_05_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_55_9574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_45_9559.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_35_10572.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_25_9560.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_15_9559.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_59_05_10573.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_55_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_45_9559.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_35_10572.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_25_9560.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_15_9559.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_59_05_10573.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_55_9574.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0451209545135498 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:00:32.314523
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_45_10689.jpg', 2), ('/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_35_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_25_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_10_00_05_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_55_10568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_45_10689.jpg', '/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_35_9670.jpg', '/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_25_9572.jpg', '/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_15_10593.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_10_00_05_9566.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_55_10568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_45_10689.jpg
/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_35_9670.jpg
/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_25_9572.jpg
/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_15_10593.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_10_00_05_9566.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_55_10568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352983539","1352983332","1352983385","1352983493","1352983280","1352983439"],"photo_ids_order":["1352983280","1352983332","1352983385","1352983439","1352983493","1352983539"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4b9f03f500aab8044c817b32f4b498f.jpg","text":"TemporaryFile(/tmp/multipartBody5508615154572053205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395293816,"filename":"image_23042025_09_59_55_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9056e649e653bb389567f5d262adad8.jpg","text":"TemporaryFile(/tmp/multipartBody3279500841673838706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395293816,"filename":"image_23042025_10_00_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62a22411092794a0e062746b0e6d84e8.jpg","text":"TemporaryFile(/tmp/multipartBody8779593575297918220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395293816,"filename":"image_23042025_10_00_25_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f379114e1910f7765c0fa9bfccb1fae.jpg","text":"TemporaryFile(/tmp/multipartBody7926272247518330069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395293816,"filename":"image_23042025_10_00_05_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ac7476a39f63618c914ba39beba882b.jpg","text":"TemporaryFile(/tmp/multipartBody8178252383426621237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395293816,"filename":"image_23042025_10_00_45_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42bb3956cd7174e02cdf9e1ce69e1e26.jpg","text":"TemporaryFile(/tmp/multipartBody1977813135158724060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395293816,"filename":"image_23042025_10_00_15_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352983385","file1":"1352983332","file0":"1352983280","file4":"1352983493","file5":"1352983539","file3":"1352983439"},"map_files_photo_id_array":[{"photo_id":"1352983539","filename":"file5"},{"photo_id":"1352983385","filename":"file2"},{"photo_id":"1352983493","filename":"file4"},{"photo_id":"1352983332","filename":"file1"},{"photo_id":"1352983280","filename":"file0"},{"photo_id":"1352983439","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352983539":["hashtag1","hashtag2"]},{"1352983332":["hashtag1","hashtag2"]},{"1352983385":["hashtag1","hashtag2"]},{"1352983493":["hashtag1","hashtag2"]},{"1352983280":["hashtag1","hashtag2"]},{"1352983439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352983539, 1352983332, 1352983385, 1352983493, 1352983280, 1352983439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.262744188308716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:01:32.487672
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_45_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_35_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_25_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_15_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/10/00/image_23042025_10_01_05_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_45_10646.jpg', '/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_35_9681.jpg', '/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_25_9644.jpg', '/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_15_10675.jpg', '/home/nano/Desktop/images/23042025/10/00/image_23042025_10_01_05_9684.jpg', '/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_45_10646.jpg
/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_35_9681.jpg
/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_25_9644.jpg
/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_15_10675.jpg
/home/nano/Desktop/images/23042025/10/00/image_23042025_10_01_05_9684.jpg
/home/nano/Desktop/images/23042025/10/00/image_23042025_10_00_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352984579","1352984129","1352984392","1352984182","1352984335","1352984262"],"photo_ids_order":["1352984129","1352984182","1352984262","1352984335","1352984392","1352984579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e818184f67d8d456681dacf528630bb2.jpg","text":"TemporaryFile(/tmp/multipartBody5254941544111679186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395353741,"filename":"image_23042025_10_00_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e8845a2a54b35dcb5578a6c1ecf1bbe.jpg","text":"TemporaryFile(/tmp/multipartBody4838953984725501271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395353741,"filename":"image_23042025_10_01_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26e64f5699781a48fbe7e4e6dba4b7c9.jpg","text":"TemporaryFile(/tmp/multipartBody1809020716847197169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395353741,"filename":"image_23042025_10_01_05_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5fb59320f66543e08af14214691005d.jpg","text":"TemporaryFile(/tmp/multipartBody6575066688966151092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395353741,"filename":"image_23042025_10_01_35_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6134fb3e232f033d3139d3a635a29674.jpg","text":"TemporaryFile(/tmp/multipartBody2050325714784278793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395353741,"filename":"image_23042025_10_01_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f23d54d691c36d3d53b3dfef74504f8.jpg","text":"TemporaryFile(/tmp/multipartBody8796428309066089890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395353741,"filename":"image_23042025_10_01_25_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352984262","file1":"1352984182","file0":"1352984129","file4":"1352984392","file5":"1352984579","file3":"1352984335"},"map_files_photo_id_array":[{"photo_id":"1352984579","filename":"file5"},{"photo_id":"1352984262","filename":"file2"},{"photo_id":"1352984392","filename":"file4"},{"photo_id":"1352984182","filename":"file1"},{"photo_id":"1352984129","filename":"file0"},{"photo_id":"1352984335","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352984579":["hashtag1","hashtag2"]},{"1352984129":["hashtag1","hashtag2"]},{"1352984392":["hashtag1","hashtag2"]},{"1352984182":["hashtag1","hashtag2"]},{"1352984335":["hashtag1","hashtag2"]},{"1352984262":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352984579, 1352984129, 1352984392, 1352984182, 1352984335, 1352984262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.61933922767639 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:02:32.558853
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_15_10679.jpg', 2), ('/home/nano/Desktop/images/23042025/10/01/image_23042025_10_02_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_45_10647.jpg', '/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_35_9626.jpg', '/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_25_9643.jpg', '/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_15_10679.jpg', '/home/nano/Desktop/images/23042025/10/01/image_23042025_10_02_05_9642.jpg', '/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_45_10647.jpg
/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_35_9626.jpg
/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_25_9643.jpg
/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_15_10679.jpg
/home/nano/Desktop/images/23042025/10/01/image_23042025_10_02_05_9642.jpg
/home/nano/Desktop/images/23042025/10/01/image_23042025_10_01_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352985379","1352985352","1352985396","1352985375","1352985246","1352985368"],"photo_ids_order":["1352985246","1352985352","1352985368","1352985375","1352985379","1352985396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b811d2aa45687bd63a2bc858c45c5ea.jpg","text":"TemporaryFile(/tmp/multipartBody6817186870621992276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395414104,"filename":"image_23042025_10_02_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdfe51a41c336df4acfd3aacdccdd227.jpg","text":"TemporaryFile(/tmp/multipartBody7069644318422024874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395414104,"filename":"image_23042025_10_02_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acd639a0fe59e1100f07d872ec64492f.jpg","text":"TemporaryFile(/tmp/multipartBody240981340881455071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395414104,"filename":"image_23042025_10_01_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c549693d30701009e482fc4aa0fb2960.jpg","text":"TemporaryFile(/tmp/multipartBody8393495937518418600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395414104,"filename":"image_23042025_10_02_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c36252e0599735976002b1c698834b4.jpg","text":"TemporaryFile(/tmp/multipartBody7090564880953058844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395414104,"filename":"image_23042025_10_02_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c6b73551a6ac0ad6b6b6c3f386f7072.jpg","text":"TemporaryFile(/tmp/multipartBody2074439902230099065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395414104,"filename":"image_23042025_10_02_25_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352985368","file1":"1352985352","file0":"1352985246","file4":"1352985379","file5":"1352985396","file3":"1352985375"},"map_files_photo_id_array":[{"photo_id":"1352985396","filename":"file5"},{"photo_id":"1352985368","filename":"file2"},{"photo_id":"1352985379","filename":"file4"},{"photo_id":"1352985352","filename":"file1"},{"photo_id":"1352985246","filename":"file0"},{"photo_id":"1352985375","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352985379":["hashtag1","hashtag2"]},{"1352985352":["hashtag1","hashtag2"]},{"1352985396":["hashtag1","hashtag2"]},{"1352985375":["hashtag1","hashtag2"]},{"1352985246":["hashtag1","hashtag2"]},{"1352985368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352985379, 1352985352, 1352985396, 1352985375, 1352985246, 1352985368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05208396911621 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:03:32.669336
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_45_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_35_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_25_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_15_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/10/02/image_23042025_10_03_05_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_45_9643.jpg', '/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_35_10663.jpg', '/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_25_9642.jpg', '/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_15_9639.jpg', '/home/nano/Desktop/images/23042025/10/02/image_23042025_10_03_05_10652.jpg', '/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_45_9643.jpg
/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_35_10663.jpg
/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_25_9642.jpg
/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_15_9639.jpg
/home/nano/Desktop/images/23042025/10/02/image_23042025_10_03_05_10652.jpg
/home/nano/Desktop/images/23042025/10/02/image_23042025_10_02_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352985440","1352985454","1352985448","1352985430","1352985459","1352985435"],"photo_ids_order":["1352985430","1352985435","1352985440","1352985448","1352985454","1352985459"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79f52f5e5aa3d5951362bb896b4306ff.jpg","text":"TemporaryFile(/tmp/multipartBody1636679367090728881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395474437,"filename":"image_23042025_10_03_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b27dc32aecedc7ce34c570002f8d9765.jpg","text":"TemporaryFile(/tmp/multipartBody4897777893488489058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395474437,"filename":"image_23042025_10_03_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38f8f9ee1e647c8f66b47027f871b683.jpg","text":"TemporaryFile(/tmp/multipartBody2618887059257138331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395474437,"filename":"image_23042025_10_03_15_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aeb6f41a3fe43cf880ac8a004ef4fc83.jpg","text":"TemporaryFile(/tmp/multipartBody2880267249430084480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395474437,"filename":"image_23042025_10_03_45_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0019e51e094b5392fe6d77451428a675.jpg","text":"TemporaryFile(/tmp/multipartBody3751031077541226938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395474437,"filename":"image_23042025_10_02_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a222c1d6ecfe93ebfca48d6e8c60befa.jpg","text":"TemporaryFile(/tmp/multipartBody3823653822389733311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395474437,"filename":"image_23042025_10_03_35_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352985440","file1":"1352985435","file0":"1352985430","file4":"1352985454","file5":"1352985459","file3":"1352985448"},"map_files_photo_id_array":[{"photo_id":"1352985459","filename":"file5"},{"photo_id":"1352985440","filename":"file2"},{"photo_id":"1352985454","filename":"file4"},{"photo_id":"1352985435","filename":"file1"},{"photo_id":"1352985430","filename":"file0"},{"photo_id":"1352985448","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352985440":["hashtag1","hashtag2"]},{"1352985454":["hashtag1","hashtag2"]},{"1352985448":["hashtag1","hashtag2"]},{"1352985430":["hashtag1","hashtag2"]},{"1352985459":["hashtag1","hashtag2"]},{"1352985435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352985440, 1352985454, 1352985448, 1352985430, 1352985459, 1352985435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11988878250122 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:04:32.740282
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_45_9760.jpg', 2), ('/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_35_10763.jpg', 2), ('/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_25_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_15_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/10/03/image_23042025_10_04_05_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_45_9760.jpg', '/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_35_10763.jpg', '/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_25_9671.jpg', '/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_15_9652.jpg', '/home/nano/Desktop/images/23042025/10/03/image_23042025_10_04_05_10647.jpg', '/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_45_9760.jpg
/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_35_10763.jpg
/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_25_9671.jpg
/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_15_9652.jpg
/home/nano/Desktop/images/23042025/10/03/image_23042025_10_04_05_10647.jpg
/home/nano/Desktop/images/23042025/10/03/image_23042025_10_03_55_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352985548","1352985563","1352985539","1352985559","1352985553","1352985543"],"photo_ids_order":["1352985539","1352985543","1352985548","1352985553","1352985559","1352985563"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fe36b7abda912af66fe90955c356ffb.jpg","text":"TemporaryFile(/tmp/multipartBody1633323713679345774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395534617,"filename":"image_23042025_10_04_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2640d904e28510fb9d1400f20ddf8c2a.jpg","text":"TemporaryFile(/tmp/multipartBody8454383064348575173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395534617,"filename":"image_23042025_10_03_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/511e37295ad9dc06de4492629084c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody4778584208063079456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395534617,"filename":"image_23042025_10_04_45_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1483b4aed42cec452c79e865633bfe22.jpg","text":"TemporaryFile(/tmp/multipartBody8892632236847951643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395534617,"filename":"image_23042025_10_04_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ddc1f9f35ef1bfc8571a82fcd74f3ac.jpg","text":"TemporaryFile(/tmp/multipartBody6891861390691713581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395534617,"filename":"image_23042025_10_04_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0154a37fdd168d5ccad73a1f9f2ba9d1.jpg","text":"TemporaryFile(/tmp/multipartBody1410643259650600135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395534617,"filename":"image_23042025_10_04_35_10763.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352985548","file1":"1352985543","file0":"1352985539","file4":"1352985559","file5":"1352985563","file3":"1352985553"},"map_files_photo_id_array":[{"photo_id":"1352985563","filename":"file5"},{"photo_id":"1352985548","filename":"file2"},{"photo_id":"1352985559","filename":"file4"},{"photo_id":"1352985543","filename":"file1"},{"photo_id":"1352985539","filename":"file0"},{"photo_id":"1352985553","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352985548":["hashtag1","hashtag2"]},{"1352985563":["hashtag1","hashtag2"]},{"1352985539":["hashtag1","hashtag2"]},{"1352985559":["hashtag1","hashtag2"]},{"1352985553":["hashtag1","hashtag2"]},{"1352985543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352985548, 1352985563, 1352985539, 1352985559, 1352985553, 1352985543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55237698554993 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:05:31.836496
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_15_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/10/04/image_23042025_10_05_05_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_55_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_45_10647.jpg', '/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_35_9639.jpg', '/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_25_9636.jpg', '/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_15_10683.jpg', '/home/nano/Desktop/images/23042025/10/04/image_23042025_10_05_05_9671.jpg', '/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_55_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_45_10647.jpg
/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_35_9639.jpg
/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_25_9636.jpg
/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_15_10683.jpg
/home/nano/Desktop/images/23042025/10/04/image_23042025_10_05_05_9671.jpg
/home/nano/Desktop/images/23042025/10/04/image_23042025_10_04_55_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352985614","1352985626","1352985605","1352985608","1352985631","1352985619"],"photo_ids_order":["1352985605","1352985608","1352985614","1352985619","1352985626","1352985631"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0485ee246bc4c1ec193931f5b53b57c2.jpg","text":"TemporaryFile(/tmp/multipartBody129919005419982574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395593388,"filename":"image_23042025_10_05_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/096d7e74b3c2112fc83baaf8faa06985.jpg","text":"TemporaryFile(/tmp/multipartBody4571970596270312569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395593388,"filename":"image_23042025_10_05_05_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85914ae098ddeb02650b6b1fe5d6f053.jpg","text":"TemporaryFile(/tmp/multipartBody7630798626874499102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395593388,"filename":"image_23042025_10_05_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2102ab55b337d8e625d012de11dde056.jpg","text":"TemporaryFile(/tmp/multipartBody7601973075465309536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395593388,"filename":"image_23042025_10_05_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/010337f717c10961a2bf10869ec47307.jpg","text":"TemporaryFile(/tmp/multipartBody4816250019200430615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395593388,"filename":"image_23042025_10_04_55_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb9a26db857637d0ce20454a3c3c6ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8092367954536351573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395593388,"filename":"image_23042025_10_05_15_10683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352985614","file1":"1352985608","file0":"1352985605","file4":"1352985626","file5":"1352985631","file3":"1352985619"},"map_files_photo_id_array":[{"photo_id":"1352985631","filename":"file5"},{"photo_id":"1352985614","filename":"file2"},{"photo_id":"1352985626","filename":"file4"},{"photo_id":"1352985608","filename":"file1"},{"photo_id":"1352985605","filename":"file0"},{"photo_id":"1352985619","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352985614":["hashtag1","hashtag2"]},{"1352985626":["hashtag1","hashtag2"]},{"1352985605":["hashtag1","hashtag2"]},{"1352985608":["hashtag1","hashtag2"]},{"1352985631":["hashtag1","hashtag2"]},{"1352985619":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352985614, 1352985626, 1352985605, 1352985608, 1352985631, 1352985619)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10032534599304 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:06:31.927250
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_45_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_35_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_25_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_15_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/10/05/image_23042025_10_06_05_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_55_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_45_9662.jpg', '/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_35_10656.jpg', '/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_25_9648.jpg', '/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_15_10666.jpg', '/home/nano/Desktop/images/23042025/10/05/image_23042025_10_06_05_9661.jpg', '/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_45_9662.jpg
/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_35_10656.jpg
/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_25_9648.jpg
/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_15_10666.jpg
/home/nano/Desktop/images/23042025/10/05/image_23042025_10_06_05_9661.jpg
/home/nano/Desktop/images/23042025/10/05/image_23042025_10_05_55_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352985848","1352985730","1352986009","1352985927","1352985968","1352985998"],"photo_ids_order":["1352985730","1352985848","1352985927","1352985968","1352985998","1352986009"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ba2331b70351ef7588f68db4364d7bf.jpg","text":"TemporaryFile(/tmp/multipartBody4391538061812555101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395653603,"filename":"image_23042025_10_06_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da34da1e0d8ed34476f6776719216ae0.jpg","text":"TemporaryFile(/tmp/multipartBody1983846081898739318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395653603,"filename":"image_23042025_10_06_45_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ba1f8f251d709591ef79fc05406114d.jpg","text":"TemporaryFile(/tmp/multipartBody339561845389381126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395653603,"filename":"image_23042025_10_05_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fecde40f344aabae893255ec0f3d8c6.jpg","text":"TemporaryFile(/tmp/multipartBody3757175426686413872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395653603,"filename":"image_23042025_10_06_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/027b872eaaf2bf9522eec4a19b024e8e.jpg","text":"TemporaryFile(/tmp/multipartBody8108832011620403363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395653603,"filename":"image_23042025_10_06_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bafaf381f3a963639306d01de14e7dab.jpg","text":"TemporaryFile(/tmp/multipartBody7495095673571483050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395653603,"filename":"image_23042025_10_06_05_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352985927","file1":"1352985848","file0":"1352985730","file4":"1352985998","file5":"1352986009","file3":"1352985968"},"map_files_photo_id_array":[{"photo_id":"1352986009","filename":"file5"},{"photo_id":"1352985927","filename":"file2"},{"photo_id":"1352985998","filename":"file4"},{"photo_id":"1352985848","filename":"file1"},{"photo_id":"1352985730","filename":"file0"},{"photo_id":"1352985968","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352985848":["hashtag1","hashtag2"]},{"1352985730":["hashtag1","hashtag2"]},{"1352986009":["hashtag1","hashtag2"]},{"1352985927":["hashtag1","hashtag2"]},{"1352985968":["hashtag1","hashtag2"]},{"1352985998":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352985848, 1352985730, 1352986009, 1352985927, 1352985968, 1352985998)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.565571546554565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:07:32.040438
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_45_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_35_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_25_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_15_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/10/06/image_23042025_10_07_05_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_55_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_45_9660.jpg', '/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_35_10645.jpg', '/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_25_9674.jpg', '/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_15_9666.jpg', '/home/nano/Desktop/images/23042025/10/06/image_23042025_10_07_05_10671.jpg', '/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_55_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_45_9660.jpg
/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_35_10645.jpg
/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_25_9674.jpg
/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_15_9666.jpg
/home/nano/Desktop/images/23042025/10/06/image_23042025_10_07_05_10671.jpg
/home/nano/Desktop/images/23042025/10/06/image_23042025_10_06_55_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352986059","1352986053","1352986079","1352986070","1352986064","1352986046"],"photo_ids_order":["1352986046","1352986053","1352986059","1352986064","1352986070","1352986079"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a3baaa8d92531cb0e8475920d70cc1f.jpg","text":"TemporaryFile(/tmp/multipartBody6919799020174154292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395713464,"filename":"image_23042025_10_07_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e3ab8ece90875a77de3815239554d34.jpg","text":"TemporaryFile(/tmp/multipartBody7808147537807655912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395713464,"filename":"image_23042025_10_07_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85e513711ab844abc7d4933767d68a53.jpg","text":"TemporaryFile(/tmp/multipartBody3481042177967850432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395713464,"filename":"image_23042025_10_06_55_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ea9829040126ca2c4c27e0b3c163724.jpg","text":"TemporaryFile(/tmp/multipartBody5005210757410905631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395713464,"filename":"image_23042025_10_07_05_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dde4ab3b567d3724b6e0380e1ef70c75.jpg","text":"TemporaryFile(/tmp/multipartBody7478093112402227320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395713464,"filename":"image_23042025_10_07_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7429e000c6cb88f4614865bc05a6ae6.jpg","text":"TemporaryFile(/tmp/multipartBody5181749868846886463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395713464,"filename":"image_23042025_10_07_45_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352986059","file1":"1352986053","file0":"1352986046","file4":"1352986070","file5":"1352986079","file3":"1352986064"},"map_files_photo_id_array":[{"photo_id":"1352986079","filename":"file5"},{"photo_id":"1352986059","filename":"file2"},{"photo_id":"1352986070","filename":"file4"},{"photo_id":"1352986053","filename":"file1"},{"photo_id":"1352986046","filename":"file0"},{"photo_id":"1352986064","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352986059":["hashtag1","hashtag2"]},{"1352986053":["hashtag1","hashtag2"]},{"1352986079":["hashtag1","hashtag2"]},{"1352986070":["hashtag1","hashtag2"]},{"1352986064":["hashtag1","hashtag2"]},{"1352986046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352986059, 1352986053, 1352986079, 1352986070, 1352986064, 1352986046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.805196046829224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:08:32.131575
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_45_10679.jpg', 2), ('/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_35_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_25_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_15_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/10/07/image_23042025_10_08_06_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_55_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_45_10679.jpg', '/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_35_9698.jpg', '/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_25_9679.jpg', '/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_15_9692.jpg', '/home/nano/Desktop/images/23042025/10/07/image_23042025_10_08_06_10722.jpg', '/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_55_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_45_10679.jpg
/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_35_9698.jpg
/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_25_9679.jpg
/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_15_9692.jpg
/home/nano/Desktop/images/23042025/10/07/image_23042025_10_08_06_10722.jpg
/home/nano/Desktop/images/23042025/10/07/image_23042025_10_07_55_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352986162","1352986141","1352986167","1352986152","1352986146","1352986137"],"photo_ids_order":["1352986137","1352986141","1352986146","1352986152","1352986162","1352986167"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2b03239851386d26f2e4aafba838a8f.jpg","text":"TemporaryFile(/tmp/multipartBody7410647046069925139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395773633,"filename":"image_23042025_10_08_06_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a6fe5a64287ece4ad745fc24fca673e.jpg","text":"TemporaryFile(/tmp/multipartBody2728003507581433943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395773633,"filename":"image_23042025_10_08_35_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a12d13325595a7bc65b1ef09016b905d.jpg","text":"TemporaryFile(/tmp/multipartBody45287395923569540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395773633,"filename":"image_23042025_10_07_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c3a3e521868177fb193565a030e92df.jpg","text":"TemporaryFile(/tmp/multipartBody3512407438904042072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395773633,"filename":"image_23042025_10_08_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ead9732c904fc73d68c12a3aa845b9cf.jpg","text":"TemporaryFile(/tmp/multipartBody8801309754473930344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395773633,"filename":"image_23042025_10_08_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/370e63ec260f107e955e4c55c44c4ff1.jpg","text":"TemporaryFile(/tmp/multipartBody8786049590528468369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395773633,"filename":"image_23042025_10_08_45_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352986146","file1":"1352986141","file0":"1352986137","file4":"1352986162","file5":"1352986167","file3":"1352986152"},"map_files_photo_id_array":[{"photo_id":"1352986167","filename":"file5"},{"photo_id":"1352986146","filename":"file2"},{"photo_id":"1352986162","filename":"file4"},{"photo_id":"1352986141","filename":"file1"},{"photo_id":"1352986137","filename":"file0"},{"photo_id":"1352986152","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352986162":["hashtag1","hashtag2"]},{"1352986141":["hashtag1","hashtag2"]},{"1352986167":["hashtag1","hashtag2"]},{"1352986152":["hashtag1","hashtag2"]},{"1352986146":["hashtag1","hashtag2"]},{"1352986137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352986162, 1352986141, 1352986167, 1352986152, 1352986146, 1352986137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.482032775878906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:09:32.257645
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_45_10709.jpg', 2), ('/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_35_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_25_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_15_10748.jpg', 2), ('/home/nano/Desktop/images/23042025/10/08/image_23042025_10_09_05_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_55_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_45_10709.jpg', '/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_35_9690.jpg', '/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_25_9655.jpg', '/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_15_10748.jpg', '/home/nano/Desktop/images/23042025/10/08/image_23042025_10_09_05_9674.jpg', '/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_55_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_45_10709.jpg
/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_35_9690.jpg
/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_25_9655.jpg
/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_15_10748.jpg
/home/nano/Desktop/images/23042025/10/08/image_23042025_10_09_05_9674.jpg
/home/nano/Desktop/images/23042025/10/08/image_23042025_10_08_55_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352986375","1352986299","1352986269","1352986334","1352986235","1352986409"],"photo_ids_order":["1352986235","1352986269","1352986299","1352986334","1352986375","1352986409"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6108f3feec575a8ff5b814d8bd9330e3.jpg","text":"TemporaryFile(/tmp/multipartBody8545126247607894639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395833631,"filename":"image_23042025_10_09_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08ac2247b0ea0f6d5229bf9ae2922cf6.jpg","text":"TemporaryFile(/tmp/multipartBody3547472466595423606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395833631,"filename":"image_23042025_10_09_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c83aa35c73993f078543369f8d7fd6c.jpg","text":"TemporaryFile(/tmp/multipartBody9049926416027956568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395833631,"filename":"image_23042025_10_09_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41e16010e48f04f30b591df20fa51aef.jpg","text":"TemporaryFile(/tmp/multipartBody8685888299098363439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395833631,"filename":"image_23042025_10_09_15_10748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0d96aece3a0581858fc474d49ce0e34.jpg","text":"TemporaryFile(/tmp/multipartBody1209578871010954934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395833631,"filename":"image_23042025_10_09_45_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00c3d9fed1318fe4efec80d9b37eab57.jpg","text":"TemporaryFile(/tmp/multipartBody7581585732848013294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395833631,"filename":"image_23042025_10_08_55_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352986299","file1":"1352986269","file0":"1352986235","file4":"1352986375","file5":"1352986409","file3":"1352986334"},"map_files_photo_id_array":[{"photo_id":"1352986409","filename":"file5"},{"photo_id":"1352986299","filename":"file2"},{"photo_id":"1352986375","filename":"file4"},{"photo_id":"1352986269","filename":"file1"},{"photo_id":"1352986235","filename":"file0"},{"photo_id":"1352986334","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352986375":["hashtag1","hashtag2"]},{"1352986299":["hashtag1","hashtag2"]},{"1352986269":["hashtag1","hashtag2"]},{"1352986334":["hashtag1","hashtag2"]},{"1352986235":["hashtag1","hashtag2"]},{"1352986409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352986375, 1352986299, 1352986269, 1352986334, 1352986235, 1352986409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.156017541885376 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:10:32.454330
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_45_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_35_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_25_10735.jpg', 2), ('/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_15_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/10/09/image_23042025_10_10_05_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_55_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_45_9704.jpg', '/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_35_9693.jpg', '/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_25_10735.jpg', '/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_15_9695.jpg', '/home/nano/Desktop/images/23042025/10/09/image_23042025_10_10_05_9711.jpg', '/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_45_9704.jpg
/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_35_9693.jpg
/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_25_10735.jpg
/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_15_9695.jpg
/home/nano/Desktop/images/23042025/10/09/image_23042025_10_10_05_9711.jpg
/home/nano/Desktop/images/23042025/10/09/image_23042025_10_09_55_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352986489","1352986494","1352986484","1352986478","1352986472","1352986460"],"photo_ids_order":["1352986460","1352986472","1352986478","1352986484","1352986489","1352986494"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b23947362d04469c7ba39ecfe0937290.jpg","text":"TemporaryFile(/tmp/multipartBody4883378886206005835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395894104,"filename":"image_23042025_10_10_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d616395a03c3d603ee993e5ef1a2210.jpg","text":"TemporaryFile(/tmp/multipartBody174848070411663479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395894104,"filename":"image_23042025_10_09_55_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c14b7db0aafc2c5be07d87bb596c9113.jpg","text":"TemporaryFile(/tmp/multipartBody4937097409694098344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395894104,"filename":"image_23042025_10_10_15_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fd37782d88675a26ec5f769943867e3.jpg","text":"TemporaryFile(/tmp/multipartBody3638083282691194963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395894104,"filename":"image_23042025_10_10_25_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c91feb73760e0d4da9b9bbc597f75c3.jpg","text":"TemporaryFile(/tmp/multipartBody8827567209076498159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395894104,"filename":"image_23042025_10_10_35_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/181b16a8310d24688f07c5352d117f8e.jpg","text":"TemporaryFile(/tmp/multipartBody2352747914548943297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395894104,"filename":"image_23042025_10_10_45_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352986478","file1":"1352986472","file0":"1352986460","file4":"1352986489","file5":"1352986494","file3":"1352986484"},"map_files_photo_id_array":[{"photo_id":"1352986494","filename":"file5"},{"photo_id":"1352986478","filename":"file2"},{"photo_id":"1352986489","filename":"file4"},{"photo_id":"1352986472","filename":"file1"},{"photo_id":"1352986460","filename":"file0"},{"photo_id":"1352986484","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352986489":["hashtag1","hashtag2"]},{"1352986494":["hashtag1","hashtag2"]},{"1352986484":["hashtag1","hashtag2"]},{"1352986478":["hashtag1","hashtag2"]},{"1352986472":["hashtag1","hashtag2"]},{"1352986460":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352986489, 1352986494, 1352986484, 1352986478, 1352986472, 1352986460)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.62881827354431 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:11:32.582785
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_45_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_35_10816.jpg', 2), ('/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_25_9814.jpg', 2), ('/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_15_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/10/10/image_23042025_10_11_05_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_55_10781.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_45_9670.jpg', '/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_35_10816.jpg', '/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_25_9814.jpg', '/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_15_9685.jpg', '/home/nano/Desktop/images/23042025/10/10/image_23042025_10_11_05_9733.jpg', '/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_55_10781.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_45_9670.jpg
/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_35_10816.jpg
/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_25_9814.jpg
/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_15_9685.jpg
/home/nano/Desktop/images/23042025/10/10/image_23042025_10_11_05_9733.jpg
/home/nano/Desktop/images/23042025/10/10/image_23042025_10_10_55_10781.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352986582","1352986572","1352986545","1352986562","1352986568","1352986541"],"photo_ids_order":["1352986541","1352986545","1352986562","1352986568","1352986572","1352986582"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8845c8bd32c0cfe3a2f79a32293d64aa.jpg","text":"TemporaryFile(/tmp/multipartBody5851346308674353261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395954450,"filename":"image_23042025_10_10_55_10781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6d01cb3ffc96b989068419cd2bc4b74.jpg","text":"TemporaryFile(/tmp/multipartBody1038967075335835456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395954450,"filename":"image_23042025_10_11_05_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5a1ef09262dcae595def8353e1057ae.jpg","text":"TemporaryFile(/tmp/multipartBody5678229806837723056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395954450,"filename":"image_23042025_10_11_35_10816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1caae949b73d37bdaa6cda07a59d013.jpg","text":"TemporaryFile(/tmp/multipartBody3124289551998652604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395954450,"filename":"image_23042025_10_11_25_9814.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ca30207e6888abd12ec7cc1eb34d4d6.jpg","text":"TemporaryFile(/tmp/multipartBody6673987028953100552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395954450,"filename":"image_23042025_10_11_15_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2d7b39203f1416dfcc78f583824239d.jpg","text":"TemporaryFile(/tmp/multipartBody4117632002003814182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745395954450,"filename":"image_23042025_10_11_45_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352986562","file1":"1352986545","file0":"1352986541","file4":"1352986572","file5":"1352986582","file3":"1352986568"},"map_files_photo_id_array":[{"photo_id":"1352986582","filename":"file5"},{"photo_id":"1352986562","filename":"file2"},{"photo_id":"1352986572","filename":"file4"},{"photo_id":"1352986545","filename":"file1"},{"photo_id":"1352986541","filename":"file0"},{"photo_id":"1352986568","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352986582":["hashtag1","hashtag2"]},{"1352986572":["hashtag1","hashtag2"]},{"1352986545":["hashtag1","hashtag2"]},{"1352986562":["hashtag1","hashtag2"]},{"1352986568":["hashtag1","hashtag2"]},{"1352986541":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352986582, 1352986572, 1352986545, 1352986562, 1352986568, 1352986541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.60727667808533 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:12:32.659701
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_45_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_35_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_25_9819.jpg', 2), ('/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_15_10809.jpg', 2), ('/home/nano/Desktop/images/23042025/10/11/image_23042025_10_12_05_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_55_9697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_45_9735.jpg', '/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_35_9710.jpg', '/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_25_9819.jpg', '/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_15_10809.jpg', '/home/nano/Desktop/images/23042025/10/11/image_23042025_10_12_05_9693.jpg', '/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_55_9697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_45_9735.jpg
/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_35_9710.jpg
/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_25_9819.jpg
/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_15_10809.jpg
/home/nano/Desktop/images/23042025/10/11/image_23042025_10_12_05_9693.jpg
/home/nano/Desktop/images/23042025/10/11/image_23042025_10_11_55_9697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352986771","1352986741","1352986782","1352986758","1352986790","1352986718"],"photo_ids_order":["1352986718","1352986741","1352986758","1352986771","1352986782","1352986790"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45f225d8b4d6d0bc0082948dd2d3f3b0.jpg","text":"TemporaryFile(/tmp/multipartBody7365827625208777082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396014635,"filename":"image_23042025_10_12_15_10809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc195793776ea4466163b0003026ac8b.jpg","text":"TemporaryFile(/tmp/multipartBody8787735771470989100asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396014635,"filename":"image_23042025_10_12_35_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1847c3cda2d01e4a4269368fd2c66ba8.jpg","text":"TemporaryFile(/tmp/multipartBody3525590095267616216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396014635,"filename":"image_23042025_10_12_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf060950a103a02ba7384dfce8defc22.jpg","text":"TemporaryFile(/tmp/multipartBody785116661913641297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396014635,"filename":"image_23042025_10_12_25_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3721e3f356b8cde4a05c652ac0fb8ec7.jpg","text":"TemporaryFile(/tmp/multipartBody7586851412490499393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396014635,"filename":"image_23042025_10_11_55_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f33c745ccaac3c9552694f2da40e9c9.jpg","text":"TemporaryFile(/tmp/multipartBody3967899756596624290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396014635,"filename":"image_23042025_10_12_45_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352986758","file1":"1352986741","file0":"1352986718","file4":"1352986782","file5":"1352986790","file3":"1352986771"},"map_files_photo_id_array":[{"photo_id":"1352986790","filename":"file5"},{"photo_id":"1352986758","filename":"file2"},{"photo_id":"1352986782","filename":"file4"},{"photo_id":"1352986741","filename":"file1"},{"photo_id":"1352986718","filename":"file0"},{"photo_id":"1352986771","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352986771":["hashtag1","hashtag2"]},{"1352986741":["hashtag1","hashtag2"]},{"1352986782":["hashtag1","hashtag2"]},{"1352986758":["hashtag1","hashtag2"]},{"1352986790":["hashtag1","hashtag2"]},{"1352986718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352986771, 1352986741, 1352986782, 1352986758, 1352986790, 1352986718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.38381814956665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:13:31.755942
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_45_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_35_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_25_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_15_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/10/12/image_23042025_10_13_05_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_55_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_45_9669.jpg', '/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_35_9667.jpg', '/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_25_10696.jpg', '/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_15_9724.jpg', '/home/nano/Desktop/images/23042025/10/12/image_23042025_10_13_05_9721.jpg', '/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_55_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_45_9669.jpg
/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_35_9667.jpg
/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_25_10696.jpg
/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_15_9724.jpg
/home/nano/Desktop/images/23042025/10/12/image_23042025_10_13_05_9721.jpg
/home/nano/Desktop/images/23042025/10/12/image_23042025_10_12_55_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352987131","1352987116","1352987110","1352987082","1352987121","1352987139"],"photo_ids_order":["1352987082","1352987110","1352987116","1352987121","1352987131","1352987139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da368e54182d71c2e64d1a3dfeeca917.jpg","text":"TemporaryFile(/tmp/multipartBody1672387994145426711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396073435,"filename":"image_23042025_10_13_05_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49eb3d4050aba095d02fba3a6cdf55ef.jpg","text":"TemporaryFile(/tmp/multipartBody8665207733761320197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396073435,"filename":"image_23042025_10_13_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc7715cef69687d34976b26bbe5f7900.jpg","text":"TemporaryFile(/tmp/multipartBody3540473102865967143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396073435,"filename":"image_23042025_10_13_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2fe516be7fd772d425b930e572e3d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3741813301752814547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396073435,"filename":"image_23042025_10_13_45_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5287ae460db9d45455f9b5a3976c402b.jpg","text":"TemporaryFile(/tmp/multipartBody6151346619466586787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396073435,"filename":"image_23042025_10_13_15_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42d1ddfccc9de3101e4096676bb72a51.jpg","text":"TemporaryFile(/tmp/multipartBody2912028621009398907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396073435,"filename":"image_23042025_10_12_55_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352987116","file1":"1352987110","file0":"1352987082","file4":"1352987131","file5":"1352987139","file3":"1352987121"},"map_files_photo_id_array":[{"photo_id":"1352987139","filename":"file5"},{"photo_id":"1352987116","filename":"file2"},{"photo_id":"1352987131","filename":"file4"},{"photo_id":"1352987110","filename":"file1"},{"photo_id":"1352987082","filename":"file0"},{"photo_id":"1352987121","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352987131":["hashtag1","hashtag2"]},{"1352987116":["hashtag1","hashtag2"]},{"1352987110":["hashtag1","hashtag2"]},{"1352987082":["hashtag1","hashtag2"]},{"1352987121":["hashtag1","hashtag2"]},{"1352987139":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352987131, 1352987116, 1352987110, 1352987082, 1352987121, 1352987139)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.71720099449158 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:14:31.884318
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_45_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_35_10741.jpg', 2), ('/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_25_9743.jpg', 2), ('/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_15_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/10/13/image_23042025_10_14_05_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_55_10707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_45_9654.jpg', '/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_35_10741.jpg', '/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_25_9743.jpg', '/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_15_9736.jpg', '/home/nano/Desktop/images/23042025/10/13/image_23042025_10_14_05_9689.jpg', '/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_55_10707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_45_9654.jpg
/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_35_10741.jpg
/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_25_9743.jpg
/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_15_9736.jpg
/home/nano/Desktop/images/23042025/10/13/image_23042025_10_14_05_9689.jpg
/home/nano/Desktop/images/23042025/10/13/image_23042025_10_13_55_10707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352987212","1352987202","1352987192","1352987216","1352987188","1352987207"],"photo_ids_order":["1352987188","1352987192","1352987202","1352987207","1352987212","1352987216"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c5332d92498574cf6a10bc944f870f0.jpg","text":"TemporaryFile(/tmp/multipartBody4770054490549152066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396133755,"filename":"image_23042025_10_14_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4598a25e76576f38548c6c8d1144afe2.jpg","text":"TemporaryFile(/tmp/multipartBody2137886617224695177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396133755,"filename":"image_23042025_10_14_25_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8429264bcf19b2bc8bd336636c35b94.jpg","text":"TemporaryFile(/tmp/multipartBody5730088717949199321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396133755,"filename":"image_23042025_10_14_35_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3ac7e44dff7579f2f4ec6059c6f42fc.jpg","text":"TemporaryFile(/tmp/multipartBody2048074599845853219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396133755,"filename":"image_23042025_10_13_55_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08f6b9ce6dfa5868edac97719c4d8d1b.jpg","text":"TemporaryFile(/tmp/multipartBody5159610594529008558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396133755,"filename":"image_23042025_10_14_45_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40d0e1741d9d2e2f088829c0b65fc6fd.jpg","text":"TemporaryFile(/tmp/multipartBody7586960740947133930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396133755,"filename":"image_23042025_10_14_15_9736.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352987202","file1":"1352987192","file0":"1352987188","file4":"1352987212","file5":"1352987216","file3":"1352987207"},"map_files_photo_id_array":[{"photo_id":"1352987216","filename":"file5"},{"photo_id":"1352987202","filename":"file2"},{"photo_id":"1352987212","filename":"file4"},{"photo_id":"1352987192","filename":"file1"},{"photo_id":"1352987188","filename":"file0"},{"photo_id":"1352987207","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352987212":["hashtag1","hashtag2"]},{"1352987202":["hashtag1","hashtag2"]},{"1352987192":["hashtag1","hashtag2"]},{"1352987216":["hashtag1","hashtag2"]},{"1352987188":["hashtag1","hashtag2"]},{"1352987207":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352987212, 1352987202, 1352987192, 1352987216, 1352987188, 1352987207)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.9225697517395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:15:31.989924
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_45_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_35_9787.jpg', 2), ('/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_25_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_15_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/10/14/image_23042025_10_15_05_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_55_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_45_10721.jpg', '/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_35_9787.jpg', '/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_25_9694.jpg', '/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_15_9677.jpg', '/home/nano/Desktop/images/23042025/10/14/image_23042025_10_15_05_10740.jpg', '/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_55_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_45_10721.jpg
/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_35_9787.jpg
/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_25_9694.jpg
/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_15_9677.jpg
/home/nano/Desktop/images/23042025/10/14/image_23042025_10_15_05_10740.jpg
/home/nano/Desktop/images/23042025/10/14/image_23042025_10_14_55_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352987434","1352987483","1352987477","1352987351","1352987330","1352987296"],"photo_ids_order":["1352987296","1352987330","1352987351","1352987434","1352987477","1352987483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2121aed01465ef05a0fd48d0f40976b.jpg","text":"TemporaryFile(/tmp/multipartBody3904294528056075440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396194054,"filename":"image_23042025_10_15_15_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddfa56b3b69b75d3df458dc87ae56878.jpg","text":"TemporaryFile(/tmp/multipartBody3736705692100501502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396194054,"filename":"image_23042025_10_14_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f0211fc4cde4a580d16d6d28340b758.jpg","text":"TemporaryFile(/tmp/multipartBody521318812476575151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396194054,"filename":"image_23042025_10_15_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea85f64e6aac22c0f3d60012a05f655c.jpg","text":"TemporaryFile(/tmp/multipartBody7432238018590360394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396194054,"filename":"image_23042025_10_15_25_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d53b0b6a185d74fcc8d368e49bd4839.jpg","text":"TemporaryFile(/tmp/multipartBody7427516769855951730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396194054,"filename":"image_23042025_10_15_35_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa386a6a7a3c8b0d0a1a0684127cd034.jpg","text":"TemporaryFile(/tmp/multipartBody4927170371548535054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396194054,"filename":"image_23042025_10_15_45_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352987351","file1":"1352987330","file0":"1352987296","file4":"1352987477","file5":"1352987483","file3":"1352987434"},"map_files_photo_id_array":[{"photo_id":"1352987483","filename":"file5"},{"photo_id":"1352987351","filename":"file2"},{"photo_id":"1352987477","filename":"file4"},{"photo_id":"1352987330","filename":"file1"},{"photo_id":"1352987296","filename":"file0"},{"photo_id":"1352987434","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352987434":["hashtag1","hashtag2"]},{"1352987483":["hashtag1","hashtag2"]},{"1352987477":["hashtag1","hashtag2"]},{"1352987351":["hashtag1","hashtag2"]},{"1352987330":["hashtag1","hashtag2"]},{"1352987296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352987434, 1352987483, 1352987477, 1352987351, 1352987330, 1352987296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.483030557632446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:16:32.114904
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_35_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_25_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_15_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/10/15/image_23042025_10_16_05_9769.jpg', 2), ('/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_55_9742.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_45_9707.jpg', '/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_35_9697.jpg', '/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_25_10752.jpg', '/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_15_9754.jpg', '/home/nano/Desktop/images/23042025/10/15/image_23042025_10_16_05_9769.jpg', '/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_55_9742.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_45_9707.jpg
/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_35_9697.jpg
/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_25_10752.jpg
/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_15_9754.jpg
/home/nano/Desktop/images/23042025/10/15/image_23042025_10_16_05_9769.jpg
/home/nano/Desktop/images/23042025/10/15/image_23042025_10_15_55_9742.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352987679","1352987663","1352987657","1352987639","1352987624","1352987618"],"photo_ids_order":["1352987618","1352987624","1352987639","1352987657","1352987663","1352987679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc35ee0feec23aa5423f5f67cadc04a1.jpg","text":"TemporaryFile(/tmp/multipartBody7758846930683245559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396254050,"filename":"image_23042025_10_15_55_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c2143c6dc97fdbe13ab974ba94b732c.jpg","text":"TemporaryFile(/tmp/multipartBody3069842308978155779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396254050,"filename":"image_23042025_10_16_05_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03b45a385d7b5cf5cc545f9c6ec6eadd.jpg","text":"TemporaryFile(/tmp/multipartBody3194490563349266474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396254050,"filename":"image_23042025_10_16_15_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d79b0194adf053f6ca2fbace4ef7db2e.jpg","text":"TemporaryFile(/tmp/multipartBody6775643302598990075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396254050,"filename":"image_23042025_10_16_25_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c807ae469b9820fec65c0325b41759f7.jpg","text":"TemporaryFile(/tmp/multipartBody8213456657857414927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396254050,"filename":"image_23042025_10_16_35_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1cba9e6d5ef9baf7967263318224cf2.jpg","text":"TemporaryFile(/tmp/multipartBody5821094429802409707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396254050,"filename":"image_23042025_10_16_45_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352987639","file1":"1352987624","file0":"1352987618","file4":"1352987663","file5":"1352987679","file3":"1352987657"},"map_files_photo_id_array":[{"photo_id":"1352987679","filename":"file5"},{"photo_id":"1352987639","filename":"file2"},{"photo_id":"1352987663","filename":"file4"},{"photo_id":"1352987624","filename":"file1"},{"photo_id":"1352987618","filename":"file0"},{"photo_id":"1352987657","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352987679":["hashtag1","hashtag2"]},{"1352987663":["hashtag1","hashtag2"]},{"1352987657":["hashtag1","hashtag2"]},{"1352987639":["hashtag1","hashtag2"]},{"1352987624":["hashtag1","hashtag2"]},{"1352987618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352987679, 1352987663, 1352987657, 1352987639, 1352987624, 1352987618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14202666282654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:17:32.243513
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_45_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_35_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_25_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_15_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/10/16/image_23042025_10_17_05_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_55_10694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_45_9780.jpg', '/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_35_9781.jpg', '/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_25_10651.jpg', '/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_15_9648.jpg', '/home/nano/Desktop/images/23042025/10/16/image_23042025_10_17_05_9627.jpg', '/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_55_10694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_45_9780.jpg
/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_35_9781.jpg
/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_25_10651.jpg
/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_15_9648.jpg
/home/nano/Desktop/images/23042025/10/16/image_23042025_10_17_05_9627.jpg
/home/nano/Desktop/images/23042025/10/16/image_23042025_10_16_55_10694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352987827","1352987836","1352987841","1352987846","1352987822","1352987831"],"photo_ids_order":["1352987822","1352987827","1352987831","1352987836","1352987841","1352987846"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71440f3296e37aa32312a73879e01092.jpg","text":"TemporaryFile(/tmp/multipartBody40396844689433545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396315189,"filename":"image_23042025_10_17_35_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/765fdc022e2f334b2675c7ddcaa35213.jpg","text":"TemporaryFile(/tmp/multipartBody2357554659394741056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396315189,"filename":"image_23042025_10_17_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16cf3a004d0f324c95a623e37bcb9c3f.jpg","text":"TemporaryFile(/tmp/multipartBody1956389903277278307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396315189,"filename":"image_23042025_10_17_05_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d477f1e3fefc61e3a8a6f3812d32dda.jpg","text":"TemporaryFile(/tmp/multipartBody6835876751345229486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396315189,"filename":"image_23042025_10_16_55_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a8a0ef7524c93a55227e106bb226849.jpg","text":"TemporaryFile(/tmp/multipartBody3991198071427285573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396315189,"filename":"image_23042025_10_17_45_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d796025b73c7adfae472c4ebb875ccf.jpg","text":"TemporaryFile(/tmp/multipartBody4934359559934668405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396315189,"filename":"image_23042025_10_17_25_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352987831","file1":"1352987827","file0":"1352987822","file4":"1352987841","file5":"1352987846","file3":"1352987836"},"map_files_photo_id_array":[{"photo_id":"1352987846","filename":"file5"},{"photo_id":"1352987831","filename":"file2"},{"photo_id":"1352987841","filename":"file4"},{"photo_id":"1352987827","filename":"file1"},{"photo_id":"1352987822","filename":"file0"},{"photo_id":"1352987836","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352987827":["hashtag1","hashtag2"]},{"1352987836":["hashtag1","hashtag2"]},{"1352987841":["hashtag1","hashtag2"]},{"1352987846":["hashtag1","hashtag2"]},{"1352987822":["hashtag1","hashtag2"]},{"1352987831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352987827, 1352987836, 1352987841, 1352987846, 1352987822, 1352987831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08742642402649 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:18:32.346459
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_45_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_35_10691.jpg', 2), ('/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_25_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_15_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/10/17/image_23042025_10_18_05_10684.jpg', 2), ('/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_55_9721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_45_9709.jpg', '/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_35_10691.jpg', '/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_25_9653.jpg', '/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_15_9736.jpg', '/home/nano/Desktop/images/23042025/10/17/image_23042025_10_18_05_10684.jpg', '/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_55_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_45_9709.jpg
/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_35_10691.jpg
/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_25_9653.jpg
/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_15_9736.jpg
/home/nano/Desktop/images/23042025/10/17/image_23042025_10_18_05_10684.jpg
/home/nano/Desktop/images/23042025/10/17/image_23042025_10_17_55_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352987926","1352987908","1352987949","1352987940","1352987890","1352987884"],"photo_ids_order":["1352987884","1352987890","1352987908","1352987926","1352987940","1352987949"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2291af6c39ae0747193449254b86ebd.jpg","text":"TemporaryFile(/tmp/multipartBody1283707852319956692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396375002,"filename":"image_23042025_10_18_15_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/850195e0a6bcf9e7e405213870767d2e.jpg","text":"TemporaryFile(/tmp/multipartBody2772630757759555357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396375002,"filename":"image_23042025_10_18_25_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f09b74180b087912507642d3b86ee0d.jpg","text":"TemporaryFile(/tmp/multipartBody8525909582805897072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396375002,"filename":"image_23042025_10_17_55_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/760bc847528da34f19f032342327d40e.jpg","text":"TemporaryFile(/tmp/multipartBody3406287379807276381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396375002,"filename":"image_23042025_10_18_05_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c559e5e43a46d6c088b5258c0da01ccd.jpg","text":"TemporaryFile(/tmp/multipartBody6275766110151281192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396375002,"filename":"image_23042025_10_18_35_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a8fcbda193e4143af392f8deb6f0fc5.jpg","text":"TemporaryFile(/tmp/multipartBody3086664220573672656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396375002,"filename":"image_23042025_10_18_45_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352987908","file1":"1352987890","file0":"1352987884","file4":"1352987940","file5":"1352987949","file3":"1352987926"},"map_files_photo_id_array":[{"photo_id":"1352987949","filename":"file5"},{"photo_id":"1352987908","filename":"file2"},{"photo_id":"1352987940","filename":"file4"},{"photo_id":"1352987890","filename":"file1"},{"photo_id":"1352987884","filename":"file0"},{"photo_id":"1352987926","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352987926":["hashtag1","hashtag2"]},{"1352987908":["hashtag1","hashtag2"]},{"1352987949":["hashtag1","hashtag2"]},{"1352987940":["hashtag1","hashtag2"]},{"1352987890":["hashtag1","hashtag2"]},{"1352987884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352987926, 1352987908, 1352987949, 1352987940, 1352987890, 1352987884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.36679220199585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:19:32.460038
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_45_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_35_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_25_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_15_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/10/18/image_23042025_10_19_05_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_55_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_45_10642.jpg', '/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_35_9655.jpg', '/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_25_9671.jpg', '/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_15_10700.jpg', '/home/nano/Desktop/images/23042025/10/18/image_23042025_10_19_05_9655.jpg', '/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_45_10642.jpg
/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_35_9655.jpg
/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_25_9671.jpg
/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_15_10700.jpg
/home/nano/Desktop/images/23042025/10/18/image_23042025_10_19_05_9655.jpg
/home/nano/Desktop/images/23042025/10/18/image_23042025_10_18_55_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352988039","1352988062","1352988035","1352988070","1352988043","1352988103"],"photo_ids_order":["1352988035","1352988039","1352988043","1352988062","1352988070","1352988103"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79368d75275e923fdbf7b62bc790a836.jpg","text":"TemporaryFile(/tmp/multipartBody1677656722014922541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396434297,"filename":"image_23042025_10_19_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f37315072f786861192084422471410e.jpg","text":"TemporaryFile(/tmp/multipartBody5438229158354974029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396434297,"filename":"image_23042025_10_19_15_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d64d8097d0b197da52cbd226ab6bee0.jpg","text":"TemporaryFile(/tmp/multipartBody9083774196969117978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396434297,"filename":"image_23042025_10_19_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14ac469856dc075717dbf4aa97643f47.jpg","text":"TemporaryFile(/tmp/multipartBody8023059533970747520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396434297,"filename":"image_23042025_10_19_05_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14d637b270fcf3498fb93954a14922ab.jpg","text":"TemporaryFile(/tmp/multipartBody737430897291304702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396434297,"filename":"image_23042025_10_19_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/febbd64fd568b5d1930e08424d8e1efe.jpg","text":"TemporaryFile(/tmp/multipartBody496295244957295357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396434297,"filename":"image_23042025_10_18_55_9726.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352988043","file1":"1352988039","file0":"1352988035","file4":"1352988070","file5":"1352988103","file3":"1352988062"},"map_files_photo_id_array":[{"photo_id":"1352988103","filename":"file5"},{"photo_id":"1352988043","filename":"file2"},{"photo_id":"1352988070","filename":"file4"},{"photo_id":"1352988039","filename":"file1"},{"photo_id":"1352988035","filename":"file0"},{"photo_id":"1352988062","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352988039":["hashtag1","hashtag2"]},{"1352988062":["hashtag1","hashtag2"]},{"1352988035":["hashtag1","hashtag2"]},{"1352988070":["hashtag1","hashtag2"]},{"1352988043":["hashtag1","hashtag2"]},{"1352988103":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352988039, 1352988062, 1352988035, 1352988070, 1352988043, 1352988103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.70786118507385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:20:32.551672
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_45_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_35_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_25_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_15_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/10/19/image_23042025_10_20_05_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_55_9693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_45_9744.jpg', '/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_35_10655.jpg', '/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_25_9673.jpg', '/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_15_10668.jpg', '/home/nano/Desktop/images/23042025/10/19/image_23042025_10_20_05_9621.jpg', '/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_45_9744.jpg
/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_35_10655.jpg
/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_25_9673.jpg
/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_15_10668.jpg
/home/nano/Desktop/images/23042025/10/19/image_23042025_10_20_05_9621.jpg
/home/nano/Desktop/images/23042025/10/19/image_23042025_10_19_55_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352988288","1352988375","1352988336","1352988309","1352988326","1352988265"],"photo_ids_order":["1352988265","1352988288","1352988309","1352988326","1352988336","1352988375"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/826d083f0cca91dfa1389c26a693814d.jpg","text":"TemporaryFile(/tmp/multipartBody107467464504980261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396494266,"filename":"image_23042025_10_20_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09a0872a363fc08291ced84e01b21b9c.jpg","text":"TemporaryFile(/tmp/multipartBody8814670490750763330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396494266,"filename":"image_23042025_10_19_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f445524628d3f5eca46cb53f12ee98d.jpg","text":"TemporaryFile(/tmp/multipartBody6208221422473166723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396494266,"filename":"image_23042025_10_20_05_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c590acf9d2c6f84cc4e2c93e7ac2b9f2.jpg","text":"TemporaryFile(/tmp/multipartBody6313389028439823002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396494266,"filename":"image_23042025_10_20_25_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea8d9e91e3297d44c4d988b8a54bd8da.jpg","text":"TemporaryFile(/tmp/multipartBody497037191249351081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396494266,"filename":"image_23042025_10_20_15_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f27fa1f6f7bb238cf578c76f7e95c849.jpg","text":"TemporaryFile(/tmp/multipartBody3794072316603010089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396494266,"filename":"image_23042025_10_20_45_9744.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352988309","file1":"1352988288","file0":"1352988265","file4":"1352988336","file5":"1352988375","file3":"1352988326"},"map_files_photo_id_array":[{"photo_id":"1352988375","filename":"file5"},{"photo_id":"1352988309","filename":"file2"},{"photo_id":"1352988336","filename":"file4"},{"photo_id":"1352988288","filename":"file1"},{"photo_id":"1352988265","filename":"file0"},{"photo_id":"1352988326","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352988288":["hashtag1","hashtag2"]},{"1352988375":["hashtag1","hashtag2"]},{"1352988336":["hashtag1","hashtag2"]},{"1352988309":["hashtag1","hashtag2"]},{"1352988326":["hashtag1","hashtag2"]},{"1352988265":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352988288, 1352988375, 1352988336, 1352988309, 1352988326, 1352988265)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02781009674072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:21:32.652760
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_45_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_35_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_25_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_15_9789.jpg', 2), ('/home/nano/Desktop/images/23042025/10/20/image_23042025_10_21_05_9768.jpg', 2), ('/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_55_9765.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_45_9649.jpg', '/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_35_9662.jpg', '/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_25_10650.jpg', '/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_15_9789.jpg', '/home/nano/Desktop/images/23042025/10/20/image_23042025_10_21_05_9768.jpg', '/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_55_9765.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_45_9649.jpg
/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_35_9662.jpg
/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_25_10650.jpg
/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_15_9789.jpg
/home/nano/Desktop/images/23042025/10/20/image_23042025_10_21_05_9768.jpg
/home/nano/Desktop/images/23042025/10/20/image_23042025_10_20_55_9765.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352988913","1352988882","1352988798","1352988714","1352988633","1352988550"],"photo_ids_order":["1352988550","1352988633","1352988714","1352988798","1352988882","1352988913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74ca0a601cdbc9714f854df8bbffe204.jpg","text":"TemporaryFile(/tmp/multipartBody8432145940388240564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396554471,"filename":"image_23042025_10_20_55_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc166f01bc14914d8fdd97a889c15312.jpg","text":"TemporaryFile(/tmp/multipartBody8865386317165711289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396554471,"filename":"image_23042025_10_21_05_9768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a6b0225883b1e9c52b6e081ad399451.jpg","text":"TemporaryFile(/tmp/multipartBody6342906061863316107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396554471,"filename":"image_23042025_10_21_15_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80217bfb8813fd7daaa2b8171a8128ac.jpg","text":"TemporaryFile(/tmp/multipartBody8659120492930927848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396554471,"filename":"image_23042025_10_21_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe30dd2a311322ef3b05cdc25138f59a.jpg","text":"TemporaryFile(/tmp/multipartBody3601122866306826611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396554471,"filename":"image_23042025_10_21_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0108c01951c0f7c1c863bc6e74603b28.jpg","text":"TemporaryFile(/tmp/multipartBody2003293177175556889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396554471,"filename":"image_23042025_10_21_45_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352988714","file1":"1352988633","file0":"1352988550","file4":"1352988882","file5":"1352988913","file3":"1352988798"},"map_files_photo_id_array":[{"photo_id":"1352988913","filename":"file5"},{"photo_id":"1352988714","filename":"file2"},{"photo_id":"1352988882","filename":"file4"},{"photo_id":"1352988633","filename":"file1"},{"photo_id":"1352988550","filename":"file0"},{"photo_id":"1352988798","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352988913":["hashtag1","hashtag2"]},{"1352988882":["hashtag1","hashtag2"]},{"1352988798":["hashtag1","hashtag2"]},{"1352988714":["hashtag1","hashtag2"]},{"1352988633":["hashtag1","hashtag2"]},{"1352988550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352988913, 1352988882, 1352988798, 1352988714, 1352988633, 1352988550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.110663414001465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:22:31.753552
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_45_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_35_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_25_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_15_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/10/21/image_23042025_10_22_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_55_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_45_10650.jpg', '/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_35_9629.jpg', '/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_25_10654.jpg', '/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_15_9679.jpg', '/home/nano/Desktop/images/23042025/10/21/image_23042025_10_22_05_9642.jpg', '/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_55_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_45_10650.jpg
/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_35_9629.jpg
/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_25_10654.jpg
/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_15_9679.jpg
/home/nano/Desktop/images/23042025/10/21/image_23042025_10_22_05_9642.jpg
/home/nano/Desktop/images/23042025/10/21/image_23042025_10_21_55_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989035","1352989040","1352989051","1352989045","1352989062","1352989056"],"photo_ids_order":["1352989035","1352989040","1352989045","1352989051","1352989056","1352989062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94681cfc63fa6d5adb8d98c8455c3b2e.jpg","text":"TemporaryFile(/tmp/multipartBody4528861687801266940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396613019,"filename":"image_23042025_10_22_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b2dd38dd7605be8608f94aea516c579.jpg","text":"TemporaryFile(/tmp/multipartBody444336909193113974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396613019,"filename":"image_23042025_10_22_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb6497e34c17601f5678fbc5a9df5ed9.jpg","text":"TemporaryFile(/tmp/multipartBody5694216900161329212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396613019,"filename":"image_23042025_10_22_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33247e3957acc3dbb18329cc8471b0bf.jpg","text":"TemporaryFile(/tmp/multipartBody6784121834715688669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396613019,"filename":"image_23042025_10_22_25_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/723a71d28b86e3b44817e284fdd2400d.jpg","text":"TemporaryFile(/tmp/multipartBody4513953944496950602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396613019,"filename":"image_23042025_10_21_55_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62b426f20aded64b0772f4afa7d7b401.jpg","text":"TemporaryFile(/tmp/multipartBody822462442194291780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396613019,"filename":"image_23042025_10_22_05_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989045","file1":"1352989040","file0":"1352989035","file4":"1352989056","file5":"1352989062","file3":"1352989051"},"map_files_photo_id_array":[{"photo_id":"1352989062","filename":"file5"},{"photo_id":"1352989045","filename":"file2"},{"photo_id":"1352989056","filename":"file4"},{"photo_id":"1352989040","filename":"file1"},{"photo_id":"1352989035","filename":"file0"},{"photo_id":"1352989051","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989035":["hashtag1","hashtag2"]},{"1352989040":["hashtag1","hashtag2"]},{"1352989051":["hashtag1","hashtag2"]},{"1352989045":["hashtag1","hashtag2"]},{"1352989062":["hashtag1","hashtag2"]},{"1352989056":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989035, 1352989040, 1352989051, 1352989045, 1352989062, 1352989056)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.998016357421875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:23:31.861972
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_55_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_35_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_25_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_15_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/10/22/image_23042025_10_23_05_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_55_9619.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_55_9619.jpg', '/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_35_9617.jpg', '/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_25_9622.jpg', '/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_15_10646.jpg', '/home/nano/Desktop/images/23042025/10/22/image_23042025_10_23_05_9648.jpg', '/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_55_9619.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_55_9619.jpg
/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_35_9617.jpg
/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_25_9622.jpg
/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_15_10646.jpg
/home/nano/Desktop/images/23042025/10/22/image_23042025_10_23_05_9648.jpg
/home/nano/Desktop/images/23042025/10/22/image_23042025_10_22_55_9619.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989113","1352989116","1352989132","1352989126","1352989120","1352989108"],"photo_ids_order":["1352989108","1352989113","1352989116","1352989120","1352989126","1352989132"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/978e38e8344ab4e4554e21685a66fcb0.jpg","text":"TemporaryFile(/tmp/multipartBody8090290090570300803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396673171,"filename":"image_23042025_10_23_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/484ea6450e85707440b59e34109baa80.jpg","text":"TemporaryFile(/tmp/multipartBody5974556120932572808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396673171,"filename":"image_23042025_10_23_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1525f67ee64d93aa8c86a3d41b5ad898.jpg","text":"TemporaryFile(/tmp/multipartBody3783515478139256401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396673171,"filename":"image_23042025_10_22_55_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5707870c8e0f5b42a581574884fc9bad.jpg","text":"TemporaryFile(/tmp/multipartBody2759430741417467731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396673171,"filename":"image_23042025_10_23_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd0cc652c71a48b62cc9cac6e8541bba.jpg","text":"TemporaryFile(/tmp/multipartBody4097605120278175203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396673171,"filename":"image_23042025_10_23_15_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c28e40d48c7f780588737ea4f2c7daa.jpg","text":"TemporaryFile(/tmp/multipartBody1362760413799863753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396673171,"filename":"image_23042025_10_23_55_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989116","file1":"1352989113","file0":"1352989108","file4":"1352989126","file5":"1352989132","file3":"1352989120"},"map_files_photo_id_array":[{"photo_id":"1352989132","filename":"file5"},{"photo_id":"1352989116","filename":"file2"},{"photo_id":"1352989126","filename":"file4"},{"photo_id":"1352989113","filename":"file1"},{"photo_id":"1352989108","filename":"file0"},{"photo_id":"1352989120","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989113":["hashtag1","hashtag2"]},{"1352989116":["hashtag1","hashtag2"]},{"1352989132":["hashtag1","hashtag2"]},{"1352989126":["hashtag1","hashtag2"]},{"1352989120":["hashtag1","hashtag2"]},{"1352989108":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989113, 1352989116, 1352989132, 1352989126, 1352989120, 1352989108)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30898356437683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:24:31.982204
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_45_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_35_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_25_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_15_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/10/23/image_23042025_10_24_04_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_45_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_45_9626.jpg', '/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_35_10638.jpg', '/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_25_9626.jpg', '/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_15_10637.jpg', '/home/nano/Desktop/images/23042025/10/23/image_23042025_10_24_04_9630.jpg', '/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_45_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_45_9626.jpg
/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_35_10638.jpg
/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_25_9626.jpg
/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_15_10637.jpg
/home/nano/Desktop/images/23042025/10/23/image_23042025_10_24_04_9630.jpg
/home/nano/Desktop/images/23042025/10/23/image_23042025_10_23_45_10626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989164","1352989314","1352989373","1352989406","1352989171","1352989174"],"photo_ids_order":["1352989164","1352989171","1352989174","1352989314","1352989373","1352989406"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c8b484021fd7e1d3acde2742343b06a.jpg","text":"TemporaryFile(/tmp/multipartBody2555856427424336232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396733246,"filename":"image_23042025_10_24_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82381363ee99069380c3928a4aeda652.jpg","text":"TemporaryFile(/tmp/multipartBody8704669435824553777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396733246,"filename":"image_23042025_10_24_15_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/970b66cdc80ed6011dbeedfbc9c2178a.jpg","text":"TemporaryFile(/tmp/multipartBody7969504290204527532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396733246,"filename":"image_23042025_10_24_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5129b9b398148e70b8379538385690a9.jpg","text":"TemporaryFile(/tmp/multipartBody652703771762338165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396733246,"filename":"image_23042025_10_23_45_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/254cb5abd2e2f0ee8e6aaab06f728b06.jpg","text":"TemporaryFile(/tmp/multipartBody7409715536489942614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396733246,"filename":"image_23042025_10_24_35_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b97329541aac12427a870bd14fdd6c2b.jpg","text":"TemporaryFile(/tmp/multipartBody4800270565031343189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396733246,"filename":"image_23042025_10_24_25_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989174","file1":"1352989171","file0":"1352989164","file4":"1352989373","file5":"1352989406","file3":"1352989314"},"map_files_photo_id_array":[{"photo_id":"1352989406","filename":"file5"},{"photo_id":"1352989174","filename":"file2"},{"photo_id":"1352989373","filename":"file4"},{"photo_id":"1352989171","filename":"file1"},{"photo_id":"1352989164","filename":"file0"},{"photo_id":"1352989314","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989164":["hashtag1","hashtag2"]},{"1352989314":["hashtag1","hashtag2"]},{"1352989373":["hashtag1","hashtag2"]},{"1352989406":["hashtag1","hashtag2"]},{"1352989171":["hashtag1","hashtag2"]},{"1352989174":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989164, 1352989314, 1352989373, 1352989406, 1352989171, 1352989174)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.10406565666199 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:25:32.127568
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_45_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_35_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_25_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_15_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/10/24/image_23042025_10_25_05_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_55_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_45_9620.jpg', '/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_35_10651.jpg', '/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_25_9626.jpg', '/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_15_9621.jpg', '/home/nano/Desktop/images/23042025/10/24/image_23042025_10_25_05_10637.jpg', '/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_45_9620.jpg
/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_35_10651.jpg
/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_25_9626.jpg
/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_15_9621.jpg
/home/nano/Desktop/images/23042025/10/24/image_23042025_10_25_05_10637.jpg
/home/nano/Desktop/images/23042025/10/24/image_23042025_10_24_55_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989506","1352989490","1352989502","1352989477","1352989497","1352989482"],"photo_ids_order":["1352989477","1352989482","1352989490","1352989497","1352989502","1352989506"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50135d490ada21407957d9968aaacbb1.jpg","text":"TemporaryFile(/tmp/multipartBody7015192282043133749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396793459,"filename":"image_23042025_10_24_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/404107a0891a7405a569952dd423c099.jpg","text":"TemporaryFile(/tmp/multipartBody9055519305082975431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396793459,"filename":"image_23042025_10_25_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15775f8d53427adf8a71fe849b521dbc.jpg","text":"TemporaryFile(/tmp/multipartBody8276968841032266282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396793459,"filename":"image_23042025_10_25_05_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bfe84a09f4c4d15886f357bbd0b7161.jpg","text":"TemporaryFile(/tmp/multipartBody4953733048431121179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396793459,"filename":"image_23042025_10_25_45_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce93000e9f71dfe58e7ac2f21d02f207.jpg","text":"TemporaryFile(/tmp/multipartBody141091259491529593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396793459,"filename":"image_23042025_10_25_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20ae89d127e9c056866aac9740ca09a7.jpg","text":"TemporaryFile(/tmp/multipartBody4256355941229352221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396793459,"filename":"image_23042025_10_25_35_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989490","file1":"1352989482","file0":"1352989477","file4":"1352989502","file5":"1352989506","file3":"1352989497"},"map_files_photo_id_array":[{"photo_id":"1352989506","filename":"file5"},{"photo_id":"1352989490","filename":"file2"},{"photo_id":"1352989502","filename":"file4"},{"photo_id":"1352989482","filename":"file1"},{"photo_id":"1352989477","filename":"file0"},{"photo_id":"1352989497","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989506":["hashtag1","hashtag2"]},{"1352989490":["hashtag1","hashtag2"]},{"1352989502":["hashtag1","hashtag2"]},{"1352989477":["hashtag1","hashtag2"]},{"1352989497":["hashtag1","hashtag2"]},{"1352989482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989506, 1352989490, 1352989502, 1352989477, 1352989497, 1352989482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06416654586792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:26:32.228516
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_45_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_35_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_25_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_15_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/25/image_23042025_10_26_05_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_55_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_45_9646.jpg', '/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_35_9619.jpg', '/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_25_10638.jpg', '/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_15_9644.jpg', '/home/nano/Desktop/images/23042025/10/25/image_23042025_10_26_05_9630.jpg', '/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_45_9646.jpg
/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_35_9619.jpg
/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_25_10638.jpg
/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_15_9644.jpg
/home/nano/Desktop/images/23042025/10/25/image_23042025_10_26_05_9630.jpg
/home/nano/Desktop/images/23042025/10/25/image_23042025_10_25_55_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989557","1352989562","1352989532","1352989543","1352989537","1352989566"],"photo_ids_order":["1352989532","1352989537","1352989543","1352989557","1352989562","1352989566"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99b5ab2d68ada01865779f90501eb123.jpg","text":"TemporaryFile(/tmp/multipartBody1984229040770256337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396853495,"filename":"image_23042025_10_26_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf5b30ce441a07d28e3b0d9e3401176d.jpg","text":"TemporaryFile(/tmp/multipartBody5236241542614506708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396853495,"filename":"image_23042025_10_26_05_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57e93353002608038d7211abfac485ec.jpg","text":"TemporaryFile(/tmp/multipartBody7362463824415773901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396853495,"filename":"image_23042025_10_26_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ac91f90be0e626a068a8b35f7147824.jpg","text":"TemporaryFile(/tmp/multipartBody1190414216196858323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396853495,"filename":"image_23042025_10_26_25_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a19e0e07c03ffc47566ba44c3b398659.jpg","text":"TemporaryFile(/tmp/multipartBody5348193017840096061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396853495,"filename":"image_23042025_10_26_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/158d572f55772d9fbce12483341adfac.jpg","text":"TemporaryFile(/tmp/multipartBody4169041529991668803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396853495,"filename":"image_23042025_10_25_55_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989543","file1":"1352989537","file0":"1352989532","file4":"1352989562","file5":"1352989566","file3":"1352989557"},"map_files_photo_id_array":[{"photo_id":"1352989566","filename":"file5"},{"photo_id":"1352989543","filename":"file2"},{"photo_id":"1352989562","filename":"file4"},{"photo_id":"1352989537","filename":"file1"},{"photo_id":"1352989532","filename":"file0"},{"photo_id":"1352989557","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989557":["hashtag1","hashtag2"]},{"1352989562":["hashtag1","hashtag2"]},{"1352989532":["hashtag1","hashtag2"]},{"1352989543":["hashtag1","hashtag2"]},{"1352989537":["hashtag1","hashtag2"]},{"1352989566":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989557, 1352989562, 1352989532, 1352989543, 1352989537, 1352989566)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.332353591918945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:27:32.364984
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_45_10626.jpg', 2), ('/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_35_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_25_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_15_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/10/26/image_23042025_10_27_05_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_55_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_45_10626.jpg', '/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_35_9619.jpg', '/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_25_10633.jpg', '/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_15_9628.jpg', '/home/nano/Desktop/images/23042025/10/26/image_23042025_10_27_05_9633.jpg', '/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_45_10626.jpg
/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_35_9619.jpg
/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_25_10633.jpg
/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_15_9628.jpg
/home/nano/Desktop/images/23042025/10/26/image_23042025_10_27_05_9633.jpg
/home/nano/Desktop/images/23042025/10/26/image_23042025_10_26_55_10633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989719","1352989715","1352989709","1352989648","1352989692","1352989644"],"photo_ids_order":["1352989644","1352989648","1352989692","1352989709","1352989715","1352989719"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e67d6049ac31e23d976af4eddfe6664d.jpg","text":"TemporaryFile(/tmp/multipartBody8595110452589534779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396913749,"filename":"image_23042025_10_26_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6379d0e873d4ff7c0bfe1c6cfeb3d4fc.jpg","text":"TemporaryFile(/tmp/multipartBody219456742528572710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396913749,"filename":"image_23042025_10_27_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67f3591bacdd60832b12549bc7aec236.jpg","text":"TemporaryFile(/tmp/multipartBody3030562070068495878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396913749,"filename":"image_23042025_10_27_15_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e54471b9ed43e21bc849c4654a33dde7.jpg","text":"TemporaryFile(/tmp/multipartBody3162030915815921996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396913749,"filename":"image_23042025_10_27_35_9619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f9112830cdbef5d9a7e37bc0f3528e7.jpg","text":"TemporaryFile(/tmp/multipartBody3256861844282141289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396913749,"filename":"image_23042025_10_27_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4b87d468cce4493c57cc4f54b5c9912.jpg","text":"TemporaryFile(/tmp/multipartBody1168087894772355535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396913749,"filename":"image_23042025_10_27_45_10626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989692","file1":"1352989648","file0":"1352989644","file4":"1352989715","file5":"1352989719","file3":"1352989709"},"map_files_photo_id_array":[{"photo_id":"1352989719","filename":"file5"},{"photo_id":"1352989692","filename":"file2"},{"photo_id":"1352989715","filename":"file4"},{"photo_id":"1352989648","filename":"file1"},{"photo_id":"1352989644","filename":"file0"},{"photo_id":"1352989709","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989719":["hashtag1","hashtag2"]},{"1352989715":["hashtag1","hashtag2"]},{"1352989709":["hashtag1","hashtag2"]},{"1352989648":["hashtag1","hashtag2"]},{"1352989692":["hashtag1","hashtag2"]},{"1352989644":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989719, 1352989715, 1352989709, 1352989648, 1352989692, 1352989644)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.77982521057129 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:28:32.435881
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_45_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_35_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_25_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_15_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/10/27/image_23042025_10_28_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_45_10638.jpg', '/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_35_9620.jpg', '/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_25_9620.jpg', '/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_15_10658.jpg', '/home/nano/Desktop/images/23042025/10/27/image_23042025_10_28_05_9638.jpg', '/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_45_10638.jpg
/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_35_9620.jpg
/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_25_9620.jpg
/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_15_10658.jpg
/home/nano/Desktop/images/23042025/10/27/image_23042025_10_28_05_9638.jpg
/home/nano/Desktop/images/23042025/10/27/image_23042025_10_27_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989938","1352989886","1352989876","1352989945","1352989921","1352989941"],"photo_ids_order":["1352989876","1352989886","1352989921","1352989938","1352989941","1352989945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/573ac75295c560d62e48355cf43f2c5d.jpg","text":"TemporaryFile(/tmp/multipartBody7400177573975220654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396973685,"filename":"image_23042025_10_28_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf0fe12c661d4e11fe71289d4d88bc2d.jpg","text":"TemporaryFile(/tmp/multipartBody870580646169057127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396973685,"filename":"image_23042025_10_28_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49983235479bfc1c60027db9d0f8232b.jpg","text":"TemporaryFile(/tmp/multipartBody614554846527198718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396973685,"filename":"image_23042025_10_28_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/083676ff023243d5a14de673ca0944cd.jpg","text":"TemporaryFile(/tmp/multipartBody3238228321516186336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396973685,"filename":"image_23042025_10_27_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1489978b912c917c8d7454b7c079091.jpg","text":"TemporaryFile(/tmp/multipartBody7663110935002526471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396973685,"filename":"image_23042025_10_28_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d213bb1f86ac877ecc27630af4010c05.jpg","text":"TemporaryFile(/tmp/multipartBody2187312747983443163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745396973685,"filename":"image_23042025_10_28_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989921","file1":"1352989886","file0":"1352989876","file4":"1352989941","file5":"1352989945","file3":"1352989938"},"map_files_photo_id_array":[{"photo_id":"1352989945","filename":"file5"},{"photo_id":"1352989921","filename":"file2"},{"photo_id":"1352989941","filename":"file4"},{"photo_id":"1352989886","filename":"file1"},{"photo_id":"1352989876","filename":"file0"},{"photo_id":"1352989938","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989938":["hashtag1","hashtag2"]},{"1352989886":["hashtag1","hashtag2"]},{"1352989876":["hashtag1","hashtag2"]},{"1352989945":["hashtag1","hashtag2"]},{"1352989921":["hashtag1","hashtag2"]},{"1352989941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989938, 1352989886, 1352989876, 1352989945, 1352989921, 1352989941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.22638773918152 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:29:32.680028
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_45_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_35_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_25_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_15_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/10/28/image_23042025_10_29_05_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_55_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_45_10644.jpg', '/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_35_9699.jpg', '/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_25_9705.jpg', '/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_15_9651.jpg', '/home/nano/Desktop/images/23042025/10/28/image_23042025_10_29_05_10651.jpg', '/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_55_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_45_10644.jpg
/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_35_9699.jpg
/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_25_9705.jpg
/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_15_9651.jpg
/home/nano/Desktop/images/23042025/10/28/image_23042025_10_29_05_10651.jpg
/home/nano/Desktop/images/23042025/10/28/image_23042025_10_28_55_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352989985","1352989979","1352990016","1352989993","1352990012","1352989989"],"photo_ids_order":["1352989979","1352989985","1352989989","1352989993","1352990012","1352990016"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8ecdd5ea5f5adba2bd16b6aae6b8065.jpg","text":"TemporaryFile(/tmp/multipartBody3597603441285468140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397034206,"filename":"image_23042025_10_29_35_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bec3d21e63794677f7662e4797c22b5.jpg","text":"TemporaryFile(/tmp/multipartBody956509302716364460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397034206,"filename":"image_23042025_10_29_45_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0db39335ed6c83ae13d3d2e077cbb97.jpg","text":"TemporaryFile(/tmp/multipartBody2364264200346153488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397034206,"filename":"image_23042025_10_28_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47ee0c6c3d73ffe53fa605cf0b11fcf9.jpg","text":"TemporaryFile(/tmp/multipartBody723711068089936348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397034206,"filename":"image_23042025_10_29_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a110962a066eaa2656932436d7d46a02.jpg","text":"TemporaryFile(/tmp/multipartBody790043306969561834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397034206,"filename":"image_23042025_10_29_05_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73ce7b1fcd4f2fd51697efc7a2fbe714.jpg","text":"TemporaryFile(/tmp/multipartBody8810896932977437644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397034206,"filename":"image_23042025_10_29_25_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352989989","file1":"1352989985","file0":"1352989979","file4":"1352990012","file5":"1352990016","file3":"1352989993"},"map_files_photo_id_array":[{"photo_id":"1352990016","filename":"file5"},{"photo_id":"1352989989","filename":"file2"},{"photo_id":"1352990012","filename":"file4"},{"photo_id":"1352989985","filename":"file1"},{"photo_id":"1352989979","filename":"file0"},{"photo_id":"1352989993","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352989985":["hashtag1","hashtag2"]},{"1352989979":["hashtag1","hashtag2"]},{"1352990016":["hashtag1","hashtag2"]},{"1352989993":["hashtag1","hashtag2"]},{"1352990012":["hashtag1","hashtag2"]},{"1352989989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352989985, 1352989979, 1352990016, 1352989993, 1352990012, 1352989989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13737869262695 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:30:31.742906
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_45_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_35_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_25_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_15_10741.jpg', 2), ('/home/nano/Desktop/images/23042025/10/29/image_23042025_10_30_05_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_55_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_45_10633.jpg', '/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_35_9651.jpg', '/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_25_9633.jpg', '/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_15_10741.jpg', '/home/nano/Desktop/images/23042025/10/29/image_23042025_10_30_05_9668.jpg', '/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_55_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_45_10633.jpg
/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_35_9651.jpg
/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_25_9633.jpg
/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_15_10741.jpg
/home/nano/Desktop/images/23042025/10/29/image_23042025_10_30_05_9668.jpg
/home/nano/Desktop/images/23042025/10/29/image_23042025_10_29_55_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352990116","1352990151","1352990109","1352990132","1352990095","1352990089"],"photo_ids_order":["1352990089","1352990095","1352990109","1352990116","1352990132","1352990151"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51f7fb7db2c758e67611dd1877d3f87e.jpg","text":"TemporaryFile(/tmp/multipartBody2581172685257829433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397093295,"filename":"image_23042025_10_30_15_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a22176a20391158c93554e29dadfcb79.jpg","text":"TemporaryFile(/tmp/multipartBody739754220345384526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397093295,"filename":"image_23042025_10_29_55_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e03445cdd86fc8ff0ada1f7108ba603c.jpg","text":"TemporaryFile(/tmp/multipartBody5787774163997040557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397093295,"filename":"image_23042025_10_30_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cceacdac23b4ade52a41c296160e3559.jpg","text":"TemporaryFile(/tmp/multipartBody2275245672975978107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397093295,"filename":"image_23042025_10_30_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d293cfb259c24c498327f3e0ab7d0495.jpg","text":"TemporaryFile(/tmp/multipartBody6250903770777873293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397093295,"filename":"image_23042025_10_30_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7391f9ce887d03fb78dc5123c69851b5.jpg","text":"TemporaryFile(/tmp/multipartBody4500157415527884413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397093295,"filename":"image_23042025_10_30_45_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352990109","file1":"1352990095","file0":"1352990089","file4":"1352990132","file5":"1352990151","file3":"1352990116"},"map_files_photo_id_array":[{"photo_id":"1352990151","filename":"file5"},{"photo_id":"1352990109","filename":"file2"},{"photo_id":"1352990132","filename":"file4"},{"photo_id":"1352990095","filename":"file1"},{"photo_id":"1352990089","filename":"file0"},{"photo_id":"1352990116","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352990116":["hashtag1","hashtag2"]},{"1352990151":["hashtag1","hashtag2"]},{"1352990109":["hashtag1","hashtag2"]},{"1352990132":["hashtag1","hashtag2"]},{"1352990095":["hashtag1","hashtag2"]},{"1352990089":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352990116, 1352990151, 1352990109, 1352990132, 1352990095, 1352990089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.710482358932495 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:31:31.850439
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_45_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_35_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_25_9611.jpg', 2), ('/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_15_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/10/30/image_23042025_10_31_05_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_55_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_45_9621.jpg', '/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_35_10645.jpg', '/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_25_9611.jpg', '/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_15_10659.jpg', '/home/nano/Desktop/images/23042025/10/30/image_23042025_10_31_05_9632.jpg', '/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_55_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_45_9621.jpg
/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_35_10645.jpg
/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_25_9611.jpg
/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_15_10659.jpg
/home/nano/Desktop/images/23042025/10/30/image_23042025_10_31_05_9632.jpg
/home/nano/Desktop/images/23042025/10/30/image_23042025_10_30_55_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352990286","1352990280","1352990268","1352990301","1352990310","1352990315"],"photo_ids_order":["1352990268","1352990280","1352990286","1352990301","1352990310","1352990315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de3b9b7f9c23b5ce78e8436e3d5e69fc.jpg","text":"TemporaryFile(/tmp/multipartBody5007985536375011272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397153390,"filename":"image_23042025_10_31_25_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e4c92314b0af3807fded938cbe0d837.jpg","text":"TemporaryFile(/tmp/multipartBody7796626521405263940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397153390,"filename":"image_23042025_10_31_35_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c69fa80d2187176740b2881cd605923.jpg","text":"TemporaryFile(/tmp/multipartBody6508798900846570698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397153390,"filename":"image_23042025_10_31_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/919f2b15aec0b3669fd433e0d620f4ec.jpg","text":"TemporaryFile(/tmp/multipartBody127517676503409126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397153390,"filename":"image_23042025_10_31_15_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4010333237eadc16fd188ef7b9ebd453.jpg","text":"TemporaryFile(/tmp/multipartBody2988381642360786460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397153390,"filename":"image_23042025_10_31_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8ccc9ffd062bbe3103bb7d1545fa807.jpg","text":"TemporaryFile(/tmp/multipartBody2250897270204185672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397153390,"filename":"image_23042025_10_30_55_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352990286","file1":"1352990280","file0":"1352990268","file4":"1352990310","file5":"1352990315","file3":"1352990301"},"map_files_photo_id_array":[{"photo_id":"1352990315","filename":"file5"},{"photo_id":"1352990286","filename":"file2"},{"photo_id":"1352990310","filename":"file4"},{"photo_id":"1352990280","filename":"file1"},{"photo_id":"1352990268","filename":"file0"},{"photo_id":"1352990301","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352990286":["hashtag1","hashtag2"]},{"1352990280":["hashtag1","hashtag2"]},{"1352990268":["hashtag1","hashtag2"]},{"1352990301":["hashtag1","hashtag2"]},{"1352990310":["hashtag1","hashtag2"]},{"1352990315":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352990286, 1352990280, 1352990268, 1352990301, 1352990310, 1352990315)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17185926437378 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:32:32.004650
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_45_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_35_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_25_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/31/image_23042025_10_32_05_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_45_9631.jpg', '/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_35_10649.jpg', '/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_25_9635.jpg', '/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_15_9636.jpg', '/home/nano/Desktop/images/23042025/10/31/image_23042025_10_32_05_10676.jpg', '/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_45_9631.jpg
/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_35_10649.jpg
/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_25_9635.jpg
/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_15_9636.jpg
/home/nano/Desktop/images/23042025/10/31/image_23042025_10_32_05_10676.jpg
/home/nano/Desktop/images/23042025/10/31/image_23042025_10_31_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352990460","1352990436","1352990396","1352990444","1352990414","1352990383"],"photo_ids_order":["1352990383","1352990396","1352990414","1352990436","1352990444","1352990460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d6df41304e0e01a603c3c1a3d564a03.jpg","text":"TemporaryFile(/tmp/multipartBody8205217734613609116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397213301,"filename":"image_23042025_10_31_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7894221d18424145726ba63759010f5b.jpg","text":"TemporaryFile(/tmp/multipartBody6976650936118232758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397213301,"filename":"image_23042025_10_32_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2d892aad038dfed7a2f85bde89ba083.jpg","text":"TemporaryFile(/tmp/multipartBody8507964102957870335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397213301,"filename":"image_23042025_10_32_35_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc12c3f068fca89491f158ded0f9c591.jpg","text":"TemporaryFile(/tmp/multipartBody6114777662289160228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397213301,"filename":"image_23042025_10_32_05_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/656d5909d9ee48aa83f2bde4200a6156.jpg","text":"TemporaryFile(/tmp/multipartBody2289126461491220930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397213301,"filename":"image_23042025_10_32_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5d548366046ec85df28d0baba79805c.jpg","text":"TemporaryFile(/tmp/multipartBody2904525439243501578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397213301,"filename":"image_23042025_10_32_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352990414","file1":"1352990396","file0":"1352990383","file4":"1352990444","file5":"1352990460","file3":"1352990436"},"map_files_photo_id_array":[{"photo_id":"1352990460","filename":"file5"},{"photo_id":"1352990414","filename":"file2"},{"photo_id":"1352990444","filename":"file4"},{"photo_id":"1352990396","filename":"file1"},{"photo_id":"1352990383","filename":"file0"},{"photo_id":"1352990436","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352990460":["hashtag1","hashtag2"]},{"1352990436":["hashtag1","hashtag2"]},{"1352990396":["hashtag1","hashtag2"]},{"1352990444":["hashtag1","hashtag2"]},{"1352990414":["hashtag1","hashtag2"]},{"1352990383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352990460, 1352990436, 1352990396, 1352990444, 1352990414, 1352990383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19812750816345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:33:32.081090
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_25_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/32/image_23042025_10_33_05_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_45_9642.jpg', '/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_35_9636.jpg', '/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_25_10636.jpg', '/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_15_9642.jpg', '/home/nano/Desktop/images/23042025/10/32/image_23042025_10_33_05_10667.jpg', '/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_45_9642.jpg
/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_35_9636.jpg
/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_25_10636.jpg
/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_15_9642.jpg
/home/nano/Desktop/images/23042025/10/32/image_23042025_10_33_05_10667.jpg
/home/nano/Desktop/images/23042025/10/32/image_23042025_10_32_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352990512","1352990500","1352990522","1352990504","1352990507","1352990518"],"photo_ids_order":["1352990500","1352990504","1352990507","1352990512","1352990518","1352990522"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b871936f7adf8d804900f997df387e1d.jpg","text":"TemporaryFile(/tmp/multipartBody2960025260944204287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397273740,"filename":"image_23042025_10_33_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4a1aac1343691c621585b78ed811fe3.jpg","text":"TemporaryFile(/tmp/multipartBody6562287036271273379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397273740,"filename":"image_23042025_10_33_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5e33044596810a9e926d90a68ffbfab.jpg","text":"TemporaryFile(/tmp/multipartBody1772174211408731154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397273740,"filename":"image_23042025_10_32_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a80d867bb27e6d3289ed3bac47722d63.jpg","text":"TemporaryFile(/tmp/multipartBody6853583711333745337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397273740,"filename":"image_23042025_10_33_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/754c3cfe9de253633b293fb7f73923c9.jpg","text":"TemporaryFile(/tmp/multipartBody2944119390340433159asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397273740,"filename":"image_23042025_10_33_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/648cfe489e31357a207001890f877c88.jpg","text":"TemporaryFile(/tmp/multipartBody3131354306502302441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397273740,"filename":"image_23042025_10_33_05_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352990507","file1":"1352990504","file0":"1352990500","file4":"1352990518","file5":"1352990522","file3":"1352990512"},"map_files_photo_id_array":[{"photo_id":"1352990522","filename":"file5"},{"photo_id":"1352990507","filename":"file2"},{"photo_id":"1352990518","filename":"file4"},{"photo_id":"1352990504","filename":"file1"},{"photo_id":"1352990500","filename":"file0"},{"photo_id":"1352990512","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352990512":["hashtag1","hashtag2"]},{"1352990500":["hashtag1","hashtag2"]},{"1352990522":["hashtag1","hashtag2"]},{"1352990504":["hashtag1","hashtag2"]},{"1352990507":["hashtag1","hashtag2"]},{"1352990518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352990512, 1352990500, 1352990522, 1352990504, 1352990507, 1352990518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.119330406188965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:34:32.235981
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_45_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_35_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_25_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_15_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/10/33/image_23042025_10_34_05_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_55_10631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_45_9636.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_35_9633.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_25_10677.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_15_9641.jpg', '/home/nano/Desktop/images/23042025/10/33/image_23042025_10_34_05_9640.jpg', '/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_55_10631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_45_9636.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_35_9633.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_25_10677.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_15_9641.jpg
/home/nano/Desktop/images/23042025/10/33/image_23042025_10_34_05_9640.jpg
/home/nano/Desktop/images/23042025/10/33/image_23042025_10_33_55_10631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352990625","1352990687","1352990666","1352990645","1352990677","1352990638"],"photo_ids_order":["1352990625","1352990638","1352990645","1352990666","1352990677","1352990687"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62bbd5531cce58b0a75c0c9d26e3b507.jpg","text":"TemporaryFile(/tmp/multipartBody1300032570391517083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397333409,"filename":"image_23042025_10_34_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33a57b48a6581ebe1dcb17b4bb8ce34c.jpg","text":"TemporaryFile(/tmp/multipartBody8957354114557528056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397333409,"filename":"image_23042025_10_33_55_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52cb4dfe932f68c6c87fc194b862f00b.jpg","text":"TemporaryFile(/tmp/multipartBody4470789924565780118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397333409,"filename":"image_23042025_10_34_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6c465db75600f3481205c9dbd0419fb.jpg","text":"TemporaryFile(/tmp/multipartBody7428605486428542884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397333409,"filename":"image_23042025_10_34_25_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baee41503048c566bf29306bd979d759.jpg","text":"TemporaryFile(/tmp/multipartBody901180691125661574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397333409,"filename":"image_23042025_10_34_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8adc7061046d8d440b118c5e9f3d3f18.jpg","text":"TemporaryFile(/tmp/multipartBody2112467587054043367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397333409,"filename":"image_23042025_10_34_35_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352990645","file1":"1352990638","file0":"1352990625","file4":"1352990677","file5":"1352990687","file3":"1352990666"},"map_files_photo_id_array":[{"photo_id":"1352990687","filename":"file5"},{"photo_id":"1352990645","filename":"file2"},{"photo_id":"1352990677","filename":"file4"},{"photo_id":"1352990638","filename":"file1"},{"photo_id":"1352990625","filename":"file0"},{"photo_id":"1352990666","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352990625":["hashtag1","hashtag2"]},{"1352990687":["hashtag1","hashtag2"]},{"1352990666":["hashtag1","hashtag2"]},{"1352990645":["hashtag1","hashtag2"]},{"1352990677":["hashtag1","hashtag2"]},{"1352990638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352990625, 1352990687, 1352990666, 1352990645, 1352990677, 1352990638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.948707580566406 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:35:32.345588
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_45_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_25_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_15_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_35_05_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_45_9632.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_35_9630.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_25_10644.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_15_9684.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_35_05_9646.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_45_9632.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_35_9630.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_25_10644.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_15_9684.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_35_05_9646.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_55_10645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 8.461193084716797 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:36:03.146803
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_45_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_25_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_15_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_35_05_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_45_9632.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_35_9630.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_25_10644.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_15_9684.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_35_05_9646.jpg', '/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_45_9632.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_35_9630.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_25_10644.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_15_9684.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_35_05_9646.jpg
/home/nano/Desktop/images/23042025/10/34/image_23042025_10_34_55_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352991275","1352991323","1352991317","1352991329","1352991297","1352991285"],"photo_ids_order":["1352991275","1352991285","1352991297","1352991317","1352991323","1352991329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba7b583076d460693f2f009d2db72f94.jpg","text":"TemporaryFile(/tmp/multipartBody2873300985274672129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397424668,"filename":"image_23042025_10_35_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b7d6bf738dfd5268825fffc5ef62d0f.jpg","text":"TemporaryFile(/tmp/multipartBody725400176530481978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397424668,"filename":"image_23042025_10_35_05_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0adff37ea4e83c4e5a429488f5b9ed3.jpg","text":"TemporaryFile(/tmp/multipartBody8703042508518735903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397424668,"filename":"image_23042025_10_35_15_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2b32d5ed9e1cddf9b27deabecca9312.jpg","text":"TemporaryFile(/tmp/multipartBody6653449043278397917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397424668,"filename":"image_23042025_10_34_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7c03dd51f026e8b90ff7652f4fd211d.jpg","text":"TemporaryFile(/tmp/multipartBody7634611917504626609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397424668,"filename":"image_23042025_10_35_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d253f6428a0008da7599f36e69b21f0.jpg","text":"TemporaryFile(/tmp/multipartBody5300209331579087694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397424668,"filename":"image_23042025_10_35_35_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352991297","file1":"1352991285","file0":"1352991275","file4":"1352991323","file5":"1352991329","file3":"1352991317"},"map_files_photo_id_array":[{"photo_id":"1352991329","filename":"file5"},{"photo_id":"1352991297","filename":"file2"},{"photo_id":"1352991323","filename":"file4"},{"photo_id":"1352991285","filename":"file1"},{"photo_id":"1352991275","filename":"file0"},{"photo_id":"1352991317","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352991275":["hashtag1","hashtag2"]},{"1352991323":["hashtag1","hashtag2"]},{"1352991317":["hashtag1","hashtag2"]},{"1352991329":["hashtag1","hashtag2"]},{"1352991297":["hashtag1","hashtag2"]},{"1352991285":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352991275, 1352991323, 1352991317, 1352991329, 1352991297, 1352991285)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.81528043746948 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:37:02.877521
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_25_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_15_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_36_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_45_10647.jpg', '/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_35_9630.jpg', '/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_25_9623.jpg', '/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_15_10675.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_36_05_9642.jpg', '/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_55_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_45_10647.jpg
/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_35_9630.jpg
/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_25_9623.jpg
/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_15_10675.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_36_05_9642.jpg
/home/nano/Desktop/images/23042025/10/35/image_23042025_10_35_55_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352991720","1352991674","1352991641","1352991592","1352991530","1352991774"],"photo_ids_order":["1352991530","1352991592","1352991641","1352991674","1352991720","1352991774"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16d36da21ffa74c8a32ca02160680952.jpg","text":"TemporaryFile(/tmp/multipartBody7467647651622508669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397484801,"filename":"image_23042025_10_36_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59351eaf7620390a87f8ed79e190b6cf.jpg","text":"TemporaryFile(/tmp/multipartBody6242552088126537623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397484801,"filename":"image_23042025_10_36_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bb9a7b5d35f595f945d4bf2402a47ac.jpg","text":"TemporaryFile(/tmp/multipartBody2784504044005016632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397484801,"filename":"image_23042025_10_36_25_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8abd80c433575576020109556a8f978d.jpg","text":"TemporaryFile(/tmp/multipartBody5327070812441823607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397484801,"filename":"image_23042025_10_36_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ff380a379afcec4c6aa63d269226204.jpg","text":"TemporaryFile(/tmp/multipartBody8581605133801186342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397484801,"filename":"image_23042025_10_36_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec9d9b5e98957e4c17ff0d8fc0a26a59.jpg","text":"TemporaryFile(/tmp/multipartBody7174358672605823286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397484801,"filename":"image_23042025_10_35_55_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352991641","file1":"1352991592","file0":"1352991530","file4":"1352991720","file5":"1352991774","file3":"1352991674"},"map_files_photo_id_array":[{"photo_id":"1352991774","filename":"file5"},{"photo_id":"1352991641","filename":"file2"},{"photo_id":"1352991720","filename":"file4"},{"photo_id":"1352991592","filename":"file1"},{"photo_id":"1352991530","filename":"file0"},{"photo_id":"1352991674","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352991720":["hashtag1","hashtag2"]},{"1352991674":["hashtag1","hashtag2"]},{"1352991641":["hashtag1","hashtag2"]},{"1352991592":["hashtag1","hashtag2"]},{"1352991530":["hashtag1","hashtag2"]},{"1352991774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352991720, 1352991674, 1352991641, 1352991592, 1352991530, 1352991774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.96507120132446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:38:03.062174
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_35_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_25_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_15_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/10/36/image_23042025_10_37_05_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_55_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_45_10652.jpg', '/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_35_9634.jpg', '/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_25_9645.jpg', '/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_15_10676.jpg', '/home/nano/Desktop/images/23042025/10/36/image_23042025_10_37_05_9636.jpg', '/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_55_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_45_10652.jpg
/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_35_9634.jpg
/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_25_9645.jpg
/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_15_10676.jpg
/home/nano/Desktop/images/23042025/10/36/image_23042025_10_37_05_9636.jpg
/home/nano/Desktop/images/23042025/10/36/image_23042025_10_36_55_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352992388","1352992724","1352992649","1352992531","1352992578","1352992614"],"photo_ids_order":["1352992388","1352992531","1352992578","1352992614","1352992649","1352992724"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04d8136ae158b0f42b5086a1a7926522.jpg","text":"TemporaryFile(/tmp/multipartBody468876798763785729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397545796,"filename":"image_23042025_10_37_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/271524387954167a061c65bfc7813f23.jpg","text":"TemporaryFile(/tmp/multipartBody4352787883086092076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397545796,"filename":"image_23042025_10_36_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58a459aef0ee6c6f3f248e4ebfc1056e.jpg","text":"TemporaryFile(/tmp/multipartBody9073455172587043616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397545796,"filename":"image_23042025_10_37_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/641bc3283fe27d5aad012441477a7bab.jpg","text":"TemporaryFile(/tmp/multipartBody8286300661954772254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397545796,"filename":"image_23042025_10_37_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65e5470d20661fbdb75445f8a2df7f1d.jpg","text":"TemporaryFile(/tmp/multipartBody9099820374026234027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397545796,"filename":"image_23042025_10_37_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f418bd12589910bfe004c16e80e7caf.jpg","text":"TemporaryFile(/tmp/multipartBody2630601342364075892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397545796,"filename":"image_23042025_10_37_15_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352992578","file1":"1352992531","file0":"1352992388","file4":"1352992649","file5":"1352992724","file3":"1352992614"},"map_files_photo_id_array":[{"photo_id":"1352992724","filename":"file5"},{"photo_id":"1352992578","filename":"file2"},{"photo_id":"1352992649","filename":"file4"},{"photo_id":"1352992531","filename":"file1"},{"photo_id":"1352992388","filename":"file0"},{"photo_id":"1352992614","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352992388":["hashtag1","hashtag2"]},{"1352992724":["hashtag1","hashtag2"]},{"1352992649":["hashtag1","hashtag2"]},{"1352992531":["hashtag1","hashtag2"]},{"1352992578":["hashtag1","hashtag2"]},{"1352992614":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352992388, 1352992724, 1352992649, 1352992531, 1352992578, 1352992614)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91862988471985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:39:02.645037
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_35_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_15_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/10/37/image_23042025_10_38_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_45_9639.jpg', '/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_35_10641.jpg', '/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_25_9636.jpg', '/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_15_10665.jpg', '/home/nano/Desktop/images/23042025/10/37/image_23042025_10_38_05_9638.jpg', '/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_45_9639.jpg
/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_35_10641.jpg
/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_25_9636.jpg
/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_15_10665.jpg
/home/nano/Desktop/images/23042025/10/37/image_23042025_10_38_05_9638.jpg
/home/nano/Desktop/images/23042025/10/37/image_23042025_10_37_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352992975","1352992963","1352992957","1352992951","1352992945","1352992968"],"photo_ids_order":["1352992945","1352992951","1352992957","1352992963","1352992968","1352992975"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6ee8b3fabf558259b498c3e98997a3e.jpg","text":"TemporaryFile(/tmp/multipartBody6469798258445564615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397604398,"filename":"image_23042025_10_37_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c1ad54e891c022ed8dd8f7c5ff99336.jpg","text":"TemporaryFile(/tmp/multipartBody6256759685766060422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397604398,"filename":"image_23042025_10_38_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56e5a375237dfe65828ec4fa8251ad43.jpg","text":"TemporaryFile(/tmp/multipartBody1232276646595576654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397604398,"filename":"image_23042025_10_38_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/949911161abc8f58a668d1490ca32c33.jpg","text":"TemporaryFile(/tmp/multipartBody1446112833435021624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397604398,"filename":"image_23042025_10_38_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2f5029528a3c39964d18dd1129431f2.jpg","text":"TemporaryFile(/tmp/multipartBody7912008079915860940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397604398,"filename":"image_23042025_10_38_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f17376f5212107ee1c4b108b89bed8d4.jpg","text":"TemporaryFile(/tmp/multipartBody8419703487316711150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397604398,"filename":"image_23042025_10_38_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352992957","file1":"1352992951","file0":"1352992945","file4":"1352992968","file5":"1352992975","file3":"1352992963"},"map_files_photo_id_array":[{"photo_id":"1352992975","filename":"file5"},{"photo_id":"1352992957","filename":"file2"},{"photo_id":"1352992968","filename":"file4"},{"photo_id":"1352992951","filename":"file1"},{"photo_id":"1352992945","filename":"file0"},{"photo_id":"1352992963","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352992975":["hashtag1","hashtag2"]},{"1352992963":["hashtag1","hashtag2"]},{"1352992957":["hashtag1","hashtag2"]},{"1352992951":["hashtag1","hashtag2"]},{"1352992945":["hashtag1","hashtag2"]},{"1352992968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352992975, 1352992963, 1352992957, 1352992951, 1352992945, 1352992968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.35503125190735 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:40:02.496106
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_45_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_35_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_25_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_15_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/10/38/image_23042025_10_39_05_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_45_9633.jpg', '/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_35_10661.jpg', '/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_25_9631.jpg', '/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_15_9659.jpg', '/home/nano/Desktop/images/23042025/10/38/image_23042025_10_39_05_10655.jpg', '/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_45_9633.jpg
/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_35_10661.jpg
/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_25_9631.jpg
/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_15_9659.jpg
/home/nano/Desktop/images/23042025/10/38/image_23042025_10_39_05_10655.jpg
/home/nano/Desktop/images/23042025/10/38/image_23042025_10_38_55_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993009","1352993041","1352993035","1352993025","1352993028","1352993063"],"photo_ids_order":["1352993009","1352993025","1352993028","1352993035","1352993041","1352993063"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23d2a964963eacae56e899d0bd45020d.jpg","text":"TemporaryFile(/tmp/multipartBody404476626722409872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397664140,"filename":"image_23042025_10_39_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edcd35cfc2c551b624ca4c7be5b80f19.jpg","text":"TemporaryFile(/tmp/multipartBody3117289242570825851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397664140,"filename":"image_23042025_10_39_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99f8ced8d8e87d21670bfc5923e52ff1.jpg","text":"TemporaryFile(/tmp/multipartBody6054734978186459116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397664140,"filename":"image_23042025_10_39_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5802695ec617415e73aad8ea3ff55b1.jpg","text":"TemporaryFile(/tmp/multipartBody1308437074663001798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397664140,"filename":"image_23042025_10_39_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8dc77345bb9e691f2e2e4d9c76959f6.jpg","text":"TemporaryFile(/tmp/multipartBody4986798877424571641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397664140,"filename":"image_23042025_10_39_25_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d883e95c84b77dd25c354c40d60ce05.jpg","text":"TemporaryFile(/tmp/multipartBody7923219968089527791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397664140,"filename":"image_23042025_10_38_55_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993028","file1":"1352993025","file0":"1352993009","file4":"1352993041","file5":"1352993063","file3":"1352993035"},"map_files_photo_id_array":[{"photo_id":"1352993063","filename":"file5"},{"photo_id":"1352993028","filename":"file2"},{"photo_id":"1352993041","filename":"file4"},{"photo_id":"1352993025","filename":"file1"},{"photo_id":"1352993009","filename":"file0"},{"photo_id":"1352993035","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993009":["hashtag1","hashtag2"]},{"1352993041":["hashtag1","hashtag2"]},{"1352993035":["hashtag1","hashtag2"]},{"1352993025":["hashtag1","hashtag2"]},{"1352993028":["hashtag1","hashtag2"]},{"1352993063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993009, 1352993041, 1352993035, 1352993025, 1352993028, 1352993063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.46138000488281 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:41:02.720538
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_45_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_35_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_25_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_15_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/10/39/image_23042025_10_40_05_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_45_9640.jpg', '/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_35_10665.jpg', '/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_25_9654.jpg', '/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_15_9658.jpg', '/home/nano/Desktop/images/23042025/10/39/image_23042025_10_40_05_10678.jpg', '/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_45_9640.jpg
/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_35_10665.jpg
/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_25_9654.jpg
/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_15_9658.jpg
/home/nano/Desktop/images/23042025/10/39/image_23042025_10_40_05_10678.jpg
/home/nano/Desktop/images/23042025/10/39/image_23042025_10_39_55_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993213","1352993245","1352993271","1352993288","1352993165","1352993159"],"photo_ids_order":["1352993159","1352993165","1352993213","1352993245","1352993271","1352993288"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec85955d04414fa406d27335fb213ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1093486465684985389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397724261,"filename":"image_23042025_10_40_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f1e9aff68b77d8ffed19d8e4a3eb9fd.jpg","text":"TemporaryFile(/tmp/multipartBody4163896807413107374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397724261,"filename":"image_23042025_10_40_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0652949e2b60891d8555bee897c764be.jpg","text":"TemporaryFile(/tmp/multipartBody6611021011356525978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397724261,"filename":"image_23042025_10_40_05_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/608c6d132ba386287c277c0817c1244e.jpg","text":"TemporaryFile(/tmp/multipartBody2606450049601574663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397724261,"filename":"image_23042025_10_39_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/565ca43119e2add6467edc5c13d5849c.jpg","text":"TemporaryFile(/tmp/multipartBody3257645416488726731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397724261,"filename":"image_23042025_10_40_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/518252bfe99514b9d56840fcbf9d270c.jpg","text":"TemporaryFile(/tmp/multipartBody981729934553542950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397724261,"filename":"image_23042025_10_40_45_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993213","file1":"1352993165","file0":"1352993159","file4":"1352993271","file5":"1352993288","file3":"1352993245"},"map_files_photo_id_array":[{"photo_id":"1352993288","filename":"file5"},{"photo_id":"1352993213","filename":"file2"},{"photo_id":"1352993271","filename":"file4"},{"photo_id":"1352993165","filename":"file1"},{"photo_id":"1352993159","filename":"file0"},{"photo_id":"1352993245","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993213":["hashtag1","hashtag2"]},{"1352993245":["hashtag1","hashtag2"]},{"1352993271":["hashtag1","hashtag2"]},{"1352993288":["hashtag1","hashtag2"]},{"1352993165":["hashtag1","hashtag2"]},{"1352993159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993213, 1352993245, 1352993271, 1352993288, 1352993165, 1352993159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.31851601600647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:42:02.660688
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_35_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_24_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_15_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/10/40/image_23042025_10_41_05_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_45_9642.jpg', '/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_35_10650.jpg', '/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_24_9635.jpg', '/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_15_9654.jpg', '/home/nano/Desktop/images/23042025/10/40/image_23042025_10_41_05_10650.jpg', '/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_45_9642.jpg
/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_35_10650.jpg
/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_24_9635.jpg
/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_15_9654.jpg
/home/nano/Desktop/images/23042025/10/40/image_23042025_10_41_05_10650.jpg
/home/nano/Desktop/images/23042025/10/40/image_23042025_10_40_55_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993405","1352993400","1352993396","1352993390","1352993384","1352993378"],"photo_ids_order":["1352993378","1352993384","1352993390","1352993396","1352993400","1352993405"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/648c0f88e7be307e916d6168bfe3740c.jpg","text":"TemporaryFile(/tmp/multipartBody6511802643690306238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397784601,"filename":"image_23042025_10_40_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ed93b86a14c24eb2916245a81e9f4cd.jpg","text":"TemporaryFile(/tmp/multipartBody6293430679494185969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397784601,"filename":"image_23042025_10_41_05_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebb9e5a828cb20e366cbc3c527505936.jpg","text":"TemporaryFile(/tmp/multipartBody2883754879995353590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397784601,"filename":"image_23042025_10_41_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30fa4e5065fca103fe304ab2c58a1ab4.jpg","text":"TemporaryFile(/tmp/multipartBody126475929940216533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397784601,"filename":"image_23042025_10_41_24_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b51ccb4d5bef70c3e28edadab9b0a2d9.jpg","text":"TemporaryFile(/tmp/multipartBody8076457050020466981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397784601,"filename":"image_23042025_10_41_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44ca0946ae408ae7270b94a05d3ec88f.jpg","text":"TemporaryFile(/tmp/multipartBody5517088652814129366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397784601,"filename":"image_23042025_10_41_45_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993390","file1":"1352993384","file0":"1352993378","file4":"1352993400","file5":"1352993405","file3":"1352993396"},"map_files_photo_id_array":[{"photo_id":"1352993405","filename":"file5"},{"photo_id":"1352993390","filename":"file2"},{"photo_id":"1352993400","filename":"file4"},{"photo_id":"1352993384","filename":"file1"},{"photo_id":"1352993378","filename":"file0"},{"photo_id":"1352993396","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993405":["hashtag1","hashtag2"]},{"1352993400":["hashtag1","hashtag2"]},{"1352993396":["hashtag1","hashtag2"]},{"1352993390":["hashtag1","hashtag2"]},{"1352993384":["hashtag1","hashtag2"]},{"1352993378":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993405, 1352993400, 1352993396, 1352993390, 1352993384, 1352993378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.69965696334839 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:43:03.079149
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_45_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_35_9609.jpg', 2), ('/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_25_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_15_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/10/41/image_23042025_10_42_05_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_55_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_45_9632.jpg', '/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_35_9609.jpg', '/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_25_10636.jpg', '/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_15_9641.jpg', '/home/nano/Desktop/images/23042025/10/41/image_23042025_10_42_05_9628.jpg', '/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_55_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_45_9632.jpg
/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_35_9609.jpg
/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_25_10636.jpg
/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_15_9641.jpg
/home/nano/Desktop/images/23042025/10/41/image_23042025_10_42_05_9628.jpg
/home/nano/Desktop/images/23042025/10/41/image_23042025_10_41_55_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993450","1352993482","1352993470","1352993473","1352993476","1352993468"],"photo_ids_order":["1352993450","1352993468","1352993470","1352993473","1352993476","1352993482"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb8a9810ba765cf43b61782654e5fe1a.jpg","text":"TemporaryFile(/tmp/multipartBody5996239066023250373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397844641,"filename":"image_23042025_10_42_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38e28ae6fb0524e79945a6638bba14e3.jpg","text":"TemporaryFile(/tmp/multipartBody159908369072079543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397844641,"filename":"image_23042025_10_41_55_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc79406b421dd6f17198d6d8a1734862.jpg","text":"TemporaryFile(/tmp/multipartBody2806454613328651771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397844641,"filename":"image_23042025_10_42_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38fcbcbf348ef10cf25f025f4458c47e.jpg","text":"TemporaryFile(/tmp/multipartBody8085219953317492241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397844641,"filename":"image_23042025_10_42_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d1501cbaece1e3a95e1f78a589c307e.jpg","text":"TemporaryFile(/tmp/multipartBody6611469155353307535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397844641,"filename":"image_23042025_10_42_05_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/337583e621bcc4761fd0ce5f707aae26.jpg","text":"TemporaryFile(/tmp/multipartBody1167425757094489447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397844641,"filename":"image_23042025_10_42_35_9609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993470","file1":"1352993468","file0":"1352993450","file4":"1352993476","file5":"1352993482","file3":"1352993473"},"map_files_photo_id_array":[{"photo_id":"1352993482","filename":"file5"},{"photo_id":"1352993470","filename":"file2"},{"photo_id":"1352993476","filename":"file4"},{"photo_id":"1352993468","filename":"file1"},{"photo_id":"1352993450","filename":"file0"},{"photo_id":"1352993473","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993450":["hashtag1","hashtag2"]},{"1352993482":["hashtag1","hashtag2"]},{"1352993470":["hashtag1","hashtag2"]},{"1352993473":["hashtag1","hashtag2"]},{"1352993476":["hashtag1","hashtag2"]},{"1352993468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993450, 1352993482, 1352993470, 1352993473, 1352993476, 1352993468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39752244949341 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:44:03.163519
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_45_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_25_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_15_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/10/42/image_23042025_10_43_05_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_45_10671.jpg', '/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_35_9630.jpg', '/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_25_10659.jpg', '/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_15_9643.jpg', '/home/nano/Desktop/images/23042025/10/42/image_23042025_10_43_05_9657.jpg', '/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_45_10671.jpg
/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_35_9630.jpg
/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_25_10659.jpg
/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_15_9643.jpg
/home/nano/Desktop/images/23042025/10/42/image_23042025_10_43_05_9657.jpg
/home/nano/Desktop/images/23042025/10/42/image_23042025_10_42_55_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993615","1352993627","1352993620","1352993608","1352993597","1352993604"],"photo_ids_order":["1352993597","1352993604","1352993608","1352993615","1352993620","1352993627"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e276254c2e3a1025002dbc3205601d5d.jpg","text":"TemporaryFile(/tmp/multipartBody7289810874179109271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397904974,"filename":"image_23042025_10_43_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b1a7a47d709a964729e71a8f75a1e52.jpg","text":"TemporaryFile(/tmp/multipartBody1015702818419663002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397904974,"filename":"image_23042025_10_42_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18af994f0b4ad4d395a0909e57edcf91.jpg","text":"TemporaryFile(/tmp/multipartBody1209863469817286351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397904974,"filename":"image_23042025_10_43_05_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64ceb644c9f57f620103a0f9fbca7ba7.jpg","text":"TemporaryFile(/tmp/multipartBody1876193128521766079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397904974,"filename":"image_23042025_10_43_25_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f858baf6a4072b4fd6ffbf2d6cbfc6a2.jpg","text":"TemporaryFile(/tmp/multipartBody1973481826298690783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397904974,"filename":"image_23042025_10_43_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e9c2a8ce241683223d97b3088ee5f2e.jpg","text":"TemporaryFile(/tmp/multipartBody1628518795110611145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397904974,"filename":"image_23042025_10_43_35_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993608","file1":"1352993604","file0":"1352993597","file4":"1352993620","file5":"1352993627","file3":"1352993615"},"map_files_photo_id_array":[{"photo_id":"1352993627","filename":"file5"},{"photo_id":"1352993608","filename":"file2"},{"photo_id":"1352993620","filename":"file4"},{"photo_id":"1352993604","filename":"file1"},{"photo_id":"1352993597","filename":"file0"},{"photo_id":"1352993615","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993615":["hashtag1","hashtag2"]},{"1352993627":["hashtag1","hashtag2"]},{"1352993620":["hashtag1","hashtag2"]},{"1352993608":["hashtag1","hashtag2"]},{"1352993597":["hashtag1","hashtag2"]},{"1352993604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993615, 1352993627, 1352993620, 1352993608, 1352993597, 1352993604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.472086906433105 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:45:03.140975
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_45_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_35_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_25_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/43/image_23042025_10_44_05_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_55_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_45_10642.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_35_9655.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_25_9646.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_15_10671.jpg', '/home/nano/Desktop/images/23042025/10/43/image_23042025_10_44_05_9634.jpg', '/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_55_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_45_10642.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_35_9655.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_25_9646.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_15_10671.jpg
/home/nano/Desktop/images/23042025/10/43/image_23042025_10_44_05_9634.jpg
/home/nano/Desktop/images/23042025/10/43/image_23042025_10_43_55_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993662","1352993686","1352993668","1352993676","1352993690","1352993684"],"photo_ids_order":["1352993662","1352993668","1352993676","1352993684","1352993686","1352993690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8a6e48f1d707523c833998029741785.jpg","text":"TemporaryFile(/tmp/multipartBody2918123617843633158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397964503,"filename":"image_23042025_10_44_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1dc367a813e220aee7806df366511ff.jpg","text":"TemporaryFile(/tmp/multipartBody2151780052591422221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397964503,"filename":"image_23042025_10_44_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1a0f074e4ed996cfef4e12ca7eecac1.jpg","text":"TemporaryFile(/tmp/multipartBody3128114275914955427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397964503,"filename":"image_23042025_10_44_35_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d83f4ce6ec7babddcaa5eed9e4510118.jpg","text":"TemporaryFile(/tmp/multipartBody846747166200558648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397964503,"filename":"image_23042025_10_44_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5af97f4592b8eed85a71f7ca2591068.jpg","text":"TemporaryFile(/tmp/multipartBody871704267948751739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397964503,"filename":"image_23042025_10_43_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2bb791f10e1eeda25c7bb59eab1e33bb.jpg","text":"TemporaryFile(/tmp/multipartBody6390993939781995707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745397964503,"filename":"image_23042025_10_44_15_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993676","file1":"1352993668","file0":"1352993662","file4":"1352993686","file5":"1352993690","file3":"1352993684"},"map_files_photo_id_array":[{"photo_id":"1352993690","filename":"file5"},{"photo_id":"1352993676","filename":"file2"},{"photo_id":"1352993686","filename":"file4"},{"photo_id":"1352993668","filename":"file1"},{"photo_id":"1352993662","filename":"file0"},{"photo_id":"1352993684","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993662":["hashtag1","hashtag2"]},{"1352993686":["hashtag1","hashtag2"]},{"1352993668":["hashtag1","hashtag2"]},{"1352993676":["hashtag1","hashtag2"]},{"1352993690":["hashtag1","hashtag2"]},{"1352993684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993662, 1352993686, 1352993668, 1352993676, 1352993690, 1352993684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.98321723937988 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:46:03.178349
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_45_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_35_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_25_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_15_10689.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_45_05_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_45_10659.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_35_9625.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_25_9622.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_15_10689.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_45_05_9662.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_45_10659.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_35_9625.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_25_9622.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_15_10689.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_45_05_9662.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_55_9636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2537620067596436 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:46:32.657465
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_45_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_35_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_15_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_46_05_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_55_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_45_10641.jpg', '/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_35_9649.jpg', '/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_25_9636.jpg', '/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_15_10672.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_46_05_9670.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_55_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_45_10641.jpg
/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_35_9649.jpg
/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_25_9636.jpg
/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_15_10672.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_46_05_9670.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_55_9665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993813","1352993860","1352993807","1352993863","1352993830","1352993846"],"photo_ids_order":["1352993807","1352993813","1352993830","1352993846","1352993860","1352993863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6ec7954177bf06d5817f856eb913874.jpg","text":"TemporaryFile(/tmp/multipartBody1072727943946637649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398054099,"filename":"image_23042025_10_46_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28168dc1a04b9bd6cd0f8063bed9abec.jpg","text":"TemporaryFile(/tmp/multipartBody6009277419227434826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398054099,"filename":"image_23042025_10_46_05_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75b2cbec7dbebc055a73a485c41b7c89.jpg","text":"TemporaryFile(/tmp/multipartBody385434766141142866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398054099,"filename":"image_23042025_10_46_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc8dc4c89fa06cf7127c4d3818e82099.jpg","text":"TemporaryFile(/tmp/multipartBody117997868653572248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398054099,"filename":"image_23042025_10_45_55_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78b6e1017066ef2efc48656bfe4040ce.jpg","text":"TemporaryFile(/tmp/multipartBody9026407444006608124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398054099,"filename":"image_23042025_10_46_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f999918b50264a4c72cca9170c84b38f.jpg","text":"TemporaryFile(/tmp/multipartBody7994706684466478957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398054099,"filename":"image_23042025_10_46_15_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993830","file1":"1352993813","file0":"1352993807","file4":"1352993860","file5":"1352993863","file3":"1352993846"},"map_files_photo_id_array":[{"photo_id":"1352993863","filename":"file5"},{"photo_id":"1352993830","filename":"file2"},{"photo_id":"1352993860","filename":"file4"},{"photo_id":"1352993813","filename":"file1"},{"photo_id":"1352993807","filename":"file0"},{"photo_id":"1352993846","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993813":["hashtag1","hashtag2"]},{"1352993860":["hashtag1","hashtag2"]},{"1352993807":["hashtag1","hashtag2"]},{"1352993863":["hashtag1","hashtag2"]},{"1352993830":["hashtag1","hashtag2"]},{"1352993846":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993813, 1352993860, 1352993807, 1352993863, 1352993830, 1352993846)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.777493953704834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:47:31.781596
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_45_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_35_10631.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_15_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/10/46/image_23042025_10_47_05_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_55_9623.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_45_9635.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_35_10631.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_25_9636.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_15_10672.jpg', '/home/nano/Desktop/images/23042025/10/46/image_23042025_10_47_05_9656.jpg', '/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_55_9623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_45_9635.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_35_10631.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_25_9636.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_15_10672.jpg
/home/nano/Desktop/images/23042025/10/46/image_23042025_10_47_05_9656.jpg
/home/nano/Desktop/images/23042025/10/46/image_23042025_10_46_55_9623.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352993921","1352993903","1352993917","1352993911","1352993925","1352993897"],"photo_ids_order":["1352993897","1352993903","1352993911","1352993917","1352993921","1352993925"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46a04917b25139aa3d8df727d43b828d.jpg","text":"TemporaryFile(/tmp/multipartBody6911954973415188512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398113278,"filename":"image_23042025_10_47_05_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c11919a852546e3b77f7ceb4c700bc3.jpg","text":"TemporaryFile(/tmp/multipartBody3513554852642545519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398113278,"filename":"image_23042025_10_47_35_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f261f6b81195260a0e0675868a892b4b.jpg","text":"TemporaryFile(/tmp/multipartBody8105014443237634681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398113278,"filename":"image_23042025_10_47_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b19591ca8ba7aa33a5916210a09afef.jpg","text":"TemporaryFile(/tmp/multipartBody5416503325841233224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398113278,"filename":"image_23042025_10_47_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8efc4a6848bdd906115810a5815b336.jpg","text":"TemporaryFile(/tmp/multipartBody8441386066086185574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398113278,"filename":"image_23042025_10_46_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baee275613f0337ccbacd13401c857ff.jpg","text":"TemporaryFile(/tmp/multipartBody466591753784311885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398113278,"filename":"image_23042025_10_47_45_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352993911","file1":"1352993903","file0":"1352993897","file4":"1352993921","file5":"1352993925","file3":"1352993917"},"map_files_photo_id_array":[{"photo_id":"1352993925","filename":"file5"},{"photo_id":"1352993911","filename":"file2"},{"photo_id":"1352993921","filename":"file4"},{"photo_id":"1352993903","filename":"file1"},{"photo_id":"1352993897","filename":"file0"},{"photo_id":"1352993917","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352993921":["hashtag1","hashtag2"]},{"1352993903":["hashtag1","hashtag2"]},{"1352993917":["hashtag1","hashtag2"]},{"1352993911":["hashtag1","hashtag2"]},{"1352993925":["hashtag1","hashtag2"]},{"1352993897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352993921, 1352993903, 1352993917, 1352993911, 1352993925, 1352993897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.12490224838257 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:48:31.854101
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_45_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_35_9761.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_25_9819.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_15_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_48_05_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_55_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_45_9720.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_35_9761.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_25_9819.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_15_9778.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_48_05_10687.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_45_9720.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_35_9761.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_25_9819.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_15_9778.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_48_05_10687.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_55_9649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.812424898147583 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:49:02.974772
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_45_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_35_9761.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_25_9819.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_15_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_48_05_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_55_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_45_9720.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_35_9761.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_25_9819.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_15_9778.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_48_05_10687.jpg', '/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_55_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_45_9720.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_35_9761.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_25_9819.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_15_9778.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_48_05_10687.jpg
/home/nano/Desktop/images/23042025/10/47/image_23042025_10_47_55_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994413","1352994367","1352994415","1352994396","1352994296","1352994419"],"photo_ids_order":["1352994296","1352994367","1352994396","1352994413","1352994415","1352994419"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef72bad69990b6b7b092030d59ae8645.jpg","text":"TemporaryFile(/tmp/multipartBody5343350608409039571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398205006,"filename":"image_23042025_10_48_15_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/103d248e17bdc8ab0c9386455594053d.jpg","text":"TemporaryFile(/tmp/multipartBody6090765589090655901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398205006,"filename":"image_23042025_10_48_35_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35cd419a4c44a4758ac1887885ac056f.jpg","text":"TemporaryFile(/tmp/multipartBody7002157034119942138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398205006,"filename":"image_23042025_10_48_05_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0492ba37df8c787c6ada7ae78acdb8f.jpg","text":"TemporaryFile(/tmp/multipartBody2379537280661031435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398205006,"filename":"image_23042025_10_48_25_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d4b244f28c9db3f892fcc7c80009d4a.jpg","text":"TemporaryFile(/tmp/multipartBody4003325872347139389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398205006,"filename":"image_23042025_10_48_45_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b354dd59cdfd2ab330dbb3ebd117d210.jpg","text":"TemporaryFile(/tmp/multipartBody1667437156988909280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398205006,"filename":"image_23042025_10_47_55_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994396","file1":"1352994367","file0":"1352994296","file4":"1352994415","file5":"1352994419","file3":"1352994413"},"map_files_photo_id_array":[{"photo_id":"1352994419","filename":"file5"},{"photo_id":"1352994396","filename":"file2"},{"photo_id":"1352994415","filename":"file4"},{"photo_id":"1352994367","filename":"file1"},{"photo_id":"1352994296","filename":"file0"},{"photo_id":"1352994413","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994413":["hashtag1","hashtag2"]},{"1352994367":["hashtag1","hashtag2"]},{"1352994415":["hashtag1","hashtag2"]},{"1352994396":["hashtag1","hashtag2"]},{"1352994296":["hashtag1","hashtag2"]},{"1352994419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994413, 1352994367, 1352994415, 1352994396, 1352994296, 1352994419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12381887435913 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:50:02.550395
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_45_9779.jpg', 2), ('/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_35_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_25_9751.jpg', 2), ('/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_15_9760.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_49_05_9788.jpg', 2), ('/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_55_10783.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_45_9779.jpg', '/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_35_10752.jpg', '/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_25_9751.jpg', '/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_15_9760.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_49_05_9788.jpg', '/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_55_10783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_45_9779.jpg
/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_35_10752.jpg
/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_25_9751.jpg
/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_15_9760.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_49_05_9788.jpg
/home/nano/Desktop/images/23042025/10/48/image_23042025_10_48_55_10783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994475","1352994472","1352994460","1352994468","1352994465","1352994479"],"photo_ids_order":["1352994460","1352994465","1352994468","1352994472","1352994475","1352994479"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8868d40496dfee1fd7e3998dc9d2b6be.jpg","text":"TemporaryFile(/tmp/multipartBody5945525162663132245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398265289,"filename":"image_23042025_10_49_05_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f556aa7394d78ad5a74068205ccd3ef5.jpg","text":"TemporaryFile(/tmp/multipartBody4708215442228240472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398265289,"filename":"image_23042025_10_49_15_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41bad72dea1dd95d950d233fad2a6287.jpg","text":"TemporaryFile(/tmp/multipartBody4541629376505854375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398265289,"filename":"image_23042025_10_49_45_9779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41b6f6f6589eb603df39de1a966618bf.jpg","text":"TemporaryFile(/tmp/multipartBody5596438723966519405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398265289,"filename":"image_23042025_10_49_25_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22e19fc240343346a96028f0b90036a8.jpg","text":"TemporaryFile(/tmp/multipartBody8836249619418650907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398265289,"filename":"image_23042025_10_49_35_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1beac595c88b671796ff176024b3f6c2.jpg","text":"TemporaryFile(/tmp/multipartBody2541348090615895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398265289,"filename":"image_23042025_10_48_55_10783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994468","file1":"1352994465","file0":"1352994460","file4":"1352994475","file5":"1352994479","file3":"1352994472"},"map_files_photo_id_array":[{"photo_id":"1352994479","filename":"file5"},{"photo_id":"1352994468","filename":"file2"},{"photo_id":"1352994475","filename":"file4"},{"photo_id":"1352994465","filename":"file1"},{"photo_id":"1352994460","filename":"file0"},{"photo_id":"1352994472","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994475":["hashtag1","hashtag2"]},{"1352994472":["hashtag1","hashtag2"]},{"1352994460":["hashtag1","hashtag2"]},{"1352994468":["hashtag1","hashtag2"]},{"1352994465":["hashtag1","hashtag2"]},{"1352994479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994475, 1352994472, 1352994460, 1352994468, 1352994465, 1352994479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36823606491089 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:51:02.871093
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_45_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_35_9740.jpg', 2), ('/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_25_9794.jpg', 2), ('/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_15_10795.jpg', 2), ('/home/nano/Desktop/images/23042025/10/49/image_23042025_10_50_05_9751.jpg', 2), ('/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_55_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_45_9755.jpg', '/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_35_9740.jpg', '/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_25_9794.jpg', '/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_15_10795.jpg', '/home/nano/Desktop/images/23042025/10/49/image_23042025_10_50_05_9751.jpg', '/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_55_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_45_9755.jpg
/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_35_9740.jpg
/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_25_9794.jpg
/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_15_10795.jpg
/home/nano/Desktop/images/23042025/10/49/image_23042025_10_50_05_9751.jpg
/home/nano/Desktop/images/23042025/10/49/image_23042025_10_49_55_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994553","1352994547","1352994540","1352994543","1352994545","1352994530"],"photo_ids_order":["1352994530","1352994540","1352994543","1352994545","1352994547","1352994553"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72e1f21b1806c5299eb75598bc61a36a.jpg","text":"TemporaryFile(/tmp/multipartBody9045187027673159887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398325770,"filename":"image_23042025_10_49_55_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f7204c14c9852e4268077a0b33f6018.jpg","text":"TemporaryFile(/tmp/multipartBody357750090297062794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398325770,"filename":"image_23042025_10_50_05_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ee9ab7536867dc2e24b0aa9a226307a.jpg","text":"TemporaryFile(/tmp/multipartBody7603842035381228523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398325770,"filename":"image_23042025_10_50_35_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2dbb44682c51b21ecbd6257dd878c225.jpg","text":"TemporaryFile(/tmp/multipartBody2706835329111673008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398325770,"filename":"image_23042025_10_50_25_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10aac185c6b4e8ebafb1926cf532442e.jpg","text":"TemporaryFile(/tmp/multipartBody72992386345300460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398325770,"filename":"image_23042025_10_50_15_10795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94ea4d98825d0c4e7c7a81ded4ee3975.jpg","text":"TemporaryFile(/tmp/multipartBody4376812735223287077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398325770,"filename":"image_23042025_10_50_45_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994543","file1":"1352994540","file0":"1352994530","file4":"1352994547","file5":"1352994553","file3":"1352994545"},"map_files_photo_id_array":[{"photo_id":"1352994553","filename":"file5"},{"photo_id":"1352994543","filename":"file2"},{"photo_id":"1352994547","filename":"file4"},{"photo_id":"1352994540","filename":"file1"},{"photo_id":"1352994530","filename":"file0"},{"photo_id":"1352994545","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994553":["hashtag1","hashtag2"]},{"1352994547":["hashtag1","hashtag2"]},{"1352994540":["hashtag1","hashtag2"]},{"1352994543":["hashtag1","hashtag2"]},{"1352994545":["hashtag1","hashtag2"]},{"1352994530":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994553, 1352994547, 1352994540, 1352994543, 1352994545, 1352994530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.47015309333801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:52:02.857265
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_45_10753.jpg', 2), ('/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_35_9769.jpg', 2), ('/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_25_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_15_9774.jpg', 2), ('/home/nano/Desktop/images/23042025/10/50/image_23042025_10_51_05_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_55_10806.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_45_10753.jpg', '/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_35_9769.jpg', '/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_25_9755.jpg', '/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_15_9774.jpg', '/home/nano/Desktop/images/23042025/10/50/image_23042025_10_51_05_9784.jpg', '/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_55_10806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_45_10753.jpg
/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_35_9769.jpg
/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_25_9755.jpg
/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_15_9774.jpg
/home/nano/Desktop/images/23042025/10/50/image_23042025_10_51_05_9784.jpg
/home/nano/Desktop/images/23042025/10/50/image_23042025_10_50_55_10806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994611","1352994637","1352994619","1352994632","1352994629","1352994623"],"photo_ids_order":["1352994611","1352994619","1352994623","1352994629","1352994632","1352994637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5606c45d7f3ae790a09664a2292d588.jpg","text":"TemporaryFile(/tmp/multipartBody4039909876461233002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398385464,"filename":"image_23042025_10_51_45_10753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e57ab6b35a37dc592e5018d428c456b7.jpg","text":"TemporaryFile(/tmp/multipartBody2648924750267996962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398385464,"filename":"image_23042025_10_50_55_10806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcee11ab432d04b5a754a9b5a2470c4e.jpg","text":"TemporaryFile(/tmp/multipartBody5321277248274009107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398385464,"filename":"image_23042025_10_51_35_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25f5dacc3c65a3329e3fcda75f388809.jpg","text":"TemporaryFile(/tmp/multipartBody7416936554718567907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398385464,"filename":"image_23042025_10_51_05_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/caf6bf93a41bcaedafae5d32713c7e00.jpg","text":"TemporaryFile(/tmp/multipartBody2625839246992504933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398385464,"filename":"image_23042025_10_51_15_9774.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9937a2f5602a6231e0c292ab1e5fe728.jpg","text":"TemporaryFile(/tmp/multipartBody5369780792818657312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398385464,"filename":"image_23042025_10_51_25_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994623","file1":"1352994619","file0":"1352994611","file4":"1352994632","file5":"1352994637","file3":"1352994629"},"map_files_photo_id_array":[{"photo_id":"1352994637","filename":"file5"},{"photo_id":"1352994623","filename":"file2"},{"photo_id":"1352994632","filename":"file4"},{"photo_id":"1352994619","filename":"file1"},{"photo_id":"1352994611","filename":"file0"},{"photo_id":"1352994629","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994611":["hashtag1","hashtag2"]},{"1352994637":["hashtag1","hashtag2"]},{"1352994619":["hashtag1","hashtag2"]},{"1352994632":["hashtag1","hashtag2"]},{"1352994629":["hashtag1","hashtag2"]},{"1352994623":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994611, 1352994637, 1352994619, 1352994632, 1352994629, 1352994623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.17078232765198 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:53:02.982530
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_45_9766.jpg', 2), ('/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_35_10842.jpg', 2), ('/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_25_9789.jpg', 2), ('/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_15_9761.jpg', 2), ('/home/nano/Desktop/images/23042025/10/51/image_23042025_10_52_05_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_55_9951.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_45_9766.jpg', '/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_35_10842.jpg', '/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_25_9789.jpg', '/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_15_9761.jpg', '/home/nano/Desktop/images/23042025/10/51/image_23042025_10_52_05_9778.jpg', '/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_55_9951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_45_9766.jpg
/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_35_10842.jpg
/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_25_9789.jpg
/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_15_9761.jpg
/home/nano/Desktop/images/23042025/10/51/image_23042025_10_52_05_9778.jpg
/home/nano/Desktop/images/23042025/10/51/image_23042025_10_51_55_9951.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994748","1352994763","1352994757","1352994758","1352994743","1352994752"],"photo_ids_order":["1352994743","1352994748","1352994752","1352994757","1352994758","1352994763"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb258db656123997797f47f165b552ab.jpg","text":"TemporaryFile(/tmp/multipartBody2439125631996290017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398445625,"filename":"image_23042025_10_52_35_10842.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5ed5698d43c8ad5065eca127c406762.jpg","text":"TemporaryFile(/tmp/multipartBody7930248955822035322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398445625,"filename":"image_23042025_10_51_55_9951.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5ad0ad91894638a87f7bda7b651b5b3.jpg","text":"TemporaryFile(/tmp/multipartBody9169470791861490700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398445625,"filename":"image_23042025_10_52_15_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c9b90cd8cf7f56ccf2076c570a99068.jpg","text":"TemporaryFile(/tmp/multipartBody224634812100585311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398445625,"filename":"image_23042025_10_52_05_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce6ab5e4dc7441c7368e06e0f5e637c6.jpg","text":"TemporaryFile(/tmp/multipartBody6561651793575260785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398445625,"filename":"image_23042025_10_52_45_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43fab48f8fa4c8eef215fb4b2abb632d.jpg","text":"TemporaryFile(/tmp/multipartBody9188641030454436634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398445625,"filename":"image_23042025_10_52_25_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994752","file1":"1352994748","file0":"1352994743","file4":"1352994758","file5":"1352994763","file3":"1352994757"},"map_files_photo_id_array":[{"photo_id":"1352994763","filename":"file5"},{"photo_id":"1352994752","filename":"file2"},{"photo_id":"1352994758","filename":"file4"},{"photo_id":"1352994748","filename":"file1"},{"photo_id":"1352994743","filename":"file0"},{"photo_id":"1352994757","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994748":["hashtag1","hashtag2"]},{"1352994763":["hashtag1","hashtag2"]},{"1352994757":["hashtag1","hashtag2"]},{"1352994758":["hashtag1","hashtag2"]},{"1352994743":["hashtag1","hashtag2"]},{"1352994752":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994748, 1352994763, 1352994757, 1352994758, 1352994743, 1352994752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.15429425239563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:54:03.400626
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_45_9762.jpg', 2), ('/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_35_9773.jpg', 2), ('/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_25_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_16_10834.jpg', 2), ('/home/nano/Desktop/images/23042025/10/52/image_23042025_10_53_05_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_55_9755.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_45_9762.jpg', '/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_35_9773.jpg', '/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_25_9781.jpg', '/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_16_10834.jpg', '/home/nano/Desktop/images/23042025/10/52/image_23042025_10_53_05_9691.jpg', '/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_55_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_45_9762.jpg
/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_35_9773.jpg
/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_25_9781.jpg
/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_16_10834.jpg
/home/nano/Desktop/images/23042025/10/52/image_23042025_10_53_05_9691.jpg
/home/nano/Desktop/images/23042025/10/52/image_23042025_10_52_55_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994949","1352994798","1352994933","1352994794","1352994953","1352994947"],"photo_ids_order":["1352994794","1352994798","1352994933","1352994947","1352994949","1352994953"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5aed741dde58acec13d5ea01687c00b9.jpg","text":"TemporaryFile(/tmp/multipartBody432578894194783400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398506166,"filename":"image_23042025_10_53_05_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f867ee4779f3a6e17b9adb8c91e0ec4.jpg","text":"TemporaryFile(/tmp/multipartBody8551112774868293506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398506166,"filename":"image_23042025_10_53_35_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42a7293f321e8c9085e60ec5f2e1029f.jpg","text":"TemporaryFile(/tmp/multipartBody2041007978022421103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398506166,"filename":"image_23042025_10_53_25_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ea9c724ac23064fc803db89295cd27a.jpg","text":"TemporaryFile(/tmp/multipartBody3001907995461039776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398506166,"filename":"image_23042025_10_53_45_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b09c5abb2369310d1b4d9e1b5b33d1b.jpg","text":"TemporaryFile(/tmp/multipartBody6640596951955638569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398506166,"filename":"image_23042025_10_52_55_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19570bee048989c21936e527ff80f9b7.jpg","text":"TemporaryFile(/tmp/multipartBody6729275564713419775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398506166,"filename":"image_23042025_10_53_16_10834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994933","file1":"1352994798","file0":"1352994794","file4":"1352994949","file5":"1352994953","file3":"1352994947"},"map_files_photo_id_array":[{"photo_id":"1352994953","filename":"file5"},{"photo_id":"1352994933","filename":"file2"},{"photo_id":"1352994949","filename":"file4"},{"photo_id":"1352994798","filename":"file1"},{"photo_id":"1352994794","filename":"file0"},{"photo_id":"1352994947","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994949":["hashtag1","hashtag2"]},{"1352994798":["hashtag1","hashtag2"]},{"1352994933":["hashtag1","hashtag2"]},{"1352994794":["hashtag1","hashtag2"]},{"1352994953":["hashtag1","hashtag2"]},{"1352994947":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994949, 1352994798, 1352994933, 1352994794, 1352994953, 1352994947)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25364327430725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:55:03.031787
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_45_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_35_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_25_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_15_9776.jpg', 2), ('/home/nano/Desktop/images/23042025/10/53/image_23042025_10_54_05_10796.jpg', 2), ('/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_55_9782.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_45_10671.jpg', '/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_35_9713.jpg', '/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_25_9653.jpg', '/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_15_9776.jpg', '/home/nano/Desktop/images/23042025/10/53/image_23042025_10_54_05_10796.jpg', '/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_55_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_45_10671.jpg
/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_35_9713.jpg
/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_25_9653.jpg
/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_15_9776.jpg
/home/nano/Desktop/images/23042025/10/53/image_23042025_10_54_05_10796.jpg
/home/nano/Desktop/images/23042025/10/53/image_23042025_10_53_55_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352994991","1352995006","1352994987","1352994999","1352995002","1352994995"],"photo_ids_order":["1352994987","1352994991","1352994995","1352994999","1352995002","1352995006"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0191fc719c132aa6922adc4128bf4f11.jpg","text":"TemporaryFile(/tmp/multipartBody949637693477757216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398564818,"filename":"image_23042025_10_54_35_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a723da40790aaad4677729148b8a459.jpg","text":"TemporaryFile(/tmp/multipartBody7381664725098260269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398564818,"filename":"image_23042025_10_53_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4bbf5dcf2d98b89fb63bb23dea03a21.jpg","text":"TemporaryFile(/tmp/multipartBody3149708384005389023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398564818,"filename":"image_23042025_10_54_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/836ec2cd84309b5a35250c7cd517bf6c.jpg","text":"TemporaryFile(/tmp/multipartBody7700074524958558760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398564818,"filename":"image_23042025_10_54_15_9776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/788a89daa3a1d4a5fcfdaf380f7a1cee.jpg","text":"TemporaryFile(/tmp/multipartBody7561968614688326292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398564818,"filename":"image_23042025_10_54_05_10796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/749fb80661b291013b91d25846e18143.jpg","text":"TemporaryFile(/tmp/multipartBody6060491410427159787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398564818,"filename":"image_23042025_10_54_25_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352994995","file1":"1352994991","file0":"1352994987","file4":"1352995002","file5":"1352995006","file3":"1352994999"},"map_files_photo_id_array":[{"photo_id":"1352995006","filename":"file5"},{"photo_id":"1352994995","filename":"file2"},{"photo_id":"1352995002","filename":"file4"},{"photo_id":"1352994991","filename":"file1"},{"photo_id":"1352994987","filename":"file0"},{"photo_id":"1352994999","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352994991":["hashtag1","hashtag2"]},{"1352995006":["hashtag1","hashtag2"]},{"1352994987":["hashtag1","hashtag2"]},{"1352994999":["hashtag1","hashtag2"]},{"1352995002":["hashtag1","hashtag2"]},{"1352994995":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352994991, 1352995006, 1352994987, 1352994999, 1352995002, 1352994995)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.14873194694519 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:56:02.395982
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_45_9613.jpg', 2), ('/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_35_10623.jpg', 2), ('/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_25_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_15_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/54/image_23042025_10_55_05_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_55_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_45_9613.jpg', '/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_35_10623.jpg', '/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_25_9645.jpg', '/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_15_9638.jpg', '/home/nano/Desktop/images/23042025/10/54/image_23042025_10_55_05_10643.jpg', '/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_55_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_45_9613.jpg
/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_35_10623.jpg
/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_25_9645.jpg
/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_15_9638.jpg
/home/nano/Desktop/images/23042025/10/54/image_23042025_10_55_05_10643.jpg
/home/nano/Desktop/images/23042025/10/54/image_23042025_10_54_55_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352995048","1352995057","1352995086","1352995081","1352995090","1352995078"],"photo_ids_order":["1352995048","1352995057","1352995078","1352995081","1352995086","1352995090"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/503ecef6f29cbf08af99d552efe8303a.jpg","text":"TemporaryFile(/tmp/multipartBody4869705471322260279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398623459,"filename":"image_23042025_10_55_45_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9d57dcbdf61f0df29787e00b5e9c165.jpg","text":"TemporaryFile(/tmp/multipartBody4276044432530640523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398623459,"filename":"image_23042025_10_55_35_10623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fb1abb98454f20e9a7b25ceee82cf7e.jpg","text":"TemporaryFile(/tmp/multipartBody7092672458068770142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398623459,"filename":"image_23042025_10_55_05_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cf953d06c590bd171999430c324b43d.jpg","text":"TemporaryFile(/tmp/multipartBody1886354244402677146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398623459,"filename":"image_23042025_10_55_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baee1db89d17fd69d1cee89a54d349ad.jpg","text":"TemporaryFile(/tmp/multipartBody7126370528774272756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398623459,"filename":"image_23042025_10_54_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3acf70602f4ec5a3ff19c0b65709713.jpg","text":"TemporaryFile(/tmp/multipartBody6944558386850276884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398623459,"filename":"image_23042025_10_55_25_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352995078","file1":"1352995057","file0":"1352995048","file4":"1352995086","file5":"1352995090","file3":"1352995081"},"map_files_photo_id_array":[{"photo_id":"1352995090","filename":"file5"},{"photo_id":"1352995078","filename":"file2"},{"photo_id":"1352995086","filename":"file4"},{"photo_id":"1352995057","filename":"file1"},{"photo_id":"1352995048","filename":"file0"},{"photo_id":"1352995081","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352995048":["hashtag1","hashtag2"]},{"1352995057":["hashtag1","hashtag2"]},{"1352995086":["hashtag1","hashtag2"]},{"1352995081":["hashtag1","hashtag2"]},{"1352995090":["hashtag1","hashtag2"]},{"1352995078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352995048, 1352995057, 1352995086, 1352995081, 1352995090, 1352995078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29627346992493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:57:02.513416
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_45_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_35_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_25_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_15_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/10/55/image_23042025_10_56_05_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_55_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_45_9621.jpg', '/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_35_10628.jpg', '/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_25_9628.jpg', '/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_15_9654.jpg', '/home/nano/Desktop/images/23042025/10/55/image_23042025_10_56_05_10635.jpg', '/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_55_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_45_9621.jpg
/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_35_10628.jpg
/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_25_9628.jpg
/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_15_9654.jpg
/home/nano/Desktop/images/23042025/10/55/image_23042025_10_56_05_10635.jpg
/home/nano/Desktop/images/23042025/10/55/image_23042025_10_55_55_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352995168","1352995132","1352995135","1352995173","1352995170","1352995160"],"photo_ids_order":["1352995132","1352995135","1352995160","1352995168","1352995170","1352995173"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a070fc26172e8a80d017d062274fffa5.jpg","text":"TemporaryFile(/tmp/multipartBody1076439410440358655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398683551,"filename":"image_23042025_10_56_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e49373de250ab6f4c0e63777f8b94d17.jpg","text":"TemporaryFile(/tmp/multipartBody2381712269081479149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398683551,"filename":"image_23042025_10_56_45_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a44978f7a9c4765612376f42a538b425.jpg","text":"TemporaryFile(/tmp/multipartBody2990350985214959269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398683551,"filename":"image_23042025_10_56_35_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0852e4f44a638f9f9db6526436f3d0f4.jpg","text":"TemporaryFile(/tmp/multipartBody1393368759523925689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398683551,"filename":"image_23042025_10_55_55_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dceeb3216188a4cbec1ba7b66d74897b.jpg","text":"TemporaryFile(/tmp/multipartBody7402884549893197610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398683551,"filename":"image_23042025_10_56_05_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc0609a0a0b2a081a9c8bd2851b9b1af.jpg","text":"TemporaryFile(/tmp/multipartBody8640269335171919811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398683551,"filename":"image_23042025_10_56_25_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352995160","file1":"1352995135","file0":"1352995132","file4":"1352995170","file5":"1352995173","file3":"1352995168"},"map_files_photo_id_array":[{"photo_id":"1352995173","filename":"file5"},{"photo_id":"1352995160","filename":"file2"},{"photo_id":"1352995170","filename":"file4"},{"photo_id":"1352995135","filename":"file1"},{"photo_id":"1352995132","filename":"file0"},{"photo_id":"1352995168","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352995168":["hashtag1","hashtag2"]},{"1352995132":["hashtag1","hashtag2"]},{"1352995135":["hashtag1","hashtag2"]},{"1352995173":["hashtag1","hashtag2"]},{"1352995170":["hashtag1","hashtag2"]},{"1352995160":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352995168, 1352995132, 1352995135, 1352995173, 1352995170, 1352995160)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.133851528167725 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:58:32.029651
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_35_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_25_10630.jpg', 2), ('/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_15_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/56/image_23042025_10_57_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_55_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_45_9648.jpg', '/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_35_9620.jpg', '/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_25_10630.jpg', '/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_15_9647.jpg', '/home/nano/Desktop/images/23042025/10/56/image_23042025_10_57_05_9638.jpg', '/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_55_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_45_9648.jpg
/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_35_9620.jpg
/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_25_10630.jpg
/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_15_9647.jpg
/home/nano/Desktop/images/23042025/10/56/image_23042025_10_57_05_9638.jpg
/home/nano/Desktop/images/23042025/10/56/image_23042025_10_56_55_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352995773","1352995680","1352995707","1352995649","1352995736","1352995825"],"photo_ids_order":["1352995649","1352995680","1352995707","1352995736","1352995773","1352995825"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09573567dffb59c10d0a8a0b8ea47556.jpg","text":"TemporaryFile(/tmp/multipartBody481109355310430201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398773451,"filename":"image_23042025_10_57_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ea17862d279a06a460a116dbfa9a5e8.jpg","text":"TemporaryFile(/tmp/multipartBody1732737903867998053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398773451,"filename":"image_23042025_10_57_35_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94a86bfd11389a3109e3f412de7e75ed.jpg","text":"TemporaryFile(/tmp/multipartBody2490172005057812123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398773451,"filename":"image_23042025_10_57_25_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/820f1bfd28aaf97a1299df5fb7b2ca4b.jpg","text":"TemporaryFile(/tmp/multipartBody6262682946319013686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398773451,"filename":"image_23042025_10_57_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2473e7a341da9b5322dbf59c8250784e.jpg","text":"TemporaryFile(/tmp/multipartBody5533375167332015884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398773451,"filename":"image_23042025_10_57_15_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c109314b718c9df2eb7d1ced8dca949a.jpg","text":"TemporaryFile(/tmp/multipartBody3184740105915449391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398773451,"filename":"image_23042025_10_56_55_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352995707","file1":"1352995680","file0":"1352995649","file4":"1352995773","file5":"1352995825","file3":"1352995736"},"map_files_photo_id_array":[{"photo_id":"1352995825","filename":"file5"},{"photo_id":"1352995707","filename":"file2"},{"photo_id":"1352995773","filename":"file4"},{"photo_id":"1352995680","filename":"file1"},{"photo_id":"1352995649","filename":"file0"},{"photo_id":"1352995736","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352995773":["hashtag1","hashtag2"]},{"1352995680":["hashtag1","hashtag2"]},{"1352995707":["hashtag1","hashtag2"]},{"1352995649":["hashtag1","hashtag2"]},{"1352995736":["hashtag1","hashtag2"]},{"1352995825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352995773, 1352995680, 1352995707, 1352995649, 1352995736, 1352995825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.08577847480774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 10:59:32.129791
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_35_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_15_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/10/58/image_23042025_10_59_05_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_45_10647.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_35_9645.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_25_9637.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_15_10629.jpg', '/home/nano/Desktop/images/23042025/10/58/image_23042025_10_59_05_9644.jpg', '/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_45_10647.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_35_9645.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_25_9637.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_15_10629.jpg
/home/nano/Desktop/images/23042025/10/58/image_23042025_10_59_05_9644.jpg
/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352996391","1352996346","1352996280","1352996435","1352996251","1352996311"],"photo_ids_order":["1352996251","1352996280","1352996311","1352996346","1352996391","1352996435"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00eb987ad952428a552e8be3d20c6852.jpg","text":"TemporaryFile(/tmp/multipartBody2890551102105547116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398833755,"filename":"image_23042025_10_59_05_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02b0d6c0caf3490771ba29aae6ff38c7.jpg","text":"TemporaryFile(/tmp/multipartBody3260439445805325717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398833755,"filename":"image_23042025_10_59_15_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3407aa36739408aa0b9e5b211bd01b4.jpg","text":"TemporaryFile(/tmp/multipartBody213888359777537028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398833755,"filename":"image_23042025_10_59_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2469f040be9b1a24d07161d2143d575.jpg","text":"TemporaryFile(/tmp/multipartBody3514387653186131375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398833755,"filename":"image_23042025_10_58_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/186c5c16f976324b9d37afb5a1d91572.jpg","text":"TemporaryFile(/tmp/multipartBody1261067202771763895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398833755,"filename":"image_23042025_10_59_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e80cfab8420b33185a48d007c4a6d82.jpg","text":"TemporaryFile(/tmp/multipartBody6930146629676059227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398833755,"filename":"image_23042025_10_59_25_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352996311","file1":"1352996280","file0":"1352996251","file4":"1352996391","file5":"1352996435","file3":"1352996346"},"map_files_photo_id_array":[{"photo_id":"1352996435","filename":"file5"},{"photo_id":"1352996311","filename":"file2"},{"photo_id":"1352996391","filename":"file4"},{"photo_id":"1352996280","filename":"file1"},{"photo_id":"1352996251","filename":"file0"},{"photo_id":"1352996346","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352996391":["hashtag1","hashtag2"]},{"1352996346":["hashtag1","hashtag2"]},{"1352996280":["hashtag1","hashtag2"]},{"1352996435":["hashtag1","hashtag2"]},{"1352996251":["hashtag1","hashtag2"]},{"1352996311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352996391, 1352996346, 1352996280, 1352996435, 1352996251, 1352996311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98592829704285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:00:32.221170
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_45_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_15_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_11_00_05_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_45_10629.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_35_9626.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_25_9637.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_15_10655.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_11_00_05_9644.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_45_10629.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_35_9626.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_25_9637.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_15_10655.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_11_00_05_9644.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_55_9627.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.3253157138824463 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:01:02.971154
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_45_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_15_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_11_00_05_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_45_10629.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_35_9626.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_25_9637.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_15_10655.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_11_00_05_9644.jpg', '/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_45_10629.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_35_9626.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_25_9637.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_15_10655.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_11_00_05_9644.jpg
/home/nano/Desktop/images/23042025/10/59/image_23042025_10_59_55_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352996958","1352997134","1352996846","1352996900","1352997019","1352997084"],"photo_ids_order":["1352996846","1352996900","1352996958","1352997019","1352997084","1352997134"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e44adf9958cb617469de8cd6192ee666.jpg","text":"TemporaryFile(/tmp/multipartBody1422885328813382541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398924487,"filename":"image_23042025_11_00_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a504a5be0dff6c78c82bb8e73f6983ee.jpg","text":"TemporaryFile(/tmp/multipartBody2018203737272640937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398924487,"filename":"image_23042025_10_59_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbb29a9ace4a35d702a0de9f130bf18c.jpg","text":"TemporaryFile(/tmp/multipartBody7725461040607562921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398924487,"filename":"image_23042025_11_00_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c3e4b3497fdeb0ffd602324c65d051d.jpg","text":"TemporaryFile(/tmp/multipartBody7722385171892755565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398924487,"filename":"image_23042025_11_00_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2acb9f4766c81dd15ebc7ef109de571.jpg","text":"TemporaryFile(/tmp/multipartBody389918550505484829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398924487,"filename":"image_23042025_11_00_15_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ab28b174c9b4f81111896f02504b47e.jpg","text":"TemporaryFile(/tmp/multipartBody7192538485562056995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398924487,"filename":"image_23042025_11_00_05_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352996958","file1":"1352996900","file0":"1352996846","file4":"1352997084","file5":"1352997134","file3":"1352997019"},"map_files_photo_id_array":[{"photo_id":"1352997134","filename":"file5"},{"photo_id":"1352996958","filename":"file2"},{"photo_id":"1352997084","filename":"file4"},{"photo_id":"1352996900","filename":"file1"},{"photo_id":"1352996846","filename":"file0"},{"photo_id":"1352997019","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352996958":["hashtag1","hashtag2"]},{"1352997134":["hashtag1","hashtag2"]},{"1352996846":["hashtag1","hashtag2"]},{"1352996900":["hashtag1","hashtag2"]},{"1352997019":["hashtag1","hashtag2"]},{"1352997084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352996958, 1352997134, 1352996846, 1352996900, 1352997019, 1352997084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57277154922485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:02:02.952840
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_45_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_35_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_25_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_15_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_01_05_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_45_9637.jpg', '/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_35_10646.jpg', '/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_25_9638.jpg', '/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_15_9629.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_01_05_10638.jpg', '/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_45_9637.jpg
/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_35_10646.jpg
/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_25_9638.jpg
/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_15_9629.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_01_05_10638.jpg
/home/nano/Desktop/images/23042025/11/00/image_23042025_11_00_55_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997377","1352997386","1352997382","1352997390","1352997372","1352997396"],"photo_ids_order":["1352997372","1352997377","1352997382","1352997386","1352997390","1352997396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e64d1d6283d4285d5c6a189ce4f6db5f.jpg","text":"TemporaryFile(/tmp/multipartBody4454105971320620204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398984664,"filename":"image_23042025_11_01_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79f1282133ec8f3ece49e0f2733a6036.jpg","text":"TemporaryFile(/tmp/multipartBody9157253415147960965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398984664,"filename":"image_23042025_11_01_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7d28f6b9afa2a012485a8f7499b1032.jpg","text":"TemporaryFile(/tmp/multipartBody5113300306846520801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398984664,"filename":"image_23042025_11_01_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17f95403f8e12b61140d6cd101aeb838.jpg","text":"TemporaryFile(/tmp/multipartBody9140428212892580916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398984664,"filename":"image_23042025_11_01_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2237ed71b1dd38f91928ae2224290d6.jpg","text":"TemporaryFile(/tmp/multipartBody2946069425325188416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398984664,"filename":"image_23042025_11_01_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/774909ddffbb55cc7fd3ebac5aaa8776.jpg","text":"TemporaryFile(/tmp/multipartBody8676230940614248168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745398984664,"filename":"image_23042025_11_00_55_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997382","file1":"1352997377","file0":"1352997372","file4":"1352997390","file5":"1352997396","file3":"1352997386"},"map_files_photo_id_array":[{"photo_id":"1352997396","filename":"file5"},{"photo_id":"1352997382","filename":"file2"},{"photo_id":"1352997390","filename":"file4"},{"photo_id":"1352997377","filename":"file1"},{"photo_id":"1352997372","filename":"file0"},{"photo_id":"1352997386","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997377":["hashtag1","hashtag2"]},{"1352997386":["hashtag1","hashtag2"]},{"1352997382":["hashtag1","hashtag2"]},{"1352997390":["hashtag1","hashtag2"]},{"1352997372":["hashtag1","hashtag2"]},{"1352997396":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997377, 1352997386, 1352997382, 1352997390, 1352997372, 1352997396)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.000577211380005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:03:03.329596
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_45_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_35_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_25_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_15_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/11/01/image_23042025_11_02_05_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_55_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_45_9629.jpg', '/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_35_10636.jpg', '/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_25_9620.jpg', '/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_15_9631.jpg', '/home/nano/Desktop/images/23042025/11/01/image_23042025_11_02_05_10666.jpg', '/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_55_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_45_9629.jpg
/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_35_10636.jpg
/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_25_9620.jpg
/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_15_9631.jpg
/home/nano/Desktop/images/23042025/11/01/image_23042025_11_02_05_10666.jpg
/home/nano/Desktop/images/23042025/11/01/image_23042025_11_01_55_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997450","1352997444","1352997455","1352997436","1352997447","1352997441"],"photo_ids_order":["1352997436","1352997441","1352997444","1352997447","1352997450","1352997455"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd455b48100ed45dc7a713d4472ab589.jpg","text":"TemporaryFile(/tmp/multipartBody8541958124790252409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399045049,"filename":"image_23042025_11_02_05_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/441ee82d1e9fd76184aa68ae5eea8eea.jpg","text":"TemporaryFile(/tmp/multipartBody4535069666762461911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399045049,"filename":"image_23042025_11_02_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7b95ec2c103fac6f400e17d89c33137.jpg","text":"TemporaryFile(/tmp/multipartBody1707395328570511106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399045049,"filename":"image_23042025_11_01_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56853369402a47b7b7c3d0754b2f1e9a.jpg","text":"TemporaryFile(/tmp/multipartBody8634448244779222202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399045049,"filename":"image_23042025_11_02_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1375b192862e33ab5899b4af9e28ed6.jpg","text":"TemporaryFile(/tmp/multipartBody1054506562387690292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399045049,"filename":"image_23042025_11_02_15_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f44fe79b6390c9d114b87bf2876a69a.jpg","text":"TemporaryFile(/tmp/multipartBody8692489176347974093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399045049,"filename":"image_23042025_11_02_35_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997444","file1":"1352997441","file0":"1352997436","file4":"1352997450","file5":"1352997455","file3":"1352997447"},"map_files_photo_id_array":[{"photo_id":"1352997455","filename":"file5"},{"photo_id":"1352997444","filename":"file2"},{"photo_id":"1352997450","filename":"file4"},{"photo_id":"1352997441","filename":"file1"},{"photo_id":"1352997436","filename":"file0"},{"photo_id":"1352997447","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997450":["hashtag1","hashtag2"]},{"1352997444":["hashtag1","hashtag2"]},{"1352997455":["hashtag1","hashtag2"]},{"1352997436":["hashtag1","hashtag2"]},{"1352997447":["hashtag1","hashtag2"]},{"1352997441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997450, 1352997444, 1352997455, 1352997436, 1352997447, 1352997441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.191134452819824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:04:03.380212
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_45_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_35_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_25_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_15_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/02/image_23042025_11_03_05_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_55_10639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_45_9623.jpg', '/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_35_9644.jpg', '/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_25_10642.jpg', '/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_15_9640.jpg', '/home/nano/Desktop/images/23042025/11/02/image_23042025_11_03_05_9629.jpg', '/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_55_10639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_45_9623.jpg
/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_35_9644.jpg
/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_25_10642.jpg
/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_15_9640.jpg
/home/nano/Desktop/images/23042025/11/02/image_23042025_11_03_05_9629.jpg
/home/nano/Desktop/images/23042025/11/02/image_23042025_11_02_55_10639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997494","1352997507","1352997485","1352997499","1352997490","1352997514"],"photo_ids_order":["1352997485","1352997490","1352997494","1352997499","1352997507","1352997514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12d77caf902cbafd3239322509465d71.jpg","text":"TemporaryFile(/tmp/multipartBody5968141610929264202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399105262,"filename":"image_23042025_11_03_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f426464d9d7d9058d3d139cbf639f50a.jpg","text":"TemporaryFile(/tmp/multipartBody8060669724804007619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399105262,"filename":"image_23042025_11_03_05_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfcf6b9bc3a624df7f680ed54533ab83.jpg","text":"TemporaryFile(/tmp/multipartBody6481682219410580052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399105262,"filename":"image_23042025_11_03_45_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/866388b44bf36e4e74fea27c39ee1798.jpg","text":"TemporaryFile(/tmp/multipartBody5906931251369174288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399105262,"filename":"image_23042025_11_03_15_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1471877719b7c3f29db7c9cb96a208f.jpg","text":"TemporaryFile(/tmp/multipartBody7867726683601319491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399105262,"filename":"image_23042025_11_03_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/127a1a4e5b45b093d9cce31e1825be98.jpg","text":"TemporaryFile(/tmp/multipartBody5983405243877857529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399105262,"filename":"image_23042025_11_02_55_10639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997494","file1":"1352997490","file0":"1352997485","file4":"1352997507","file5":"1352997514","file3":"1352997499"},"map_files_photo_id_array":[{"photo_id":"1352997514","filename":"file5"},{"photo_id":"1352997494","filename":"file2"},{"photo_id":"1352997507","filename":"file4"},{"photo_id":"1352997490","filename":"file1"},{"photo_id":"1352997485","filename":"file0"},{"photo_id":"1352997499","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997494":["hashtag1","hashtag2"]},{"1352997507":["hashtag1","hashtag2"]},{"1352997485":["hashtag1","hashtag2"]},{"1352997499":["hashtag1","hashtag2"]},{"1352997490":["hashtag1","hashtag2"]},{"1352997514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997494, 1352997507, 1352997485, 1352997499, 1352997490, 1352997514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90351939201355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:05:03.461098
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_45_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_25_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/11/03/image_23042025_11_04_05_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_55_10633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_45_10645.jpg', '/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_35_9630.jpg', '/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_25_10644.jpg', '/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_15_9642.jpg', '/home/nano/Desktop/images/23042025/11/03/image_23042025_11_04_05_9645.jpg', '/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_55_10633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_45_10645.jpg
/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_35_9630.jpg
/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_25_10644.jpg
/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_15_9642.jpg
/home/nano/Desktop/images/23042025/11/03/image_23042025_11_04_05_9645.jpg
/home/nano/Desktop/images/23042025/11/03/image_23042025_11_03_55_10633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997609","1352997575","1352997584","1352997620","1352997602","1352997580"],"photo_ids_order":["1352997575","1352997580","1352997584","1352997602","1352997609","1352997620"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18a08e9d1c8de562175679c7248b400a.jpg","text":"TemporaryFile(/tmp/multipartBody476629699993717763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399165312,"filename":"image_23042025_11_04_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3358ae9f7ff3524169bcbbed72aa585.jpg","text":"TemporaryFile(/tmp/multipartBody2283025395109104337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399165312,"filename":"image_23042025_11_04_45_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3154e3ae98f68501807b18bf2ec5fa41.jpg","text":"TemporaryFile(/tmp/multipartBody6091496726562493819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399165312,"filename":"image_23042025_11_04_25_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9508473834ab35c24da02896d3a09fb.jpg","text":"TemporaryFile(/tmp/multipartBody3260466804023093463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399165312,"filename":"image_23042025_11_03_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/901908f9209706f5209f2b930a721824.jpg","text":"TemporaryFile(/tmp/multipartBody4917684816633102389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399165312,"filename":"image_23042025_11_04_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51a93ff75edceb3fd4b709147d59e512.jpg","text":"TemporaryFile(/tmp/multipartBody3715276991421076932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399165312,"filename":"image_23042025_11_04_35_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997584","file1":"1352997580","file0":"1352997575","file4":"1352997609","file5":"1352997620","file3":"1352997602"},"map_files_photo_id_array":[{"photo_id":"1352997620","filename":"file5"},{"photo_id":"1352997584","filename":"file2"},{"photo_id":"1352997609","filename":"file4"},{"photo_id":"1352997580","filename":"file1"},{"photo_id":"1352997575","filename":"file0"},{"photo_id":"1352997602","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997609":["hashtag1","hashtag2"]},{"1352997575":["hashtag1","hashtag2"]},{"1352997584":["hashtag1","hashtag2"]},{"1352997620":["hashtag1","hashtag2"]},{"1352997602":["hashtag1","hashtag2"]},{"1352997580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997609, 1352997575, 1352997584, 1352997620, 1352997602, 1352997580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24925947189331 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:06:02.243038
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_45_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_35_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_25_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_15_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/11/04/image_23042025_11_05_05_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_45_10643.jpg', '/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_35_9641.jpg', '/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_25_9633.jpg', '/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_15_10652.jpg', '/home/nano/Desktop/images/23042025/11/04/image_23042025_11_05_05_9641.jpg', '/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_45_10643.jpg
/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_35_9641.jpg
/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_25_9633.jpg
/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_15_10652.jpg
/home/nano/Desktop/images/23042025/11/04/image_23042025_11_05_05_9641.jpg
/home/nano/Desktop/images/23042025/11/04/image_23042025_11_04_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997677","1352997668","1352997673","1352997652","1352997663","1352997660"],"photo_ids_order":["1352997652","1352997660","1352997663","1352997668","1352997673","1352997677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed0ce90499c2e8260e2f2f66cfdb3bf4.jpg","text":"TemporaryFile(/tmp/multipartBody355403187484743867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399223493,"filename":"image_23042025_11_04_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0b115f723e7fb972a5c26bd7c4609c9.jpg","text":"TemporaryFile(/tmp/multipartBody3413306256138315021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399223493,"filename":"image_23042025_11_05_15_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45459d182cf0ef0749d2951db04ec72e.jpg","text":"TemporaryFile(/tmp/multipartBody3367896854877702005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399223493,"filename":"image_23042025_11_05_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81402c5784f021fb01cafdfc614ab0da.jpg","text":"TemporaryFile(/tmp/multipartBody6016096096810700750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399223493,"filename":"image_23042025_11_05_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd49d67d221e2d6a0b5ae969229dfe72.jpg","text":"TemporaryFile(/tmp/multipartBody6209773178546247518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399223493,"filename":"image_23042025_11_05_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81d7fff5f33005d3e72df6c383793b3c.jpg","text":"TemporaryFile(/tmp/multipartBody7484945782886478425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399223493,"filename":"image_23042025_11_05_35_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997663","file1":"1352997660","file0":"1352997652","file4":"1352997673","file5":"1352997677","file3":"1352997668"},"map_files_photo_id_array":[{"photo_id":"1352997677","filename":"file5"},{"photo_id":"1352997663","filename":"file2"},{"photo_id":"1352997673","filename":"file4"},{"photo_id":"1352997660","filename":"file1"},{"photo_id":"1352997652","filename":"file0"},{"photo_id":"1352997668","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997677":["hashtag1","hashtag2"]},{"1352997668":["hashtag1","hashtag2"]},{"1352997673":["hashtag1","hashtag2"]},{"1352997652":["hashtag1","hashtag2"]},{"1352997663":["hashtag1","hashtag2"]},{"1352997660":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997677, 1352997668, 1352997673, 1352997652, 1352997663, 1352997660)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.297135591506958 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:07:02.522595
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_45_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_25_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_15_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/05/image_23042025_11_06_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_55_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_45_10639.jpg', '/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_35_9626.jpg', '/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_25_9671.jpg', '/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_15_10656.jpg', '/home/nano/Desktop/images/23042025/11/05/image_23042025_11_06_05_9638.jpg', '/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_55_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_45_10639.jpg
/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_35_9626.jpg
/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_25_9671.jpg
/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_15_10656.jpg
/home/nano/Desktop/images/23042025/11/05/image_23042025_11_06_05_9638.jpg
/home/nano/Desktop/images/23042025/11/05/image_23042025_11_05_55_9624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997711","1352997776","1352997790","1352997784","1352997721","1352997780"],"photo_ids_order":["1352997711","1352997721","1352997776","1352997780","1352997784","1352997790"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/261b3e9f23531cace0606aa970b0fb48.jpg","text":"TemporaryFile(/tmp/multipartBody5264210519161306229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399284223,"filename":"image_23042025_11_06_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abc12763fee17682a5b446e68e8e8541.jpg","text":"TemporaryFile(/tmp/multipartBody1667251872935178980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399284223,"filename":"image_23042025_11_06_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf5050e0dc6ebbd9b5fa0b956c76da5b.jpg","text":"TemporaryFile(/tmp/multipartBody6313143204053703147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399284223,"filename":"image_23042025_11_05_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48d6e06c9c52d71bc588c6d2b43c5e2d.jpg","text":"TemporaryFile(/tmp/multipartBody8798584055968426143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399284223,"filename":"image_23042025_11_06_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b06ad90f6c2aa38edf3512251236e103.jpg","text":"TemporaryFile(/tmp/multipartBody6611740556763486470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399284223,"filename":"image_23042025_11_06_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3df859d382f902d7d93fe59f56386178.jpg","text":"TemporaryFile(/tmp/multipartBody1018435985613917247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399284223,"filename":"image_23042025_11_06_15_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997776","file1":"1352997721","file0":"1352997711","file4":"1352997784","file5":"1352997790","file3":"1352997780"},"map_files_photo_id_array":[{"photo_id":"1352997790","filename":"file5"},{"photo_id":"1352997776","filename":"file2"},{"photo_id":"1352997784","filename":"file4"},{"photo_id":"1352997721","filename":"file1"},{"photo_id":"1352997711","filename":"file0"},{"photo_id":"1352997780","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997711":["hashtag1","hashtag2"]},{"1352997776":["hashtag1","hashtag2"]},{"1352997790":["hashtag1","hashtag2"]},{"1352997784":["hashtag1","hashtag2"]},{"1352997721":["hashtag1","hashtag2"]},{"1352997780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997711, 1352997776, 1352997790, 1352997784, 1352997721, 1352997780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95557522773743 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:08:02.615779
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_45_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_35_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_25_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_15_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/06/image_23042025_11_07_05_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_45_9629.jpg', '/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_35_10640.jpg', '/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_25_9632.jpg', '/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_15_9637.jpg', '/home/nano/Desktop/images/23042025/11/06/image_23042025_11_07_05_10646.jpg', '/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_45_9629.jpg
/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_35_10640.jpg
/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_25_9632.jpg
/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_15_9637.jpg
/home/nano/Desktop/images/23042025/11/06/image_23042025_11_07_05_10646.jpg
/home/nano/Desktop/images/23042025/11/06/image_23042025_11_06_55_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352997933","1352997941","1352997944","1352997938","1352997928","1352997951"],"photo_ids_order":["1352997928","1352997933","1352997938","1352997941","1352997944","1352997951"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c4c9fb8440eca67c24ab66ac57d4f8c.jpg","text":"TemporaryFile(/tmp/multipartBody3277013826143189520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399343915,"filename":"image_23042025_11_07_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7884b66f7fac6aa3375e248d12485d1.jpg","text":"TemporaryFile(/tmp/multipartBody4799966063278878771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399343915,"filename":"image_23042025_11_07_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f4c7f9d76b4710a6a62b2d80aa30a3d.jpg","text":"TemporaryFile(/tmp/multipartBody1898004417109435548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399343915,"filename":"image_23042025_11_07_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5ea1042b0f58e65e063f531e98b024c.jpg","text":"TemporaryFile(/tmp/multipartBody1622630827018389057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399343915,"filename":"image_23042025_11_07_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61c796a8651385f256872613a65f2646.jpg","text":"TemporaryFile(/tmp/multipartBody764120407381691667asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399343915,"filename":"image_23042025_11_07_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/527d2546205ec7cb661390be50e9c69a.jpg","text":"TemporaryFile(/tmp/multipartBody1484441721034599573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399343915,"filename":"image_23042025_11_06_55_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352997938","file1":"1352997933","file0":"1352997928","file4":"1352997944","file5":"1352997951","file3":"1352997941"},"map_files_photo_id_array":[{"photo_id":"1352997951","filename":"file5"},{"photo_id":"1352997938","filename":"file2"},{"photo_id":"1352997944","filename":"file4"},{"photo_id":"1352997933","filename":"file1"},{"photo_id":"1352997928","filename":"file0"},{"photo_id":"1352997941","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352997933":["hashtag1","hashtag2"]},{"1352997941":["hashtag1","hashtag2"]},{"1352997944":["hashtag1","hashtag2"]},{"1352997938":["hashtag1","hashtag2"]},{"1352997928":["hashtag1","hashtag2"]},{"1352997951":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352997933, 1352997941, 1352997944, 1352997938, 1352997928, 1352997951)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0745735168457 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:09:03.076505
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_45_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_35_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_25_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_15_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/11/07/image_23042025_11_08_05_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_45_9624.jpg', '/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_35_10640.jpg', '/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_25_9624.jpg', '/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_15_9625.jpg', '/home/nano/Desktop/images/23042025/11/07/image_23042025_11_08_05_10656.jpg', '/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_45_9624.jpg
/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_35_10640.jpg
/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_25_9624.jpg
/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_15_9625.jpg
/home/nano/Desktop/images/23042025/11/07/image_23042025_11_08_05_10656.jpg
/home/nano/Desktop/images/23042025/11/07/image_23042025_11_07_55_9635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352998200","1352998190","1352998169","1352998162","1352998141","1352998179"],"photo_ids_order":["1352998141","1352998162","1352998169","1352998179","1352998190","1352998200"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f551c6ea38c010cde7b69299ae6acfd.jpg","text":"TemporaryFile(/tmp/multipartBody9113061945852325178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399405255,"filename":"image_23042025_11_07_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0476c880212b215eff6637cb07cba9f5.jpg","text":"TemporaryFile(/tmp/multipartBody3138236865607493360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399405255,"filename":"image_23042025_11_08_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fb618a005a13bd3fb4723d498489141.jpg","text":"TemporaryFile(/tmp/multipartBody3131967676901266748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399405255,"filename":"image_23042025_11_08_25_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4a3f4560bd658c408d59b103b0d2ba5.jpg","text":"TemporaryFile(/tmp/multipartBody2726094350879392759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399405255,"filename":"image_23042025_11_08_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13edc81d3873bb5f2bb23bda25fefe5e.jpg","text":"TemporaryFile(/tmp/multipartBody628971518624390918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399405255,"filename":"image_23042025_11_08_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86cc260e0753844cae79841dcdddc923.jpg","text":"TemporaryFile(/tmp/multipartBody2969570894810357137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399405255,"filename":"image_23042025_11_08_15_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352998169","file1":"1352998162","file0":"1352998141","file4":"1352998190","file5":"1352998200","file3":"1352998179"},"map_files_photo_id_array":[{"photo_id":"1352998200","filename":"file5"},{"photo_id":"1352998169","filename":"file2"},{"photo_id":"1352998190","filename":"file4"},{"photo_id":"1352998162","filename":"file1"},{"photo_id":"1352998141","filename":"file0"},{"photo_id":"1352998179","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352998200":["hashtag1","hashtag2"]},{"1352998190":["hashtag1","hashtag2"]},{"1352998169":["hashtag1","hashtag2"]},{"1352998162":["hashtag1","hashtag2"]},{"1352998141":["hashtag1","hashtag2"]},{"1352998179":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352998200, 1352998190, 1352998169, 1352998162, 1352998141, 1352998179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10941743850708 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:10:02.746412
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_25_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_15_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/11/08/image_23042025_11_09_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_55_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_45_9634.jpg', '/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_35_9637.jpg', '/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_25_10641.jpg', '/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_15_9663.jpg', '/home/nano/Desktop/images/23042025/11/08/image_23042025_11_09_05_9642.jpg', '/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_55_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_45_9634.jpg
/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_35_9637.jpg
/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_25_10641.jpg
/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_15_9663.jpg
/home/nano/Desktop/images/23042025/11/08/image_23042025_11_09_05_9642.jpg
/home/nano/Desktop/images/23042025/11/08/image_23042025_11_08_55_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352998541","1352998430","1352998597","1352998372","1352998312","1352998482"],"photo_ids_order":["1352998312","1352998372","1352998430","1352998482","1352998541","1352998597"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4ca23980a077eaa51caa6f651e1162e.jpg","text":"TemporaryFile(/tmp/multipartBody8953248857485576278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399464327,"filename":"image_23042025_11_09_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d4aa26cf57c241b0c10eff106b0e4b6.jpg","text":"TemporaryFile(/tmp/multipartBody8795446730737016364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399464327,"filename":"image_23042025_11_09_25_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b753dafebf40da6a5b46efb301493b4d.jpg","text":"TemporaryFile(/tmp/multipartBody707919656594599604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399464327,"filename":"image_23042025_11_08_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a7ea3dd4aa36fe447cfa2415eff4abd.jpg","text":"TemporaryFile(/tmp/multipartBody5206626407238109730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399464327,"filename":"image_23042025_11_09_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eef0e057fdb4fe8f2e21f74933b43509.jpg","text":"TemporaryFile(/tmp/multipartBody7831717720453737162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399464327,"filename":"image_23042025_11_09_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f71aa42767a31c5b45f3ff5608370d21.jpg","text":"TemporaryFile(/tmp/multipartBody6316496913104582459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399464327,"filename":"image_23042025_11_09_15_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352998430","file1":"1352998372","file0":"1352998312","file4":"1352998541","file5":"1352998597","file3":"1352998482"},"map_files_photo_id_array":[{"photo_id":"1352998597","filename":"file5"},{"photo_id":"1352998430","filename":"file2"},{"photo_id":"1352998541","filename":"file4"},{"photo_id":"1352998372","filename":"file1"},{"photo_id":"1352998312","filename":"file0"},{"photo_id":"1352998482","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352998541":["hashtag1","hashtag2"]},{"1352998430":["hashtag1","hashtag2"]},{"1352998597":["hashtag1","hashtag2"]},{"1352998372":["hashtag1","hashtag2"]},{"1352998312":["hashtag1","hashtag2"]},{"1352998482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352998541, 1352998430, 1352998597, 1352998372, 1352998312, 1352998482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92514204978943 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:11:02.975307
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_35_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_25_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_15_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/09/image_23042025_11_10_05_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_55_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_45_9641.jpg', '/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_35_9640.jpg', '/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_25_10671.jpg', '/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_15_9669.jpg', '/home/nano/Desktop/images/23042025/11/09/image_23042025_11_10_05_9647.jpg', '/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_55_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_45_9641.jpg
/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_35_9640.jpg
/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_25_10671.jpg
/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_15_9669.jpg
/home/nano/Desktop/images/23042025/11/09/image_23042025_11_10_05_9647.jpg
/home/nano/Desktop/images/23042025/11/09/image_23042025_11_09_55_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352998805","1352998780","1352998762","1352998756","1352998800","1352998784"],"photo_ids_order":["1352998756","1352998762","1352998780","1352998784","1352998800","1352998805"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d30885c247eb65e63443e8e872bac9b.jpg","text":"TemporaryFile(/tmp/multipartBody5583786359006249404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399524666,"filename":"image_23042025_11_09_55_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdcdde72354f84394d42390cd99426f5.jpg","text":"TemporaryFile(/tmp/multipartBody7944777107662726852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399524666,"filename":"image_23042025_11_10_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fed20394b045f0e1f58221898e8c2a2b.jpg","text":"TemporaryFile(/tmp/multipartBody165689088232342014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399524666,"filename":"image_23042025_11_10_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/163b85926e93e4487f8561d18245de26.jpg","text":"TemporaryFile(/tmp/multipartBody4521733389595549282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399524666,"filename":"image_23042025_11_10_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c70eb8a5b955400cf9f67bb12eb3f822.jpg","text":"TemporaryFile(/tmp/multipartBody4872254882889446927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399524666,"filename":"image_23042025_11_10_05_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da01a1d325781fd3fc6ab2e41fd4e4a1.jpg","text":"TemporaryFile(/tmp/multipartBody443591161464377091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399524666,"filename":"image_23042025_11_10_15_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352998780","file1":"1352998762","file0":"1352998756","file4":"1352998800","file5":"1352998805","file3":"1352998784"},"map_files_photo_id_array":[{"photo_id":"1352998805","filename":"file5"},{"photo_id":"1352998780","filename":"file2"},{"photo_id":"1352998800","filename":"file4"},{"photo_id":"1352998762","filename":"file1"},{"photo_id":"1352998756","filename":"file0"},{"photo_id":"1352998784","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352998805":["hashtag1","hashtag2"]},{"1352998780":["hashtag1","hashtag2"]},{"1352998762":["hashtag1","hashtag2"]},{"1352998756":["hashtag1","hashtag2"]},{"1352998800":["hashtag1","hashtag2"]},{"1352998784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352998805, 1352998780, 1352998762, 1352998756, 1352998800, 1352998784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.2044620513916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:12:03.005788
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_45_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_35_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_25_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_15_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/10/image_23042025_11_11_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_45_10671.jpg', '/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_35_9646.jpg', '/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_25_10650.jpg', '/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_15_9650.jpg', '/home/nano/Desktop/images/23042025/11/10/image_23042025_11_11_05_9650.jpg', '/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_45_10671.jpg
/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_35_9646.jpg
/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_25_10650.jpg
/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_15_9650.jpg
/home/nano/Desktop/images/23042025/11/10/image_23042025_11_11_05_9650.jpg
/home/nano/Desktop/images/23042025/11/10/image_23042025_11_10_55_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352998946","1352998943","1352998927","1352998950","1352998923","1352998895"],"photo_ids_order":["1352998895","1352998923","1352998927","1352998943","1352998946","1352998950"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ccec7ef32bcdfad128ed91a88bbf911.jpg","text":"TemporaryFile(/tmp/multipartBody7840054938660522855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399584236,"filename":"image_23042025_11_11_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/566b80e7be86dde79913ab549ea85732.jpg","text":"TemporaryFile(/tmp/multipartBody6966047373019682457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399584236,"filename":"image_23042025_11_11_15_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3cd51462cdcf554c18610d6927676bf0.jpg","text":"TemporaryFile(/tmp/multipartBody5113279135202213237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399584236,"filename":"image_23042025_11_11_25_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1811c1a1c11e776b8624648b5d74beca.jpg","text":"TemporaryFile(/tmp/multipartBody7821254936482980930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399584236,"filename":"image_23042025_11_10_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a5abec4f257ca40b4510d1313cda506.jpg","text":"TemporaryFile(/tmp/multipartBody2984251247863173361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399584236,"filename":"image_23042025_11_11_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24a4227823ba421d73ef56c5290ceec8.jpg","text":"TemporaryFile(/tmp/multipartBody3482215244510823981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399584236,"filename":"image_23042025_11_11_45_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352998927","file1":"1352998923","file0":"1352998895","file4":"1352998946","file5":"1352998950","file3":"1352998943"},"map_files_photo_id_array":[{"photo_id":"1352998950","filename":"file5"},{"photo_id":"1352998927","filename":"file2"},{"photo_id":"1352998946","filename":"file4"},{"photo_id":"1352998923","filename":"file1"},{"photo_id":"1352998895","filename":"file0"},{"photo_id":"1352998943","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352998946":["hashtag1","hashtag2"]},{"1352998943":["hashtag1","hashtag2"]},{"1352998927":["hashtag1","hashtag2"]},{"1352998950":["hashtag1","hashtag2"]},{"1352998923":["hashtag1","hashtag2"]},{"1352998895":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352998946, 1352998943, 1352998927, 1352998950, 1352998923, 1352998895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.785505771636963 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:13:03.242710
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_45_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_25_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_15_10598.jpg', 2), ('/home/nano/Desktop/images/23042025/11/11/image_23042025_11_12_05_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_55_9558.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_45_9562.jpg', '/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_35_10571.jpg', '/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_25_9574.jpg', '/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_15_10598.jpg', '/home/nano/Desktop/images/23042025/11/11/image_23042025_11_12_05_9579.jpg', '/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_55_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_45_9562.jpg
/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_35_10571.jpg
/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_25_9574.jpg
/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_15_10598.jpg
/home/nano/Desktop/images/23042025/11/11/image_23042025_11_12_05_9579.jpg
/home/nano/Desktop/images/23042025/11/11/image_23042025_11_11_55_9558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352999048","1352999042","1352999062","1352999056","1352999055","1352999058"],"photo_ids_order":["1352999042","1352999048","1352999055","1352999056","1352999058","1352999062"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b21279bf42f8eef76e08b4fd9001123.jpg","text":"TemporaryFile(/tmp/multipartBody6528026378198505944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399644252,"filename":"image_23042025_11_12_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45862c8f5c0586e99ed79a6ab21e612a.jpg","text":"TemporaryFile(/tmp/multipartBody3577145992306034050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399644252,"filename":"image_23042025_11_12_45_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/026a6b63add68b735b6744128d6a30ba.jpg","text":"TemporaryFile(/tmp/multipartBody2335664867390894208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399644252,"filename":"image_23042025_11_11_55_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/642ab69581be0a00d3f4a51d6f74f94a.jpg","text":"TemporaryFile(/tmp/multipartBody2948989204272473774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399644252,"filename":"image_23042025_11_12_15_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df5fb265e24923929ed4b702d106c17e.jpg","text":"TemporaryFile(/tmp/multipartBody3223578692977537328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399644252,"filename":"image_23042025_11_12_25_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4ec8b1334756bff797cb911e7199d85.jpg","text":"TemporaryFile(/tmp/multipartBody2412925998501524068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399644252,"filename":"image_23042025_11_12_05_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352999055","file1":"1352999048","file0":"1352999042","file4":"1352999058","file5":"1352999062","file3":"1352999056"},"map_files_photo_id_array":[{"photo_id":"1352999062","filename":"file5"},{"photo_id":"1352999055","filename":"file2"},{"photo_id":"1352999058","filename":"file4"},{"photo_id":"1352999048","filename":"file1"},{"photo_id":"1352999042","filename":"file0"},{"photo_id":"1352999056","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352999048":["hashtag1","hashtag2"]},{"1352999042":["hashtag1","hashtag2"]},{"1352999062":["hashtag1","hashtag2"]},{"1352999056":["hashtag1","hashtag2"]},{"1352999055":["hashtag1","hashtag2"]},{"1352999058":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352999048, 1352999042, 1352999062, 1352999056, 1352999055, 1352999058)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.426414251327515 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:14:03.650989
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_45_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_35_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_25_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_15_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/11/12/image_23042025_11_13_05_10787.jpg', 2), ('/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_55_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_45_9677.jpg', '/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_35_10657.jpg', '/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_25_9714.jpg', '/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_15_9679.jpg', '/home/nano/Desktop/images/23042025/11/12/image_23042025_11_13_05_10787.jpg', '/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_55_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_45_9677.jpg
/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_35_10657.jpg
/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_25_9714.jpg
/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_15_9679.jpg
/home/nano/Desktop/images/23042025/11/12/image_23042025_11_13_05_10787.jpg
/home/nano/Desktop/images/23042025/11/12/image_23042025_11_12_55_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352999147","1352999392","1352999233","1352999376","1352999385","1352999192"],"photo_ids_order":["1352999147","1352999192","1352999233","1352999376","1352999385","1352999392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b83e9808f9dca2271eb98e42f8236e90.jpg","text":"TemporaryFile(/tmp/multipartBody1683552192194043765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399705720,"filename":"image_23042025_11_13_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b0fdf140f190827acdfb82a68872d99.jpg","text":"TemporaryFile(/tmp/multipartBody723992401961276518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399705720,"filename":"image_23042025_11_12_55_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a65f287228e926e2491b059a2aadb94.jpg","text":"TemporaryFile(/tmp/multipartBody8034248955288934117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399705720,"filename":"image_23042025_11_13_25_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1ac89bf1ffaa7da3c062efba4fc5b5c.jpg","text":"TemporaryFile(/tmp/multipartBody6517094919098658379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399705720,"filename":"image_23042025_11_13_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4eb29c70962cf3fc2280cc6a54b47ee5.jpg","text":"TemporaryFile(/tmp/multipartBody5607062004601099366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399705720,"filename":"image_23042025_11_13_05_10787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e91c2c1dc91ce1a65b3dc738770b5261.jpg","text":"TemporaryFile(/tmp/multipartBody2374974776989169428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399705720,"filename":"image_23042025_11_13_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352999233","file1":"1352999192","file0":"1352999147","file4":"1352999385","file5":"1352999392","file3":"1352999376"},"map_files_photo_id_array":[{"photo_id":"1352999392","filename":"file5"},{"photo_id":"1352999233","filename":"file2"},{"photo_id":"1352999385","filename":"file4"},{"photo_id":"1352999192","filename":"file1"},{"photo_id":"1352999147","filename":"file0"},{"photo_id":"1352999376","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352999147":["hashtag1","hashtag2"]},{"1352999392":["hashtag1","hashtag2"]},{"1352999233":["hashtag1","hashtag2"]},{"1352999376":["hashtag1","hashtag2"]},{"1352999385":["hashtag1","hashtag2"]},{"1352999192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352999147, 1352999392, 1352999233, 1352999376, 1352999385, 1352999192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8418185710907 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:15:02.440530
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_45_10706.jpg', 2), ('/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_35_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_25_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_15_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/11/13/image_23042025_11_14_05_10715.jpg', 2), ('/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_55_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_45_10706.jpg', '/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_35_9690.jpg', '/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_25_9651.jpg', '/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_15_9696.jpg', '/home/nano/Desktop/images/23042025/11/13/image_23042025_11_14_05_10715.jpg', '/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_55_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_45_10706.jpg
/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_35_9690.jpg
/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_25_9651.jpg
/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_15_9696.jpg
/home/nano/Desktop/images/23042025/11/13/image_23042025_11_14_05_10715.jpg
/home/nano/Desktop/images/23042025/11/13/image_23042025_11_13_55_9691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1352999761","1352999691","1352999524","1352999637","1352999565","1352999727"],"photo_ids_order":["1352999524","1352999565","1352999637","1352999691","1352999727","1352999761"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c65e9f215e38403e7d2cb64fb93834cf.jpg","text":"TemporaryFile(/tmp/multipartBody5617323559169198093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399764521,"filename":"image_23042025_11_13_55_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f40f69821a9f2ab36f98d0a1a81279f1.jpg","text":"TemporaryFile(/tmp/multipartBody8206569834192484619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399764521,"filename":"image_23042025_11_14_15_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6782ec6a3d9c418bbe192f1e5f79a702.jpg","text":"TemporaryFile(/tmp/multipartBody1008798565452182435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399764521,"filename":"image_23042025_11_14_45_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c42a3af0c9cbc9db58bae1fbfba80b6.jpg","text":"TemporaryFile(/tmp/multipartBody3398915220862026110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399764521,"filename":"image_23042025_11_14_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5e4f2a9cf54813cef8c3cfc5e1f5572.jpg","text":"TemporaryFile(/tmp/multipartBody1227053025389384375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399764521,"filename":"image_23042025_11_14_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6910fe1069c297e75d95853064f8fd92.jpg","text":"TemporaryFile(/tmp/multipartBody4730920191468078256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399764521,"filename":"image_23042025_11_14_05_10715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1352999637","file1":"1352999565","file0":"1352999524","file4":"1352999727","file5":"1352999761","file3":"1352999691"},"map_files_photo_id_array":[{"photo_id":"1352999761","filename":"file5"},{"photo_id":"1352999637","filename":"file2"},{"photo_id":"1352999727","filename":"file4"},{"photo_id":"1352999565","filename":"file1"},{"photo_id":"1352999524","filename":"file0"},{"photo_id":"1352999691","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1352999761":["hashtag1","hashtag2"]},{"1352999691":["hashtag1","hashtag2"]},{"1352999524":["hashtag1","hashtag2"]},{"1352999637":["hashtag1","hashtag2"]},{"1352999565":["hashtag1","hashtag2"]},{"1352999727":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1352999761, 1352999691, 1352999524, 1352999637, 1352999565, 1352999727)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.06843280792236 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:16:02.424312
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_45_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_35_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_25_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_15_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/11/14/image_23042025_11_15_04_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_45_9636.jpg', '/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_35_10654.jpg', '/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_25_9635.jpg', '/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_15_10675.jpg', '/home/nano/Desktop/images/23042025/11/14/image_23042025_11_15_04_9630.jpg', '/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_45_9636.jpg
/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_35_10654.jpg
/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_25_9635.jpg
/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_15_10675.jpg
/home/nano/Desktop/images/23042025/11/14/image_23042025_11_15_04_9630.jpg
/home/nano/Desktop/images/23042025/11/14/image_23042025_11_14_55_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353000390","1353000354","1353000336","1353000295","1353000385","1353000367"],"photo_ids_order":["1353000295","1353000336","1353000354","1353000367","1353000385","1353000390"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be537bdc7d383da1ed0a620450d28b67.jpg","text":"TemporaryFile(/tmp/multipartBody2538284125645030842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399824100,"filename":"image_23042025_11_14_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/767dfe796a7fd2411ad286da496951fd.jpg","text":"TemporaryFile(/tmp/multipartBody1769489585235232546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399824100,"filename":"image_23042025_11_15_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d2d6d049a984c41bf54c443b378bd9a.jpg","text":"TemporaryFile(/tmp/multipartBody819079805510135812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399824100,"filename":"image_23042025_11_15_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9756e630d58424a5af3cdf786a21cd89.jpg","text":"TemporaryFile(/tmp/multipartBody9169701329655281928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399824100,"filename":"image_23042025_11_15_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcc8ede8bd395794fbd289e5a34c7f38.jpg","text":"TemporaryFile(/tmp/multipartBody497834901300170917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399824100,"filename":"image_23042025_11_15_04_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d16f151bd610fde317be73107cf16597.jpg","text":"TemporaryFile(/tmp/multipartBody2655291841446366132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399824100,"filename":"image_23042025_11_15_15_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353000354","file1":"1353000336","file0":"1353000295","file4":"1353000385","file5":"1353000390","file3":"1353000367"},"map_files_photo_id_array":[{"photo_id":"1353000390","filename":"file5"},{"photo_id":"1353000354","filename":"file2"},{"photo_id":"1353000385","filename":"file4"},{"photo_id":"1353000336","filename":"file1"},{"photo_id":"1353000295","filename":"file0"},{"photo_id":"1353000367","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353000390":["hashtag1","hashtag2"]},{"1353000354":["hashtag1","hashtag2"]},{"1353000336":["hashtag1","hashtag2"]},{"1353000295":["hashtag1","hashtag2"]},{"1353000385":["hashtag1","hashtag2"]},{"1353000367":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353000390, 1353000354, 1353000336, 1353000295, 1353000385, 1353000367)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59101152420044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:17:02.530954
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_45_10816.jpg', 2), ('/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_35_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_25_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_15_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/11/15/image_23042025_11_16_05_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_55_9782.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_45_10816.jpg', '/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_35_9683.jpg', '/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_25_9754.jpg', '/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_15_10673.jpg', '/home/nano/Desktop/images/23042025/11/15/image_23042025_11_16_05_9675.jpg', '/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_55_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_45_10816.jpg
/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_35_9683.jpg
/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_25_9754.jpg
/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_15_10673.jpg
/home/nano/Desktop/images/23042025/11/15/image_23042025_11_16_05_9675.jpg
/home/nano/Desktop/images/23042025/11/15/image_23042025_11_15_55_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353000540","1353000564","1353000525","1353000548","1353000532","1353000529"],"photo_ids_order":["1353000525","1353000529","1353000532","1353000540","1353000548","1353000564"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47c579ce48225fbe3caeac52f18b4ab0.jpg","text":"TemporaryFile(/tmp/multipartBody8993856077248928152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399884225,"filename":"image_23042025_11_16_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90a56845b4efe6b0419f2fdd81c2db97.jpg","text":"TemporaryFile(/tmp/multipartBody7896756306268744813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399884225,"filename":"image_23042025_11_15_55_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51343967e78f51caa23f2c5a5ca37655.jpg","text":"TemporaryFile(/tmp/multipartBody7790919421613392704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399884225,"filename":"image_23042025_11_16_45_10816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e44ae671d6b50a41b6d9d7f9c718e6d.jpg","text":"TemporaryFile(/tmp/multipartBody3536115441655790687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399884225,"filename":"image_23042025_11_16_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5feb40ce264c4be132b443e8315af323.jpg","text":"TemporaryFile(/tmp/multipartBody7699130810577745549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399884225,"filename":"image_23042025_11_16_25_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e973cfb2cf408511179d95419338909.jpg","text":"TemporaryFile(/tmp/multipartBody6988319012431936734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399884225,"filename":"image_23042025_11_16_35_9683.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353000532","file1":"1353000529","file0":"1353000525","file4":"1353000548","file5":"1353000564","file3":"1353000540"},"map_files_photo_id_array":[{"photo_id":"1353000564","filename":"file5"},{"photo_id":"1353000532","filename":"file2"},{"photo_id":"1353000548","filename":"file4"},{"photo_id":"1353000529","filename":"file1"},{"photo_id":"1353000525","filename":"file0"},{"photo_id":"1353000540","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353000540":["hashtag1","hashtag2"]},{"1353000564":["hashtag1","hashtag2"]},{"1353000525":["hashtag1","hashtag2"]},{"1353000548":["hashtag1","hashtag2"]},{"1353000532":["hashtag1","hashtag2"]},{"1353000529":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353000540, 1353000564, 1353000525, 1353000548, 1353000532, 1353000529)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.383432149887085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:18:02.408003
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_45_9794.jpg', 2), ('/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_35_9822.jpg', 2), ('/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_25_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_15_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/11/16/image_23042025_11_17_05_9822.jpg', 2), ('/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_55_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_45_9794.jpg', '/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_35_9822.jpg', '/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_25_10676.jpg', '/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_15_9697.jpg', '/home/nano/Desktop/images/23042025/11/16/image_23042025_11_17_05_9822.jpg', '/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_55_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_45_9794.jpg
/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_35_9822.jpg
/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_25_10676.jpg
/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_15_9697.jpg
/home/nano/Desktop/images/23042025/11/16/image_23042025_11_17_05_9822.jpg
/home/nano/Desktop/images/23042025/11/16/image_23042025_11_16_55_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353000660","1353000630","1353000653","1353000656","1353000635","1353000638"],"photo_ids_order":["1353000630","1353000635","1353000638","1353000653","1353000656","1353000660"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18ed198d29a16c6f66f87ff93cce73a7.jpg","text":"TemporaryFile(/tmp/multipartBody6119349138787663010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399944508,"filename":"image_23042025_11_16_55_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1190520b035a28694b3c4ad25adcc5f.jpg","text":"TemporaryFile(/tmp/multipartBody5988299737225365109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399944508,"filename":"image_23042025_11_17_45_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75dbd92fd582eb4725228f419e25c450.jpg","text":"TemporaryFile(/tmp/multipartBody1338209853631599573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399944508,"filename":"image_23042025_11_17_15_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/247a5615dc8fd3b8cc6b8211a923f992.jpg","text":"TemporaryFile(/tmp/multipartBody3053275116044111922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399944508,"filename":"image_23042025_11_17_05_9822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b83be36272737f8575f473832da628d.jpg","text":"TemporaryFile(/tmp/multipartBody6531966700545590858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399944508,"filename":"image_23042025_11_17_35_9822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f9bae58619cd65c829745eb57e1ba62.jpg","text":"TemporaryFile(/tmp/multipartBody5416469303882683047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745399944508,"filename":"image_23042025_11_17_25_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353000638","file1":"1353000635","file0":"1353000630","file4":"1353000656","file5":"1353000660","file3":"1353000653"},"map_files_photo_id_array":[{"photo_id":"1353000660","filename":"file5"},{"photo_id":"1353000638","filename":"file2"},{"photo_id":"1353000656","filename":"file4"},{"photo_id":"1353000635","filename":"file1"},{"photo_id":"1353000630","filename":"file0"},{"photo_id":"1353000653","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353000660":["hashtag1","hashtag2"]},{"1353000630":["hashtag1","hashtag2"]},{"1353000653":["hashtag1","hashtag2"]},{"1353000656":["hashtag1","hashtag2"]},{"1353000635":["hashtag1","hashtag2"]},{"1353000638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353000660, 1353000630, 1353000653, 1353000656, 1353000635, 1353000638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.25442600250244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:19:02.988757
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_45_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_35_9807.jpg', 2), ('/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_25_9836.jpg', 2), ('/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_15_10875.jpg', 2), ('/home/nano/Desktop/images/23042025/11/17/image_23042025_11_18_05_9829.jpg', 2), ('/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_55_9820.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_45_9690.jpg', '/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_35_9807.jpg', '/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_25_9836.jpg', '/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_15_10875.jpg', '/home/nano/Desktop/images/23042025/11/17/image_23042025_11_18_05_9829.jpg', '/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_55_9820.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_45_9690.jpg
/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_35_9807.jpg
/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_25_9836.jpg
/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_15_10875.jpg
/home/nano/Desktop/images/23042025/11/17/image_23042025_11_18_05_9829.jpg
/home/nano/Desktop/images/23042025/11/17/image_23042025_11_17_55_9820.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353000715","1353000726","1353000708","1353000746","1353000740","1353000713"],"photo_ids_order":["1353000708","1353000713","1353000715","1353000726","1353000740","1353000746"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f25c6925f5ee3ac96b4ef3b53cfa0759.jpg","text":"TemporaryFile(/tmp/multipartBody2759391344150351454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400005147,"filename":"image_23042025_11_18_25_9836.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a338acb3737ab6259f5023b14fe5455c.jpg","text":"TemporaryFile(/tmp/multipartBody5581679083952684908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400005147,"filename":"image_23042025_11_18_15_10875.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6380fcd0023a12b6078b96c65b71171.jpg","text":"TemporaryFile(/tmp/multipartBody1261935242038539996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400005147,"filename":"image_23042025_11_18_45_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cb79c3a11727e82ae3ee08ffa66bad8.jpg","text":"TemporaryFile(/tmp/multipartBody7400746777696240437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400005147,"filename":"image_23042025_11_17_55_9820.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4630f64325c89e0afab71b4ee3bb0a32.jpg","text":"TemporaryFile(/tmp/multipartBody5725155029799741382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400005147,"filename":"image_23042025_11_18_05_9829.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89d29c46f0cc9e2faeb8482979d5c02e.jpg","text":"TemporaryFile(/tmp/multipartBody613099465133253243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400005147,"filename":"image_23042025_11_18_35_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353000715","file1":"1353000713","file0":"1353000708","file4":"1353000740","file5":"1353000746","file3":"1353000726"},"map_files_photo_id_array":[{"photo_id":"1353000746","filename":"file5"},{"photo_id":"1353000715","filename":"file2"},{"photo_id":"1353000740","filename":"file4"},{"photo_id":"1353000713","filename":"file1"},{"photo_id":"1353000708","filename":"file0"},{"photo_id":"1353000726","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353000715":["hashtag1","hashtag2"]},{"1353000726":["hashtag1","hashtag2"]},{"1353000708":["hashtag1","hashtag2"]},{"1353000746":["hashtag1","hashtag2"]},{"1353000740":["hashtag1","hashtag2"]},{"1353000713":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353000715, 1353000726, 1353000708, 1353000746, 1353000740, 1353000713)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.70266604423523 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:20:02.842270
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_45_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_35_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_25_9764.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_15_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/11/18/image_23042025_11_19_05_10739.jpg', 2), ('/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_54_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_45_9691.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_35_10674.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_25_9764.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_15_9673.jpg', '/home/nano/Desktop/images/23042025/11/18/image_23042025_11_19_05_10739.jpg', '/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_54_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_45_9691.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_35_10674.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_25_9764.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_15_9673.jpg
/home/nano/Desktop/images/23042025/11/18/image_23042025_11_19_05_10739.jpg
/home/nano/Desktop/images/23042025/11/18/image_23042025_11_18_54_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353000900","1353000890","1353000863","1353000895","1353000910","1353000904"],"photo_ids_order":["1353000863","1353000890","1353000895","1353000900","1353000904","1353000910"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff16601c5fce935f61fdd57cf5fa50b7.jpg","text":"TemporaryFile(/tmp/multipartBody6974900651897899263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400064593,"filename":"image_23042025_11_19_15_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61a4d5c61cd23563515bf1eb65564819.jpg","text":"TemporaryFile(/tmp/multipartBody2264804100723215001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400064593,"filename":"image_23042025_11_19_35_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/210488ae9fd52b2d390671d9b7461db1.jpg","text":"TemporaryFile(/tmp/multipartBody6752293449104113354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400064593,"filename":"image_23042025_11_19_45_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/544c2447c827381f50bd62b1313dc6fd.jpg","text":"TemporaryFile(/tmp/multipartBody3718770856448408642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400064593,"filename":"image_23042025_11_19_25_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e2f53557ddc545c121c2fed60a33e47.jpg","text":"TemporaryFile(/tmp/multipartBody2624614270305361085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400064593,"filename":"image_23042025_11_18_54_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e07460d888b577d4406f910a684ad767.jpg","text":"TemporaryFile(/tmp/multipartBody3283038550017490369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745400064593,"filename":"image_23042025_11_19_05_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353000895","file1":"1353000890","file0":"1353000863","file4":"1353000904","file5":"1353000910","file3":"1353000900"},"map_files_photo_id_array":[{"photo_id":"1353000910","filename":"file5"},{"photo_id":"1353000895","filename":"file2"},{"photo_id":"1353000904","filename":"file4"},{"photo_id":"1353000890","filename":"file1"},{"photo_id":"1353000863","filename":"file0"},{"photo_id":"1353000900","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353000900":["hashtag1","hashtag2"]},{"1353000890":["hashtag1","hashtag2"]},{"1353000863":["hashtag1","hashtag2"]},{"1353000895":["hashtag1","hashtag2"]},{"1353000910":["hashtag1","hashtag2"]},{"1353000904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353000900, 1353000890, 1353000863, 1353000895, 1353000910, 1353000904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.548418283462524 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:21:03.178282
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_15_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_20_05_10771.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_55_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_15_9692.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_20_05_10771.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_15_9692.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_20_05_10771.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_55_9647.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos 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_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 11:59:03.706105
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_45_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_35_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_25_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_15_10802.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_57_05_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_55_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_45_10653.jpg', '/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_35_9651.jpg', '/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_25_9671.jpg', '/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_15_10802.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_57_05_9683.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_55_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_45_10653.jpg
/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_35_9651.jpg
/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_25_9671.jpg
/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_15_10802.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_57_05_9683.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_55_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353008711","1353008654","1353008516","1353008473","1353008574","1353008424"],"photo_ids_order":["1353008424","1353008473","1353008516","1353008574","1353008654","1353008711"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dae1d72f6fd38f481ea1b9bbbbb24ea9.jpg","text":"TemporaryFile(/tmp/multipartBody3298105929729900648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402405590,"filename":"image_23042025_11_56_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3521a72d0c1285489d580d7a75688041.jpg","text":"TemporaryFile(/tmp/multipartBody5009786155175482294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402405590,"filename":"image_23042025_11_57_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2dddaece7b7d975c0e6dd1974bf00ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8436418537878194156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402405590,"filename":"image_23042025_11_57_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c31d2e80c54f5d73946f7a8cf77e0cf1.jpg","text":"TemporaryFile(/tmp/multipartBody299917566085416747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402405590,"filename":"image_23042025_11_57_35_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19f646c238a1279046b8151f8b310b39.jpg","text":"TemporaryFile(/tmp/multipartBody9144322358887853118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402405590,"filename":"image_23042025_11_57_15_10802.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/885449cb73dc4f6bade0aabdce7de066.jpg","text":"TemporaryFile(/tmp/multipartBody6035015330191304162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402405590,"filename":"image_23042025_11_57_45_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353008516","file1":"1353008473","file0":"1353008424","file4":"1353008654","file5":"1353008711","file3":"1353008574"},"map_files_photo_id_array":[{"photo_id":"1353008711","filename":"file5"},{"photo_id":"1353008516","filename":"file2"},{"photo_id":"1353008654","filename":"file4"},{"photo_id":"1353008473","filename":"file1"},{"photo_id":"1353008424","filename":"file0"},{"photo_id":"1353008574","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353008711":["hashtag1","hashtag2"]},{"1353008654":["hashtag1","hashtag2"]},{"1353008516":["hashtag1","hashtag2"]},{"1353008473":["hashtag1","hashtag2"]},{"1353008574":["hashtag1","hashtag2"]},{"1353008424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353008711, 1353008654, 1353008516, 1353008473, 1353008574, 1353008424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.77106022834778 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:00:03.202835
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_45_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_35_9783.jpg', 2), ('/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_25_10772.jpg', 2), ('/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_15_9762.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_59_05_9765.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_55_9757.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_45_9755.jpg', '/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_35_9783.jpg', '/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_25_10772.jpg', '/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_15_9762.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_59_05_9765.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_55_9757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_45_9755.jpg
/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_35_9783.jpg
/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_25_10772.jpg
/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_15_9762.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_59_05_9765.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_55_9757.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353009302","1353009570","1353009537","1353009504","1353009473","1353009374"],"photo_ids_order":["1353009302","1353009374","1353009473","1353009504","1353009537","1353009570"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51ca81f096a4526b77f780b3f59f8fe3.jpg","text":"TemporaryFile(/tmp/multipartBody9220582120636417346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402466794,"filename":"image_23042025_11_59_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2238b7279762a9720a981dacfc6e9f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4580820315796457665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402466794,"filename":"image_23042025_11_58_55_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da7061248a395b05780988aad403363d.jpg","text":"TemporaryFile(/tmp/multipartBody7894380225701700039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402466794,"filename":"image_23042025_11_59_05_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/afee08e78cd31eef93dfc3b14ea79a66.jpg","text":"TemporaryFile(/tmp/multipartBody7475764287666513202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402466794,"filename":"image_23042025_11_59_15_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/569f84ecd69a34f6e98db85bb01f5fcf.jpg","text":"TemporaryFile(/tmp/multipartBody4543670249217970300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402466794,"filename":"image_23042025_11_59_25_10772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01c2c1c0394ce1cc2f513540596bf269.jpg","text":"TemporaryFile(/tmp/multipartBody1180731072976104314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402466794,"filename":"image_23042025_11_59_35_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353009473","file1":"1353009374","file0":"1353009302","file4":"1353009537","file5":"1353009570","file3":"1353009504"},"map_files_photo_id_array":[{"photo_id":"1353009570","filename":"file5"},{"photo_id":"1353009473","filename":"file2"},{"photo_id":"1353009537","filename":"file4"},{"photo_id":"1353009374","filename":"file1"},{"photo_id":"1353009302","filename":"file0"},{"photo_id":"1353009504","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353009302":["hashtag1","hashtag2"]},{"1353009570":["hashtag1","hashtag2"]},{"1353009537":["hashtag1","hashtag2"]},{"1353009504":["hashtag1","hashtag2"]},{"1353009473":["hashtag1","hashtag2"]},{"1353009374":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353009302, 1353009570, 1353009537, 1353009504, 1353009473, 1353009374)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.92655539512634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:01:03.326519
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_45_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_35_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_25_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_15_10764.jpg', 2), ('/home/nano/Desktop/images/23042025/11/59/image_23042025_12_00_05_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_55_9785.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_45_10704.jpg', '/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_35_9655.jpg', '/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_25_9644.jpg', '/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_15_10764.jpg', '/home/nano/Desktop/images/23042025/11/59/image_23042025_12_00_05_9725.jpg', '/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_55_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_45_10704.jpg
/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_35_9655.jpg
/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_25_9644.jpg
/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_15_10764.jpg
/home/nano/Desktop/images/23042025/11/59/image_23042025_12_00_05_9725.jpg
/home/nano/Desktop/images/23042025/11/59/image_23042025_11_59_55_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353010292","1353010256","1353009964","1353010120","1353010201","1353010035"],"photo_ids_order":["1353009964","1353010035","1353010120","1353010201","1353010256","1353010292"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c12fbcd253cfe07c4a4b2581bd202d99.jpg","text":"TemporaryFile(/tmp/multipartBody8993657464594175990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402525306,"filename":"image_23042025_11_59_55_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98efe0371cf0f22f393f9d409e373b65.jpg","text":"TemporaryFile(/tmp/multipartBody7875820375840693709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402525306,"filename":"image_23042025_12_00_05_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf9c6a28ee1e5ab7c43e55e2f67d665e.jpg","text":"TemporaryFile(/tmp/multipartBody620406498013345561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402525306,"filename":"image_23042025_12_00_45_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb90445964a9b7065bc626d688221ade.jpg","text":"TemporaryFile(/tmp/multipartBody3630111629464186224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402525306,"filename":"image_23042025_12_00_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c65498bf8c9eb5737b56ef78b06777d6.jpg","text":"TemporaryFile(/tmp/multipartBody4209199582897901473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402525306,"filename":"image_23042025_12_00_15_10764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02f9925a72bf74bf55a644bb7dd4ff6a.jpg","text":"TemporaryFile(/tmp/multipartBody7612463905159797825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402525306,"filename":"image_23042025_12_00_35_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353010120","file1":"1353010035","file0":"1353009964","file4":"1353010256","file5":"1353010292","file3":"1353010201"},"map_files_photo_id_array":[{"photo_id":"1353010292","filename":"file5"},{"photo_id":"1353010120","filename":"file2"},{"photo_id":"1353010256","filename":"file4"},{"photo_id":"1353010035","filename":"file1"},{"photo_id":"1353009964","filename":"file0"},{"photo_id":"1353010201","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353010292":["hashtag1","hashtag2"]},{"1353010256":["hashtag1","hashtag2"]},{"1353009964":["hashtag1","hashtag2"]},{"1353010120":["hashtag1","hashtag2"]},{"1353010201":["hashtag1","hashtag2"]},{"1353010035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353010292, 1353010256, 1353009964, 1353010120, 1353010201, 1353010035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.12468123435974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:02:02.329144
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_45_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_35_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_25_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_15_10726.jpg', 2), ('/home/nano/Desktop/images/23042025/12/00/image_23042025_12_01_05_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_55_9698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_45_10629.jpg', '/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_35_9625.jpg', '/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_25_9697.jpg', '/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_15_10726.jpg', '/home/nano/Desktop/images/23042025/12/00/image_23042025_12_01_05_9712.jpg', '/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_55_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_45_10629.jpg
/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_35_9625.jpg
/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_25_9697.jpg
/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_15_10726.jpg
/home/nano/Desktop/images/23042025/12/00/image_23042025_12_01_05_9712.jpg
/home/nano/Desktop/images/23042025/12/00/image_23042025_12_00_55_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353011123","1353011018","1353010745","1353011239","1353010927","1353010857"],"photo_ids_order":["1353010745","1353010857","1353010927","1353011018","1353011123","1353011239"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5b1e880bf8e265147bf769d097b09ef.jpg","text":"TemporaryFile(/tmp/multipartBody7174994793617911319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402583659,"filename":"image_23042025_12_01_05_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46194f7a1c94fe80481fcf7c1fc1e643.jpg","text":"TemporaryFile(/tmp/multipartBody5373967885139202717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402583659,"filename":"image_23042025_12_01_15_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acc0a20fe1311ac8a41dbba2d2772055.jpg","text":"TemporaryFile(/tmp/multipartBody3797585563090769906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402583659,"filename":"image_23042025_12_01_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c6f97bcebea01c35e0161286fe35aed.jpg","text":"TemporaryFile(/tmp/multipartBody1109237010239487837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402583659,"filename":"image_23042025_12_00_55_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fefc3d375826146d065b38e9b56994b4.jpg","text":"TemporaryFile(/tmp/multipartBody1237047736121580569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402583659,"filename":"image_23042025_12_01_25_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b431933f0075360eff1f8039705c6274.jpg","text":"TemporaryFile(/tmp/multipartBody5995003490970981387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402583659,"filename":"image_23042025_12_01_35_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353010927","file1":"1353010857","file0":"1353010745","file4":"1353011123","file5":"1353011239","file3":"1353011018"},"map_files_photo_id_array":[{"photo_id":"1353011239","filename":"file5"},{"photo_id":"1353010927","filename":"file2"},{"photo_id":"1353011123","filename":"file4"},{"photo_id":"1353010857","filename":"file1"},{"photo_id":"1353010745","filename":"file0"},{"photo_id":"1353011018","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353011123":["hashtag1","hashtag2"]},{"1353011018":["hashtag1","hashtag2"]},{"1353010745":["hashtag1","hashtag2"]},{"1353011239":["hashtag1","hashtag2"]},{"1353010927":["hashtag1","hashtag2"]},{"1353010857":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353011123, 1353011018, 1353010745, 1353011239, 1353010927, 1353010857)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00773286819458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:03:02.675301
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_55_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_45_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_15_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/12/01/image_23042025_12_02_05_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_55_9689.jpg', '/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_45_10639.jpg', '/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_35_9639.jpg', '/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_25_9643.jpg', '/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_15_10674.jpg', '/home/nano/Desktop/images/23042025/12/01/image_23042025_12_02_05_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_55_9689.jpg
/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_45_10639.jpg
/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_35_9639.jpg
/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_25_9643.jpg
/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_15_10674.jpg
/home/nano/Desktop/images/23042025/12/01/image_23042025_12_02_05_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353011630","1353011608","1353011661","1353011604","1353011597","1353011690"],"photo_ids_order":["1353011597","1353011604","1353011608","1353011630","1353011661","1353011690"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/080d49c6cc80712ffe8aa0b7b9417b0a.jpg","text":"TemporaryFile(/tmp/multipartBody4108171134596215756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402644196,"filename":"image_23042025_12_02_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/837d1a0b2c56f8c27158fc385386f303.jpg","text":"TemporaryFile(/tmp/multipartBody3705907495498890846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402644196,"filename":"image_23042025_12_02_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2b1e1182dd3287f68ac6002f9fb2a27.jpg","text":"TemporaryFile(/tmp/multipartBody4530734761702690396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402644196,"filename":"image_23042025_12_02_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fbc9e8a218d2d18031f458c08094511.jpg","text":"TemporaryFile(/tmp/multipartBody5604769120017668203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402644196,"filename":"image_23042025_12_02_45_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abcffe8209985c53e9089591855cbfd1.jpg","text":"TemporaryFile(/tmp/multipartBody985064411909789993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402644196,"filename":"image_23042025_12_03_55_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ca1043676557830e4bb74f764baebcd0.jpg","text":"TemporaryFile(/tmp/multipartBody8941144365895956133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402644196,"filename":"image_23042025_12_02_05_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353011608","file1":"1353011604","file0":"1353011597","file4":"1353011661","file5":"1353011690","file3":"1353011630"},"map_files_photo_id_array":[{"photo_id":"1353011690","filename":"file5"},{"photo_id":"1353011608","filename":"file2"},{"photo_id":"1353011661","filename":"file4"},{"photo_id":"1353011604","filename":"file1"},{"photo_id":"1353011597","filename":"file0"},{"photo_id":"1353011630","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353011630":["hashtag1","hashtag2"]},{"1353011608":["hashtag1","hashtag2"]},{"1353011661":["hashtag1","hashtag2"]},{"1353011604":["hashtag1","hashtag2"]},{"1353011597":["hashtag1","hashtag2"]},{"1353011690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353011630, 1353011608, 1353011661, 1353011604, 1353011597, 1353011690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.24893856048584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:04:03.000617
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_35_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_15_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/02/image_23042025_12_03_05_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_55_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_55_9621.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_35_10730.jpg', '/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_25_9630.jpg', '/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_15_9633.jpg', '/home/nano/Desktop/images/23042025/12/02/image_23042025_12_03_05_10634.jpg', '/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_55_9624.jpg', '/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_55_9621.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_35_10730.jpg
/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_25_9630.jpg
/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_15_9633.jpg
/home/nano/Desktop/images/23042025/12/02/image_23042025_12_03_05_10634.jpg
/home/nano/Desktop/images/23042025/12/02/image_23042025_12_02_55_9624.jpg
/home/nano/Desktop/images/23042025/12/01/image_23042025_12_01_55_9621.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353011836","1353011839","1353011908","1353011882","1353011855","1353011831"],"photo_ids_order":["1353011831","1353011836","1353011839","1353011855","1353011882","1353011908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c79d64438e84ffc5dea84562e817ba08.jpg","text":"TemporaryFile(/tmp/multipartBody1080647503740417005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402704785,"filename":"image_23042025_12_03_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82e9f8d91e942bc4d711b9f7c833fada.jpg","text":"TemporaryFile(/tmp/multipartBody5712905462165689455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402704785,"filename":"image_23042025_12_03_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/986cba440f4ac71c530a4b13e9c01e4f.jpg","text":"TemporaryFile(/tmp/multipartBody7024035314477293735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402704785,"filename":"image_23042025_12_01_55_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae66efed4bada3cd917f603c9f40a27c.jpg","text":"TemporaryFile(/tmp/multipartBody8819281120499542264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402704785,"filename":"image_23042025_12_02_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf17a5134e250d710a1468391320e22f.jpg","text":"TemporaryFile(/tmp/multipartBody8854082360015487436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402704785,"filename":"image_23042025_12_03_05_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ed740b6486b34de3fc7bfd4cac9881d.jpg","text":"TemporaryFile(/tmp/multipartBody4392554429167056075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402704785,"filename":"image_23042025_12_03_35_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353011839","file1":"1353011836","file0":"1353011831","file4":"1353011882","file5":"1353011908","file3":"1353011855"},"map_files_photo_id_array":[{"photo_id":"1353011908","filename":"file5"},{"photo_id":"1353011839","filename":"file2"},{"photo_id":"1353011882","filename":"file4"},{"photo_id":"1353011836","filename":"file1"},{"photo_id":"1353011831","filename":"file0"},{"photo_id":"1353011855","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353011836":["hashtag1","hashtag2"]},{"1353011839":["hashtag1","hashtag2"]},{"1353011908":["hashtag1","hashtag2"]},{"1353011882":["hashtag1","hashtag2"]},{"1353011855":["hashtag1","hashtag2"]},{"1353011831":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353011836, 1353011839, 1353011908, 1353011882, 1353011855, 1353011831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.37945318222046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:05:02.777790
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_44_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_35_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_25_9746.jpg', 2), ('/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_15_10736.jpg', 2), ('/home/nano/Desktop/images/23042025/12/03/image_23042025_12_04_05_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_45_9733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_44_9735.jpg', '/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_35_9652.jpg', '/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_25_9746.jpg', '/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_15_10736.jpg', '/home/nano/Desktop/images/23042025/12/03/image_23042025_12_04_05_9707.jpg', '/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_45_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_44_9735.jpg
/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_35_9652.jpg
/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_25_9746.jpg
/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_15_10736.jpg
/home/nano/Desktop/images/23042025/12/03/image_23042025_12_04_05_9707.jpg
/home/nano/Desktop/images/23042025/12/03/image_23042025_12_03_45_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012002","1353011995","1353011968","1353011977","1353011961","1353011972"],"photo_ids_order":["1353011961","1353011968","1353011972","1353011977","1353011995","1353012002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0dad4569cba8f610baacdceb7b504a4.jpg","text":"TemporaryFile(/tmp/multipartBody8775119634894999923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402764494,"filename":"image_23042025_12_03_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6292bddeabe13723455b98a2e23cb021.jpg","text":"TemporaryFile(/tmp/multipartBody124339009677386174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402764494,"filename":"image_23042025_12_04_05_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80617376b02aa839fd40600d78bcd993.jpg","text":"TemporaryFile(/tmp/multipartBody3815416569368416684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402764494,"filename":"image_23042025_12_04_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e52e0ee69bac727105cc06e2897970f.jpg","text":"TemporaryFile(/tmp/multipartBody1678031001654512896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402764494,"filename":"image_23042025_12_04_15_10736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ad041643bb3436c852772fe58fcd12e.jpg","text":"TemporaryFile(/tmp/multipartBody5313685477750677109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402764494,"filename":"image_23042025_12_04_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/359ed6689f00524efe3b1e52f6ea7685.jpg","text":"TemporaryFile(/tmp/multipartBody7670716614125418311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402764494,"filename":"image_23042025_12_04_25_9746.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353011972","file1":"1353011968","file0":"1353011961","file4":"1353011995","file5":"1353012002","file3":"1353011977"},"map_files_photo_id_array":[{"photo_id":"1353012002","filename":"file5"},{"photo_id":"1353011972","filename":"file2"},{"photo_id":"1353011995","filename":"file4"},{"photo_id":"1353011968","filename":"file1"},{"photo_id":"1353011961","filename":"file0"},{"photo_id":"1353011977","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012002":["hashtag1","hashtag2"]},{"1353011995":["hashtag1","hashtag2"]},{"1353011968":["hashtag1","hashtag2"]},{"1353011977":["hashtag1","hashtag2"]},{"1353011961":["hashtag1","hashtag2"]},{"1353011972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012002, 1353011995, 1353011968, 1353011977, 1353011961, 1353011972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51084613800049 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:06:02.613377
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_45_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_35_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_25_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_15_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/12/04/image_23042025_12_05_05_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_55_10678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_45_10658.jpg', '/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_35_9621.jpg', '/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_25_10657.jpg', '/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_15_9708.jpg', '/home/nano/Desktop/images/23042025/12/04/image_23042025_12_05_05_9643.jpg', '/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_55_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_45_10658.jpg
/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_35_9621.jpg
/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_25_10657.jpg
/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_15_9708.jpg
/home/nano/Desktop/images/23042025/12/04/image_23042025_12_05_05_9643.jpg
/home/nano/Desktop/images/23042025/12/04/image_23042025_12_04_55_10678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012247","1353012229","1353012202","1353012260","1353012215","1353012119"],"photo_ids_order":["1353012119","1353012202","1353012215","1353012229","1353012247","1353012260"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da7ca1aceafb743e4f18fc0d6310d25f.jpg","text":"TemporaryFile(/tmp/multipartBody5444191017288765795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402824181,"filename":"image_23042025_12_05_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ce2a3194b38f3788a8fa59826b74cdc.jpg","text":"TemporaryFile(/tmp/multipartBody2716013263972960991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402824181,"filename":"image_23042025_12_05_15_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d513113b261fbdd6b6fc3d83a69bac73.jpg","text":"TemporaryFile(/tmp/multipartBody3269609598018181714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402824181,"filename":"image_23042025_12_05_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9984367f2ba316b35980cd570b4b5232.jpg","text":"TemporaryFile(/tmp/multipartBody2827331068259706523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402824181,"filename":"image_23042025_12_04_55_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/848d6beeee544568b92431f72d967488.jpg","text":"TemporaryFile(/tmp/multipartBody5562407982222704494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402824181,"filename":"image_23042025_12_05_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41cc446a8626bcd0403b02fae44408a2.jpg","text":"TemporaryFile(/tmp/multipartBody9185165944786108496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402824181,"filename":"image_23042025_12_05_45_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353012215","file1":"1353012202","file0":"1353012119","file4":"1353012247","file5":"1353012260","file3":"1353012229"},"map_files_photo_id_array":[{"photo_id":"1353012260","filename":"file5"},{"photo_id":"1353012215","filename":"file2"},{"photo_id":"1353012247","filename":"file4"},{"photo_id":"1353012202","filename":"file1"},{"photo_id":"1353012119","filename":"file0"},{"photo_id":"1353012229","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012247":["hashtag1","hashtag2"]},{"1353012229":["hashtag1","hashtag2"]},{"1353012202":["hashtag1","hashtag2"]},{"1353012260":["hashtag1","hashtag2"]},{"1353012215":["hashtag1","hashtag2"]},{"1353012119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012247, 1353012229, 1353012202, 1353012260, 1353012215, 1353012119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72734236717224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:07:03.006388
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_35_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_25_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_15_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/12/05/image_23042025_12_06_05_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_55_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_45_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_35_9617.jpg', '/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_25_9639.jpg', '/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_15_10667.jpg', '/home/nano/Desktop/images/23042025/12/05/image_23042025_12_06_05_9651.jpg', '/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_55_9632.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_45_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_35_9617.jpg
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_25_9639.jpg
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_15_10667.jpg
/home/nano/Desktop/images/23042025/12/05/image_23042025_12_06_05_9651.jpg
/home/nano/Desktop/images/23042025/12/05/image_23042025_12_05_55_9632.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_45_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012319","1353012301","1353012324","1353012306","1353012315","1353012311"],"photo_ids_order":["1353012301","1353012306","1353012311","1353012315","1353012319","1353012324"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6105d983096156685f8c7a8696404b13.jpg","text":"TemporaryFile(/tmp/multipartBody8268547278851743397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402884482,"filename":"image_23042025_12_05_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4971afc79c8b7959c50009ae19cfbadc.jpg","text":"TemporaryFile(/tmp/multipartBody241632459972996164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402884482,"filename":"image_23042025_12_06_35_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5961793cbb9ef0e32c55d3c535f05d45.jpg","text":"TemporaryFile(/tmp/multipartBody6394164161378065961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402884482,"filename":"image_23042025_11_58_45_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a877b83e4087b40a31fa8a98a91b841f.jpg","text":"TemporaryFile(/tmp/multipartBody729491201137181947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402884482,"filename":"image_23042025_12_06_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6818526e3f18ceabd57847c6785c1f94.jpg","text":"TemporaryFile(/tmp/multipartBody2056401863983609857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402884482,"filename":"image_23042025_12_06_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e735a1e57b97d309b61af427de62c75f.jpg","text":"TemporaryFile(/tmp/multipartBody8923850126712105572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402884482,"filename":"image_23042025_12_06_15_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353012311","file1":"1353012306","file0":"1353012301","file4":"1353012319","file5":"1353012324","file3":"1353012315"},"map_files_photo_id_array":[{"photo_id":"1353012324","filename":"file5"},{"photo_id":"1353012311","filename":"file2"},{"photo_id":"1353012319","filename":"file4"},{"photo_id":"1353012306","filename":"file1"},{"photo_id":"1353012301","filename":"file0"},{"photo_id":"1353012315","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012319":["hashtag1","hashtag2"]},{"1353012301":["hashtag1","hashtag2"]},{"1353012324":["hashtag1","hashtag2"]},{"1353012306":["hashtag1","hashtag2"]},{"1353012315":["hashtag1","hashtag2"]},{"1353012311":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012319, 1353012301, 1353012324, 1353012306, 1353012315, 1353012311)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.661491870880127 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:08:02.782147
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_35_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_25_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_15_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_07_05_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_55_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_35_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_35_9621.jpg', '/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_25_9628.jpg', '/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_15_10666.jpg', '/home/nano/Desktop/images/23042025/12/06/image_23042025_12_07_05_9643.jpg', '/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_55_9634.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_35_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_35_9621.jpg
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_25_9628.jpg
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_15_10666.jpg
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_07_05_9643.jpg
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_55_9634.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_35_9641.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2765467166900635 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:08:32.394105
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_45_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_35_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_25_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_15_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_08_05_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_45_9626.jpg', '/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_35_10646.jpg', '/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_25_9665.jpg', '/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_15_9635.jpg', '/home/nano/Desktop/images/23042025/12/07/image_23042025_12_08_05_10655.jpg', '/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_45_9626.jpg
/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_35_10646.jpg
/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_25_9665.jpg
/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_15_9635.jpg
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_08_05_10655.jpg
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_45_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012409","1353012429","1353012423","1353012411","1353012440","1353012416"],"photo_ids_order":["1353012409","1353012411","1353012416","1353012423","1353012429","1353012440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/538a46f7dd9fe993bea2fef42dbaae90.jpg","text":"TemporaryFile(/tmp/multipartBody8856554837407677056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402973794,"filename":"image_23042025_12_08_45_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8aa7fa68d289031147d7c2e45beb1ecb.jpg","text":"TemporaryFile(/tmp/multipartBody6088132508494601067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402973794,"filename":"image_23042025_12_08_05_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/043f1b70451432f51ef89f4d57538346.jpg","text":"TemporaryFile(/tmp/multipartBody7587464443403686725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402973794,"filename":"image_23042025_12_08_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddf39eb828c34002dda5b4ccdc0d38b9.jpg","text":"TemporaryFile(/tmp/multipartBody1605474497426524249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402973794,"filename":"image_23042025_12_08_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec2676bde0991445235afb4e36d61e89.jpg","text":"TemporaryFile(/tmp/multipartBody7848898452247842366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402973794,"filename":"image_23042025_12_07_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f9311165d959cb65dedadf807ef755a.jpg","text":"TemporaryFile(/tmp/multipartBody7405319113974809526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745402973794,"filename":"image_23042025_12_08_25_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353012416","file1":"1353012411","file0":"1353012409","file4":"1353012429","file5":"1353012440","file3":"1353012423"},"map_files_photo_id_array":[{"photo_id":"1353012440","filename":"file5"},{"photo_id":"1353012416","filename":"file2"},{"photo_id":"1353012429","filename":"file4"},{"photo_id":"1353012411","filename":"file1"},{"photo_id":"1353012409","filename":"file0"},{"photo_id":"1353012423","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012409":["hashtag1","hashtag2"]},{"1353012429":["hashtag1","hashtag2"]},{"1353012423":["hashtag1","hashtag2"]},{"1353012411":["hashtag1","hashtag2"]},{"1353012440":["hashtag1","hashtag2"]},{"1353012416":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012409, 1353012429, 1353012423, 1353012411, 1353012440, 1353012416)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.1131751537323 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:09:32.549280
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_45_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_35_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_25_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_15_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/12/08/image_23042025_12_09_05_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_55_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_45_9636.jpg', '/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_35_10653.jpg', '/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_25_9655.jpg', '/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_15_9621.jpg', '/home/nano/Desktop/images/23042025/12/08/image_23042025_12_09_05_10657.jpg', '/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_55_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_45_9636.jpg
/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_35_10653.jpg
/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_25_9655.jpg
/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_15_9621.jpg
/home/nano/Desktop/images/23042025/12/08/image_23042025_12_09_05_10657.jpg
/home/nano/Desktop/images/23042025/12/08/image_23042025_12_08_55_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012481","1353012544","1353012466","1353012509","1353012487","1353012472"],"photo_ids_order":["1353012466","1353012472","1353012481","1353012487","1353012509","1353012544"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/306186074e56f7a18880ba143dc66059.jpg","text":"TemporaryFile(/tmp/multipartBody266420749815298694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403033671,"filename":"image_23042025_12_09_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37a2968648c8865545151a76ff56e704.jpg","text":"TemporaryFile(/tmp/multipartBody995942348157690440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403033671,"filename":"image_23042025_12_08_55_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81415d14bc297e771fb3da31aeba4e03.jpg","text":"TemporaryFile(/tmp/multipartBody7882626903205643055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403033671,"filename":"image_23042025_12_09_45_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5951d241dfdee47afca1b48793db647.jpg","text":"TemporaryFile(/tmp/multipartBody9133595439938212542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403033671,"filename":"image_23042025_12_09_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75073205b3bbf256dfb0640b1f38cb7a.jpg","text":"TemporaryFile(/tmp/multipartBody8721081877153935229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403033671,"filename":"image_23042025_12_09_15_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d8c4e704464ef6dc576c1f5646d00c6.jpg","text":"TemporaryFile(/tmp/multipartBody9128940563399711783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403033671,"filename":"image_23042025_12_09_35_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353012481","file1":"1353012472","file0":"1353012466","file4":"1353012509","file5":"1353012544","file3":"1353012487"},"map_files_photo_id_array":[{"photo_id":"1353012544","filename":"file5"},{"photo_id":"1353012481","filename":"file2"},{"photo_id":"1353012509","filename":"file4"},{"photo_id":"1353012472","filename":"file1"},{"photo_id":"1353012466","filename":"file0"},{"photo_id":"1353012487","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012481":["hashtag1","hashtag2"]},{"1353012544":["hashtag1","hashtag2"]},{"1353012466":["hashtag1","hashtag2"]},{"1353012509":["hashtag1","hashtag2"]},{"1353012487":["hashtag1","hashtag2"]},{"1353012472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012481, 1353012544, 1353012466, 1353012509, 1353012487, 1353012472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.846025228500366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:10:32.638550
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_35_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_25_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_15_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/12/09/image_23042025_12_10_05_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_45_9644.jpg', '/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_35_9627.jpg', '/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_25_10647.jpg', '/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_15_9659.jpg', '/home/nano/Desktop/images/23042025/12/09/image_23042025_12_10_05_10658.jpg', '/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_45_9644.jpg
/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_35_9627.jpg
/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_25_10647.jpg
/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_15_9659.jpg
/home/nano/Desktop/images/23042025/12/09/image_23042025_12_10_05_10658.jpg
/home/nano/Desktop/images/23042025/12/09/image_23042025_12_09_55_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012634","1353012618","1353012596","1353012611","1353012629","1353012602"],"photo_ids_order":["1353012596","1353012602","1353012611","1353012618","1353012629","1353012634"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de043b0ba4a945ebd95923bce0afae45.jpg","text":"TemporaryFile(/tmp/multipartBody2476454324041911586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403093892,"filename":"image_23042025_12_09_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2563913023ccdf256310c42adb6ddc98.jpg","text":"TemporaryFile(/tmp/multipartBody1169013162049991929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403093892,"filename":"image_23042025_12_10_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f34999ecdcd2467debaa5ad726d2183.jpg","text":"TemporaryFile(/tmp/multipartBody5601117117643610913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403093892,"filename":"image_23042025_12_10_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a064d245350d7b289fd1e5c3e956b45b.jpg","text":"TemporaryFile(/tmp/multipartBody1916574946032329244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403093892,"filename":"image_23042025_12_10_25_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93c26cad867657494a246cf8f578b8b2.jpg","text":"TemporaryFile(/tmp/multipartBody4042839175283940862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403093892,"filename":"image_23042025_12_10_05_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8474ae597bd598f0d86499f734aafe0e.jpg","text":"TemporaryFile(/tmp/multipartBody1129622269011336662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403093892,"filename":"image_23042025_12_10_35_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353012611","file1":"1353012602","file0":"1353012596","file4":"1353012629","file5":"1353012634","file3":"1353012618"},"map_files_photo_id_array":[{"photo_id":"1353012634","filename":"file5"},{"photo_id":"1353012611","filename":"file2"},{"photo_id":"1353012629","filename":"file4"},{"photo_id":"1353012602","filename":"file1"},{"photo_id":"1353012596","filename":"file0"},{"photo_id":"1353012618","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012634":["hashtag1","hashtag2"]},{"1353012618":["hashtag1","hashtag2"]},{"1353012596":["hashtag1","hashtag2"]},{"1353012611":["hashtag1","hashtag2"]},{"1353012629":["hashtag1","hashtag2"]},{"1353012602":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012634, 1353012618, 1353012596, 1353012611, 1353012629, 1353012602)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72105121612549 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:11:32.749621
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_45_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_25_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_15_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/12/10/image_23042025_12_11_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_55_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_45_9633.jpg', '/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_35_9637.jpg', '/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_25_10653.jpg', '/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_15_9678.jpg', '/home/nano/Desktop/images/23042025/12/10/image_23042025_12_11_05_9638.jpg', '/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_55_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_45_9633.jpg
/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_35_9637.jpg
/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_25_10653.jpg
/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_15_9678.jpg
/home/nano/Desktop/images/23042025/12/10/image_23042025_12_11_05_9638.jpg
/home/nano/Desktop/images/23042025/12/10/image_23042025_12_10_55_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353012916","1353012888","1353012879","1353012852","1353012818","1353012911"],"photo_ids_order":["1353012818","1353012852","1353012879","1353012888","1353012911","1353012916"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bdaf642f18bdd87172cc4f7aae812aa.jpg","text":"TemporaryFile(/tmp/multipartBody4018897680680741691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403153998,"filename":"image_23042025_12_10_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e50c579f18b9d85af3e4874106e499a.jpg","text":"TemporaryFile(/tmp/multipartBody950113316078841117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403153998,"filename":"image_23042025_12_11_15_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9096b1a296fb6b914a71fec093c18935.jpg","text":"TemporaryFile(/tmp/multipartBody5302599938835737972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403153998,"filename":"image_23042025_12_11_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65b5d3cd06f540e7f723f49da0220f36.jpg","text":"TemporaryFile(/tmp/multipartBody322447214694364003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403153998,"filename":"image_23042025_12_11_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d296a6e82796e2697f257cc26728e71.jpg","text":"TemporaryFile(/tmp/multipartBody7294096204447463406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403153998,"filename":"image_23042025_12_11_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bffed5ef82e183048bf2e4789d23e76e.jpg","text":"TemporaryFile(/tmp/multipartBody1238117031622076791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403153998,"filename":"image_23042025_12_11_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353012879","file1":"1353012852","file0":"1353012818","file4":"1353012911","file5":"1353012916","file3":"1353012888"},"map_files_photo_id_array":[{"photo_id":"1353012916","filename":"file5"},{"photo_id":"1353012879","filename":"file2"},{"photo_id":"1353012911","filename":"file4"},{"photo_id":"1353012852","filename":"file1"},{"photo_id":"1353012818","filename":"file0"},{"photo_id":"1353012888","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353012916":["hashtag1","hashtag2"]},{"1353012888":["hashtag1","hashtag2"]},{"1353012879":["hashtag1","hashtag2"]},{"1353012852":["hashtag1","hashtag2"]},{"1353012818":["hashtag1","hashtag2"]},{"1353012911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353012916, 1353012888, 1353012879, 1353012852, 1353012818, 1353012911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60169720649719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:12:31.855427
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_45_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_35_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_25_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_15_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/11/image_23042025_12_12_05_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_55_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_45_10642.jpg', '/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_35_9638.jpg', '/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_25_10648.jpg', '/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_15_9652.jpg', '/home/nano/Desktop/images/23042025/12/11/image_23042025_12_12_05_9664.jpg', '/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_55_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_45_10642.jpg
/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_35_9638.jpg
/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_25_10648.jpg
/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_15_9652.jpg
/home/nano/Desktop/images/23042025/12/11/image_23042025_12_12_05_9664.jpg
/home/nano/Desktop/images/23042025/12/11/image_23042025_12_11_55_10626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013000","1353013018","1353013023","1353013005","1353013008","1353013013"],"photo_ids_order":["1353013000","1353013005","1353013008","1353013013","1353013018","1353013023"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6bdc2e83d354a6b5400652567474db0.jpg","text":"TemporaryFile(/tmp/multipartBody7693357392364549108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403213303,"filename":"image_23042025_12_12_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e76f889a0424d9c9591feea69c6cd179.jpg","text":"TemporaryFile(/tmp/multipartBody1513338310359928920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403213303,"filename":"image_23042025_12_12_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75fc24eca486c9eb4b66251f069d66c9.jpg","text":"TemporaryFile(/tmp/multipartBody8525388633657244629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403213303,"filename":"image_23042025_12_11_55_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61b17079a0b879244d17a35753b3d08c.jpg","text":"TemporaryFile(/tmp/multipartBody2718677076055188697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403213303,"filename":"image_23042025_12_12_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1f5cb41723b4580ec9e697b55d15fbc.jpg","text":"TemporaryFile(/tmp/multipartBody8201216127764683187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403213303,"filename":"image_23042025_12_12_25_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46ea4c5e38b487d29c5fb68781e93af5.jpg","text":"TemporaryFile(/tmp/multipartBody7050155629269759443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403213303,"filename":"image_23042025_12_12_15_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013008","file1":"1353013005","file0":"1353013000","file4":"1353013018","file5":"1353013023","file3":"1353013013"},"map_files_photo_id_array":[{"photo_id":"1353013023","filename":"file5"},{"photo_id":"1353013008","filename":"file2"},{"photo_id":"1353013018","filename":"file4"},{"photo_id":"1353013005","filename":"file1"},{"photo_id":"1353013000","filename":"file0"},{"photo_id":"1353013013","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013000":["hashtag1","hashtag2"]},{"1353013018":["hashtag1","hashtag2"]},{"1353013023":["hashtag1","hashtag2"]},{"1353013005":["hashtag1","hashtag2"]},{"1353013008":["hashtag1","hashtag2"]},{"1353013013":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013000, 1353013018, 1353013023, 1353013005, 1353013008, 1353013013)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.078909397125244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:13:31.953394
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_45_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_35_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_25_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_15_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/12/image_23042025_12_13_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_45_10634.jpg', '/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_35_9628.jpg', '/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_25_9635.jpg', '/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_15_10658.jpg', '/home/nano/Desktop/images/23042025/12/12/image_23042025_12_13_05_9638.jpg', '/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_45_10634.jpg
/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_35_9628.jpg
/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_25_9635.jpg
/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_15_10658.jpg
/home/nano/Desktop/images/23042025/12/12/image_23042025_12_13_05_9638.jpg
/home/nano/Desktop/images/23042025/12/12/image_23042025_12_12_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013092","1353013086","1353013074","1353013064","1353013081","1353013069"],"photo_ids_order":["1353013064","1353013069","1353013074","1353013081","1353013086","1353013092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c1fe099ac8b88274c163c62d5b6c4f4.jpg","text":"TemporaryFile(/tmp/multipartBody2140647751859079673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403273216,"filename":"image_23042025_12_12_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eccae8fd939dda9ae45fa2dd3dfa6221.jpg","text":"TemporaryFile(/tmp/multipartBody7218282845955438882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403273216,"filename":"image_23042025_12_13_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/116b20341d4a5923900a36af15c5a250.jpg","text":"TemporaryFile(/tmp/multipartBody7096580348540355491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403273216,"filename":"image_23042025_12_13_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/711369266737fc1e08f2f7287b6ff52b.jpg","text":"TemporaryFile(/tmp/multipartBody4699018290467640813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403273216,"filename":"image_23042025_12_13_45_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da23e977c96c98911246f70b72fbb9f3.jpg","text":"TemporaryFile(/tmp/multipartBody2770217016554296888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403273216,"filename":"image_23042025_12_13_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbda099eb22cdf1ba19242423d22bf4e.jpg","text":"TemporaryFile(/tmp/multipartBody3869460378415830921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403273216,"filename":"image_23042025_12_13_35_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013074","file1":"1353013069","file0":"1353013064","file4":"1353013086","file5":"1353013092","file3":"1353013081"},"map_files_photo_id_array":[{"photo_id":"1353013092","filename":"file5"},{"photo_id":"1353013074","filename":"file2"},{"photo_id":"1353013086","filename":"file4"},{"photo_id":"1353013069","filename":"file1"},{"photo_id":"1353013064","filename":"file0"},{"photo_id":"1353013081","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013092":["hashtag1","hashtag2"]},{"1353013086":["hashtag1","hashtag2"]},{"1353013074":["hashtag1","hashtag2"]},{"1353013064":["hashtag1","hashtag2"]},{"1353013081":["hashtag1","hashtag2"]},{"1353013069":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013092, 1353013086, 1353013074, 1353013064, 1353013081, 1353013069)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.79619812965393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:14:32.072944
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_45_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_35_9615.jpg', 2), ('/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_25_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_15_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/12/13/image_23042025_12_14_05_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_45_10628.jpg', '/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_35_9615.jpg', '/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_25_9679.jpg', '/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_15_10666.jpg', '/home/nano/Desktop/images/23042025/12/13/image_23042025_12_14_05_9652.jpg', '/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_45_10628.jpg
/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_35_9615.jpg
/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_25_9679.jpg
/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_15_10666.jpg
/home/nano/Desktop/images/23042025/12/13/image_23042025_12_14_05_9652.jpg
/home/nano/Desktop/images/23042025/12/13/image_23042025_12_13_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013147","1353013135","1353013157","1353013154","1353013130","1353013141"],"photo_ids_order":["1353013130","1353013135","1353013141","1353013147","1353013154","1353013157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2bd8d6321301828c5a1168cf4df87e32.jpg","text":"TemporaryFile(/tmp/multipartBody4137871947457746318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403333377,"filename":"image_23042025_12_14_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/539065aacd7089f354e6929969250845.jpg","text":"TemporaryFile(/tmp/multipartBody4774601920913808540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403333377,"filename":"image_23042025_12_14_35_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c2eb232437be0e6c74d28eed1c43086.jpg","text":"TemporaryFile(/tmp/multipartBody2718844463899657145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403333377,"filename":"image_23042025_12_13_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f42df66b68aa81ac24405b3d12189e1d.jpg","text":"TemporaryFile(/tmp/multipartBody878811584185382878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403333377,"filename":"image_23042025_12_14_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1374caff889d95a628c0520a2522b8c9.jpg","text":"TemporaryFile(/tmp/multipartBody278093930078423378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403333377,"filename":"image_23042025_12_14_45_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2c856e1b966c52768c188c28060954c.jpg","text":"TemporaryFile(/tmp/multipartBody5865398862395493715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403333377,"filename":"image_23042025_12_14_25_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013141","file1":"1353013135","file0":"1353013130","file4":"1353013154","file5":"1353013157","file3":"1353013147"},"map_files_photo_id_array":[{"photo_id":"1353013157","filename":"file5"},{"photo_id":"1353013141","filename":"file2"},{"photo_id":"1353013154","filename":"file4"},{"photo_id":"1353013135","filename":"file1"},{"photo_id":"1353013130","filename":"file0"},{"photo_id":"1353013147","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013147":["hashtag1","hashtag2"]},{"1353013135":["hashtag1","hashtag2"]},{"1353013157":["hashtag1","hashtag2"]},{"1353013154":["hashtag1","hashtag2"]},{"1353013130":["hashtag1","hashtag2"]},{"1353013141":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013147, 1353013135, 1353013157, 1353013154, 1353013130, 1353013141)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.303032636642456 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:15:32.174481
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_35_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_15_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/12/14/image_23042025_12_15_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_45_9634.jpg', '/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_35_10651.jpg', '/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_25_9630.jpg', '/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_15_10688.jpg', '/home/nano/Desktop/images/23042025/12/14/image_23042025_12_15_05_9653.jpg', '/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_45_9634.jpg
/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_35_10651.jpg
/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_25_9630.jpg
/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_15_10688.jpg
/home/nano/Desktop/images/23042025/12/14/image_23042025_12_15_05_9653.jpg
/home/nano/Desktop/images/23042025/12/14/image_23042025_12_14_55_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013245","1353013248","1353013257","1353013199","1353013241","1353013261"],"photo_ids_order":["1353013199","1353013241","1353013245","1353013248","1353013257","1353013261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e0cd7352ff706103d704f25a0ecd597.jpg","text":"TemporaryFile(/tmp/multipartBody3536834050927787066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403393629,"filename":"image_23042025_12_15_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1359ac3dd2fb2a506fb30e8095d74676.jpg","text":"TemporaryFile(/tmp/multipartBody7890357820171653692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403393629,"filename":"image_23042025_12_15_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85546764566f3ae094df89c9fae6b95b.jpg","text":"TemporaryFile(/tmp/multipartBody2425075743682097418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403393629,"filename":"image_23042025_12_15_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc099e4c34d0d29d243a96cce118240f.jpg","text":"TemporaryFile(/tmp/multipartBody2305785890879086376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403393629,"filename":"image_23042025_12_15_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d30fedb5b125e53ca7877e1b34897517.jpg","text":"TemporaryFile(/tmp/multipartBody9105780762333519038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403393629,"filename":"image_23042025_12_15_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2421eacf7a36a78eaaa17aa887847adc.jpg","text":"TemporaryFile(/tmp/multipartBody4493348266935057854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403393629,"filename":"image_23042025_12_14_55_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013245","file1":"1353013241","file0":"1353013199","file4":"1353013257","file5":"1353013261","file3":"1353013248"},"map_files_photo_id_array":[{"photo_id":"1353013261","filename":"file5"},{"photo_id":"1353013245","filename":"file2"},{"photo_id":"1353013257","filename":"file4"},{"photo_id":"1353013241","filename":"file1"},{"photo_id":"1353013199","filename":"file0"},{"photo_id":"1353013248","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013245":["hashtag1","hashtag2"]},{"1353013248":["hashtag1","hashtag2"]},{"1353013257":["hashtag1","hashtag2"]},{"1353013199":["hashtag1","hashtag2"]},{"1353013241":["hashtag1","hashtag2"]},{"1353013261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013245, 1353013248, 1353013257, 1353013199, 1353013241, 1353013261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.00821089744568 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:16:32.265031
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_35_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_15_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/12/15/image_23042025_12_16_05_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_45_9634.jpg', '/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_35_10658.jpg', '/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_25_9637.jpg', '/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_15_9644.jpg', '/home/nano/Desktop/images/23042025/12/15/image_23042025_12_16_05_10654.jpg', '/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_45_9634.jpg
/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_35_10658.jpg
/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_25_9637.jpg
/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_15_9644.jpg
/home/nano/Desktop/images/23042025/12/15/image_23042025_12_16_05_10654.jpg
/home/nano/Desktop/images/23042025/12/15/image_23042025_12_15_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013383","1353013425","1353013388","1353013397","1353013441","1353013342"],"photo_ids_order":["1353013342","1353013383","1353013388","1353013397","1353013425","1353013441"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/001251cead2655653bb03dc7d1634f1d.jpg","text":"TemporaryFile(/tmp/multipartBody4937565263969442660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403453513,"filename":"image_23042025_12_16_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b469a2a57c6aa3f0d2b6a49a91c478e.jpg","text":"TemporaryFile(/tmp/multipartBody2156482705992758639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403453513,"filename":"image_23042025_12_16_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/afe6da518d6d87c69ef643753c0081bd.jpg","text":"TemporaryFile(/tmp/multipartBody6516777079602561399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403453513,"filename":"image_23042025_12_16_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82a4ff23aaa53fb18b1c9e44d9ce9f93.jpg","text":"TemporaryFile(/tmp/multipartBody330131960423562106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403453513,"filename":"image_23042025_12_16_15_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b21f99b3c5be0ce0774991470d33c4d.jpg","text":"TemporaryFile(/tmp/multipartBody8683704980082356792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403453513,"filename":"image_23042025_12_15_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02aa5d313921465c8b4c14c922113364.jpg","text":"TemporaryFile(/tmp/multipartBody2821505707321690242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403453513,"filename":"image_23042025_12_16_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013388","file1":"1353013383","file0":"1353013342","file4":"1353013425","file5":"1353013441","file3":"1353013397"},"map_files_photo_id_array":[{"photo_id":"1353013441","filename":"file5"},{"photo_id":"1353013388","filename":"file2"},{"photo_id":"1353013425","filename":"file4"},{"photo_id":"1353013383","filename":"file1"},{"photo_id":"1353013342","filename":"file0"},{"photo_id":"1353013397","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013383":["hashtag1","hashtag2"]},{"1353013425":["hashtag1","hashtag2"]},{"1353013388":["hashtag1","hashtag2"]},{"1353013397":["hashtag1","hashtag2"]},{"1353013441":["hashtag1","hashtag2"]},{"1353013342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013383, 1353013425, 1353013388, 1353013397, 1353013441, 1353013342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.910231590270996 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:17:32.385422
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_45_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_35_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_25_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_15_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/16/image_23042025_12_17_05_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_45_9653.jpg', '/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_35_10646.jpg', '/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_25_9627.jpg', '/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_15_9641.jpg', '/home/nano/Desktop/images/23042025/12/16/image_23042025_12_17_05_10656.jpg', '/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_45_9653.jpg
/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_35_10646.jpg
/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_25_9627.jpg
/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_15_9641.jpg
/home/nano/Desktop/images/23042025/12/16/image_23042025_12_17_05_10656.jpg
/home/nano/Desktop/images/23042025/12/16/image_23042025_12_16_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013599","1353013584","1353013578","1353013563","1353013556","1353013552"],"photo_ids_order":["1353013552","1353013556","1353013563","1353013578","1353013584","1353013599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbef9290ccdde5424a93151ec84bb6fa.jpg","text":"TemporaryFile(/tmp/multipartBody5685469382972070571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403515484,"filename":"image_23042025_12_16_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4680aa7c849ed24b45ec82c7dd6b23d.jpg","text":"TemporaryFile(/tmp/multipartBody6012491318451393980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403515484,"filename":"image_23042025_12_17_05_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/128c815f8f75f7d49eab819e9b4cbe3b.jpg","text":"TemporaryFile(/tmp/multipartBody469947040807789724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403515484,"filename":"image_23042025_12_17_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2adafe6e89311bea7e1cd32792b913f.jpg","text":"TemporaryFile(/tmp/multipartBody135562258290246743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403515484,"filename":"image_23042025_12_17_25_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93f216c306ff765dee61224dc9f85826.jpg","text":"TemporaryFile(/tmp/multipartBody8229637062336097266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403515484,"filename":"image_23042025_12_17_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81279620ad523d0129a7c1cc14042cb6.jpg","text":"TemporaryFile(/tmp/multipartBody6745698765867794181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403515484,"filename":"image_23042025_12_17_45_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013563","file1":"1353013556","file0":"1353013552","file4":"1353013584","file5":"1353013599","file3":"1353013578"},"map_files_photo_id_array":[{"photo_id":"1353013599","filename":"file5"},{"photo_id":"1353013563","filename":"file2"},{"photo_id":"1353013584","filename":"file4"},{"photo_id":"1353013556","filename":"file1"},{"photo_id":"1353013552","filename":"file0"},{"photo_id":"1353013578","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013599":["hashtag1","hashtag2"]},{"1353013584":["hashtag1","hashtag2"]},{"1353013578":["hashtag1","hashtag2"]},{"1353013563":["hashtag1","hashtag2"]},{"1353013556":["hashtag1","hashtag2"]},{"1353013552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013599, 1353013584, 1353013578, 1353013563, 1353013556, 1353013552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.50866961479187 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:18:32.466890
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_45_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_35_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_25_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_15_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/12/17/image_23042025_12_18_05_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_45_9645.jpg', '/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_35_9641.jpg', '/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_25_10665.jpg', '/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_15_9668.jpg', '/home/nano/Desktop/images/23042025/12/17/image_23042025_12_18_05_9635.jpg', '/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_55_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_45_9645.jpg
/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_35_9641.jpg
/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_25_10665.jpg
/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_15_9668.jpg
/home/nano/Desktop/images/23042025/12/17/image_23042025_12_18_05_9635.jpg
/home/nano/Desktop/images/23042025/12/17/image_23042025_12_17_55_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013729","1353013723","1353013717","1353013734","1353013712","1353013738"],"photo_ids_order":["1353013712","1353013717","1353013723","1353013729","1353013734","1353013738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14da3ad95e3b84b5dc2979d5025a7167.jpg","text":"TemporaryFile(/tmp/multipartBody1637055031007282797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403573846,"filename":"image_23042025_12_18_15_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f087069145aecf91143bf52e9728ba25.jpg","text":"TemporaryFile(/tmp/multipartBody2221347799597224500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403573846,"filename":"image_23042025_12_18_25_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/580e621c483196d66a47799b9e0ddf21.jpg","text":"TemporaryFile(/tmp/multipartBody4533238653882487725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403573846,"filename":"image_23042025_12_18_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3426b208c7f101cf996f3824fc19f296.jpg","text":"TemporaryFile(/tmp/multipartBody6721259096330518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403573846,"filename":"image_23042025_12_18_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d77c713c75b4fd389ee4f73d08336fc4.jpg","text":"TemporaryFile(/tmp/multipartBody7878156137507857141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403573846,"filename":"image_23042025_12_18_45_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db1cbccaa468583b5ef5747b5a9074cd.jpg","text":"TemporaryFile(/tmp/multipartBody3551019132151060215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403573846,"filename":"image_23042025_12_17_55_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013723","file1":"1353013717","file0":"1353013712","file4":"1353013734","file5":"1353013738","file3":"1353013729"},"map_files_photo_id_array":[{"photo_id":"1353013738","filename":"file5"},{"photo_id":"1353013723","filename":"file2"},{"photo_id":"1353013734","filename":"file4"},{"photo_id":"1353013717","filename":"file1"},{"photo_id":"1353013712","filename":"file0"},{"photo_id":"1353013729","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013729":["hashtag1","hashtag2"]},{"1353013723":["hashtag1","hashtag2"]},{"1353013717":["hashtag1","hashtag2"]},{"1353013734":["hashtag1","hashtag2"]},{"1353013712":["hashtag1","hashtag2"]},{"1353013738":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013729, 1353013723, 1353013717, 1353013734, 1353013712, 1353013738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.758041620254517 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:19:32.586017
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_35_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_25_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_15_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/12/18/image_23042025_12_19_05_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_55_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_45_9641.jpg', '/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_35_9627.jpg', '/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_25_10644.jpg', '/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_15_9659.jpg', '/home/nano/Desktop/images/23042025/12/18/image_23042025_12_19_05_9652.jpg', '/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_55_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_45_9641.jpg
/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_35_9627.jpg
/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_25_10644.jpg
/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_15_9659.jpg
/home/nano/Desktop/images/23042025/12/18/image_23042025_12_19_05_9652.jpg
/home/nano/Desktop/images/23042025/12/18/image_23042025_12_18_55_10636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013764","1353013796","1353013793","1353013774","1353013759","1353013768"],"photo_ids_order":["1353013759","1353013764","1353013768","1353013774","1353013793","1353013796"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6477771fd031ebb40cbc906796f69ad1.jpg","text":"TemporaryFile(/tmp/multipartBody4894344174703382546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403633805,"filename":"image_23042025_12_19_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e9521507147d23fd6b39ce745094bf5.jpg","text":"TemporaryFile(/tmp/multipartBody5803836392787260243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403633805,"filename":"image_23042025_12_18_55_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee227991a9b813ff24aadfc52a964c16.jpg","text":"TemporaryFile(/tmp/multipartBody153498990709025056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403633805,"filename":"image_23042025_12_19_05_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0499579c7de17ca67d663f286572cb9.jpg","text":"TemporaryFile(/tmp/multipartBody1631892813737023061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403633805,"filename":"image_23042025_12_19_15_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/879f02e36f16d3a882a94705a2e02c41.jpg","text":"TemporaryFile(/tmp/multipartBody6226085271241611012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403633805,"filename":"image_23042025_12_19_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e0ab885669dd14d4406c1039db98287.jpg","text":"TemporaryFile(/tmp/multipartBody2332767700381889409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403633805,"filename":"image_23042025_12_19_25_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013768","file1":"1353013764","file0":"1353013759","file4":"1353013793","file5":"1353013796","file3":"1353013774"},"map_files_photo_id_array":[{"photo_id":"1353013796","filename":"file5"},{"photo_id":"1353013768","filename":"file2"},{"photo_id":"1353013793","filename":"file4"},{"photo_id":"1353013764","filename":"file1"},{"photo_id":"1353013759","filename":"file0"},{"photo_id":"1353013774","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013764":["hashtag1","hashtag2"]},{"1353013796":["hashtag1","hashtag2"]},{"1353013793":["hashtag1","hashtag2"]},{"1353013774":["hashtag1","hashtag2"]},{"1353013759":["hashtag1","hashtag2"]},{"1353013768":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013764, 1353013796, 1353013793, 1353013774, 1353013759, 1353013768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.94623136520386 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:20:32.713384
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_35_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_25_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_15_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/12/19/image_23042025_12_20_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_55_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_45_10647.jpg', '/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_35_9627.jpg', '/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_25_10640.jpg', '/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_15_9650.jpg', '/home/nano/Desktop/images/23042025/12/19/image_23042025_12_20_05_9650.jpg', '/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_55_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_45_10647.jpg
/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_35_9627.jpg
/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_25_10640.jpg
/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_15_9650.jpg
/home/nano/Desktop/images/23042025/12/19/image_23042025_12_20_05_9650.jpg
/home/nano/Desktop/images/23042025/12/19/image_23042025_12_19_55_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353013836","1353013821","1353013824","1353013818","1353013833","1353013829"],"photo_ids_order":["1353013818","1353013821","1353013824","1353013829","1353013833","1353013836"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1401944d790c77fbc7bd70ee4d6dbce9.jpg","text":"TemporaryFile(/tmp/multipartBody1691246692007202168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403693907,"filename":"image_23042025_12_19_55_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86ddf5b8de15198c1bb30387c42b56c6.jpg","text":"TemporaryFile(/tmp/multipartBody8802503498691736733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403693907,"filename":"image_23042025_12_20_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/877ad28d4b5cdfb575a7043249dfe8ad.jpg","text":"TemporaryFile(/tmp/multipartBody3631507364832629481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403693907,"filename":"image_23042025_12_20_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57837b5e77a3b50052db1eafc0d4f441.jpg","text":"TemporaryFile(/tmp/multipartBody5213584087191003238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403693907,"filename":"image_23042025_12_20_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3fa7af38b81931b59f6e4eadd13a3f9.jpg","text":"TemporaryFile(/tmp/multipartBody1565993097625165857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403693907,"filename":"image_23042025_12_20_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fe1bb57c162052437e827ed0e618a9b.jpg","text":"TemporaryFile(/tmp/multipartBody3556331346118439969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403693907,"filename":"image_23042025_12_20_15_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013824","file1":"1353013821","file0":"1353013818","file4":"1353013833","file5":"1353013836","file3":"1353013829"},"map_files_photo_id_array":[{"photo_id":"1353013836","filename":"file5"},{"photo_id":"1353013824","filename":"file2"},{"photo_id":"1353013833","filename":"file4"},{"photo_id":"1353013821","filename":"file1"},{"photo_id":"1353013818","filename":"file0"},{"photo_id":"1353013829","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353013836":["hashtag1","hashtag2"]},{"1353013821":["hashtag1","hashtag2"]},{"1353013824":["hashtag1","hashtag2"]},{"1353013818":["hashtag1","hashtag2"]},{"1353013833":["hashtag1","hashtag2"]},{"1353013829":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353013836, 1353013821, 1353013824, 1353013818, 1353013833, 1353013829)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.173837184906006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:21:31.787579
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_45_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_35_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_15_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/12/20/image_23042025_12_21_05_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_45_10648.jpg', '/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_35_9631.jpg', '/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_25_9647.jpg', '/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_15_10675.jpg', '/home/nano/Desktop/images/23042025/12/20/image_23042025_12_21_05_9636.jpg', '/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_45_10648.jpg
/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_35_9631.jpg
/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_25_9647.jpg
/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_15_10675.jpg
/home/nano/Desktop/images/23042025/12/20/image_23042025_12_21_05_9636.jpg
/home/nano/Desktop/images/23042025/12/20/image_23042025_12_20_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014178","1353014271","1353013887","1353013856","1353013981","1353014076"],"photo_ids_order":["1353013856","1353013887","1353013981","1353014076","1353014178","1353014271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/322a53a5e675b9bfd7f12583f04b796e.jpg","text":"TemporaryFile(/tmp/multipartBody1266982156746767153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403753991,"filename":"image_23042025_12_21_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab65b7b8fb90154fda79942b8bc9dccd.jpg","text":"TemporaryFile(/tmp/multipartBody1669075294879628219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403753991,"filename":"image_23042025_12_20_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53bf5c65cfb0be2d3a94f83c838e9bab.jpg","text":"TemporaryFile(/tmp/multipartBody394945066961009215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403753991,"filename":"image_23042025_12_21_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82919c002adbdecf24847eac9ee75b91.jpg","text":"TemporaryFile(/tmp/multipartBody5038306460443350463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403753991,"filename":"image_23042025_12_21_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e12724bce885c878f247fa72be7df64.jpg","text":"TemporaryFile(/tmp/multipartBody1106969238259728249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403753991,"filename":"image_23042025_12_21_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83d17baea82ffe9577f1ec8992f062f2.jpg","text":"TemporaryFile(/tmp/multipartBody9089781079405570523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403753991,"filename":"image_23042025_12_21_15_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353013981","file1":"1353013887","file0":"1353013856","file4":"1353014178","file5":"1353014271","file3":"1353014076"},"map_files_photo_id_array":[{"photo_id":"1353014271","filename":"file5"},{"photo_id":"1353013981","filename":"file2"},{"photo_id":"1353014178","filename":"file4"},{"photo_id":"1353013887","filename":"file1"},{"photo_id":"1353013856","filename":"file0"},{"photo_id":"1353014076","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014178":["hashtag1","hashtag2"]},{"1353014271":["hashtag1","hashtag2"]},{"1353013887":["hashtag1","hashtag2"]},{"1353013856":["hashtag1","hashtag2"]},{"1353013981":["hashtag1","hashtag2"]},{"1353014076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014178, 1353014271, 1353013887, 1353013856, 1353013981, 1353014076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12796354293823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:22:31.867883
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_45_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_35_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_25_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_15_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/21/image_23042025_12_22_05_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_45_10629.jpg', '/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_35_9640.jpg', '/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_25_9675.jpg', '/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_15_10662.jpg', '/home/nano/Desktop/images/23042025/12/21/image_23042025_12_22_05_9632.jpg', '/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_45_10629.jpg
/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_35_9640.jpg
/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_25_9675.jpg
/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_15_10662.jpg
/home/nano/Desktop/images/23042025/12/21/image_23042025_12_22_05_9632.jpg
/home/nano/Desktop/images/23042025/12/21/image_23042025_12_21_55_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014379","1353014375","1353014369","1353014360","1353014383","1353014365"],"photo_ids_order":["1353014360","1353014365","1353014369","1353014375","1353014379","1353014383"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/434be2d34da1c6f53be1556fd9c70b78.jpg","text":"TemporaryFile(/tmp/multipartBody4962625614327763648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403813283,"filename":"image_23042025_12_22_05_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5102aef687c742bc3124bab64df39f85.jpg","text":"TemporaryFile(/tmp/multipartBody8645158139470318211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403813283,"filename":"image_23042025_12_22_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4891475bb9e39eda26a38eeadc944ef8.jpg","text":"TemporaryFile(/tmp/multipartBody6810768371661967677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403813283,"filename":"image_23042025_12_22_25_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68dc25696628fdd462e9ee5e1c72d0b6.jpg","text":"TemporaryFile(/tmp/multipartBody7394609720893355141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403813283,"filename":"image_23042025_12_22_45_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13c0d57951e557264fbe6e0873ef8d04.jpg","text":"TemporaryFile(/tmp/multipartBody759325534889892800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403813283,"filename":"image_23042025_12_21_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/689d33d720aa78eb6666d0dd8f9c7dea.jpg","text":"TemporaryFile(/tmp/multipartBody8237589836116408450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403813283,"filename":"image_23042025_12_22_35_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353014369","file1":"1353014365","file0":"1353014360","file4":"1353014379","file5":"1353014383","file3":"1353014375"},"map_files_photo_id_array":[{"photo_id":"1353014383","filename":"file5"},{"photo_id":"1353014369","filename":"file2"},{"photo_id":"1353014379","filename":"file4"},{"photo_id":"1353014365","filename":"file1"},{"photo_id":"1353014360","filename":"file0"},{"photo_id":"1353014375","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014379":["hashtag1","hashtag2"]},{"1353014375":["hashtag1","hashtag2"]},{"1353014369":["hashtag1","hashtag2"]},{"1353014360":["hashtag1","hashtag2"]},{"1353014383":["hashtag1","hashtag2"]},{"1353014365":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014379, 1353014375, 1353014369, 1353014360, 1353014383, 1353014365)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47115635871887 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:23:31.971423
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_45_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_35_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_15_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/22/image_23042025_12_23_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_45_9640.jpg', '/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_35_10657.jpg', '/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_25_9637.jpg', '/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_15_10662.jpg', '/home/nano/Desktop/images/23042025/12/22/image_23042025_12_23_05_9650.jpg', '/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_45_9640.jpg
/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_35_10657.jpg
/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_25_9637.jpg
/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_15_10662.jpg
/home/nano/Desktop/images/23042025/12/22/image_23042025_12_23_05_9650.jpg
/home/nano/Desktop/images/23042025/12/22/image_23042025_12_22_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014415","1353014409","1353014399","1353014420","1353014423","1353014404"],"photo_ids_order":["1353014399","1353014404","1353014409","1353014415","1353014420","1353014423"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/662e8db14a9b34fd8d52a3a4b0000761.jpg","text":"TemporaryFile(/tmp/multipartBody6256327004210066415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403873188,"filename":"image_23042025_12_23_15_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21f8462322255fe0089f3cc974e27895.jpg","text":"TemporaryFile(/tmp/multipartBody2142080367904506323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403873188,"filename":"image_23042025_12_23_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1247ec39e71ac5605beff0a017c3056.jpg","text":"TemporaryFile(/tmp/multipartBody5897709628185524902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403873188,"filename":"image_23042025_12_23_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e90282bd5d33d0c96ccfe37a68546c5.jpg","text":"TemporaryFile(/tmp/multipartBody4808368381357400674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403873188,"filename":"image_23042025_12_23_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52cc9d1a7b724f640ac8041239c30844.jpg","text":"TemporaryFile(/tmp/multipartBody3632977638720500020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403873188,"filename":"image_23042025_12_22_55_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa3747bfbbf268b9549c92d8689d0b73.jpg","text":"TemporaryFile(/tmp/multipartBody7821234054112716365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403873188,"filename":"image_23042025_12_23_35_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353014409","file1":"1353014404","file0":"1353014399","file4":"1353014420","file5":"1353014423","file3":"1353014415"},"map_files_photo_id_array":[{"photo_id":"1353014423","filename":"file5"},{"photo_id":"1353014409","filename":"file2"},{"photo_id":"1353014420","filename":"file4"},{"photo_id":"1353014404","filename":"file1"},{"photo_id":"1353014399","filename":"file0"},{"photo_id":"1353014415","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014415":["hashtag1","hashtag2"]},{"1353014409":["hashtag1","hashtag2"]},{"1353014399":["hashtag1","hashtag2"]},{"1353014420":["hashtag1","hashtag2"]},{"1353014423":["hashtag1","hashtag2"]},{"1353014404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014415, 1353014409, 1353014399, 1353014420, 1353014423, 1353014404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.322370290756226 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:24:32.106572
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_45_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_35_10632.jpg', 2), ('/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_25_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_15_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/23/image_23042025_12_24_05_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_55_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_45_9650.jpg', '/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_35_10632.jpg', '/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_25_9633.jpg', '/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_15_9633.jpg', '/home/nano/Desktop/images/23042025/12/23/image_23042025_12_24_05_10665.jpg', '/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_55_9635.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_45_9650.jpg
/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_35_10632.jpg
/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_25_9633.jpg
/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_15_9633.jpg
/home/nano/Desktop/images/23042025/12/23/image_23042025_12_24_05_10665.jpg
/home/nano/Desktop/images/23042025/12/23/image_23042025_12_23_55_9635.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014456","1353014461","1353014467","1353014452","1353014490","1353014493"],"photo_ids_order":["1353014452","1353014456","1353014461","1353014467","1353014490","1353014493"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f901ce3b24c410a59a31751ac9856007.jpg","text":"TemporaryFile(/tmp/multipartBody6558568030070720332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403933471,"filename":"image_23042025_12_24_35_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb5c8adfdf91987b7c48c24f388c7084.jpg","text":"TemporaryFile(/tmp/multipartBody7295377718722894690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403933471,"filename":"image_23042025_12_24_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9909099cfe2fe787800cfd0da64fa7d8.jpg","text":"TemporaryFile(/tmp/multipartBody5950984713558652792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403933471,"filename":"image_23042025_12_24_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b3606a4728139b4ac6416ff122618a8.jpg","text":"TemporaryFile(/tmp/multipartBody8244222702198407787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403933471,"filename":"image_23042025_12_24_45_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f1c64cb883310fcd888a299361be2d1.jpg","text":"TemporaryFile(/tmp/multipartBody2521737057273588764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403933471,"filename":"image_23042025_12_24_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee9348ef5204d383dd3080e59d7d5c64.jpg","text":"TemporaryFile(/tmp/multipartBody7190093520323955610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403933471,"filename":"image_23042025_12_23_55_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353014461","file1":"1353014456","file0":"1353014452","file4":"1353014490","file5":"1353014493","file3":"1353014467"},"map_files_photo_id_array":[{"photo_id":"1353014493","filename":"file5"},{"photo_id":"1353014461","filename":"file2"},{"photo_id":"1353014490","filename":"file4"},{"photo_id":"1353014456","filename":"file1"},{"photo_id":"1353014452","filename":"file0"},{"photo_id":"1353014467","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014456":["hashtag1","hashtag2"]},{"1353014461":["hashtag1","hashtag2"]},{"1353014467":["hashtag1","hashtag2"]},{"1353014452":["hashtag1","hashtag2"]},{"1353014490":["hashtag1","hashtag2"]},{"1353014493":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014456, 1353014461, 1353014467, 1353014452, 1353014490, 1353014493)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.54216122627258 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:25:32.232722
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_45_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_35_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_24_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_15_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/12/24/image_23042025_12_25_05_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_45_9658.jpg', '/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_35_10651.jpg', '/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_24_9630.jpg', '/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_15_9629.jpg', '/home/nano/Desktop/images/23042025/12/24/image_23042025_12_25_05_10652.jpg', '/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_45_9658.jpg
/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_35_10651.jpg
/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_24_9630.jpg
/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_15_9629.jpg
/home/nano/Desktop/images/23042025/12/24/image_23042025_12_25_05_10652.jpg
/home/nano/Desktop/images/23042025/12/24/image_23042025_12_24_55_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014769","1353014760","1353014747","1353014773","1353014764","1353014778"],"photo_ids_order":["1353014747","1353014760","1353014764","1353014769","1353014773","1353014778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbcba7aac25d91b27771cb3367d13424.jpg","text":"TemporaryFile(/tmp/multipartBody1406344398485045784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403993415,"filename":"image_23042025_12_25_15_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c3d185497dd54a4f11caaee0c441c58.jpg","text":"TemporaryFile(/tmp/multipartBody7155318839601166857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403993415,"filename":"image_23042025_12_25_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e09e0f528a6a1a51e6ae080f4335be38.jpg","text":"TemporaryFile(/tmp/multipartBody923733893159919174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403993415,"filename":"image_23042025_12_25_45_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/564964f041765143bb586a9f7d820fcd.jpg","text":"TemporaryFile(/tmp/multipartBody1953660648337977660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403993415,"filename":"image_23042025_12_25_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85ec721ba4821a3f6e80ec5c3c273c7c.jpg","text":"TemporaryFile(/tmp/multipartBody138891226413041839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403993415,"filename":"image_23042025_12_25_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc52f7d169e0696df54b6885f1107ca5.jpg","text":"TemporaryFile(/tmp/multipartBody8788769236158974453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745403993415,"filename":"image_23042025_12_24_55_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353014764","file1":"1353014760","file0":"1353014747","file4":"1353014773","file5":"1353014778","file3":"1353014769"},"map_files_photo_id_array":[{"photo_id":"1353014778","filename":"file5"},{"photo_id":"1353014764","filename":"file2"},{"photo_id":"1353014773","filename":"file4"},{"photo_id":"1353014760","filename":"file1"},{"photo_id":"1353014747","filename":"file0"},{"photo_id":"1353014769","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014769":["hashtag1","hashtag2"]},{"1353014760":["hashtag1","hashtag2"]},{"1353014747":["hashtag1","hashtag2"]},{"1353014773":["hashtag1","hashtag2"]},{"1353014764":["hashtag1","hashtag2"]},{"1353014778":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014769, 1353014760, 1353014747, 1353014773, 1353014764, 1353014778)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.471503257751465 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:26:32.304018
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_45_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_35_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_25_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_15_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/25/image_23042025_12_26_05_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_55_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_45_9627.jpg', '/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_35_9640.jpg', '/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_25_10662.jpg', '/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_15_9651.jpg', '/home/nano/Desktop/images/23042025/12/25/image_23042025_12_26_05_9654.jpg', '/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_55_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_45_9627.jpg
/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_35_9640.jpg
/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_25_10662.jpg
/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_15_9651.jpg
/home/nano/Desktop/images/23042025/12/25/image_23042025_12_26_05_9654.jpg
/home/nano/Desktop/images/23042025/12/25/image_23042025_12_25_55_10658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014820","1353014798","1353014810","1353014804","1353014794","1353014815"],"photo_ids_order":["1353014794","1353014798","1353014804","1353014810","1353014815","1353014820"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd868edd2d3aa40f2d3413e63d00dfce.jpg","text":"TemporaryFile(/tmp/multipartBody5080028498408976311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404053641,"filename":"image_23042025_12_25_55_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c5c2a51063c4eec1e47aaee135d67be.jpg","text":"TemporaryFile(/tmp/multipartBody5063133929183410627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404053641,"filename":"image_23042025_12_26_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e38e0463c6ce664aace5307f52ac27e8.jpg","text":"TemporaryFile(/tmp/multipartBody4364679715675793202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404053641,"filename":"image_23042025_12_26_15_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a25b834fb08b97928ebfc273974f64b3.jpg","text":"TemporaryFile(/tmp/multipartBody6873019772126064606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404053641,"filename":"image_23042025_12_26_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/557898cf11d998abc2c717bab7920622.jpg","text":"TemporaryFile(/tmp/multipartBody7979958326396097357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404053641,"filename":"image_23042025_12_26_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60f0b340609bf97a22733989e5396a21.jpg","text":"TemporaryFile(/tmp/multipartBody8426843510683585678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404053641,"filename":"image_23042025_12_26_05_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353014804","file1":"1353014798","file0":"1353014794","file4":"1353014815","file5":"1353014820","file3":"1353014810"},"map_files_photo_id_array":[{"photo_id":"1353014820","filename":"file5"},{"photo_id":"1353014804","filename":"file2"},{"photo_id":"1353014815","filename":"file4"},{"photo_id":"1353014798","filename":"file1"},{"photo_id":"1353014794","filename":"file0"},{"photo_id":"1353014810","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014820":["hashtag1","hashtag2"]},{"1353014798":["hashtag1","hashtag2"]},{"1353014810":["hashtag1","hashtag2"]},{"1353014804":["hashtag1","hashtag2"]},{"1353014794":["hashtag1","hashtag2"]},{"1353014815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014820, 1353014798, 1353014810, 1353014804, 1353014794, 1353014815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.432480573654175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:27:32.389743
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_45_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_35_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_25_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_15_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/26/image_23042025_12_27_05_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_55_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_45_9633.jpg', '/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_35_9629.jpg', '/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_25_10651.jpg', '/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_15_9638.jpg', '/home/nano/Desktop/images/23042025/12/26/image_23042025_12_27_05_9647.jpg', '/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_55_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_45_9633.jpg
/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_35_9629.jpg
/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_25_10651.jpg
/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_15_9638.jpg
/home/nano/Desktop/images/23042025/12/26/image_23042025_12_27_05_9647.jpg
/home/nano/Desktop/images/23042025/12/26/image_23042025_12_26_55_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353014892","1353014901","1353014897","1353014906","1353014986","1353014911"],"photo_ids_order":["1353014892","1353014897","1353014901","1353014906","1353014911","1353014986"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41dd980d3d901482e25fce129f28986b.jpg","text":"TemporaryFile(/tmp/multipartBody7639573947957380329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404113543,"filename":"image_23042025_12_27_45_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b03c2d151c03cf501a02d8c2098926b.jpg","text":"TemporaryFile(/tmp/multipartBody8091871163535612790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404113543,"filename":"image_23042025_12_27_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6977100215bdccd73e4d18a03d631dd3.jpg","text":"TemporaryFile(/tmp/multipartBody7033409368987205751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404113543,"filename":"image_23042025_12_27_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c404c42cbb871b57c2cb53eeeaa37191.jpg","text":"TemporaryFile(/tmp/multipartBody3535729133022146148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404113543,"filename":"image_23042025_12_27_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9bb9b98e71364c2fa36a4c82d6f0c2b.jpg","text":"TemporaryFile(/tmp/multipartBody2625720808278391202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404113543,"filename":"image_23042025_12_26_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bac25146f9664b0c39613f142d25cd6.jpg","text":"TemporaryFile(/tmp/multipartBody2513808067193989717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404113543,"filename":"image_23042025_12_27_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353014901","file1":"1353014897","file0":"1353014892","file4":"1353014911","file5":"1353014986","file3":"1353014906"},"map_files_photo_id_array":[{"photo_id":"1353014986","filename":"file5"},{"photo_id":"1353014901","filename":"file2"},{"photo_id":"1353014911","filename":"file4"},{"photo_id":"1353014897","filename":"file1"},{"photo_id":"1353014892","filename":"file0"},{"photo_id":"1353014906","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353014892":["hashtag1","hashtag2"]},{"1353014901":["hashtag1","hashtag2"]},{"1353014897":["hashtag1","hashtag2"]},{"1353014906":["hashtag1","hashtag2"]},{"1353014986":["hashtag1","hashtag2"]},{"1353014911":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353014892, 1353014901, 1353014897, 1353014906, 1353014986, 1353014911)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.6606764793396 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:28:32.470875
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_45_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_16_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/12/27/image_23042025_12_28_05_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_55_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_45_10667.jpg', '/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_35_9639.jpg', '/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_25_9630.jpg', '/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_16_10669.jpg', '/home/nano/Desktop/images/23042025/12/27/image_23042025_12_28_05_9640.jpg', '/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_55_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_45_10667.jpg
/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_35_9639.jpg
/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_25_9630.jpg
/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_16_10669.jpg
/home/nano/Desktop/images/23042025/12/27/image_23042025_12_28_05_9640.jpg
/home/nano/Desktop/images/23042025/12/27/image_23042025_12_27_55_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353015102","1353015146","1353015155","1353015158","1353015151","1353015130"],"photo_ids_order":["1353015102","1353015130","1353015146","1353015151","1353015155","1353015158"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/deaf95f8922c74b6d1847dc548804204.jpg","text":"TemporaryFile(/tmp/multipartBody6491634535112411381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404173799,"filename":"image_23042025_12_28_45_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a9aaed7b01f3ea3fc73df1e7235b821.jpg","text":"TemporaryFile(/tmp/multipartBody4195666209636937531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404173799,"filename":"image_23042025_12_28_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eeb62d041ba3994a20382ce890b96509.jpg","text":"TemporaryFile(/tmp/multipartBody2306689407471480334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404173799,"filename":"image_23042025_12_28_05_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab1d974205750122cd2f6ffbd6f0b2d4.jpg","text":"TemporaryFile(/tmp/multipartBody5975498117983897825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404173799,"filename":"image_23042025_12_27_55_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/707468b26327a8f17f79d8ea10176a56.jpg","text":"TemporaryFile(/tmp/multipartBody1512926387532938154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404173799,"filename":"image_23042025_12_28_16_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c23e3c9786eb082faeb2414637a690b.jpg","text":"TemporaryFile(/tmp/multipartBody3523150354185432373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404173799,"filename":"image_23042025_12_28_35_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353015146","file1":"1353015130","file0":"1353015102","file4":"1353015155","file5":"1353015158","file3":"1353015151"},"map_files_photo_id_array":[{"photo_id":"1353015158","filename":"file5"},{"photo_id":"1353015146","filename":"file2"},{"photo_id":"1353015155","filename":"file4"},{"photo_id":"1353015130","filename":"file1"},{"photo_id":"1353015102","filename":"file0"},{"photo_id":"1353015151","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353015102":["hashtag1","hashtag2"]},{"1353015146":["hashtag1","hashtag2"]},{"1353015155":["hashtag1","hashtag2"]},{"1353015158":["hashtag1","hashtag2"]},{"1353015151":["hashtag1","hashtag2"]},{"1353015130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353015102, 1353015146, 1353015155, 1353015158, 1353015151, 1353015130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.49894428253174 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:29:32.584383
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_45_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_35_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_25_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_15_10691.jpg', 2), ('/home/nano/Desktop/images/23042025/12/28/image_23042025_12_29_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_55_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_45_10638.jpg', '/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_35_9634.jpg', '/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_25_9628.jpg', '/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_15_10691.jpg', '/home/nano/Desktop/images/23042025/12/28/image_23042025_12_29_05_9642.jpg', '/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_55_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_45_10638.jpg
/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_35_9634.jpg
/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_25_9628.jpg
/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_15_10691.jpg
/home/nano/Desktop/images/23042025/12/28/image_23042025_12_29_05_9642.jpg
/home/nano/Desktop/images/23042025/12/28/image_23042025_12_28_55_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353015191","1353015185","1353015221","1353015224","1353015181","1353015208"],"photo_ids_order":["1353015181","1353015185","1353015191","1353015208","1353015221","1353015224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/385c07b9615cc39b7bb2841a72340fee.jpg","text":"TemporaryFile(/tmp/multipartBody1534196611118835486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404233818,"filename":"image_23042025_12_29_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68774d87c4c6e6359ddaca3bc50786c7.jpg","text":"TemporaryFile(/tmp/multipartBody7011810048863226714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404233818,"filename":"image_23042025_12_29_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a22194fad10b9d80f72617f33be2431e.jpg","text":"TemporaryFile(/tmp/multipartBody6846207073182350979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404233818,"filename":"image_23042025_12_29_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ea40d1fe6f8c3b1b35dd91b6c25060a.jpg","text":"TemporaryFile(/tmp/multipartBody2844835824027563360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404233818,"filename":"image_23042025_12_28_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47b84b351d832875435e32761440355a.jpg","text":"TemporaryFile(/tmp/multipartBody8422113155086258052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404233818,"filename":"image_23042025_12_29_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/898b3774dcc5ab26242b02cfb2772f4b.jpg","text":"TemporaryFile(/tmp/multipartBody8071381453467389788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404233818,"filename":"image_23042025_12_29_15_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353015191","file1":"1353015185","file0":"1353015181","file4":"1353015221","file5":"1353015224","file3":"1353015208"},"map_files_photo_id_array":[{"photo_id":"1353015224","filename":"file5"},{"photo_id":"1353015191","filename":"file2"},{"photo_id":"1353015221","filename":"file4"},{"photo_id":"1353015185","filename":"file1"},{"photo_id":"1353015181","filename":"file0"},{"photo_id":"1353015208","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353015191":["hashtag1","hashtag2"]},{"1353015185":["hashtag1","hashtag2"]},{"1353015221":["hashtag1","hashtag2"]},{"1353015224":["hashtag1","hashtag2"]},{"1353015181":["hashtag1","hashtag2"]},{"1353015208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353015191, 1353015185, 1353015221, 1353015224, 1353015181, 1353015208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.25480341911316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:30:32.707735
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_35_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_25_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_15_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/12/29/image_23042025_12_30_05_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_55_9611.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_45_10647.jpg', '/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_35_9650.jpg', '/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_25_9656.jpg', '/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_15_10664.jpg', '/home/nano/Desktop/images/23042025/12/29/image_23042025_12_30_05_9662.jpg', '/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_55_9611.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_45_10647.jpg
/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_35_9650.jpg
/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_25_9656.jpg
/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_15_10664.jpg
/home/nano/Desktop/images/23042025/12/29/image_23042025_12_30_05_9662.jpg
/home/nano/Desktop/images/23042025/12/29/image_23042025_12_29_55_9611.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353015248","1353015280","1353015253","1353015315","1353015258","1353015243"],"photo_ids_order":["1353015243","1353015248","1353015253","1353015258","1353015280","1353015315"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0fbb6e16554747df58541eb1c969ec8.jpg","text":"TemporaryFile(/tmp/multipartBody8338006589524117689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404294326,"filename":"image_23042025_12_30_35_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/691e9bd44931f94c764d1180ebd41af8.jpg","text":"TemporaryFile(/tmp/multipartBody5535809204816824783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404294326,"filename":"image_23042025_12_30_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/663f0b643813b1b3d9b7a545a05391cc.jpg","text":"TemporaryFile(/tmp/multipartBody3852136128927654126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404294326,"filename":"image_23042025_12_30_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4db6f3ef9749c4bfe9eee33f831601e.jpg","text":"TemporaryFile(/tmp/multipartBody7704325831918042442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404294326,"filename":"image_23042025_12_29_55_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb9563853540de4afc1f42b09e6e7821.jpg","text":"TemporaryFile(/tmp/multipartBody2270654018003145001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404294326,"filename":"image_23042025_12_30_15_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b137ddd26d0073d7914478d69f3a5b73.jpg","text":"TemporaryFile(/tmp/multipartBody508883355748936470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404294326,"filename":"image_23042025_12_30_45_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353015253","file1":"1353015248","file0":"1353015243","file4":"1353015280","file5":"1353015315","file3":"1353015258"},"map_files_photo_id_array":[{"photo_id":"1353015315","filename":"file5"},{"photo_id":"1353015253","filename":"file2"},{"photo_id":"1353015280","filename":"file4"},{"photo_id":"1353015248","filename":"file1"},{"photo_id":"1353015243","filename":"file0"},{"photo_id":"1353015258","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353015248":["hashtag1","hashtag2"]},{"1353015280":["hashtag1","hashtag2"]},{"1353015253":["hashtag1","hashtag2"]},{"1353015315":["hashtag1","hashtag2"]},{"1353015258":["hashtag1","hashtag2"]},{"1353015243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353015248, 1353015280, 1353015253, 1353015315, 1353015258, 1353015243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.977147340774536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:31:31.872036
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_35_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_25_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_15_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/30/image_23042025_12_31_05_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_45_9634.jpg', '/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_35_10640.jpg', '/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_25_9625.jpg', '/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_15_9627.jpg', '/home/nano/Desktop/images/23042025/12/30/image_23042025_12_31_05_10647.jpg', '/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_45_9634.jpg
/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_35_10640.jpg
/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_25_9625.jpg
/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_15_9627.jpg
/home/nano/Desktop/images/23042025/12/30/image_23042025_12_31_05_10647.jpg
/home/nano/Desktop/images/23042025/12/30/image_23042025_12_30_55_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016037","1353015997","1353015984","1353015885","1353016020","1353015876"],"photo_ids_order":["1353015876","1353015885","1353015984","1353015997","1353016020","1353016037"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29fd3bb150a81d1bca80a933e1ffa3a9.jpg","text":"TemporaryFile(/tmp/multipartBody7776217912803412563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404352988,"filename":"image_23042025_12_30_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d7d4f5c4d00a0c47f875f7d58471164.jpg","text":"TemporaryFile(/tmp/multipartBody7138575814129486277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404352988,"filename":"image_23042025_12_31_15_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c29b86eb6d75f798107e2c9f48442cf5.jpg","text":"TemporaryFile(/tmp/multipartBody5168663567270163952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404352988,"filename":"image_23042025_12_31_25_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42791b0552a8538f5929d2edd7399e16.jpg","text":"TemporaryFile(/tmp/multipartBody6265402014238659037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404352988,"filename":"image_23042025_12_31_35_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7fee88c322037a3c8f07073e825fff4.jpg","text":"TemporaryFile(/tmp/multipartBody7996422364657705602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404352988,"filename":"image_23042025_12_31_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a16150c9a9552a312f02e09aacbff86.jpg","text":"TemporaryFile(/tmp/multipartBody4673117216656869951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404352988,"filename":"image_23042025_12_31_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353015984","file1":"1353015885","file0":"1353015876","file4":"1353016020","file5":"1353016037","file3":"1353015997"},"map_files_photo_id_array":[{"photo_id":"1353016037","filename":"file5"},{"photo_id":"1353015984","filename":"file2"},{"photo_id":"1353016020","filename":"file4"},{"photo_id":"1353015885","filename":"file1"},{"photo_id":"1353015876","filename":"file0"},{"photo_id":"1353015997","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016037":["hashtag1","hashtag2"]},{"1353015997":["hashtag1","hashtag2"]},{"1353015984":["hashtag1","hashtag2"]},{"1353015885":["hashtag1","hashtag2"]},{"1353016020":["hashtag1","hashtag2"]},{"1353015876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016037, 1353015997, 1353015984, 1353015885, 1353016020, 1353015876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.24043655395508 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:32:31.952405
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_45_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_35_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_25_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_15_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/31/image_23042025_12_32_05_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_45_9632.jpg', '/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_35_10655.jpg', '/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_25_9649.jpg', '/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_15_9633.jpg', '/home/nano/Desktop/images/23042025/12/31/image_23042025_12_32_05_10647.jpg', '/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_45_9632.jpg
/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_35_10655.jpg
/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_25_9649.jpg
/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_15_9633.jpg
/home/nano/Desktop/images/23042025/12/31/image_23042025_12_32_05_10647.jpg
/home/nano/Desktop/images/23042025/12/31/image_23042025_12_31_55_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016115","1353016109","1353016118","1353016103","1353016098","1353016092"],"photo_ids_order":["1353016092","1353016098","1353016103","1353016109","1353016115","1353016118"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19128b6817349765ba5b7040aa689088.jpg","text":"TemporaryFile(/tmp/multipartBody2887174984839684397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404413175,"filename":"image_23042025_12_32_05_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/534684fe723ef18de545e99cff4ff42a.jpg","text":"TemporaryFile(/tmp/multipartBody5776727477286760518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404413175,"filename":"image_23042025_12_32_15_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73b3d7a2782466110701faaae4629c69.jpg","text":"TemporaryFile(/tmp/multipartBody9080508887991661162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404413175,"filename":"image_23042025_12_31_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55a4f90369d6710d8a18c958ba03420b.jpg","text":"TemporaryFile(/tmp/multipartBody8238301905287693788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404413175,"filename":"image_23042025_12_32_25_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e904f43f8a8e11a5e6109f199eee725.jpg","text":"TemporaryFile(/tmp/multipartBody4878700130528621965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404413175,"filename":"image_23042025_12_32_35_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a90a5f94c6c1f60941871d5e8720322.jpg","text":"TemporaryFile(/tmp/multipartBody2701037239668636494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404413175,"filename":"image_23042025_12_32_45_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016103","file1":"1353016098","file0":"1353016092","file4":"1353016115","file5":"1353016118","file3":"1353016109"},"map_files_photo_id_array":[{"photo_id":"1353016118","filename":"file5"},{"photo_id":"1353016103","filename":"file2"},{"photo_id":"1353016115","filename":"file4"},{"photo_id":"1353016098","filename":"file1"},{"photo_id":"1353016092","filename":"file0"},{"photo_id":"1353016109","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016115":["hashtag1","hashtag2"]},{"1353016109":["hashtag1","hashtag2"]},{"1353016118":["hashtag1","hashtag2"]},{"1353016103":["hashtag1","hashtag2"]},{"1353016098":["hashtag1","hashtag2"]},{"1353016092":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016115, 1353016109, 1353016118, 1353016103, 1353016098, 1353016092)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.70644235610962 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:33:32.053918
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_25_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_15_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/32/image_23042025_12_33_05_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_56_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_45_9634.jpg', '/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_35_9637.jpg', '/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_25_10645.jpg', '/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_15_9635.jpg', '/home/nano/Desktop/images/23042025/12/32/image_23042025_12_33_05_9658.jpg', '/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_56_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_45_9634.jpg
/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_35_9637.jpg
/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_25_10645.jpg
/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_15_9635.jpg
/home/nano/Desktop/images/23042025/12/32/image_23042025_12_33_05_9658.jpg
/home/nano/Desktop/images/23042025/12/32/image_23042025_12_32_56_10640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016157","1353016153","1353016141","1353016144","1353016149","1353016137"],"photo_ids_order":["1353016137","1353016141","1353016144","1353016149","1353016153","1353016157"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0835c2d9650e9188919060f50344ef3d.jpg","text":"TemporaryFile(/tmp/multipartBody9040279423688225879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404473266,"filename":"image_23042025_12_32_56_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9cc4a1c1ec37fa5a52a1d2ba722be017.jpg","text":"TemporaryFile(/tmp/multipartBody8854533175875251371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404473266,"filename":"image_23042025_12_33_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29fbaec5942d6a5e39d455aea55815d8.jpg","text":"TemporaryFile(/tmp/multipartBody1181000757144720873asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404473266,"filename":"image_23042025_12_33_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/029757129587a52ec79f5af745b0b3fc.jpg","text":"TemporaryFile(/tmp/multipartBody1925861024471843109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404473266,"filename":"image_23042025_12_33_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73d1bf315729ebd888a088eda0889206.jpg","text":"TemporaryFile(/tmp/multipartBody840637826439585609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404473266,"filename":"image_23042025_12_33_15_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cca31db26a653eeb739b1e200d0b6c51.jpg","text":"TemporaryFile(/tmp/multipartBody2665714255524184966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404473266,"filename":"image_23042025_12_33_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016144","file1":"1353016141","file0":"1353016137","file4":"1353016153","file5":"1353016157","file3":"1353016149"},"map_files_photo_id_array":[{"photo_id":"1353016157","filename":"file5"},{"photo_id":"1353016144","filename":"file2"},{"photo_id":"1353016153","filename":"file4"},{"photo_id":"1353016141","filename":"file1"},{"photo_id":"1353016137","filename":"file0"},{"photo_id":"1353016149","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016157":["hashtag1","hashtag2"]},{"1353016153":["hashtag1","hashtag2"]},{"1353016141":["hashtag1","hashtag2"]},{"1353016144":["hashtag1","hashtag2"]},{"1353016149":["hashtag1","hashtag2"]},{"1353016137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016157, 1353016153, 1353016141, 1353016144, 1353016149, 1353016137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57426476478577 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:34:32.209613
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_35_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_25_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/33/image_23042025_12_34_05_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_55_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_45_9644.jpg', '/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_35_9675.jpg', '/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_25_10657.jpg', '/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_15_9636.jpg', '/home/nano/Desktop/images/23042025/12/33/image_23042025_12_34_05_9636.jpg', '/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_55_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_45_9644.jpg
/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_35_9675.jpg
/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_25_10657.jpg
/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_15_9636.jpg
/home/nano/Desktop/images/23042025/12/33/image_23042025_12_34_05_9636.jpg
/home/nano/Desktop/images/23042025/12/33/image_23042025_12_33_55_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016352","1353016253","1353016291","1353016348","1353016324","1353016356"],"photo_ids_order":["1353016253","1353016291","1353016324","1353016348","1353016352","1353016356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72281e7e57e7ac1587c2dafb9ecc1c2f.jpg","text":"TemporaryFile(/tmp/multipartBody8373781728791149591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404533380,"filename":"image_23042025_12_34_05_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8322095397e0759f6b19834161f426b3.jpg","text":"TemporaryFile(/tmp/multipartBody5017087815908078329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404533380,"filename":"image_23042025_12_34_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9384331d6d041949dbbcaf1e317f00b.jpg","text":"TemporaryFile(/tmp/multipartBody937768168240037870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404533380,"filename":"image_23042025_12_34_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1091b5da2ed695086113b52a708a017.jpg","text":"TemporaryFile(/tmp/multipartBody38367677986289194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404533380,"filename":"image_23042025_12_34_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17cd3e8dcd68fee96de0b81ee2ec2bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6014448360562787471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404533380,"filename":"image_23042025_12_34_25_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a9a683ad49bf67eb6ef556fe62757e6.jpg","text":"TemporaryFile(/tmp/multipartBody5536977356685643520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404533380,"filename":"image_23042025_12_33_55_10648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016324","file1":"1353016291","file0":"1353016253","file4":"1353016352","file5":"1353016356","file3":"1353016348"},"map_files_photo_id_array":[{"photo_id":"1353016356","filename":"file5"},{"photo_id":"1353016324","filename":"file2"},{"photo_id":"1353016352","filename":"file4"},{"photo_id":"1353016291","filename":"file1"},{"photo_id":"1353016253","filename":"file0"},{"photo_id":"1353016348","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016352":["hashtag1","hashtag2"]},{"1353016253":["hashtag1","hashtag2"]},{"1353016291":["hashtag1","hashtag2"]},{"1353016348":["hashtag1","hashtag2"]},{"1353016324":["hashtag1","hashtag2"]},{"1353016356":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016352, 1353016253, 1353016291, 1353016348, 1353016324, 1353016356)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.340314388275146 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:35:32.315715
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_45_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_25_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_15_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/34/image_23042025_12_35_05_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_55_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_45_9629.jpg', '/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_35_9637.jpg', '/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_25_10657.jpg', '/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_15_9658.jpg', '/home/nano/Desktop/images/23042025/12/34/image_23042025_12_35_05_9654.jpg', '/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_45_9629.jpg
/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_35_9637.jpg
/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_25_10657.jpg
/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_15_9658.jpg
/home/nano/Desktop/images/23042025/12/34/image_23042025_12_35_05_9654.jpg
/home/nano/Desktop/images/23042025/12/34/image_23042025_12_34_55_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016375","1353016392","1353016395","1353016389","1353016380","1353016386"],"photo_ids_order":["1353016375","1353016380","1353016386","1353016389","1353016392","1353016395"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3839dc8099449be47fdc14caa901fe2a.jpg","text":"TemporaryFile(/tmp/multipartBody1676862550847646152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404593515,"filename":"image_23042025_12_35_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a78c3e29c45be9ffbdf86ab76ebbe4f.jpg","text":"TemporaryFile(/tmp/multipartBody6715080457650517429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404593515,"filename":"image_23042025_12_35_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bffa0415698e744061fa0c118aaa7f65.jpg","text":"TemporaryFile(/tmp/multipartBody2509984365706996822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404593515,"filename":"image_23042025_12_34_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08cd210bfae20f12e0a76f0eadccb4c6.jpg","text":"TemporaryFile(/tmp/multipartBody3228618415997307498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404593515,"filename":"image_23042025_12_35_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75c837984183114b3e4fe7ae414e5fd0.jpg","text":"TemporaryFile(/tmp/multipartBody6775034077444419663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404593515,"filename":"image_23042025_12_35_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87decc73de8d5a2c580a90f5986134c1.jpg","text":"TemporaryFile(/tmp/multipartBody8318079730469432984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404593515,"filename":"image_23042025_12_35_25_10657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016386","file1":"1353016380","file0":"1353016375","file4":"1353016392","file5":"1353016395","file3":"1353016389"},"map_files_photo_id_array":[{"photo_id":"1353016395","filename":"file5"},{"photo_id":"1353016386","filename":"file2"},{"photo_id":"1353016392","filename":"file4"},{"photo_id":"1353016380","filename":"file1"},{"photo_id":"1353016375","filename":"file0"},{"photo_id":"1353016389","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016375":["hashtag1","hashtag2"]},{"1353016392":["hashtag1","hashtag2"]},{"1353016395":["hashtag1","hashtag2"]},{"1353016389":["hashtag1","hashtag2"]},{"1353016380":["hashtag1","hashtag2"]},{"1353016386":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016375, 1353016392, 1353016395, 1353016389, 1353016380, 1353016386)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.105701684951782 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:36:32.418161
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_45_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_35_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_25_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/12/35/image_23042025_12_36_05_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_55_10641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_45_10654.jpg', '/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_35_9648.jpg', '/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_25_9648.jpg', '/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_15_10671.jpg', '/home/nano/Desktop/images/23042025/12/35/image_23042025_12_36_05_9635.jpg', '/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_55_10641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_45_10654.jpg
/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_35_9648.jpg
/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_25_9648.jpg
/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_15_10671.jpg
/home/nano/Desktop/images/23042025/12/35/image_23042025_12_36_05_9635.jpg
/home/nano/Desktop/images/23042025/12/35/image_23042025_12_35_55_10641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016454","1353016439","1353016450","1353016458","1353016446","1353016428"],"photo_ids_order":["1353016428","1353016439","1353016446","1353016450","1353016454","1353016458"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f83c4260f4614ddcfe116ac3797cd0e1.jpg","text":"TemporaryFile(/tmp/multipartBody2490062186557175772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404653819,"filename":"image_23042025_12_36_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8119a7f98e968240ef813671f8bf0e7.jpg","text":"TemporaryFile(/tmp/multipartBody1053223983694882087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404653819,"filename":"image_23042025_12_36_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7f0152a76495c79877a304b00a9d918.jpg","text":"TemporaryFile(/tmp/multipartBody3848814660901542360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404653819,"filename":"image_23042025_12_36_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c85e2fa9d45b2e04b8d4f2fd27914b13.jpg","text":"TemporaryFile(/tmp/multipartBody2502671355131690339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404653819,"filename":"image_23042025_12_35_55_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40f92eeee0df616a9dd1cbd7e73fb0ab.jpg","text":"TemporaryFile(/tmp/multipartBody6197599025269331024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404653819,"filename":"image_23042025_12_36_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ec8bdb851a982aecae5655a4ab7439a.jpg","text":"TemporaryFile(/tmp/multipartBody5747191000588501198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404653819,"filename":"image_23042025_12_36_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016446","file1":"1353016439","file0":"1353016428","file4":"1353016454","file5":"1353016458","file3":"1353016450"},"map_files_photo_id_array":[{"photo_id":"1353016458","filename":"file5"},{"photo_id":"1353016446","filename":"file2"},{"photo_id":"1353016454","filename":"file4"},{"photo_id":"1353016439","filename":"file1"},{"photo_id":"1353016428","filename":"file0"},{"photo_id":"1353016450","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016454":["hashtag1","hashtag2"]},{"1353016439":["hashtag1","hashtag2"]},{"1353016450":["hashtag1","hashtag2"]},{"1353016458":["hashtag1","hashtag2"]},{"1353016446":["hashtag1","hashtag2"]},{"1353016428":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016454, 1353016439, 1353016450, 1353016458, 1353016446, 1353016428)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.529876708984375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:37:32.493795
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_45_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_35_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_25_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_15_10726.jpg', 2), ('/home/nano/Desktop/images/23042025/12/36/image_23042025_12_37_05_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_55_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_45_10663.jpg', '/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_35_9641.jpg', '/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_25_9642.jpg', '/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_15_10726.jpg', '/home/nano/Desktop/images/23042025/12/36/image_23042025_12_37_05_9635.jpg', '/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_45_10663.jpg
/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_35_9641.jpg
/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_25_9642.jpg
/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_15_10726.jpg
/home/nano/Desktop/images/23042025/12/36/image_23042025_12_37_05_9635.jpg
/home/nano/Desktop/images/23042025/12/36/image_23042025_12_36_55_9657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016826","1353016876","1353016849","1353016870","1353016846","1353016881"],"photo_ids_order":["1353016826","1353016846","1353016849","1353016870","1353016876","1353016881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d02b9737cabcc577da02af1379a9ac56.jpg","text":"TemporaryFile(/tmp/multipartBody1520683487047892727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404713700,"filename":"image_23042025_12_37_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7384d4929e47495499fe3e76a2faeb94.jpg","text":"TemporaryFile(/tmp/multipartBody1614318321547296445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404713700,"filename":"image_23042025_12_37_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06d7d99900cb374e7dc98b5c91bbbd27.jpg","text":"TemporaryFile(/tmp/multipartBody7201780136589880354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404713700,"filename":"image_23042025_12_37_25_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21f8b72ee6466c5eee88173d15ca1547.jpg","text":"TemporaryFile(/tmp/multipartBody1704271560394973467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404713700,"filename":"image_23042025_12_37_15_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e592a0f7383190797f8d44f593ca1d3a.jpg","text":"TemporaryFile(/tmp/multipartBody2469561671648957449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404713700,"filename":"image_23042025_12_37_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f22d03d389d2b6f1d52c71ac6f3dc669.jpg","text":"TemporaryFile(/tmp/multipartBody2942786567153396101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404713700,"filename":"image_23042025_12_36_55_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016849","file1":"1353016846","file0":"1353016826","file4":"1353016876","file5":"1353016881","file3":"1353016870"},"map_files_photo_id_array":[{"photo_id":"1353016881","filename":"file5"},{"photo_id":"1353016849","filename":"file2"},{"photo_id":"1353016876","filename":"file4"},{"photo_id":"1353016846","filename":"file1"},{"photo_id":"1353016826","filename":"file0"},{"photo_id":"1353016870","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016826":["hashtag1","hashtag2"]},{"1353016876":["hashtag1","hashtag2"]},{"1353016849":["hashtag1","hashtag2"]},{"1353016870":["hashtag1","hashtag2"]},{"1353016846":["hashtag1","hashtag2"]},{"1353016881":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016826, 1353016876, 1353016849, 1353016870, 1353016846, 1353016881)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88401007652283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:38:32.576286
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_45_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_35_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_25_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/12/37/image_23042025_12_38_05_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_45_10640.jpg', '/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_35_9649.jpg', '/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_25_9663.jpg', '/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_15_10671.jpg', '/home/nano/Desktop/images/23042025/12/37/image_23042025_12_38_05_9662.jpg', '/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_45_10640.jpg
/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_35_9649.jpg
/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_25_9663.jpg
/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_15_10671.jpg
/home/nano/Desktop/images/23042025/12/37/image_23042025_12_38_05_9662.jpg
/home/nano/Desktop/images/23042025/12/37/image_23042025_12_37_55_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353016970","1353016987","1353016966","1353016995","1353016998","1353016991"],"photo_ids_order":["1353016966","1353016970","1353016987","1353016991","1353016995","1353016998"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e206b521b0acf46251f9115c0e67592b.jpg","text":"TemporaryFile(/tmp/multipartBody7482751385363768028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404773668,"filename":"image_23042025_12_38_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52e84c1e692a0fe440109f2ded912f1d.jpg","text":"TemporaryFile(/tmp/multipartBody8232911307238710947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404773668,"filename":"image_23042025_12_38_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d53d972384d3624eb271e142052f7ea.jpg","text":"TemporaryFile(/tmp/multipartBody2020834923414800195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404773668,"filename":"image_23042025_12_38_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a2ddd088abc1b1cf1c5b09405f11d36.jpg","text":"TemporaryFile(/tmp/multipartBody1364157475094987155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404773668,"filename":"image_23042025_12_38_05_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95e50c5add2860f899d187bea37713fa.jpg","text":"TemporaryFile(/tmp/multipartBody3151361815144700943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404773668,"filename":"image_23042025_12_37_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/daa3fc4fcff6d1514179338d5b473be0.jpg","text":"TemporaryFile(/tmp/multipartBody6730087135779860122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404773668,"filename":"image_23042025_12_38_15_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353016987","file1":"1353016970","file0":"1353016966","file4":"1353016995","file5":"1353016998","file3":"1353016991"},"map_files_photo_id_array":[{"photo_id":"1353016998","filename":"file5"},{"photo_id":"1353016987","filename":"file2"},{"photo_id":"1353016995","filename":"file4"},{"photo_id":"1353016970","filename":"file1"},{"photo_id":"1353016966","filename":"file0"},{"photo_id":"1353016991","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353016970":["hashtag1","hashtag2"]},{"1353016987":["hashtag1","hashtag2"]},{"1353016966":["hashtag1","hashtag2"]},{"1353016995":["hashtag1","hashtag2"]},{"1353016998":["hashtag1","hashtag2"]},{"1353016991":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353016970, 1353016987, 1353016966, 1353016995, 1353016998, 1353016991)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.741190910339355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:39:32.683280
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_45_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_25_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_15_10685.jpg', 2), ('/home/nano/Desktop/images/23042025/12/38/image_23042025_12_39_05_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_55_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_45_10672.jpg', '/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_35_9630.jpg', '/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_25_9633.jpg', '/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_15_10685.jpg', '/home/nano/Desktop/images/23042025/12/38/image_23042025_12_39_05_9654.jpg', '/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_55_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_45_10672.jpg
/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_35_9630.jpg
/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_25_9633.jpg
/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_15_10685.jpg
/home/nano/Desktop/images/23042025/12/38/image_23042025_12_39_05_9654.jpg
/home/nano/Desktop/images/23042025/12/38/image_23042025_12_38_55_9653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353017083","1353017074","1353017047","1353017013","1353017051","1353017039"],"photo_ids_order":["1353017013","1353017039","1353017047","1353017051","1353017074","1353017083"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e9f3e7523a09f8bf5891952d825f73e.jpg","text":"TemporaryFile(/tmp/multipartBody5185264639778707057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404834150,"filename":"image_23042025_12_38_55_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84d256b6125f4e0028386f42044b3f96.jpg","text":"TemporaryFile(/tmp/multipartBody4326889015682090722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404834150,"filename":"image_23042025_12_39_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88be084a0aa36471c6f27aee31b1182e.jpg","text":"TemporaryFile(/tmp/multipartBody4026965860796175917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404834150,"filename":"image_23042025_12_39_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a2f55b5bee94cd756a38d441ebe5b1e.jpg","text":"TemporaryFile(/tmp/multipartBody73521438807822828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404834150,"filename":"image_23042025_12_39_45_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b05183d00caa87f6b9db651c3d8903a.jpg","text":"TemporaryFile(/tmp/multipartBody7275785496251606430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404834150,"filename":"image_23042025_12_39_15_10685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b3f9752de453560c15cc2e3a8160c6f.jpg","text":"TemporaryFile(/tmp/multipartBody4545519629375356709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404834150,"filename":"image_23042025_12_39_35_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353017047","file1":"1353017039","file0":"1353017013","file4":"1353017074","file5":"1353017083","file3":"1353017051"},"map_files_photo_id_array":[{"photo_id":"1353017083","filename":"file5"},{"photo_id":"1353017047","filename":"file2"},{"photo_id":"1353017074","filename":"file4"},{"photo_id":"1353017039","filename":"file1"},{"photo_id":"1353017013","filename":"file0"},{"photo_id":"1353017051","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353017083":["hashtag1","hashtag2"]},{"1353017074":["hashtag1","hashtag2"]},{"1353017047":["hashtag1","hashtag2"]},{"1353017013":["hashtag1","hashtag2"]},{"1353017051":["hashtag1","hashtag2"]},{"1353017039":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353017083, 1353017074, 1353017047, 1353017013, 1353017051, 1353017039)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68310284614563 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:40:31.774093
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_45_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_35_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_15_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/12/39/image_23042025_12_40_05_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_55_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_45_10653.jpg', '/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_35_9640.jpg', '/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_25_9647.jpg', '/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_15_10675.jpg', '/home/nano/Desktop/images/23042025/12/39/image_23042025_12_40_05_9664.jpg', '/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_55_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_45_10653.jpg
/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_35_9640.jpg
/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_25_9647.jpg
/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_15_10675.jpg
/home/nano/Desktop/images/23042025/12/39/image_23042025_12_40_05_9664.jpg
/home/nano/Desktop/images/23042025/12/39/image_23042025_12_39_55_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353017312","1353017470","1353017434","1353017388","1353017373","1353017270"],"photo_ids_order":["1353017270","1353017312","1353017373","1353017388","1353017434","1353017470"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b142fc67dc56a1042be50135be854351.jpg","text":"TemporaryFile(/tmp/multipartBody7190629220503078506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404892827,"filename":"image_23042025_12_40_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0882471b82e7e4cbbf29bf35f0e8986e.jpg","text":"TemporaryFile(/tmp/multipartBody7593420043289863042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404892827,"filename":"image_23042025_12_39_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fe4aa42921d35c1403f189ca672ee54.jpg","text":"TemporaryFile(/tmp/multipartBody4517765819022077117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404892827,"filename":"image_23042025_12_40_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/857d1d2369aa035519b88d667578c72a.jpg","text":"TemporaryFile(/tmp/multipartBody1256501578065434473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404892827,"filename":"image_23042025_12_40_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb7fd490e5ea520fb79200e9af21aa85.jpg","text":"TemporaryFile(/tmp/multipartBody7268853247178190273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404892827,"filename":"image_23042025_12_40_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcf271d324e9a29d98f795460cc01d99.jpg","text":"TemporaryFile(/tmp/multipartBody3903897486870606888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404892827,"filename":"image_23042025_12_40_45_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353017373","file1":"1353017312","file0":"1353017270","file4":"1353017434","file5":"1353017470","file3":"1353017388"},"map_files_photo_id_array":[{"photo_id":"1353017470","filename":"file5"},{"photo_id":"1353017373","filename":"file2"},{"photo_id":"1353017434","filename":"file4"},{"photo_id":"1353017312","filename":"file1"},{"photo_id":"1353017270","filename":"file0"},{"photo_id":"1353017388","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353017312":["hashtag1","hashtag2"]},{"1353017470":["hashtag1","hashtag2"]},{"1353017434":["hashtag1","hashtag2"]},{"1353017388":["hashtag1","hashtag2"]},{"1353017373":["hashtag1","hashtag2"]},{"1353017270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353017312, 1353017470, 1353017434, 1353017388, 1353017373, 1353017270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.54885411262512 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:41:31.877328
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_35_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_25_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/40/image_23042025_12_41_05_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_55_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_45_9648.jpg', '/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_35_10656.jpg', '/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_25_9660.jpg', '/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_15_9636.jpg', '/home/nano/Desktop/images/23042025/12/40/image_23042025_12_41_05_10657.jpg', '/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_55_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_45_9648.jpg
/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_35_10656.jpg
/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_25_9660.jpg
/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_15_9636.jpg
/home/nano/Desktop/images/23042025/12/40/image_23042025_12_41_05_10657.jpg
/home/nano/Desktop/images/23042025/12/40/image_23042025_12_40_55_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353017770","1353017665","1353017824","1353017803","1353017812","1353017718"],"photo_ids_order":["1353017665","1353017718","1353017770","1353017803","1353017812","1353017824"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fbd7dc8e2caf7fe21c4feb957bbb0e9.jpg","text":"TemporaryFile(/tmp/multipartBody362849240787225287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404952973,"filename":"image_23042025_12_41_25_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5930450c41497496ac0f8c4fa585d006.jpg","text":"TemporaryFile(/tmp/multipartBody8488913134268885340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404952973,"filename":"image_23042025_12_41_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/418f1cdffe12a53a9a79ef87e4d4daac.jpg","text":"TemporaryFile(/tmp/multipartBody1793878758176949019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404952973,"filename":"image_23042025_12_40_55_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55e15ebc57294156bbf5651eefbbe3df.jpg","text":"TemporaryFile(/tmp/multipartBody5961816140409041520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404952973,"filename":"image_23042025_12_41_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52ac9aac54f3a602aad7581400a3d4d8.jpg","text":"TemporaryFile(/tmp/multipartBody5798892949058276414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404952973,"filename":"image_23042025_12_41_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28a3edc83297824c662da43349732e92.jpg","text":"TemporaryFile(/tmp/multipartBody2650928853874048601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745404952973,"filename":"image_23042025_12_41_35_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353017770","file1":"1353017718","file0":"1353017665","file4":"1353017812","file5":"1353017824","file3":"1353017803"},"map_files_photo_id_array":[{"photo_id":"1353017824","filename":"file5"},{"photo_id":"1353017770","filename":"file2"},{"photo_id":"1353017812","filename":"file4"},{"photo_id":"1353017718","filename":"file1"},{"photo_id":"1353017665","filename":"file0"},{"photo_id":"1353017803","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353017770":["hashtag1","hashtag2"]},{"1353017665":["hashtag1","hashtag2"]},{"1353017824":["hashtag1","hashtag2"]},{"1353017803":["hashtag1","hashtag2"]},{"1353017812":["hashtag1","hashtag2"]},{"1353017718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353017770, 1353017665, 1353017824, 1353017803, 1353017812, 1353017718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64905643463135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:42:31.968505
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_35_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_25_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_15_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/12/41/image_23042025_12_42_05_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_45_9642.jpg', '/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_35_10656.jpg', '/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_25_9654.jpg', '/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_15_9670.jpg', '/home/nano/Desktop/images/23042025/12/41/image_23042025_12_42_05_10660.jpg', '/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_45_9642.jpg
/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_35_10656.jpg
/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_25_9654.jpg
/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_15_9670.jpg
/home/nano/Desktop/images/23042025/12/41/image_23042025_12_42_05_10660.jpg
/home/nano/Desktop/images/23042025/12/41/image_23042025_12_41_55_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353018070","1353018073","1353018057","1353018066","1353018027","1353018061"],"photo_ids_order":["1353018027","1353018057","1353018061","1353018066","1353018070","1353018073"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39cf9a06710e6b5cfe4656af2522f503.jpg","text":"TemporaryFile(/tmp/multipartBody4162490761951112894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405013083,"filename":"image_23042025_12_42_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6611827022f5cf742a32a761a5ed6700.jpg","text":"TemporaryFile(/tmp/multipartBody1977093760722614833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405013083,"filename":"image_23042025_12_41_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/036af0a0f0bca2bb044868b135eb4621.jpg","text":"TemporaryFile(/tmp/multipartBody333274343453820279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405013083,"filename":"image_23042025_12_42_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3671661b2f786a6fdbda30942a9ede55.jpg","text":"TemporaryFile(/tmp/multipartBody1231992377124584720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405013083,"filename":"image_23042025_12_42_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0852defa98cd0feeef87e08b4b4dabb0.jpg","text":"TemporaryFile(/tmp/multipartBody3321290579234617886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405013083,"filename":"image_23042025_12_42_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/723a4fa5e4df339529d2c8a5eb0695fc.jpg","text":"TemporaryFile(/tmp/multipartBody8983769894799531393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405013083,"filename":"image_23042025_12_42_25_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353018061","file1":"1353018057","file0":"1353018027","file4":"1353018070","file5":"1353018073","file3":"1353018066"},"map_files_photo_id_array":[{"photo_id":"1353018073","filename":"file5"},{"photo_id":"1353018061","filename":"file2"},{"photo_id":"1353018070","filename":"file4"},{"photo_id":"1353018057","filename":"file1"},{"photo_id":"1353018027","filename":"file0"},{"photo_id":"1353018066","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353018070":["hashtag1","hashtag2"]},{"1353018073":["hashtag1","hashtag2"]},{"1353018057":["hashtag1","hashtag2"]},{"1353018066":["hashtag1","hashtag2"]},{"1353018027":["hashtag1","hashtag2"]},{"1353018061":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353018070, 1353018073, 1353018057, 1353018066, 1353018027, 1353018061)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.14682149887085 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:43:32.085309
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_45_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_35_10706.jpg', 2), ('/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_25_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_15_9759.jpg', 2), ('/home/nano/Desktop/images/23042025/12/42/image_23042025_12_43_05_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_55_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_45_9627.jpg', '/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_35_10706.jpg', '/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_25_9659.jpg', '/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_15_9759.jpg', '/home/nano/Desktop/images/23042025/12/42/image_23042025_12_43_05_10696.jpg', '/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_55_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_45_9627.jpg
/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_35_10706.jpg
/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_25_9659.jpg
/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_15_9759.jpg
/home/nano/Desktop/images/23042025/12/42/image_23042025_12_43_05_10696.jpg
/home/nano/Desktop/images/23042025/12/42/image_23042025_12_42_55_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353018100","1353018090","1353018087","1353018092","1353018104","1353018097"],"photo_ids_order":["1353018087","1353018090","1353018092","1353018097","1353018100","1353018104"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e96bc94b729ce9bb59d2a3b62b4273dd.jpg","text":"TemporaryFile(/tmp/multipartBody2850433006634483881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405073400,"filename":"image_23042025_12_43_05_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/232dfd11cd9447d5392e9558f6a5ed02.jpg","text":"TemporaryFile(/tmp/multipartBody956801320571447577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405073400,"filename":"image_23042025_12_43_35_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27bdc17632e26a9763b98d0f13c23855.jpg","text":"TemporaryFile(/tmp/multipartBody3776720744465905191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405073400,"filename":"image_23042025_12_43_45_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/624a2231e130c340785d9a0b1058c9d2.jpg","text":"TemporaryFile(/tmp/multipartBody2552494138743613830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405073400,"filename":"image_23042025_12_43_25_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a2f4623eb809311bb3ea3dd0d2d2324.jpg","text":"TemporaryFile(/tmp/multipartBody6293157940636011836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405073400,"filename":"image_23042025_12_42_55_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8b7efff50f672049ef7f7126a765f9f.jpg","text":"TemporaryFile(/tmp/multipartBody7115183396473947025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405073400,"filename":"image_23042025_12_43_15_9759.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353018092","file1":"1353018090","file0":"1353018087","file4":"1353018100","file5":"1353018104","file3":"1353018097"},"map_files_photo_id_array":[{"photo_id":"1353018104","filename":"file5"},{"photo_id":"1353018092","filename":"file2"},{"photo_id":"1353018100","filename":"file4"},{"photo_id":"1353018090","filename":"file1"},{"photo_id":"1353018087","filename":"file0"},{"photo_id":"1353018097","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353018100":["hashtag1","hashtag2"]},{"1353018090":["hashtag1","hashtag2"]},{"1353018087":["hashtag1","hashtag2"]},{"1353018092":["hashtag1","hashtag2"]},{"1353018104":["hashtag1","hashtag2"]},{"1353018097":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353018100, 1353018090, 1353018087, 1353018092, 1353018104, 1353018097)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.199432611465454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:44:32.176543
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_45_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_35_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_25_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/43/image_23042025_12_44_05_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_55_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_45_9624.jpg', '/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_35_10646.jpg', '/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_25_9626.jpg', '/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_15_9642.jpg', '/home/nano/Desktop/images/23042025/12/43/image_23042025_12_44_05_10639.jpg', '/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_55_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_45_9624.jpg
/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_35_10646.jpg
/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_25_9626.jpg
/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_15_9642.jpg
/home/nano/Desktop/images/23042025/12/43/image_23042025_12_44_05_10639.jpg
/home/nano/Desktop/images/23042025/12/43/image_23042025_12_43_55_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353018192","1353018171","1353018213","1353018164","1353018158","1353018187"],"photo_ids_order":["1353018158","1353018164","1353018171","1353018187","1353018192","1353018213"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a9b8a1e37f378fed345d859748d4c46.jpg","text":"TemporaryFile(/tmp/multipartBody1528324431380224523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405133257,"filename":"image_23042025_12_44_05_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d17540fdfc5a97a366f8e60d9fa6dec.jpg","text":"TemporaryFile(/tmp/multipartBody4161708019791758497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405133257,"filename":"image_23042025_12_44_25_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6067fa444f49df191a3203349802f6f6.jpg","text":"TemporaryFile(/tmp/multipartBody5376672313807875407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405133257,"filename":"image_23042025_12_43_55_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48976ffd1566e29cdb6da628c99dd255.jpg","text":"TemporaryFile(/tmp/multipartBody8951495039237866161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405133257,"filename":"image_23042025_12_44_35_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dadbdf2a85dec9d779efaf675100b345.jpg","text":"TemporaryFile(/tmp/multipartBody6346897002994933949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405133257,"filename":"image_23042025_12_44_45_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63028f50f336ed877d7f1596cc55a537.jpg","text":"TemporaryFile(/tmp/multipartBody8041310800504324269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405133257,"filename":"image_23042025_12_44_15_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353018171","file1":"1353018164","file0":"1353018158","file4":"1353018192","file5":"1353018213","file3":"1353018187"},"map_files_photo_id_array":[{"photo_id":"1353018213","filename":"file5"},{"photo_id":"1353018171","filename":"file2"},{"photo_id":"1353018192","filename":"file4"},{"photo_id":"1353018164","filename":"file1"},{"photo_id":"1353018158","filename":"file0"},{"photo_id":"1353018187","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353018192":["hashtag1","hashtag2"]},{"1353018171":["hashtag1","hashtag2"]},{"1353018213":["hashtag1","hashtag2"]},{"1353018164":["hashtag1","hashtag2"]},{"1353018158":["hashtag1","hashtag2"]},{"1353018187":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353018192, 1353018171, 1353018213, 1353018164, 1353018158, 1353018187)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.756316900253296 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:45:32.346952
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_45_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_35_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_25_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_15_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/12/44/image_23042025_12_45_05_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_45_9627.jpg', '/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_35_10643.jpg', '/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_25_9632.jpg', '/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_15_9646.jpg', '/home/nano/Desktop/images/23042025/12/44/image_23042025_12_45_05_10659.jpg', '/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_45_9627.jpg
/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_35_10643.jpg
/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_25_9632.jpg
/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_15_9646.jpg
/home/nano/Desktop/images/23042025/12/44/image_23042025_12_45_05_10659.jpg
/home/nano/Desktop/images/23042025/12/44/image_23042025_12_44_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353018832","1353018625","1353018699","1353018770","1353018581","1353018425"],"photo_ids_order":["1353018425","1353018581","1353018625","1353018699","1353018770","1353018832"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d15e1a8d32c298ec751108e9bc0a15e.jpg","text":"TemporaryFile(/tmp/multipartBody5292151548030282090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405193555,"filename":"image_23042025_12_44_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bed9db8ccd64b86af0609c7241804c6.jpg","text":"TemporaryFile(/tmp/multipartBody7271607663169781686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405193555,"filename":"image_23042025_12_45_25_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be315821424748f42e7b94c7702b5a0d.jpg","text":"TemporaryFile(/tmp/multipartBody2915862913635239650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405193555,"filename":"image_23042025_12_45_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc6238d2752c473a76ce4daa0fb2f437.jpg","text":"TemporaryFile(/tmp/multipartBody3010678347316909294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405193555,"filename":"image_23042025_12_45_05_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e4ea8461df01e22abc0c036e67a80f3.jpg","text":"TemporaryFile(/tmp/multipartBody841394571635085098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405193555,"filename":"image_23042025_12_45_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2eb5201e82faa0cd3a689537ddb4939.jpg","text":"TemporaryFile(/tmp/multipartBody7081365515608396153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405193555,"filename":"image_23042025_12_45_45_9627.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353018625","file1":"1353018581","file0":"1353018425","file4":"1353018770","file5":"1353018832","file3":"1353018699"},"map_files_photo_id_array":[{"photo_id":"1353018832","filename":"file5"},{"photo_id":"1353018625","filename":"file2"},{"photo_id":"1353018770","filename":"file4"},{"photo_id":"1353018581","filename":"file1"},{"photo_id":"1353018425","filename":"file0"},{"photo_id":"1353018699","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353018832":["hashtag1","hashtag2"]},{"1353018625":["hashtag1","hashtag2"]},{"1353018699":["hashtag1","hashtag2"]},{"1353018770":["hashtag1","hashtag2"]},{"1353018581":["hashtag1","hashtag2"]},{"1353018425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353018832, 1353018625, 1353018699, 1353018770, 1353018581, 1353018425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57113480567932 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:46:32.416864
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_45_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_35_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_25_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_15_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/12/45/image_23042025_12_46_05_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_55_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_45_9631.jpg', '/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_35_9632.jpg', '/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_25_10640.jpg', '/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_15_9646.jpg', '/home/nano/Desktop/images/23042025/12/45/image_23042025_12_46_05_9635.jpg', '/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_45_9631.jpg
/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_35_9632.jpg
/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_25_10640.jpg
/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_15_9646.jpg
/home/nano/Desktop/images/23042025/12/45/image_23042025_12_46_05_9635.jpg
/home/nano/Desktop/images/23042025/12/45/image_23042025_12_45_55_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019059","1353019140","1353019119","1353019088","1353019091","1353019166"],"photo_ids_order":["1353019059","1353019088","1353019091","1353019119","1353019140","1353019166"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e11d934c1a3e0d2bdbb4afb80294327.jpg","text":"TemporaryFile(/tmp/multipartBody1048588019258092530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405253618,"filename":"image_23042025_12_46_45_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e1ff7860645aaeb9ccc78871d53a4b6.jpg","text":"TemporaryFile(/tmp/multipartBody2547218797044995633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405253618,"filename":"image_23042025_12_46_05_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd0944ab6966705960b8966925ec02b1.jpg","text":"TemporaryFile(/tmp/multipartBody5744283019174320406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405253618,"filename":"image_23042025_12_46_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09712dcd60f6f3aa1f13d0f15ac49fc3.jpg","text":"TemporaryFile(/tmp/multipartBody7195264335252409892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405253618,"filename":"image_23042025_12_46_35_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83bb6f796e5dfef3d1af1a797c36c19f.jpg","text":"TemporaryFile(/tmp/multipartBody503276151999394339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405253618,"filename":"image_23042025_12_46_25_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a0f12d755dbdcd5613493e50af26c04.jpg","text":"TemporaryFile(/tmp/multipartBody4166680004637899065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405253618,"filename":"image_23042025_12_45_55_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019091","file1":"1353019088","file0":"1353019059","file4":"1353019140","file5":"1353019166","file3":"1353019119"},"map_files_photo_id_array":[{"photo_id":"1353019166","filename":"file5"},{"photo_id":"1353019091","filename":"file2"},{"photo_id":"1353019140","filename":"file4"},{"photo_id":"1353019088","filename":"file1"},{"photo_id":"1353019059","filename":"file0"},{"photo_id":"1353019119","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019059":["hashtag1","hashtag2"]},{"1353019140":["hashtag1","hashtag2"]},{"1353019119":["hashtag1","hashtag2"]},{"1353019088":["hashtag1","hashtag2"]},{"1353019091":["hashtag1","hashtag2"]},{"1353019166":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019059, 1353019140, 1353019119, 1353019088, 1353019091, 1353019166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.90552568435669 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:47:32.574297
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_35_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_25_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_15_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/12/46/image_23042025_12_47_05_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_55_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_45_10652.jpg', '/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_35_9628.jpg', '/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_25_10633.jpg', '/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_15_9658.jpg', '/home/nano/Desktop/images/23042025/12/46/image_23042025_12_47_05_9633.jpg', '/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_55_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_45_10652.jpg
/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_35_9628.jpg
/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_25_10633.jpg
/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_15_9658.jpg
/home/nano/Desktop/images/23042025/12/46/image_23042025_12_47_05_9633.jpg
/home/nano/Desktop/images/23042025/12/46/image_23042025_12_46_55_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019389","1353019377","1353019365","1353019403","1353019396","1353019400"],"photo_ids_order":["1353019365","1353019377","1353019389","1353019396","1353019400","1353019403"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77bf1f1842489d688aa3c1e2b4b9a447.jpg","text":"TemporaryFile(/tmp/multipartBody4878043185750171886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405315648,"filename":"image_23042025_12_47_25_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49b0a2387006981545ae9ea9fee07436.jpg","text":"TemporaryFile(/tmp/multipartBody7118353575110272181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405315648,"filename":"image_23042025_12_47_35_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8227b95d2051d24c29f0e220d1fc8488.jpg","text":"TemporaryFile(/tmp/multipartBody2400744736878692561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405315648,"filename":"image_23042025_12_47_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6382acca27f66b19fff36f2496fefdc8.jpg","text":"TemporaryFile(/tmp/multipartBody5029917744734257185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405315648,"filename":"image_23042025_12_46_55_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e5daec1c3926b6d264c157e00a3ee96.jpg","text":"TemporaryFile(/tmp/multipartBody7909347961427195901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405315648,"filename":"image_23042025_12_47_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9e759ad272d5b4b9ec11c80286e84a8.jpg","text":"TemporaryFile(/tmp/multipartBody1555163476409544663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405315648,"filename":"image_23042025_12_47_05_9633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019389","file1":"1353019377","file0":"1353019365","file4":"1353019400","file5":"1353019403","file3":"1353019396"},"map_files_photo_id_array":[{"photo_id":"1353019403","filename":"file5"},{"photo_id":"1353019389","filename":"file2"},{"photo_id":"1353019400","filename":"file4"},{"photo_id":"1353019377","filename":"file1"},{"photo_id":"1353019365","filename":"file0"},{"photo_id":"1353019396","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019389":["hashtag1","hashtag2"]},{"1353019377":["hashtag1","hashtag2"]},{"1353019365":["hashtag1","hashtag2"]},{"1353019403":["hashtag1","hashtag2"]},{"1353019396":["hashtag1","hashtag2"]},{"1353019400":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019389, 1353019377, 1353019365, 1353019403, 1353019396, 1353019400)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.37169528007507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:48:32.685282
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_45_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_15_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/12/47/image_23042025_12_48_05_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_55_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_45_10640.jpg', '/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_35_9636.jpg', '/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_25_9643.jpg', '/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_15_10676.jpg', '/home/nano/Desktop/images/23042025/12/47/image_23042025_12_48_05_9637.jpg', '/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_55_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_45_10640.jpg
/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_35_9636.jpg
/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_25_9643.jpg
/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_15_10676.jpg
/home/nano/Desktop/images/23042025/12/47/image_23042025_12_48_05_9637.jpg
/home/nano/Desktop/images/23042025/12/47/image_23042025_12_47_55_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019473","1353019455","1353019478","1353019463","1353019459","1353019468"],"photo_ids_order":["1353019455","1353019459","1353019463","1353019468","1353019473","1353019478"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45e9a6b12603fb333b79b5b8c7134364.jpg","text":"TemporaryFile(/tmp/multipartBody6830535141989921362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405373898,"filename":"image_23042025_12_48_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/530bb905490d56e974304744c46893f0.jpg","text":"TemporaryFile(/tmp/multipartBody1590964997195115958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405373898,"filename":"image_23042025_12_48_45_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b5ab84baff5c63da46817aabfb6194d.jpg","text":"TemporaryFile(/tmp/multipartBody1861431115093365314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405373898,"filename":"image_23042025_12_47_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac3d954f3752906db3c666a5484e7a14.jpg","text":"TemporaryFile(/tmp/multipartBody8828302150159461264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405373898,"filename":"image_23042025_12_48_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/299b58f021cbe25799131c931cbd9f09.jpg","text":"TemporaryFile(/tmp/multipartBody5644187473608766117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405373898,"filename":"image_23042025_12_48_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9ca66b142741cc9c095df721f85d644.jpg","text":"TemporaryFile(/tmp/multipartBody3858016505219007464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405373898,"filename":"image_23042025_12_48_15_10676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019463","file1":"1353019459","file0":"1353019455","file4":"1353019473","file5":"1353019478","file3":"1353019468"},"map_files_photo_id_array":[{"photo_id":"1353019478","filename":"file5"},{"photo_id":"1353019463","filename":"file2"},{"photo_id":"1353019473","filename":"file4"},{"photo_id":"1353019459","filename":"file1"},{"photo_id":"1353019455","filename":"file0"},{"photo_id":"1353019468","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019473":["hashtag1","hashtag2"]},{"1353019455":["hashtag1","hashtag2"]},{"1353019478":["hashtag1","hashtag2"]},{"1353019463":["hashtag1","hashtag2"]},{"1353019459":["hashtag1","hashtag2"]},{"1353019468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019473, 1353019455, 1353019478, 1353019463, 1353019459, 1353019468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6364483833313 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:49:31.792792
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_45_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_35_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_25_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_15_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/12/48/image_23042025_12_49_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_45_10654.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_35_9638.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_25_9620.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_15_10667.jpg', '/home/nano/Desktop/images/23042025/12/48/image_23042025_12_49_05_9650.jpg', '/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_45_10654.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_35_9638.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_25_9620.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_15_10667.jpg
/home/nano/Desktop/images/23042025/12/48/image_23042025_12_49_05_9650.jpg
/home/nano/Desktop/images/23042025/12/48/image_23042025_12_48_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019501","1353019504","1353019557","1353019542","1353019496","1353019509"],"photo_ids_order":["1353019496","1353019501","1353019504","1353019509","1353019542","1353019557"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/415990317234355e72837d56f43a30b3.jpg","text":"TemporaryFile(/tmp/multipartBody7869623238162915340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405433073,"filename":"image_23042025_12_49_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/153a4d3b5dc411cd9b1de79bd7d91a1b.jpg","text":"TemporaryFile(/tmp/multipartBody8121635569699198181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405433073,"filename":"image_23042025_12_49_25_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/289f5199b3b7293358bff586fbd82998.jpg","text":"TemporaryFile(/tmp/multipartBody965289327330423475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405433073,"filename":"image_23042025_12_48_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68b19b8656d53dd1500171882fda030f.jpg","text":"TemporaryFile(/tmp/multipartBody217444745542401220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405433073,"filename":"image_23042025_12_49_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f8880155da220ef1f6fc971fd95726d.jpg","text":"TemporaryFile(/tmp/multipartBody4496872850884372466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405433073,"filename":"image_23042025_12_49_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b787bfc0e4ee588737776d1ec402422.jpg","text":"TemporaryFile(/tmp/multipartBody6211182278973834185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405433073,"filename":"image_23042025_12_49_15_10667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019504","file1":"1353019501","file0":"1353019496","file4":"1353019542","file5":"1353019557","file3":"1353019509"},"map_files_photo_id_array":[{"photo_id":"1353019557","filename":"file5"},{"photo_id":"1353019504","filename":"file2"},{"photo_id":"1353019542","filename":"file4"},{"photo_id":"1353019501","filename":"file1"},{"photo_id":"1353019496","filename":"file0"},{"photo_id":"1353019509","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019501":["hashtag1","hashtag2"]},{"1353019504":["hashtag1","hashtag2"]},{"1353019557":["hashtag1","hashtag2"]},{"1353019542":["hashtag1","hashtag2"]},{"1353019496":["hashtag1","hashtag2"]},{"1353019509":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019501, 1353019504, 1353019557, 1353019542, 1353019496, 1353019509)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65196442604065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:50:31.892426
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_45_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_35_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_50_05_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_45_9635.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_35_10642.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_25_9637.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_15_9636.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_50_05_10638.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_45_9635.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_35_10642.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_25_9637.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_15_9636.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_50_05_10638.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_55_9632.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2669706344604492 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:51:02.682943
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_45_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_35_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_50_05_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_55_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_45_9635.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_35_10642.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_25_9637.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_15_9636.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_50_05_10638.jpg', '/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_55_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_45_9635.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_35_10642.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_25_9637.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_15_9636.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_50_05_10638.jpg
/home/nano/Desktop/images/23042025/12/49/image_23042025_12_49_55_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019764","1353019767","1353019800","1353019763","1353019757","1353019759"],"photo_ids_order":["1353019757","1353019759","1353019763","1353019764","1353019767","1353019800"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb572539b625163887ecce66baade366.jpg","text":"TemporaryFile(/tmp/multipartBody8782323310591301385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405523939,"filename":"image_23042025_12_50_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fbd79198d2ea4fb1632411f89db9f8d.jpg","text":"TemporaryFile(/tmp/multipartBody3815925550770576736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405523939,"filename":"image_23042025_12_50_05_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60e6752c651dfbde8bf753d84fffc4ea.jpg","text":"TemporaryFile(/tmp/multipartBody5520161047715379658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405523939,"filename":"image_23042025_12_49_55_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ff7dc16d5332618e8af0b94626fe035.jpg","text":"TemporaryFile(/tmp/multipartBody3985525507402025274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405523939,"filename":"image_23042025_12_50_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff7bcebdcf4dbef7ac5e7040a161f404.jpg","text":"TemporaryFile(/tmp/multipartBody3559325188844816573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405523939,"filename":"image_23042025_12_50_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9f8b5f9371027379e5762efd355b5b0.jpg","text":"TemporaryFile(/tmp/multipartBody9014995998089502836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405523939,"filename":"image_23042025_12_50_35_10642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019763","file1":"1353019759","file0":"1353019757","file4":"1353019767","file5":"1353019800","file3":"1353019764"},"map_files_photo_id_array":[{"photo_id":"1353019800","filename":"file5"},{"photo_id":"1353019763","filename":"file2"},{"photo_id":"1353019767","filename":"file4"},{"photo_id":"1353019759","filename":"file1"},{"photo_id":"1353019757","filename":"file0"},{"photo_id":"1353019764","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019764":["hashtag1","hashtag2"]},{"1353019767":["hashtag1","hashtag2"]},{"1353019800":["hashtag1","hashtag2"]},{"1353019763":["hashtag1","hashtag2"]},{"1353019757":["hashtag1","hashtag2"]},{"1353019759":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019764, 1353019767, 1353019800, 1353019763, 1353019757, 1353019759)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.66839003562927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:52:02.560758
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_45_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_35_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_15_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_51_05_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_55_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_45_9656.jpg', '/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_35_10640.jpg', '/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_25_9630.jpg', '/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_15_9641.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_51_05_10652.jpg', '/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_55_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_45_9656.jpg
/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_35_10640.jpg
/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_25_9630.jpg
/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_15_9641.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_51_05_10652.jpg
/home/nano/Desktop/images/23042025/12/50/image_23042025_12_50_55_9628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019909","1353019923","1353019940","1353019934","1353019928","1353019913"],"photo_ids_order":["1353019909","1353019913","1353019923","1353019928","1353019934","1353019940"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9cc1f3342d8fa056f841bb33749f97f2.jpg","text":"TemporaryFile(/tmp/multipartBody6928301754201044785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405583834,"filename":"image_23042025_12_51_45_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edaf6229905550e524b160449fff5d14.jpg","text":"TemporaryFile(/tmp/multipartBody3968450596420757730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405583834,"filename":"image_23042025_12_51_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/003df5f4c5c7940b5568b36d34379151.jpg","text":"TemporaryFile(/tmp/multipartBody507519307375271827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405583834,"filename":"image_23042025_12_50_55_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ace21ae9a44186c22271857b0db59c5e.jpg","text":"TemporaryFile(/tmp/multipartBody3753356589908581880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405583834,"filename":"image_23042025_12_51_05_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6b9760f5c88e6beac6a76aae67aa952.jpg","text":"TemporaryFile(/tmp/multipartBody2954776159953128663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405583834,"filename":"image_23042025_12_51_15_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6711a7c0a96c8c8b3fffc691955c65c.jpg","text":"TemporaryFile(/tmp/multipartBody1828628200434587072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405583834,"filename":"image_23042025_12_51_35_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019923","file1":"1353019913","file0":"1353019909","file4":"1353019934","file5":"1353019940","file3":"1353019928"},"map_files_photo_id_array":[{"photo_id":"1353019940","filename":"file5"},{"photo_id":"1353019923","filename":"file2"},{"photo_id":"1353019934","filename":"file4"},{"photo_id":"1353019913","filename":"file1"},{"photo_id":"1353019909","filename":"file0"},{"photo_id":"1353019928","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019909":["hashtag1","hashtag2"]},{"1353019923":["hashtag1","hashtag2"]},{"1353019940":["hashtag1","hashtag2"]},{"1353019934":["hashtag1","hashtag2"]},{"1353019928":["hashtag1","hashtag2"]},{"1353019913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019909, 1353019923, 1353019940, 1353019934, 1353019928, 1353019913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.50159502029419 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:53:02.870934
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_45_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_35_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_25_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_15_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/12/51/image_23042025_12_52_05_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_55_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_45_9646.jpg', '/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_35_9656.jpg', '/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_25_10651.jpg', '/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_15_9632.jpg', '/home/nano/Desktop/images/23042025/12/51/image_23042025_12_52_05_10659.jpg', '/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_45_9646.jpg
/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_35_9656.jpg
/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_25_10651.jpg
/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_15_9632.jpg
/home/nano/Desktop/images/23042025/12/51/image_23042025_12_52_05_10659.jpg
/home/nano/Desktop/images/23042025/12/51/image_23042025_12_51_55_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353019977","1353019971","1353019974","1353019982","1353019976","1353019978"],"photo_ids_order":["1353019971","1353019974","1353019976","1353019977","1353019978","1353019982"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e030800b40c1fd35cce25e20a062211.jpg","text":"TemporaryFile(/tmp/multipartBody5727262185489756947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405644299,"filename":"image_23042025_12_52_15_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4edd315d05ed321b590db3be9bbcf5f.jpg","text":"TemporaryFile(/tmp/multipartBody4067276547876814787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405644299,"filename":"image_23042025_12_52_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cba569f00daaf309ac8e02f08e6ff29.jpg","text":"TemporaryFile(/tmp/multipartBody712478399931758496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405644299,"filename":"image_23042025_12_52_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/159ae77dfd804b145bf13a65e9e3b639.jpg","text":"TemporaryFile(/tmp/multipartBody94784528210677700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405644299,"filename":"image_23042025_12_51_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/309f0e06bf5f426ac82b797496065295.jpg","text":"TemporaryFile(/tmp/multipartBody5683108346446100686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405644299,"filename":"image_23042025_12_52_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc385879f36760f0c0cd4996eede1192.jpg","text":"TemporaryFile(/tmp/multipartBody5690937836460981968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405644299,"filename":"image_23042025_12_52_05_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353019976","file1":"1353019974","file0":"1353019971","file4":"1353019978","file5":"1353019982","file3":"1353019977"},"map_files_photo_id_array":[{"photo_id":"1353019982","filename":"file5"},{"photo_id":"1353019976","filename":"file2"},{"photo_id":"1353019978","filename":"file4"},{"photo_id":"1353019974","filename":"file1"},{"photo_id":"1353019971","filename":"file0"},{"photo_id":"1353019977","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353019977":["hashtag1","hashtag2"]},{"1353019971":["hashtag1","hashtag2"]},{"1353019974":["hashtag1","hashtag2"]},{"1353019982":["hashtag1","hashtag2"]},{"1353019976":["hashtag1","hashtag2"]},{"1353019978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353019977, 1353019971, 1353019974, 1353019982, 1353019976, 1353019978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.955968141555786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:54:03.325240
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_45_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_35_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_25_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_15_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/52/image_23042025_12_53_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_55_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_45_9624.jpg', '/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_35_9663.jpg', '/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_25_10662.jpg', '/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_15_9637.jpg', '/home/nano/Desktop/images/23042025/12/52/image_23042025_12_53_05_9653.jpg', '/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_55_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_45_9624.jpg
/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_35_9663.jpg
/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_25_10662.jpg
/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_15_9637.jpg
/home/nano/Desktop/images/23042025/12/52/image_23042025_12_53_05_9653.jpg
/home/nano/Desktop/images/23042025/12/52/image_23042025_12_52_55_10640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353020215","1353020224","1353020229","1353020220","1353020153","1353020065"],"photo_ids_order":["1353020065","1353020153","1353020215","1353020220","1353020224","1353020229"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d41a99f1057c4ae600ed2f6ae1c78a2d.jpg","text":"TemporaryFile(/tmp/multipartBody3946505133692524534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405704615,"filename":"image_23042025_12_53_25_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13d55c893dab5d9d04fec80b13a56a5e.jpg","text":"TemporaryFile(/tmp/multipartBody7092814936245922021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405704615,"filename":"image_23042025_12_53_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/434504e242e355930db6c1e5f18c95e4.jpg","text":"TemporaryFile(/tmp/multipartBody6667097197069376743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405704615,"filename":"image_23042025_12_52_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58c55c7af37a5cbccd8f54ff58edeeb2.jpg","text":"TemporaryFile(/tmp/multipartBody6029491674235218203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405704615,"filename":"image_23042025_12_53_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2a4a318332ac3e3415da2a78164f23b.jpg","text":"TemporaryFile(/tmp/multipartBody761441937879947216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405704615,"filename":"image_23042025_12_53_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce8fdd11247ef98cbc04baa9a0e26dc0.jpg","text":"TemporaryFile(/tmp/multipartBody8109692014553887174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405704615,"filename":"image_23042025_12_53_45_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353020215","file1":"1353020153","file0":"1353020065","file4":"1353020224","file5":"1353020229","file3":"1353020220"},"map_files_photo_id_array":[{"photo_id":"1353020229","filename":"file5"},{"photo_id":"1353020215","filename":"file2"},{"photo_id":"1353020224","filename":"file4"},{"photo_id":"1353020153","filename":"file1"},{"photo_id":"1353020065","filename":"file0"},{"photo_id":"1353020220","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353020215":["hashtag1","hashtag2"]},{"1353020224":["hashtag1","hashtag2"]},{"1353020229":["hashtag1","hashtag2"]},{"1353020220":["hashtag1","hashtag2"]},{"1353020153":["hashtag1","hashtag2"]},{"1353020065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353020215, 1353020224, 1353020229, 1353020220, 1353020153, 1353020065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.583722829818726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:55:03.142547
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_25_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_15_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/12/53/image_23042025_12_54_05_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_55_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_45_9641.jpg', '/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_35_9643.jpg', '/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_25_10656.jpg', '/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_15_9672.jpg', '/home/nano/Desktop/images/23042025/12/53/image_23042025_12_54_05_9621.jpg', '/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_55_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_45_9641.jpg
/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_35_9643.jpg
/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_25_10656.jpg
/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_15_9672.jpg
/home/nano/Desktop/images/23042025/12/53/image_23042025_12_54_05_9621.jpg
/home/nano/Desktop/images/23042025/12/53/image_23042025_12_53_55_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353020428","1353020484","1353020416","1353020430","1353020424","1353020489"],"photo_ids_order":["1353020416","1353020424","1353020428","1353020430","1353020484","1353020489"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a4944ba1dfc99d1fcf0c6adb26cc13b.jpg","text":"TemporaryFile(/tmp/multipartBody9143957435451339160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405764625,"filename":"image_23042025_12_54_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47788e2e4289d24e105d5217c2f6ce19.jpg","text":"TemporaryFile(/tmp/multipartBody5031244042214556847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405764625,"filename":"image_23042025_12_54_05_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73e5eb6c275fc050de514f5771c6d6a6.jpg","text":"TemporaryFile(/tmp/multipartBody3090963692413136835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405764625,"filename":"image_23042025_12_54_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db75d084cdd3f3919075f58123531156.jpg","text":"TemporaryFile(/tmp/multipartBody1705480188579804534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405764625,"filename":"image_23042025_12_54_15_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7dfdd723cc09725202d9142e9fb5e2b.jpg","text":"TemporaryFile(/tmp/multipartBody3274482768610783190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405764625,"filename":"image_23042025_12_54_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/728b0d9da560f173eec2824e3f20fd11.jpg","text":"TemporaryFile(/tmp/multipartBody4508469888167003846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405764625,"filename":"image_23042025_12_53_55_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353020428","file1":"1353020424","file0":"1353020416","file4":"1353020484","file5":"1353020489","file3":"1353020430"},"map_files_photo_id_array":[{"photo_id":"1353020489","filename":"file5"},{"photo_id":"1353020428","filename":"file2"},{"photo_id":"1353020484","filename":"file4"},{"photo_id":"1353020424","filename":"file1"},{"photo_id":"1353020416","filename":"file0"},{"photo_id":"1353020430","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353020428":["hashtag1","hashtag2"]},{"1353020484":["hashtag1","hashtag2"]},{"1353020416":["hashtag1","hashtag2"]},{"1353020430":["hashtag1","hashtag2"]},{"1353020424":["hashtag1","hashtag2"]},{"1353020489":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353020428, 1353020484, 1353020416, 1353020430, 1353020424, 1353020489)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.96626329421997 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:56:03.129660
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_45_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_35_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_25_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_15_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/12/54/image_23042025_12_55_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_55_10640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_45_10638.jpg', '/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_35_9638.jpg', '/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_25_10651.jpg', '/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_15_9671.jpg', '/home/nano/Desktop/images/23042025/12/54/image_23042025_12_55_05_9653.jpg', '/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_55_10640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_45_10638.jpg
/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_35_9638.jpg
/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_25_10651.jpg
/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_15_9671.jpg
/home/nano/Desktop/images/23042025/12/54/image_23042025_12_55_05_9653.jpg
/home/nano/Desktop/images/23042025/12/54/image_23042025_12_54_55_10640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353020536","1353020547","1353020541","1353020538","1353020540","1353020543"],"photo_ids_order":["1353020536","1353020538","1353020540","1353020541","1353020543","1353020547"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90f51cc5af8a0f7d55587eea6bba8ccb.jpg","text":"TemporaryFile(/tmp/multipartBody6597055310466400103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405824507,"filename":"image_23042025_12_55_45_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3fe975534d7faebf7fd7e38d7f710b0.jpg","text":"TemporaryFile(/tmp/multipartBody4230625427624011818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405824507,"filename":"image_23042025_12_54_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/adaf64126d7102cd784a6108225fe44b.jpg","text":"TemporaryFile(/tmp/multipartBody1620758008813616302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405824507,"filename":"image_23042025_12_55_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c95f5a63d0d8033f620449711acd0261.jpg","text":"TemporaryFile(/tmp/multipartBody4659168427964852594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405824507,"filename":"image_23042025_12_55_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b915f63a65e19af5796eaada8d958e93.jpg","text":"TemporaryFile(/tmp/multipartBody7154590897264354116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405824507,"filename":"image_23042025_12_55_25_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2f932bf0688ca6235fef9cfff1c7733.jpg","text":"TemporaryFile(/tmp/multipartBody6538476994980192557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405824507,"filename":"image_23042025_12_55_05_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353020540","file1":"1353020538","file0":"1353020536","file4":"1353020543","file5":"1353020547","file3":"1353020541"},"map_files_photo_id_array":[{"photo_id":"1353020547","filename":"file5"},{"photo_id":"1353020540","filename":"file2"},{"photo_id":"1353020543","filename":"file4"},{"photo_id":"1353020538","filename":"file1"},{"photo_id":"1353020536","filename":"file0"},{"photo_id":"1353020541","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353020536":["hashtag1","hashtag2"]},{"1353020547":["hashtag1","hashtag2"]},{"1353020541":["hashtag1","hashtag2"]},{"1353020538":["hashtag1","hashtag2"]},{"1353020540":["hashtag1","hashtag2"]},{"1353020543":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353020536, 1353020547, 1353020541, 1353020538, 1353020540, 1353020543)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.566051959991455 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:57:03.419534
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_45_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_15_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/12/55/image_23042025_12_56_05_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_55_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_45_10640.jpg', '/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_35_9637.jpg', '/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_25_9636.jpg', '/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_15_10671.jpg', '/home/nano/Desktop/images/23042025/12/55/image_23042025_12_56_05_9641.jpg', '/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_55_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_45_10640.jpg
/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_35_9637.jpg
/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_25_9636.jpg
/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_15_10671.jpg
/home/nano/Desktop/images/23042025/12/55/image_23042025_12_56_05_9641.jpg
/home/nano/Desktop/images/23042025/12/55/image_23042025_12_55_55_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353020652","1353020646","1353020601","1353020582","1353020579","1353020575"],"photo_ids_order":["1353020575","1353020579","1353020582","1353020601","1353020646","1353020652"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94a2f9f86cf5a5c1db1e4b3fb3f4914c.jpg","text":"TemporaryFile(/tmp/multipartBody1804314187433630343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405884537,"filename":"image_23042025_12_55_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ace4acf6d40f62a942142b8fe4f2501.jpg","text":"TemporaryFile(/tmp/multipartBody2901665405194885699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405884537,"filename":"image_23042025_12_56_05_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/426dc2cf7fa1d33e7c1474f55d3b2d21.jpg","text":"TemporaryFile(/tmp/multipartBody4033230024547497257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405884537,"filename":"image_23042025_12_56_15_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2bf48cc2ef86b30d184e31712f63ea8.jpg","text":"TemporaryFile(/tmp/multipartBody2792440820766415686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405884537,"filename":"image_23042025_12_56_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bdf7dab06d4246cfbf5e98469a891f1.jpg","text":"TemporaryFile(/tmp/multipartBody1032440841319072002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405884537,"filename":"image_23042025_12_56_35_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/007d0bc3e004b9a9c1b045abf943adb5.jpg","text":"TemporaryFile(/tmp/multipartBody1213363013802879825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405884537,"filename":"image_23042025_12_56_45_10640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353020582","file1":"1353020579","file0":"1353020575","file4":"1353020646","file5":"1353020652","file3":"1353020601"},"map_files_photo_id_array":[{"photo_id":"1353020652","filename":"file5"},{"photo_id":"1353020582","filename":"file2"},{"photo_id":"1353020646","filename":"file4"},{"photo_id":"1353020579","filename":"file1"},{"photo_id":"1353020575","filename":"file0"},{"photo_id":"1353020601","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353020652":["hashtag1","hashtag2"]},{"1353020646":["hashtag1","hashtag2"]},{"1353020601":["hashtag1","hashtag2"]},{"1353020582":["hashtag1","hashtag2"]},{"1353020579":["hashtag1","hashtag2"]},{"1353020575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353020652, 1353020646, 1353020601, 1353020582, 1353020579, 1353020575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.7235689163208 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:58:02.903176
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_45_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_15_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/12/56/image_23042025_12_57_05_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_55_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_45_10641.jpg', '/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_35_9643.jpg', '/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_25_9643.jpg', '/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_15_10690.jpg', '/home/nano/Desktop/images/23042025/12/56/image_23042025_12_57_05_9633.jpg', '/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_45_10641.jpg
/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_35_9643.jpg
/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_25_9643.jpg
/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_15_10690.jpg
/home/nano/Desktop/images/23042025/12/56/image_23042025_12_57_05_9633.jpg
/home/nano/Desktop/images/23042025/12/56/image_23042025_12_56_55_9642.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353021100","1353020931","1353021155","1353020888","1353021026","1353020986"],"photo_ids_order":["1353020888","1353020931","1353020986","1353021026","1353021100","1353021155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f924f18b187c18abd2d739be02f35a1f.jpg","text":"TemporaryFile(/tmp/multipartBody7076340914096344978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405944344,"filename":"image_23042025_12_57_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bf86efc445608e0b928dc97fcc8651d.jpg","text":"TemporaryFile(/tmp/multipartBody1444680252577090431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405944344,"filename":"image_23042025_12_57_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f8cda92a0a474eed94c3a4d97d2892f.jpg","text":"TemporaryFile(/tmp/multipartBody6097873872863970552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405944344,"filename":"image_23042025_12_56_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb7a7ce1d06ae51c8d12b7b3d65aef12.jpg","text":"TemporaryFile(/tmp/multipartBody2876789536373601415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405944344,"filename":"image_23042025_12_57_45_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c768cd7d1c55ded2c499754ab2e046d7.jpg","text":"TemporaryFile(/tmp/multipartBody1199213117190300944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405944344,"filename":"image_23042025_12_57_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38f7f190b57651058998261be5be61d0.jpg","text":"TemporaryFile(/tmp/multipartBody4151177072558676663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745405944344,"filename":"image_23042025_12_57_25_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353020986","file1":"1353020931","file0":"1353020888","file4":"1353021100","file5":"1353021155","file3":"1353021026"},"map_files_photo_id_array":[{"photo_id":"1353021155","filename":"file5"},{"photo_id":"1353020986","filename":"file2"},{"photo_id":"1353021100","filename":"file4"},{"photo_id":"1353020931","filename":"file1"},{"photo_id":"1353020888","filename":"file0"},{"photo_id":"1353021026","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353021100":["hashtag1","hashtag2"]},{"1353020931":["hashtag1","hashtag2"]},{"1353021155":["hashtag1","hashtag2"]},{"1353020888":["hashtag1","hashtag2"]},{"1353021026":["hashtag1","hashtag2"]},{"1353020986":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353021100, 1353020931, 1353021155, 1353020888, 1353021026, 1353020986)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.17310929298401 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 12:59:03.314473
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_35_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_25_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_15_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_07_05_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_55_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_35_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_35_9621.jpg', '/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_25_9628.jpg', '/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_15_10666.jpg', '/home/nano/Desktop/images/23042025/12/06/image_23042025_12_07_05_9643.jpg', '/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_55_9634.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_35_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_35_9621.jpg
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_25_9628.jpg
/home/nano/Desktop/images/23042025/12/07/image_23042025_12_07_15_10666.jpg
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_07_05_9643.jpg
/home/nano/Desktop/images/23042025/12/06/image_23042025_12_06_55_9634.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_35_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353022020","1353022101","1353021813","1353021899","1353022253","1353022165"],"photo_ids_order":["1353021813","1353021899","1353022020","1353022101","1353022165","1353022253"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66a850f36788bac6e90ab1a20f63433d.jpg","text":"TemporaryFile(/tmp/multipartBody479843935403813816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406004655,"filename":"image_23042025_12_07_15_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89f4c849e344baa58ce1f2c142c6ab24.jpg","text":"TemporaryFile(/tmp/multipartBody8427741440038179836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406004655,"filename":"image_23042025_12_07_05_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12fee82bb40da5ccf7a2ab32697f9d0e.jpg","text":"TemporaryFile(/tmp/multipartBody2642539233457938952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406004655,"filename":"image_23042025_12_07_35_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13931b673bc72d37ab5c918f70571d90.jpg","text":"TemporaryFile(/tmp/multipartBody1524838390603997040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406004655,"filename":"image_23042025_12_07_25_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb93dc980dfe518d994b9f50f6260512.jpg","text":"TemporaryFile(/tmp/multipartBody7826494845039110541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406004655,"filename":"image_23042025_11_58_35_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c4aafbfb2e16d391ab3210eb250dd6d.jpg","text":"TemporaryFile(/tmp/multipartBody4482674330054100495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406004655,"filename":"image_23042025_12_06_55_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353022020","file1":"1353021899","file0":"1353021813","file4":"1353022165","file5":"1353022253","file3":"1353022101"},"map_files_photo_id_array":[{"photo_id":"1353022253","filename":"file5"},{"photo_id":"1353022020","filename":"file2"},{"photo_id":"1353022165","filename":"file4"},{"photo_id":"1353021899","filename":"file1"},{"photo_id":"1353021813","filename":"file0"},{"photo_id":"1353022101","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353022020":["hashtag1","hashtag2"]},{"1353022101":["hashtag1","hashtag2"]},{"1353021813":["hashtag1","hashtag2"]},{"1353021899":["hashtag1","hashtag2"]},{"1353022253":["hashtag1","hashtag2"]},{"1353022165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353022020, 1353022101, 1353021813, 1353021899, 1353022253, 1353022165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.69878029823303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:00:02.260358
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_35_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_25_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_15_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/12/58/image_23042025_12_59_05_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_45_9639.jpg', '/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_35_10659.jpg', '/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_25_9639.jpg', '/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_15_9662.jpg', '/home/nano/Desktop/images/23042025/12/58/image_23042025_12_59_05_10641.jpg', '/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_45_9639.jpg
/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_35_10659.jpg
/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_25_9639.jpg
/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_15_9662.jpg
/home/nano/Desktop/images/23042025/12/58/image_23042025_12_59_05_10641.jpg
/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353022737","1353022710","1353022760","1353022727","1353022756","1353022764"],"photo_ids_order":["1353022710","1353022727","1353022737","1353022756","1353022760","1353022764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47104c22efa6e546184639d04ed671f0.jpg","text":"TemporaryFile(/tmp/multipartBody6836799225745988853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406063482,"filename":"image_23042025_12_59_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ea2a7846a0f4c3430e4315c88e2cd91.jpg","text":"TemporaryFile(/tmp/multipartBody1970846073635971381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406063482,"filename":"image_23042025_12_59_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00aea2bd5629c29c473c633fc8fdc426.jpg","text":"TemporaryFile(/tmp/multipartBody6846090346220773346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406063482,"filename":"image_23042025_12_59_05_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/afd7b89f840e2808a3677b224558c3cc.jpg","text":"TemporaryFile(/tmp/multipartBody8150662048638989510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406063482,"filename":"image_23042025_12_59_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b6217900dee5a37b75e6f39c975bda3.jpg","text":"TemporaryFile(/tmp/multipartBody6438888841963694329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406063482,"filename":"image_23042025_12_59_15_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd6ea76504cd93d1db338eb4fa9d7680.jpg","text":"TemporaryFile(/tmp/multipartBody1928284924999071871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406063482,"filename":"image_23042025_12_58_55_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353022737","file1":"1353022727","file0":"1353022710","file4":"1353022760","file5":"1353022764","file3":"1353022756"},"map_files_photo_id_array":[{"photo_id":"1353022764","filename":"file5"},{"photo_id":"1353022737","filename":"file2"},{"photo_id":"1353022760","filename":"file4"},{"photo_id":"1353022727","filename":"file1"},{"photo_id":"1353022710","filename":"file0"},{"photo_id":"1353022756","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353022737":["hashtag1","hashtag2"]},{"1353022710":["hashtag1","hashtag2"]},{"1353022760":["hashtag1","hashtag2"]},{"1353022727":["hashtag1","hashtag2"]},{"1353022756":["hashtag1","hashtag2"]},{"1353022764":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353022737, 1353022710, 1353022760, 1353022727, 1353022756, 1353022764)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.8546404838562 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:01:02.774571
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_45_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_35_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_25_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_15_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/12/59/image_23042025_13_00_05_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_55_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_45_9645.jpg', '/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_35_10653.jpg', '/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_25_9682.jpg', '/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_15_9660.jpg', '/home/nano/Desktop/images/23042025/12/59/image_23042025_13_00_05_10669.jpg', '/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_45_9645.jpg
/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_35_10653.jpg
/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_25_9682.jpg
/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_15_9660.jpg
/home/nano/Desktop/images/23042025/12/59/image_23042025_13_00_05_10669.jpg
/home/nano/Desktop/images/23042025/12/59/image_23042025_12_59_55_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353023663","1353023573","1353023441","1353023788","1353023497","1353023383"],"photo_ids_order":["1353023383","1353023441","1353023497","1353023573","1353023663","1353023788"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ebc8eeb0fc838c092061ce81ff8463c.jpg","text":"TemporaryFile(/tmp/multipartBody7563910024201714723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406124095,"filename":"image_23042025_13_00_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef3434a21ff7d1295270fc8c4a2bd3cb.jpg","text":"TemporaryFile(/tmp/multipartBody4148941904636782822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406124095,"filename":"image_23042025_13_00_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f862b03f68473e6f2b230c387240a9d.jpg","text":"TemporaryFile(/tmp/multipartBody2282985270140044840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406124095,"filename":"image_23042025_13_00_35_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/566a344e035fbf7efc30a69a66a60e75.jpg","text":"TemporaryFile(/tmp/multipartBody6771111122907866769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406124095,"filename":"image_23042025_12_59_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe0fa7e0218e9807245a63eb0476b5b9.jpg","text":"TemporaryFile(/tmp/multipartBody6456746414490807906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406124095,"filename":"image_23042025_13_00_25_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8aa8ff7a2cdd5e308637b9378510c438.jpg","text":"TemporaryFile(/tmp/multipartBody3069189646557430507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406124095,"filename":"image_23042025_13_00_45_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353023497","file1":"1353023441","file0":"1353023383","file4":"1353023663","file5":"1353023788","file3":"1353023573"},"map_files_photo_id_array":[{"photo_id":"1353023788","filename":"file5"},{"photo_id":"1353023497","filename":"file2"},{"photo_id":"1353023663","filename":"file4"},{"photo_id":"1353023441","filename":"file1"},{"photo_id":"1353023383","filename":"file0"},{"photo_id":"1353023573","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353023663":["hashtag1","hashtag2"]},{"1353023573":["hashtag1","hashtag2"]},{"1353023441":["hashtag1","hashtag2"]},{"1353023788":["hashtag1","hashtag2"]},{"1353023497":["hashtag1","hashtag2"]},{"1353023383":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353023663, 1353023573, 1353023441, 1353023788, 1353023497, 1353023383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.349931716918945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:02:02.513895
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_45_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_35_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_25_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_15_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/13/00/image_23042025_13_01_05_10606.jpg', 2), ('/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_45_10575.jpg', '/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_35_9560.jpg', '/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_25_10569.jpg', '/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_15_9561.jpg', '/home/nano/Desktop/images/23042025/13/00/image_23042025_13_01_05_10606.jpg', '/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_45_10575.jpg
/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_35_9560.jpg
/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_25_10569.jpg
/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_15_9561.jpg
/home/nano/Desktop/images/23042025/13/00/image_23042025_13_01_05_10606.jpg
/home/nano/Desktop/images/23042025/13/00/image_23042025_13_00_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353024445","1353024834","1353024921","1353024711","1353024872","1353024575"],"photo_ids_order":["1353024445","1353024575","1353024711","1353024834","1353024872","1353024921"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c74b10090f9799839a67909e96d677f.jpg","text":"TemporaryFile(/tmp/multipartBody4709517526281569419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406183663,"filename":"image_23042025_13_01_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d018d80c095f794f5ac9ad94c5e961ad.jpg","text":"TemporaryFile(/tmp/multipartBody6914067801402942158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406183663,"filename":"image_23042025_13_01_15_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3e6b5409de77821d50e845e16c27548.jpg","text":"TemporaryFile(/tmp/multipartBody4329850938067991683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406183663,"filename":"image_23042025_13_00_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c21691e9d55586360c3ecf776a2c2259.jpg","text":"TemporaryFile(/tmp/multipartBody80940073763072535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406183663,"filename":"image_23042025_13_01_25_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae21e0a154f06807f99f1c16cd523e95.jpg","text":"TemporaryFile(/tmp/multipartBody1237849480199733557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406183663,"filename":"image_23042025_13_01_05_10606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0142de47fd2f23eaf0ecf178dab8677.jpg","text":"TemporaryFile(/tmp/multipartBody331095113895898721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406183663,"filename":"image_23042025_13_01_35_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353024711","file1":"1353024575","file0":"1353024445","file4":"1353024872","file5":"1353024921","file3":"1353024834"},"map_files_photo_id_array":[{"photo_id":"1353024921","filename":"file5"},{"photo_id":"1353024711","filename":"file2"},{"photo_id":"1353024872","filename":"file4"},{"photo_id":"1353024575","filename":"file1"},{"photo_id":"1353024445","filename":"file0"},{"photo_id":"1353024834","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353024445":["hashtag1","hashtag2"]},{"1353024834":["hashtag1","hashtag2"]},{"1353024921":["hashtag1","hashtag2"]},{"1353024711":["hashtag1","hashtag2"]},{"1353024872":["hashtag1","hashtag2"]},{"1353024575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353024445, 1353024834, 1353024921, 1353024711, 1353024872, 1353024575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.590840101242065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:03:02.770671
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_45_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_35_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_25_9589.jpg', 2), ('/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_15_10603.jpg', 2), ('/home/nano/Desktop/images/23042025/13/01/image_23042025_13_02_05_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_55_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_45_9560.jpg', '/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_35_10575.jpg', '/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_25_9589.jpg', '/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_15_10603.jpg', '/home/nano/Desktop/images/23042025/13/01/image_23042025_13_02_05_9578.jpg', '/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_45_9560.jpg
/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_35_10575.jpg
/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_25_9589.jpg
/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_15_10603.jpg
/home/nano/Desktop/images/23042025/13/01/image_23042025_13_02_05_9578.jpg
/home/nano/Desktop/images/23042025/13/01/image_23042025_13_01_55_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353025300","1353025204","1353025425","1353025385","1353025352","1353025232"],"photo_ids_order":["1353025204","1353025232","1353025300","1353025352","1353025385","1353025425"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53ad65df4b9f5958e39a5697c7581916.jpg","text":"TemporaryFile(/tmp/multipartBody6836803299707507545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406243630,"filename":"image_23042025_13_02_25_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbaaea9fc5adc6974feb47d024b2ddae.jpg","text":"TemporaryFile(/tmp/multipartBody8775126958815866327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406243630,"filename":"image_23042025_13_02_45_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c45ab6d47e86210f1cf91bde68071ac.jpg","text":"TemporaryFile(/tmp/multipartBody5960112118594824583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406243630,"filename":"image_23042025_13_01_55_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0e736128e79a9fb64e5063244ddebbb.jpg","text":"TemporaryFile(/tmp/multipartBody2964935917145906898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406243630,"filename":"image_23042025_13_02_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/470cd0d69895887ffd55e4bcc643f46f.jpg","text":"TemporaryFile(/tmp/multipartBody4367309843321001595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406243630,"filename":"image_23042025_13_02_15_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7292a7d43d315f3150464e6dbb70562e.jpg","text":"TemporaryFile(/tmp/multipartBody3695275844022323408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406243630,"filename":"image_23042025_13_02_35_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353025300","file1":"1353025232","file0":"1353025204","file4":"1353025385","file5":"1353025425","file3":"1353025352"},"map_files_photo_id_array":[{"photo_id":"1353025425","filename":"file5"},{"photo_id":"1353025300","filename":"file2"},{"photo_id":"1353025385","filename":"file4"},{"photo_id":"1353025232","filename":"file1"},{"photo_id":"1353025204","filename":"file0"},{"photo_id":"1353025352","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353025300":["hashtag1","hashtag2"]},{"1353025204":["hashtag1","hashtag2"]},{"1353025425":["hashtag1","hashtag2"]},{"1353025385":["hashtag1","hashtag2"]},{"1353025352":["hashtag1","hashtag2"]},{"1353025232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353025300, 1353025204, 1353025425, 1353025385, 1353025352, 1353025232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.72505497932434 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:04:02.796024
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_45_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_35_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_15_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/13/02/image_23042025_13_03_05_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_45_10569.jpg', '/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_35_9560.jpg', '/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_25_10574.jpg', '/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_15_9561.jpg', '/home/nano/Desktop/images/23042025/13/02/image_23042025_13_03_05_10596.jpg', '/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_45_10569.jpg
/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_35_9560.jpg
/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_25_10574.jpg
/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_15_9561.jpg
/home/nano/Desktop/images/23042025/13/02/image_23042025_13_03_05_10596.jpg
/home/nano/Desktop/images/23042025/13/02/image_23042025_13_02_55_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353025718","1353025758","1353025823","1353025829","1353025808","1353025721"],"photo_ids_order":["1353025718","1353025721","1353025758","1353025808","1353025823","1353025829"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8c8b793688328c729fff0eb9493667e.jpg","text":"TemporaryFile(/tmp/multipartBody3774068225426718578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406303810,"filename":"image_23042025_13_03_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4584959d165d6de75aaada424021770c.jpg","text":"TemporaryFile(/tmp/multipartBody4695460896767290888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406303810,"filename":"image_23042025_13_03_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0703deba8f9868f52b95caba3ef7f04.jpg","text":"TemporaryFile(/tmp/multipartBody417633463275932006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406303810,"filename":"image_23042025_13_03_05_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f51fdf075aa80d98cc2f75080ca68dc.jpg","text":"TemporaryFile(/tmp/multipartBody6684872001508925652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406303810,"filename":"image_23042025_13_02_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39d7ecc61d9230ab24fa0fdee197ad83.jpg","text":"TemporaryFile(/tmp/multipartBody493917493955399206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406303810,"filename":"image_23042025_13_03_15_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4cc2c1ea36bfe3682c243e07c734d5d8.jpg","text":"TemporaryFile(/tmp/multipartBody1305268787797838435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406303810,"filename":"image_23042025_13_03_35_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353025758","file1":"1353025721","file0":"1353025718","file4":"1353025823","file5":"1353025829","file3":"1353025808"},"map_files_photo_id_array":[{"photo_id":"1353025829","filename":"file5"},{"photo_id":"1353025758","filename":"file2"},{"photo_id":"1353025823","filename":"file4"},{"photo_id":"1353025721","filename":"file1"},{"photo_id":"1353025718","filename":"file0"},{"photo_id":"1353025808","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353025718":["hashtag1","hashtag2"]},{"1353025758":["hashtag1","hashtag2"]},{"1353025823":["hashtag1","hashtag2"]},{"1353025829":["hashtag1","hashtag2"]},{"1353025808":["hashtag1","hashtag2"]},{"1353025721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353025718, 1353025758, 1353025823, 1353025829, 1353025808, 1353025721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.22374439239502 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:05:02.911929
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_45_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_25_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_15_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/13/03/image_23042025_13_04_05_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_55_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_45_9564.jpg', '/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_35_10569.jpg', '/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_25_9561.jpg', '/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_15_10593.jpg', '/home/nano/Desktop/images/23042025/13/03/image_23042025_13_04_05_9571.jpg', '/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_55_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_45_9564.jpg
/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_35_10569.jpg
/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_25_9561.jpg
/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_15_10593.jpg
/home/nano/Desktop/images/23042025/13/03/image_23042025_13_04_05_9571.jpg
/home/nano/Desktop/images/23042025/13/03/image_23042025_13_03_55_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026032","1353026062","1353026064","1353026058","1353025974","1353025941"],"photo_ids_order":["1353025941","1353025974","1353026032","1353026058","1353026062","1353026064"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bfc7062869d00f1c1a0f2ca2e70381f.jpg","text":"TemporaryFile(/tmp/multipartBody8244050264880118710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406363848,"filename":"image_23042025_13_04_25_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9d4c54ad264f031a260125f6b388231.jpg","text":"TemporaryFile(/tmp/multipartBody7778188809821849725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406363848,"filename":"image_23042025_13_04_05_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0ce41a665783a9d920462e51f166ee3.jpg","text":"TemporaryFile(/tmp/multipartBody578931258819570466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406363848,"filename":"image_23042025_13_03_55_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64c9e404722b2dcc39e5a7e8481fcbb7.jpg","text":"TemporaryFile(/tmp/multipartBody7830319333485625136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406363848,"filename":"image_23042025_13_04_15_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03facc7a95f0ee5f592ea8085fad75cc.jpg","text":"TemporaryFile(/tmp/multipartBody6044068576164679118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406363848,"filename":"image_23042025_13_04_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a6bea94ad4612d9aae75d55e2b13e39.jpg","text":"TemporaryFile(/tmp/multipartBody4475171532377249488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406363848,"filename":"image_23042025_13_04_45_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026032","file1":"1353025974","file0":"1353025941","file4":"1353026062","file5":"1353026064","file3":"1353026058"},"map_files_photo_id_array":[{"photo_id":"1353026064","filename":"file5"},{"photo_id":"1353026032","filename":"file2"},{"photo_id":"1353026062","filename":"file4"},{"photo_id":"1353025974","filename":"file1"},{"photo_id":"1353025941","filename":"file0"},{"photo_id":"1353026058","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026032":["hashtag1","hashtag2"]},{"1353026062":["hashtag1","hashtag2"]},{"1353026064":["hashtag1","hashtag2"]},{"1353026058":["hashtag1","hashtag2"]},{"1353025974":["hashtag1","hashtag2"]},{"1353025941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026032, 1353026062, 1353026064, 1353026058, 1353025974, 1353025941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.96735429763794 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:06:03.034738
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_45_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_35_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_25_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_15_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/13/04/image_23042025_13_05_05_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_55_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_45_10570.jpg', '/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_35_9566.jpg', '/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_25_10569.jpg', '/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_15_9579.jpg', '/home/nano/Desktop/images/23042025/13/04/image_23042025_13_05_05_9565.jpg', '/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_45_10570.jpg
/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_35_9566.jpg
/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_25_10569.jpg
/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_15_9579.jpg
/home/nano/Desktop/images/23042025/13/04/image_23042025_13_05_05_9565.jpg
/home/nano/Desktop/images/23042025/13/04/image_23042025_13_04_55_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026128","1353026127","1353026121","1353026129","1353026123","1353026132"],"photo_ids_order":["1353026121","1353026123","1353026127","1353026128","1353026129","1353026132"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ff3082517d9d59d5bff46f41661f2d3.jpg","text":"TemporaryFile(/tmp/multipartBody5614614858595759332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406423813,"filename":"image_23042025_13_05_15_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7741433f04a285dd5ee2c3cbd6629eb9.jpg","text":"TemporaryFile(/tmp/multipartBody7568244217360889255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406423813,"filename":"image_23042025_13_05_25_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29b25c87fb064b20abf324c5feb11cbf.jpg","text":"TemporaryFile(/tmp/multipartBody6609330250180279860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406423813,"filename":"image_23042025_13_05_45_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c0c1c3f71dde38d88fba19912fa5593.jpg","text":"TemporaryFile(/tmp/multipartBody2236007094343053052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406423813,"filename":"image_23042025_13_05_05_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0785848d1843b5c2a6f9954ccc0e1e22.jpg","text":"TemporaryFile(/tmp/multipartBody7885094925094453660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406423813,"filename":"image_23042025_13_05_35_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef6fa24cbd4b841aaa03753a6f128a78.jpg","text":"TemporaryFile(/tmp/multipartBody3870105605943109760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406423813,"filename":"image_23042025_13_04_55_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026127","file1":"1353026123","file0":"1353026121","file4":"1353026129","file5":"1353026132","file3":"1353026128"},"map_files_photo_id_array":[{"photo_id":"1353026132","filename":"file5"},{"photo_id":"1353026127","filename":"file2"},{"photo_id":"1353026129","filename":"file4"},{"photo_id":"1353026123","filename":"file1"},{"photo_id":"1353026121","filename":"file0"},{"photo_id":"1353026128","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026128":["hashtag1","hashtag2"]},{"1353026127":["hashtag1","hashtag2"]},{"1353026121":["hashtag1","hashtag2"]},{"1353026129":["hashtag1","hashtag2"]},{"1353026123":["hashtag1","hashtag2"]},{"1353026132":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026128, 1353026127, 1353026121, 1353026129, 1353026123, 1353026132)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.435567617416382 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:07:03.297818
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_25_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_15_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/13/05/image_23042025_13_06_05_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_55_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_45_9563.jpg', '/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_35_10569.jpg', '/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_25_9577.jpg', '/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_15_9572.jpg', '/home/nano/Desktop/images/23042025/13/05/image_23042025_13_06_05_10586.jpg', '/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_55_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_45_9563.jpg
/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_35_10569.jpg
/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_25_9577.jpg
/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_15_9572.jpg
/home/nano/Desktop/images/23042025/13/05/image_23042025_13_06_05_10586.jpg
/home/nano/Desktop/images/23042025/13/05/image_23042025_13_05_55_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026376","1353026349","1353026442","1353026439","1353026406","1353026435"],"photo_ids_order":["1353026349","1353026376","1353026406","1353026435","1353026439","1353026442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee1493ed172500cdfacc10165dc3b001.jpg","text":"TemporaryFile(/tmp/multipartBody2582494841706348502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406484235,"filename":"image_23042025_13_06_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/946d0f80f29e59f279f4a02c90aff5b6.jpg","text":"TemporaryFile(/tmp/multipartBody1888833470893806083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406484235,"filename":"image_23042025_13_06_45_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3efaffd7179815c004a604be7ad1fad0.jpg","text":"TemporaryFile(/tmp/multipartBody2864925098741753640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406484235,"filename":"image_23042025_13_05_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6a36003648bd51e34631af0b1c8cc1e.jpg","text":"TemporaryFile(/tmp/multipartBody7235403773139785883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406484235,"filename":"image_23042025_13_06_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22aeda52bb59f94d8374e40062acabda.jpg","text":"TemporaryFile(/tmp/multipartBody4531940237116245668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406484235,"filename":"image_23042025_13_06_25_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db02f053e579fc9be589d10643a8ac0c.jpg","text":"TemporaryFile(/tmp/multipartBody9120623078163426646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406484235,"filename":"image_23042025_13_06_15_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026406","file1":"1353026376","file0":"1353026349","file4":"1353026439","file5":"1353026442","file3":"1353026435"},"map_files_photo_id_array":[{"photo_id":"1353026442","filename":"file5"},{"photo_id":"1353026406","filename":"file2"},{"photo_id":"1353026439","filename":"file4"},{"photo_id":"1353026376","filename":"file1"},{"photo_id":"1353026349","filename":"file0"},{"photo_id":"1353026435","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026376":["hashtag1","hashtag2"]},{"1353026349":["hashtag1","hashtag2"]},{"1353026442":["hashtag1","hashtag2"]},{"1353026439":["hashtag1","hashtag2"]},{"1353026406":["hashtag1","hashtag2"]},{"1353026435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026376, 1353026349, 1353026442, 1353026439, 1353026406, 1353026435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.3755304813385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:08:03.212894
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_45_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_35_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_15_10620.jpg', 2), ('/home/nano/Desktop/images/23042025/13/06/image_23042025_13_07_05_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_55_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_45_10652.jpg', '/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_35_9634.jpg', '/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_25_9560.jpg', '/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_15_10620.jpg', '/home/nano/Desktop/images/23042025/13/06/image_23042025_13_07_05_9559.jpg', '/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_55_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_45_10652.jpg
/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_35_9634.jpg
/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_25_9560.jpg
/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_15_10620.jpg
/home/nano/Desktop/images/23042025/13/06/image_23042025_13_07_05_9559.jpg
/home/nano/Desktop/images/23042025/13/06/image_23042025_13_06_55_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026521","1353026496","1353026493","1353026517","1353026502","1353026501"],"photo_ids_order":["1353026493","1353026496","1353026501","1353026502","1353026517","1353026521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19fe562db1cfe57c86eb606e9e2bf473.jpg","text":"TemporaryFile(/tmp/multipartBody9108954614126086740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406544301,"filename":"image_23042025_13_06_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b638de4cbdf98f47d097c33890d4b5b8.jpg","text":"TemporaryFile(/tmp/multipartBody3063941331248881048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406544301,"filename":"image_23042025_13_07_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06564d777f6ac5ce3f3ba6704dc1838f.jpg","text":"TemporaryFile(/tmp/multipartBody8868342656491013552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406544301,"filename":"image_23042025_13_07_45_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a2ee44362eaaf7b714d4869e1434d0b.jpg","text":"TemporaryFile(/tmp/multipartBody2151641411081135428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406544301,"filename":"image_23042025_13_07_05_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbf935a04e2d4403f18240423e6cf80b.jpg","text":"TemporaryFile(/tmp/multipartBody8868791915755271073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406544301,"filename":"image_23042025_13_07_15_10620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd27566b69ebb5600821f7f52e6c2aec.jpg","text":"TemporaryFile(/tmp/multipartBody1207701094400423691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406544301,"filename":"image_23042025_13_07_25_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026501","file1":"1353026496","file0":"1353026493","file4":"1353026517","file5":"1353026521","file3":"1353026502"},"map_files_photo_id_array":[{"photo_id":"1353026521","filename":"file5"},{"photo_id":"1353026501","filename":"file2"},{"photo_id":"1353026517","filename":"file4"},{"photo_id":"1353026496","filename":"file1"},{"photo_id":"1353026493","filename":"file0"},{"photo_id":"1353026502","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026521":["hashtag1","hashtag2"]},{"1353026496":["hashtag1","hashtag2"]},{"1353026493":["hashtag1","hashtag2"]},{"1353026517":["hashtag1","hashtag2"]},{"1353026502":["hashtag1","hashtag2"]},{"1353026501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026521, 1353026496, 1353026493, 1353026517, 1353026502, 1353026501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.181164264678955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:09:02.824814
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_45_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_15_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/13/07/image_23042025_13_08_05_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_55_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_45_10656.jpg', '/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_35_9639.jpg', '/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_25_9657.jpg', '/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_15_10688.jpg', '/home/nano/Desktop/images/23042025/13/07/image_23042025_13_08_05_9641.jpg', '/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_45_10656.jpg
/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_35_9639.jpg
/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_25_9657.jpg
/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_15_10688.jpg
/home/nano/Desktop/images/23042025/13/07/image_23042025_13_08_05_9641.jpg
/home/nano/Desktop/images/23042025/13/07/image_23042025_13_07_55_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026583","1353026577","1353026586","1353026591","1353026579","1353026587"],"photo_ids_order":["1353026577","1353026579","1353026583","1353026586","1353026587","1353026591"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/810b862c581141bcf9cce3ee8aabed6f.jpg","text":"TemporaryFile(/tmp/multipartBody4998493859969206570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406604012,"filename":"image_23042025_13_08_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f7a348f11a39cc662198f152370e484.jpg","text":"TemporaryFile(/tmp/multipartBody5812378906851576290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406604012,"filename":"image_23042025_13_08_45_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73f62f02e5a1d3dd6b1ca8293b5ad254.jpg","text":"TemporaryFile(/tmp/multipartBody6522874016916529268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406604012,"filename":"image_23042025_13_08_15_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c53e76ee7035426e16a4a09f5ee172e3.jpg","text":"TemporaryFile(/tmp/multipartBody4145154872530012814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406604012,"filename":"image_23042025_13_07_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5af63cff40f881fc814c79883ece68d6.jpg","text":"TemporaryFile(/tmp/multipartBody704392849657544816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406604012,"filename":"image_23042025_13_08_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ed649f13def968bbf50d70744177a62.jpg","text":"TemporaryFile(/tmp/multipartBody5176702723017481181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406604012,"filename":"image_23042025_13_08_05_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026583","file1":"1353026579","file0":"1353026577","file4":"1353026587","file5":"1353026591","file3":"1353026586"},"map_files_photo_id_array":[{"photo_id":"1353026591","filename":"file5"},{"photo_id":"1353026583","filename":"file2"},{"photo_id":"1353026587","filename":"file4"},{"photo_id":"1353026579","filename":"file1"},{"photo_id":"1353026577","filename":"file0"},{"photo_id":"1353026586","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026583":["hashtag1","hashtag2"]},{"1353026577":["hashtag1","hashtag2"]},{"1353026586":["hashtag1","hashtag2"]},{"1353026591":["hashtag1","hashtag2"]},{"1353026579":["hashtag1","hashtag2"]},{"1353026587":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026583, 1353026577, 1353026586, 1353026591, 1353026579, 1353026587)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.109036207199097 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:10:02.348650
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_35_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_15_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/13/08/image_23042025_13_09_05_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_45_9641.jpg', '/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_35_10659.jpg', '/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_25_9636.jpg', '/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_15_9672.jpg', '/home/nano/Desktop/images/23042025/13/08/image_23042025_13_09_05_10661.jpg', '/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_45_9641.jpg
/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_35_10659.jpg
/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_25_9636.jpg
/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_15_9672.jpg
/home/nano/Desktop/images/23042025/13/08/image_23042025_13_09_05_10661.jpg
/home/nano/Desktop/images/23042025/13/08/image_23042025_13_08_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026701","1353026676","1353026703","1353026693","1353026696","1353026698"],"photo_ids_order":["1353026676","1353026693","1353026696","1353026698","1353026701","1353026703"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83e906e40a1b4a4fbeb819c676f38cc5.jpg","text":"TemporaryFile(/tmp/multipartBody2099287519342075358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406663649,"filename":"image_23042025_13_09_05_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5d32f950e823fef908aca452638645e.jpg","text":"TemporaryFile(/tmp/multipartBody7582568194482463891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406663649,"filename":"image_23042025_13_09_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cdbebe061170df9efe015d4936daf80.jpg","text":"TemporaryFile(/tmp/multipartBody4235061842536070762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406663649,"filename":"image_23042025_13_08_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c872a61d92b93ea8770ccf4a85e26190.jpg","text":"TemporaryFile(/tmp/multipartBody7171253464983848554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406663649,"filename":"image_23042025_13_09_35_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05c68a58768b9df803e8a6e0abc36530.jpg","text":"TemporaryFile(/tmp/multipartBody737641726441901619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406663649,"filename":"image_23042025_13_09_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e569ac698d50278a04da47eeeafa64c.jpg","text":"TemporaryFile(/tmp/multipartBody8532164279662717422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406663649,"filename":"image_23042025_13_09_15_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026696","file1":"1353026693","file0":"1353026676","file4":"1353026701","file5":"1353026703","file3":"1353026698"},"map_files_photo_id_array":[{"photo_id":"1353026703","filename":"file5"},{"photo_id":"1353026696","filename":"file2"},{"photo_id":"1353026701","filename":"file4"},{"photo_id":"1353026693","filename":"file1"},{"photo_id":"1353026676","filename":"file0"},{"photo_id":"1353026698","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026701":["hashtag1","hashtag2"]},{"1353026676":["hashtag1","hashtag2"]},{"1353026703":["hashtag1","hashtag2"]},{"1353026693":["hashtag1","hashtag2"]},{"1353026696":["hashtag1","hashtag2"]},{"1353026698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026701, 1353026676, 1353026703, 1353026693, 1353026696, 1353026698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57301735877991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:11:02.522931
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_45_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_35_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_25_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/13/09/image_23042025_13_10_05_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_55_9624.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_45_9625.jpg', '/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_35_10634.jpg', '/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_25_9621.jpg', '/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_15_9642.jpg', '/home/nano/Desktop/images/23042025/13/09/image_23042025_13_10_05_10667.jpg', '/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_55_9624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_45_9625.jpg
/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_35_10634.jpg
/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_25_9621.jpg
/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_15_9642.jpg
/home/nano/Desktop/images/23042025/13/09/image_23042025_13_10_05_10667.jpg
/home/nano/Desktop/images/23042025/13/09/image_23042025_13_09_55_9624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026740","1353026734","1353026737","1353026725","1353026732","1353026729"],"photo_ids_order":["1353026725","1353026729","1353026732","1353026734","1353026737","1353026740"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b855d255b8184980540996df25dab62.jpg","text":"TemporaryFile(/tmp/multipartBody903556857235469082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406723786,"filename":"image_23042025_13_09_55_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4350820deb67e0f3825710648bb375b2.jpg","text":"TemporaryFile(/tmp/multipartBody1636083588221243707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406723786,"filename":"image_23042025_13_10_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bf6fb8fad831af44f1c4ce7a9b09b87.jpg","text":"TemporaryFile(/tmp/multipartBody6222565435779157416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406723786,"filename":"image_23042025_13_10_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/011f9f594f5bab5e114065c6f8548c48.jpg","text":"TemporaryFile(/tmp/multipartBody7451302404088979379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406723786,"filename":"image_23042025_13_10_45_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/781f59ee077d558d313a818cbf65388b.jpg","text":"TemporaryFile(/tmp/multipartBody3560363297635008422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406723786,"filename":"image_23042025_13_10_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4909b94c48b2b65e32d438fbebedb35.jpg","text":"TemporaryFile(/tmp/multipartBody1843871355050058905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406723786,"filename":"image_23042025_13_10_35_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026732","file1":"1353026729","file0":"1353026725","file4":"1353026737","file5":"1353026740","file3":"1353026734"},"map_files_photo_id_array":[{"photo_id":"1353026740","filename":"file5"},{"photo_id":"1353026732","filename":"file2"},{"photo_id":"1353026737","filename":"file4"},{"photo_id":"1353026729","filename":"file1"},{"photo_id":"1353026725","filename":"file0"},{"photo_id":"1353026734","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026740":["hashtag1","hashtag2"]},{"1353026734":["hashtag1","hashtag2"]},{"1353026737":["hashtag1","hashtag2"]},{"1353026725":["hashtag1","hashtag2"]},{"1353026732":["hashtag1","hashtag2"]},{"1353026729":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026740, 1353026734, 1353026737, 1353026725, 1353026732, 1353026729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.54193639755249 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:12:02.469613
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_45_9737.jpg', 2), ('/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_35_10710.jpg', 2), ('/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_25_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_15_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/13/10/image_23042025_13_11_05_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_55_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_45_9737.jpg', '/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_35_10710.jpg', '/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_25_9668.jpg', '/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_15_9705.jpg', '/home/nano/Desktop/images/23042025/13/10/image_23042025_13_11_05_10708.jpg', '/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_55_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_45_9737.jpg
/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_35_10710.jpg
/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_25_9668.jpg
/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_15_9705.jpg
/home/nano/Desktop/images/23042025/13/10/image_23042025_13_11_05_10708.jpg
/home/nano/Desktop/images/23042025/13/10/image_23042025_13_10_55_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353026953","1353026883","1353026946","1353026840","1353026834","1353026837"],"photo_ids_order":["1353026834","1353026837","1353026840","1353026883","1353026946","1353026953"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5232afe30895dbeac6d76b743b9b6184.jpg","text":"TemporaryFile(/tmp/multipartBody4002777040086275863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406783911,"filename":"image_23042025_13_10_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f071777d688bc5c9ef5850807551f6e2.jpg","text":"TemporaryFile(/tmp/multipartBody552470084048785401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406783911,"filename":"image_23042025_13_11_15_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b4914f54e6b7455bae3e03809c835c2.jpg","text":"TemporaryFile(/tmp/multipartBody4535821772662006499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406783911,"filename":"image_23042025_13_11_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/141bbbd7cc0ef527f08b044aee72fe82.jpg","text":"TemporaryFile(/tmp/multipartBody4089614219660622461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406783911,"filename":"image_23042025_13_11_25_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9c14b4173f31de2650d71fe8cd00281.jpg","text":"TemporaryFile(/tmp/multipartBody7479008381737508138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406783911,"filename":"image_23042025_13_11_45_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d32708aec1b5a3195172da7addf6056d.jpg","text":"TemporaryFile(/tmp/multipartBody1934098959827082707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406783911,"filename":"image_23042025_13_11_35_10710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353026840","file1":"1353026837","file0":"1353026834","file4":"1353026946","file5":"1353026953","file3":"1353026883"},"map_files_photo_id_array":[{"photo_id":"1353026953","filename":"file5"},{"photo_id":"1353026840","filename":"file2"},{"photo_id":"1353026946","filename":"file4"},{"photo_id":"1353026837","filename":"file1"},{"photo_id":"1353026834","filename":"file0"},{"photo_id":"1353026883","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353026953":["hashtag1","hashtag2"]},{"1353026883":["hashtag1","hashtag2"]},{"1353026946":["hashtag1","hashtag2"]},{"1353026840":["hashtag1","hashtag2"]},{"1353026834":["hashtag1","hashtag2"]},{"1353026837":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353026953, 1353026883, 1353026946, 1353026840, 1353026834, 1353026837)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.218464612960815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:13:02.905920
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_45_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_35_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_25_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_15_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/13/11/image_23042025_13_12_05_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_55_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_45_9680.jpg', '/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_35_10680.jpg', '/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_25_9658.jpg', '/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_15_9680.jpg', '/home/nano/Desktop/images/23042025/13/11/image_23042025_13_12_05_10719.jpg', '/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_55_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_45_9680.jpg
/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_35_10680.jpg
/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_25_9658.jpg
/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_15_9680.jpg
/home/nano/Desktop/images/23042025/13/11/image_23042025_13_12_05_10719.jpg
/home/nano/Desktop/images/23042025/13/11/image_23042025_13_11_55_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353027384","1353027261","1353027346","1353027322","1353027294","1353027232"],"photo_ids_order":["1353027232","1353027261","1353027294","1353027322","1353027346","1353027384"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26dd064572305e5c12f609dac1f4ce52.jpg","text":"TemporaryFile(/tmp/multipartBody4023516955138785985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406844144,"filename":"image_23042025_13_11_55_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32569a9001973b3be7911353caf4f5c5.jpg","text":"TemporaryFile(/tmp/multipartBody1554652727274942226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406844144,"filename":"image_23042025_13_12_35_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75c4daabbabf1d3c83a5f9f904058d9a.jpg","text":"TemporaryFile(/tmp/multipartBody3295472787552073127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406844144,"filename":"image_23042025_13_12_05_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/056c836582c92fa59148b57144ffb7b2.jpg","text":"TemporaryFile(/tmp/multipartBody5356429933104871830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406844144,"filename":"image_23042025_13_12_15_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae29cdf50447c89294b5d4ed356545c6.jpg","text":"TemporaryFile(/tmp/multipartBody2362508409503955226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406844144,"filename":"image_23042025_13_12_25_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3f8b5c83fc655daf61c8d8057a9e7c5.jpg","text":"TemporaryFile(/tmp/multipartBody2720415953617456041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406844144,"filename":"image_23042025_13_12_45_9680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353027294","file1":"1353027261","file0":"1353027232","file4":"1353027346","file5":"1353027384","file3":"1353027322"},"map_files_photo_id_array":[{"photo_id":"1353027384","filename":"file5"},{"photo_id":"1353027294","filename":"file2"},{"photo_id":"1353027346","filename":"file4"},{"photo_id":"1353027261","filename":"file1"},{"photo_id":"1353027232","filename":"file0"},{"photo_id":"1353027322","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353027384":["hashtag1","hashtag2"]},{"1353027261":["hashtag1","hashtag2"]},{"1353027346":["hashtag1","hashtag2"]},{"1353027322":["hashtag1","hashtag2"]},{"1353027294":["hashtag1","hashtag2"]},{"1353027232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353027384, 1353027261, 1353027346, 1353027322, 1353027294, 1353027232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.17267870903015 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:14:03.214450
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_45_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_35_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_25_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_15_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/13/12/image_23042025_13_13_05_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_55_9671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_45_10678.jpg', '/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_35_9720.jpg', '/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_25_9651.jpg', '/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_15_10728.jpg', '/home/nano/Desktop/images/23042025/13/12/image_23042025_13_13_05_9699.jpg', '/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_55_9671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_45_10678.jpg
/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_35_9720.jpg
/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_25_9651.jpg
/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_15_10728.jpg
/home/nano/Desktop/images/23042025/13/12/image_23042025_13_13_05_9699.jpg
/home/nano/Desktop/images/23042025/13/12/image_23042025_13_12_55_9671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353027720","1353027731","1353027728","1353027737","1353027725","1353027733"],"photo_ids_order":["1353027720","1353027725","1353027728","1353027731","1353027733","1353027737"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d5ff3caf72a58f7c6332f0764c729de.jpg","text":"TemporaryFile(/tmp/multipartBody5233752784872223447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406904602,"filename":"image_23042025_13_13_45_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e7a54070468ff4a126107dff74614a1.jpg","text":"TemporaryFile(/tmp/multipartBody328414541130003396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406904602,"filename":"image_23042025_13_13_15_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdbe86e5409fce79eb08dd858ce3a1c4.jpg","text":"TemporaryFile(/tmp/multipartBody1487497287928255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406904602,"filename":"image_23042025_13_13_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53efbbe50a348e64ff85dac569c0841f.jpg","text":"TemporaryFile(/tmp/multipartBody5756462456560184508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406904602,"filename":"image_23042025_13_12_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/008681f2d341c61f2cc9e44aea17e5c2.jpg","text":"TemporaryFile(/tmp/multipartBody6093021237161486930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406904602,"filename":"image_23042025_13_13_35_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b8754c6ca3a8743ebc461ff88c7de3d.jpg","text":"TemporaryFile(/tmp/multipartBody3330784007857888337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406904602,"filename":"image_23042025_13_13_05_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353027728","file1":"1353027725","file0":"1353027720","file4":"1353027733","file5":"1353027737","file3":"1353027731"},"map_files_photo_id_array":[{"photo_id":"1353027737","filename":"file5"},{"photo_id":"1353027728","filename":"file2"},{"photo_id":"1353027733","filename":"file4"},{"photo_id":"1353027725","filename":"file1"},{"photo_id":"1353027720","filename":"file0"},{"photo_id":"1353027731","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353027720":["hashtag1","hashtag2"]},{"1353027731":["hashtag1","hashtag2"]},{"1353027728":["hashtag1","hashtag2"]},{"1353027737":["hashtag1","hashtag2"]},{"1353027725":["hashtag1","hashtag2"]},{"1353027733":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353027720, 1353027731, 1353027728, 1353027737, 1353027725, 1353027733)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.46491885185242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:15:02.933901
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_35_9686.jpg', 2), ('/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_15_10731.jpg', 2), ('/home/nano/Desktop/images/23042025/13/13/image_23042025_13_14_05_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_55_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_45_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_35_9686.jpg', '/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_25_9707.jpg', '/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_15_10731.jpg', '/home/nano/Desktop/images/23042025/13/13/image_23042025_13_14_05_9719.jpg', '/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_55_9671.jpg', '/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_45_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_35_9686.jpg
/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_25_9707.jpg
/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_15_10731.jpg
/home/nano/Desktop/images/23042025/13/13/image_23042025_13_14_05_9719.jpg
/home/nano/Desktop/images/23042025/13/13/image_23042025_13_13_55_9671.jpg
/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_45_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353028262","1353027998","1353027977","1353027988","1353027949","1353027913"],"photo_ids_order":["1353027913","1353027949","1353027977","1353027988","1353027998","1353028262"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f0c27432ac72e61df3c468fcc4751d0.jpg","text":"TemporaryFile(/tmp/multipartBody2083405281928347225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406964799,"filename":"image_23042025_12_58_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cf73c068a728a5eeb98013890557bd7.jpg","text":"TemporaryFile(/tmp/multipartBody7924409814786160590asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406964799,"filename":"image_23042025_13_13_55_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92811c3ac5997ad49104b563f28d60fb.jpg","text":"TemporaryFile(/tmp/multipartBody8277242614545068401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406964799,"filename":"image_23042025_13_14_15_10731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9a72617ab3d6bff1407facba5e8b7f8.jpg","text":"TemporaryFile(/tmp/multipartBody1851386317981097115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406964799,"filename":"image_23042025_13_14_05_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56ba256c151a6eeb5c03b83bc0d455e5.jpg","text":"TemporaryFile(/tmp/multipartBody4061903045420898711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406964799,"filename":"image_23042025_13_14_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/617b9a7f0bd6d8bf6434fe8ce9934104.jpg","text":"TemporaryFile(/tmp/multipartBody8025766962453796513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745406964799,"filename":"image_23042025_13_14_35_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353027977","file1":"1353027949","file0":"1353027913","file4":"1353027998","file5":"1353028262","file3":"1353027988"},"map_files_photo_id_array":[{"photo_id":"1353028262","filename":"file5"},{"photo_id":"1353027977","filename":"file2"},{"photo_id":"1353027998","filename":"file4"},{"photo_id":"1353027949","filename":"file1"},{"photo_id":"1353027913","filename":"file0"},{"photo_id":"1353027988","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353028262":["hashtag1","hashtag2"]},{"1353027998":["hashtag1","hashtag2"]},{"1353027977":["hashtag1","hashtag2"]},{"1353027988":["hashtag1","hashtag2"]},{"1353027949":["hashtag1","hashtag2"]},{"1353027913":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353028262, 1353027998, 1353027977, 1353027988, 1353027949, 1353027913)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.655007123947144 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:16:02.882264
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_45_9807.jpg', 2), ('/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_35_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_25_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_15_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/13/14/image_23042025_13_15_05_9848.jpg', 2), ('/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_45_9775.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_45_9807.jpg', '/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_35_10673.jpg', '/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_25_9727.jpg', '/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_15_9718.jpg', '/home/nano/Desktop/images/23042025/13/14/image_23042025_13_15_05_9848.jpg', '/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_45_9775.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_45_9807.jpg
/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_35_10673.jpg
/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_25_9727.jpg
/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_15_9718.jpg
/home/nano/Desktop/images/23042025/13/14/image_23042025_13_15_05_9848.jpg
/home/nano/Desktop/images/23042025/13/14/image_23042025_13_14_45_9775.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353028425","1353028514","1353028436","1353028483","1353028453","1353028551"],"photo_ids_order":["1353028425","1353028436","1353028453","1353028483","1353028514","1353028551"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86481b9530189765119cffef9480f798.jpg","text":"TemporaryFile(/tmp/multipartBody8425322727208903416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407024820,"filename":"image_23042025_13_15_45_9807.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52c471bd875317baaee49303ba4c928a.jpg","text":"TemporaryFile(/tmp/multipartBody3963017900383211807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407024820,"filename":"image_23042025_13_15_05_9848.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17f2df7306d18a1a5b836a7b24e62a0f.jpg","text":"TemporaryFile(/tmp/multipartBody6489860813436068995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407024820,"filename":"image_23042025_13_15_35_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86ab20a601ac346d86b6fe9524dbdbf8.jpg","text":"TemporaryFile(/tmp/multipartBody8587043182432727702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407024820,"filename":"image_23042025_13_15_15_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4559c60b81af41fc929da0dad50e874a.jpg","text":"TemporaryFile(/tmp/multipartBody6150779346251787968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407024820,"filename":"image_23042025_13_15_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7192bb6f9eb65c8ec694785368cf814a.jpg","text":"TemporaryFile(/tmp/multipartBody6126276285717406533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407024820,"filename":"image_23042025_13_14_45_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353028453","file1":"1353028436","file0":"1353028425","file4":"1353028514","file5":"1353028551","file3":"1353028483"},"map_files_photo_id_array":[{"photo_id":"1353028551","filename":"file5"},{"photo_id":"1353028453","filename":"file2"},{"photo_id":"1353028514","filename":"file4"},{"photo_id":"1353028436","filename":"file1"},{"photo_id":"1353028425","filename":"file0"},{"photo_id":"1353028483","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353028425":["hashtag1","hashtag2"]},{"1353028514":["hashtag1","hashtag2"]},{"1353028436":["hashtag1","hashtag2"]},{"1353028483":["hashtag1","hashtag2"]},{"1353028453":["hashtag1","hashtag2"]},{"1353028551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353028425, 1353028514, 1353028436, 1353028483, 1353028453, 1353028551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03205704689026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:17:03.361403
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_45_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_35_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_25_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_15_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/13/15/image_23042025_13_16_05_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_55_9718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_45_10680.jpg', '/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_35_9784.jpg', '/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_25_9699.jpg', '/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_15_10704.jpg', '/home/nano/Desktop/images/23042025/13/15/image_23042025_13_16_05_9669.jpg', '/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_55_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_45_10680.jpg
/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_35_9784.jpg
/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_25_9699.jpg
/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_15_10704.jpg
/home/nano/Desktop/images/23042025/13/15/image_23042025_13_16_05_9669.jpg
/home/nano/Desktop/images/23042025/13/15/image_23042025_13_15_55_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353028812","1353029054","1353028751","1353028927","1353029142","1353029232"],"photo_ids_order":["1353028751","1353028812","1353028927","1353029054","1353029142","1353029232"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f6ef50213adad04c6d108a3471f714a.jpg","text":"TemporaryFile(/tmp/multipartBody195533920211243427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407085109,"filename":"image_23042025_13_16_35_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c7280994ede1ca750ac572f34be812a.jpg","text":"TemporaryFile(/tmp/multipartBody4348297219481167716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407085109,"filename":"image_23042025_13_16_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bc54352cace37f9cfc36c7d63d44455.jpg","text":"TemporaryFile(/tmp/multipartBody7911849752009667743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407085109,"filename":"image_23042025_13_16_45_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc6feb4854c10066528a27ca856a1b40.jpg","text":"TemporaryFile(/tmp/multipartBody539343738121658987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407085109,"filename":"image_23042025_13_16_25_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73c8fa0339fc27cd73382148b39671d6.jpg","text":"TemporaryFile(/tmp/multipartBody3592144278827054353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407085109,"filename":"image_23042025_13_16_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bfe00195b46d8f0682a900cf95d5e73c.jpg","text":"TemporaryFile(/tmp/multipartBody6726169556117255473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407085109,"filename":"image_23042025_13_15_55_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353028927","file1":"1353028812","file0":"1353028751","file4":"1353029142","file5":"1353029232","file3":"1353029054"},"map_files_photo_id_array":[{"photo_id":"1353029232","filename":"file5"},{"photo_id":"1353028927","filename":"file2"},{"photo_id":"1353029142","filename":"file4"},{"photo_id":"1353028812","filename":"file1"},{"photo_id":"1353028751","filename":"file0"},{"photo_id":"1353029054","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353028812":["hashtag1","hashtag2"]},{"1353029054":["hashtag1","hashtag2"]},{"1353028751":["hashtag1","hashtag2"]},{"1353028927":["hashtag1","hashtag2"]},{"1353029142":["hashtag1","hashtag2"]},{"1353029232":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353028812, 1353029054, 1353028751, 1353028927, 1353029142, 1353029232)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.647292375564575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:18:03.260736
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_45_9766.jpg', 2), ('/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_35_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_25_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_15_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/13/16/image_23042025_13_17_05_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_55_9693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_45_9766.jpg', '/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_35_9715.jpg', '/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_25_10693.jpg', '/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_15_9733.jpg', '/home/nano/Desktop/images/23042025/13/16/image_23042025_13_17_05_9694.jpg', '/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_55_9693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_45_9766.jpg
/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_35_9715.jpg
/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_25_10693.jpg
/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_15_9733.jpg
/home/nano/Desktop/images/23042025/13/16/image_23042025_13_17_05_9694.jpg
/home/nano/Desktop/images/23042025/13/16/image_23042025_13_16_55_9693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353029299","1353029311","1353029305","1353029302","1353029304","1353029294"],"photo_ids_order":["1353029294","1353029299","1353029302","1353029304","1353029305","1353029311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce39291d6187573b3a589c541b333d47.jpg","text":"TemporaryFile(/tmp/multipartBody2545635555581523326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407145775,"filename":"image_23042025_13_17_35_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6e6e0bc2a7a69bf584e4caf9cfe4d1f.jpg","text":"TemporaryFile(/tmp/multipartBody5532320382640829031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407145775,"filename":"image_23042025_13_16_55_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f0f4945c93e13060603885709cae000.jpg","text":"TemporaryFile(/tmp/multipartBody8626047409041927080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407145775,"filename":"image_23042025_13_17_05_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae07bb4d42ca83295c94da009aacd1db.jpg","text":"TemporaryFile(/tmp/multipartBody1537501323310416173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407145775,"filename":"image_23042025_13_17_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/916382799dc62ebe0e7e88cb0105bf5f.jpg","text":"TemporaryFile(/tmp/multipartBody2822763146362995114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407145775,"filename":"image_23042025_13_17_15_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07f76cba35b6557c4075195c7f9626a0.jpg","text":"TemporaryFile(/tmp/multipartBody8299359874982796875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407145775,"filename":"image_23042025_13_17_45_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353029302","file1":"1353029299","file0":"1353029294","file4":"1353029305","file5":"1353029311","file3":"1353029304"},"map_files_photo_id_array":[{"photo_id":"1353029311","filename":"file5"},{"photo_id":"1353029302","filename":"file2"},{"photo_id":"1353029305","filename":"file4"},{"photo_id":"1353029299","filename":"file1"},{"photo_id":"1353029294","filename":"file0"},{"photo_id":"1353029304","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353029299":["hashtag1","hashtag2"]},{"1353029311":["hashtag1","hashtag2"]},{"1353029305":["hashtag1","hashtag2"]},{"1353029302":["hashtag1","hashtag2"]},{"1353029304":["hashtag1","hashtag2"]},{"1353029294":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353029299, 1353029311, 1353029305, 1353029302, 1353029304, 1353029294)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05592489242554 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:19:02.634492
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_45_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_35_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_25_10694.jpg', 2), ('/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_15_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/13/17/image_23042025_13_18_05_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_55_10690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_45_9708.jpg', '/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_35_9667.jpg', '/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_25_10694.jpg', '/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_15_9656.jpg', '/home/nano/Desktop/images/23042025/13/17/image_23042025_13_18_05_9696.jpg', '/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_55_10690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_45_9708.jpg
/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_35_9667.jpg
/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_25_10694.jpg
/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_15_9656.jpg
/home/nano/Desktop/images/23042025/13/17/image_23042025_13_18_05_9696.jpg
/home/nano/Desktop/images/23042025/13/17/image_23042025_13_17_55_10690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353029687","1353029661","1353029608","1353029745","1353029634","1353029715"],"photo_ids_order":["1353029608","1353029634","1353029661","1353029687","1353029715","1353029745"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eee029a2fca90a87e63ff92c9f771cd0.jpg","text":"TemporaryFile(/tmp/multipartBody5007592032172867074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407204071,"filename":"image_23042025_13_18_15_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc1c38a5d91e8917aafa3c5e2bd1cde8.jpg","text":"TemporaryFile(/tmp/multipartBody4807107538881266448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407204071,"filename":"image_23042025_13_18_25_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/099b8bfd06d8f2a6a1825024496394ed.jpg","text":"TemporaryFile(/tmp/multipartBody393387856717460064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407204071,"filename":"image_23042025_13_18_45_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b351eea10d06742ecd3a5e52e10c884.jpg","text":"TemporaryFile(/tmp/multipartBody8130811956222538651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407204071,"filename":"image_23042025_13_17_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0ac3ab4f074fae9d92d8e2dd489bbfd.jpg","text":"TemporaryFile(/tmp/multipartBody2774499680376988637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407204071,"filename":"image_23042025_13_18_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b548234e5f1d6ea22b86969333b6d07e.jpg","text":"TemporaryFile(/tmp/multipartBody4182418171999732287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407204071,"filename":"image_23042025_13_18_05_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353029661","file1":"1353029634","file0":"1353029608","file4":"1353029715","file5":"1353029745","file3":"1353029687"},"map_files_photo_id_array":[{"photo_id":"1353029745","filename":"file5"},{"photo_id":"1353029661","filename":"file2"},{"photo_id":"1353029715","filename":"file4"},{"photo_id":"1353029634","filename":"file1"},{"photo_id":"1353029608","filename":"file0"},{"photo_id":"1353029687","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353029687":["hashtag1","hashtag2"]},{"1353029661":["hashtag1","hashtag2"]},{"1353029608":["hashtag1","hashtag2"]},{"1353029745":["hashtag1","hashtag2"]},{"1353029634":["hashtag1","hashtag2"]},{"1353029715":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353029687, 1353029661, 1353029608, 1353029745, 1353029634, 1353029715)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.59120011329651 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:20:02.362187
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_45_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_35_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_25_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_15_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/13/18/image_23042025_13_19_05_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_55_10688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_45_9671.jpg', '/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_35_10683.jpg', '/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_25_9676.jpg', '/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_15_9675.jpg', '/home/nano/Desktop/images/23042025/13/18/image_23042025_13_19_05_9711.jpg', '/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_55_10688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_45_9671.jpg
/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_35_10683.jpg
/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_25_9676.jpg
/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_15_9675.jpg
/home/nano/Desktop/images/23042025/13/18/image_23042025_13_19_05_9711.jpg
/home/nano/Desktop/images/23042025/13/18/image_23042025_13_18_55_10688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353029963","1353029968","1353029998","1353029965","1353029985","1353030106"],"photo_ids_order":["1353029963","1353029965","1353029968","1353029985","1353029998","1353030106"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ca2ca293ef60f15e94bb2b6fe30279c.jpg","text":"TemporaryFile(/tmp/multipartBody4152145116578134930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407263702,"filename":"image_23042025_13_19_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c620628c1cd79d4f532fed507102d557.jpg","text":"TemporaryFile(/tmp/multipartBody766891060787071430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407263702,"filename":"image_23042025_13_19_25_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dfe7a35e8bec86b0a6772d89f44eb06.jpg","text":"TemporaryFile(/tmp/multipartBody1294898310556988608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407263702,"filename":"image_23042025_13_19_05_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80020ef819c776776e223f88ace543bd.jpg","text":"TemporaryFile(/tmp/multipartBody5697804630750025770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407263702,"filename":"image_23042025_13_19_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/480f3f1d2512a36334c9b19f6d879289.jpg","text":"TemporaryFile(/tmp/multipartBody2128108297875345116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407263702,"filename":"image_23042025_13_19_15_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa54a489aa765dc015e89e9892e227ef.jpg","text":"TemporaryFile(/tmp/multipartBody1078460792901298596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407263702,"filename":"image_23042025_13_18_55_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353029968","file1":"1353029965","file0":"1353029963","file4":"1353029998","file5":"1353030106","file3":"1353029985"},"map_files_photo_id_array":[{"photo_id":"1353030106","filename":"file5"},{"photo_id":"1353029968","filename":"file2"},{"photo_id":"1353029998","filename":"file4"},{"photo_id":"1353029965","filename":"file1"},{"photo_id":"1353029963","filename":"file0"},{"photo_id":"1353029985","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353029963":["hashtag1","hashtag2"]},{"1353029968":["hashtag1","hashtag2"]},{"1353029998":["hashtag1","hashtag2"]},{"1353029965":["hashtag1","hashtag2"]},{"1353029985":["hashtag1","hashtag2"]},{"1353030106":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353029963, 1353029968, 1353029998, 1353029965, 1353029985, 1353030106)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.93089818954468 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:21:02.562455
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_45_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_35_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_25_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_15_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/13/19/image_23042025_13_20_05_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_55_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_45_9671.jpg', '/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_35_10667.jpg', '/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_25_9671.jpg', '/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_15_9699.jpg', '/home/nano/Desktop/images/23042025/13/19/image_23042025_13_20_05_10707.jpg', '/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_55_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_45_9671.jpg
/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_35_10667.jpg
/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_25_9671.jpg
/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_15_9699.jpg
/home/nano/Desktop/images/23042025/13/19/image_23042025_13_20_05_10707.jpg
/home/nano/Desktop/images/23042025/13/19/image_23042025_13_19_55_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353030548","1353030434","1353030413","1353030544","1353030460","1353030514"],"photo_ids_order":["1353030413","1353030434","1353030460","1353030514","1353030544","1353030548"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a03fd63cba2bdc83b0199709ed79e3c.jpg","text":"TemporaryFile(/tmp/multipartBody9207392124882149919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407323896,"filename":"image_23042025_13_19_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b589597256ad95c6b167252e4f8470de.jpg","text":"TemporaryFile(/tmp/multipartBody149341734372366248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407323896,"filename":"image_23042025_13_20_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/411f1cfa5c13c196b9ec297329a93184.jpg","text":"TemporaryFile(/tmp/multipartBody1327004261586063370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407323896,"filename":"image_23042025_13_20_45_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b65a287b2922d487d1fdacb2bdcf760.jpg","text":"TemporaryFile(/tmp/multipartBody4051209927461378326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407323896,"filename":"image_23042025_13_20_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2cd069b89fde443ba2efd7eb4b56add.jpg","text":"TemporaryFile(/tmp/multipartBody1838351692609164242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407323896,"filename":"image_23042025_13_20_25_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff732135822f6b276f969b0b640cbcf6.jpg","text":"TemporaryFile(/tmp/multipartBody2841412154253696895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407323896,"filename":"image_23042025_13_20_15_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353030460","file1":"1353030434","file0":"1353030413","file4":"1353030544","file5":"1353030548","file3":"1353030514"},"map_files_photo_id_array":[{"photo_id":"1353030548","filename":"file5"},{"photo_id":"1353030460","filename":"file2"},{"photo_id":"1353030544","filename":"file4"},{"photo_id":"1353030434","filename":"file1"},{"photo_id":"1353030413","filename":"file0"},{"photo_id":"1353030514","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353030548":["hashtag1","hashtag2"]},{"1353030434":["hashtag1","hashtag2"]},{"1353030413":["hashtag1","hashtag2"]},{"1353030544":["hashtag1","hashtag2"]},{"1353030460":["hashtag1","hashtag2"]},{"1353030514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353030548, 1353030434, 1353030413, 1353030544, 1353030460, 1353030514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.050289154052734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:22:02.835560
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_45_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_35_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_25_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_15_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/13/20/image_23042025_13_21_05_10692.jpg', 2), ('/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_55_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_45_9687.jpg', '/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_35_10665.jpg', '/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_25_9644.jpg', '/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_15_9660.jpg', '/home/nano/Desktop/images/23042025/13/20/image_23042025_13_21_05_10692.jpg', '/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_45_9687.jpg
/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_35_10665.jpg
/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_25_9644.jpg
/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_15_9660.jpg
/home/nano/Desktop/images/23042025/13/20/image_23042025_13_21_05_10692.jpg
/home/nano/Desktop/images/23042025/13/20/image_23042025_13_20_55_9657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353030744","1353030627","1353030664","1353030745","1353030748","1353030690"],"photo_ids_order":["1353030627","1353030664","1353030690","1353030744","1353030745","1353030748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e35297a10f9a6ef1e68963624b6a82d.jpg","text":"TemporaryFile(/tmp/multipartBody5982265416243069620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407384140,"filename":"image_23042025_13_21_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/460f51bab8366b577940650ffceb1c37.jpg","text":"TemporaryFile(/tmp/multipartBody2124283474618451021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407384140,"filename":"image_23042025_13_21_45_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a90b3c99ad4c99ac08d63d2bc581303.jpg","text":"TemporaryFile(/tmp/multipartBody4108146284671023325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407384140,"filename":"image_23042025_13_21_35_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6d5ebdb0d845de0bdc6dc29ece07339.jpg","text":"TemporaryFile(/tmp/multipartBody2429917608639055056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407384140,"filename":"image_23042025_13_21_05_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd58d4d575e09b9cb00ff262f5bf895e.jpg","text":"TemporaryFile(/tmp/multipartBody6728966374782717427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407384140,"filename":"image_23042025_13_20_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edd1695d1c8b70d87b8a5c9dab3f8b0a.jpg","text":"TemporaryFile(/tmp/multipartBody2183537370585150720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407384140,"filename":"image_23042025_13_21_25_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353030690","file1":"1353030664","file0":"1353030627","file4":"1353030745","file5":"1353030748","file3":"1353030744"},"map_files_photo_id_array":[{"photo_id":"1353030748","filename":"file5"},{"photo_id":"1353030690","filename":"file2"},{"photo_id":"1353030745","filename":"file4"},{"photo_id":"1353030664","filename":"file1"},{"photo_id":"1353030627","filename":"file0"},{"photo_id":"1353030744","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353030744":["hashtag1","hashtag2"]},{"1353030627":["hashtag1","hashtag2"]},{"1353030664":["hashtag1","hashtag2"]},{"1353030745":["hashtag1","hashtag2"]},{"1353030748":["hashtag1","hashtag2"]},{"1353030690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353030744, 1353030627, 1353030664, 1353030745, 1353030748, 1353030690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.22028136253357 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:23:02.989205
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_45_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_35_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_25_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_15_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/13/21/image_23042025_13_22_05_10702.jpg', 2), ('/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_55_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_45_9673.jpg', '/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_35_10657.jpg', '/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_25_9685.jpg', '/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_15_9665.jpg', '/home/nano/Desktop/images/23042025/13/21/image_23042025_13_22_05_10702.jpg', '/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_45_9673.jpg
/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_35_10657.jpg
/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_25_9685.jpg
/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_15_9665.jpg
/home/nano/Desktop/images/23042025/13/21/image_23042025_13_22_05_10702.jpg
/home/nano/Desktop/images/23042025/13/21/image_23042025_13_21_55_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353030947","1353030898","1353030973","1353030976","1353030981","1353030978"],"photo_ids_order":["1353030898","1353030947","1353030973","1353030976","1353030978","1353030981"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03b7f9562104fda182358f53ad46335c.jpg","text":"TemporaryFile(/tmp/multipartBody3311879307562519969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407444282,"filename":"image_23042025_13_22_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17a39e5015c8bd025c76879b02b8a2bd.jpg","text":"TemporaryFile(/tmp/multipartBody2200912715382565830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407444282,"filename":"image_23042025_13_22_45_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/459f0f9a8725ec434bb17757990a6b7d.jpg","text":"TemporaryFile(/tmp/multipartBody8840219662703260839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407444282,"filename":"image_23042025_13_22_25_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7751ffcf4a89081f29b60650adc9a09.jpg","text":"TemporaryFile(/tmp/multipartBody1417441134763603215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407444282,"filename":"image_23042025_13_22_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2773a0a5e43e1b653493731eca3a600c.jpg","text":"TemporaryFile(/tmp/multipartBody4331459097282028092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407444282,"filename":"image_23042025_13_21_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5d59fdf659f75e45fed74748e223db3.jpg","text":"TemporaryFile(/tmp/multipartBody4213631028398097938asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407444282,"filename":"image_23042025_13_22_05_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353030973","file1":"1353030947","file0":"1353030898","file4":"1353030978","file5":"1353030981","file3":"1353030976"},"map_files_photo_id_array":[{"photo_id":"1353030981","filename":"file5"},{"photo_id":"1353030973","filename":"file2"},{"photo_id":"1353030978","filename":"file4"},{"photo_id":"1353030947","filename":"file1"},{"photo_id":"1353030898","filename":"file0"},{"photo_id":"1353030976","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353030947":["hashtag1","hashtag2"]},{"1353030898":["hashtag1","hashtag2"]},{"1353030973":["hashtag1","hashtag2"]},{"1353030976":["hashtag1","hashtag2"]},{"1353030981":["hashtag1","hashtag2"]},{"1353030978":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353030947, 1353030898, 1353030973, 1353030976, 1353030981, 1353030978)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.06214356422424 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:24:03.140542
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_45_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_35_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_25_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_15_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/13/22/image_23042025_13_23_05_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_55_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_45_9668.jpg', '/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_35_10667.jpg', '/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_25_9646.jpg', '/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_15_9660.jpg', '/home/nano/Desktop/images/23042025/13/22/image_23042025_13_23_05_10687.jpg', '/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_55_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_45_9668.jpg
/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_35_10667.jpg
/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_25_9646.jpg
/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_15_9660.jpg
/home/nano/Desktop/images/23042025/13/22/image_23042025_13_23_05_10687.jpg
/home/nano/Desktop/images/23042025/13/22/image_23042025_13_22_55_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031154","1353031136","1353031148","1353031099","1353031126","1353031149"],"photo_ids_order":["1353031099","1353031126","1353031136","1353031148","1353031149","1353031154"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c380757837796726a494038db6d52f9.jpg","text":"TemporaryFile(/tmp/multipartBody204795012886143812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407504371,"filename":"image_23042025_13_22_55_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56433d2372afab4e8ee3c59c0b95e74f.jpg","text":"TemporaryFile(/tmp/multipartBody8412088569704332051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407504371,"filename":"image_23042025_13_23_25_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/857d47e4b50cdfb804daf844c9f0108f.jpg","text":"TemporaryFile(/tmp/multipartBody5079951624178759716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407504371,"filename":"image_23042025_13_23_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee37d2f2af051949e678019bf0da156b.jpg","text":"TemporaryFile(/tmp/multipartBody5942200030798160694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407504371,"filename":"image_23042025_13_23_45_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bbe0d207130e120e34bf2e44a43f0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3342196882253703311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407504371,"filename":"image_23042025_13_23_35_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fad550d2836cdf77a29d58934cb902b2.jpg","text":"TemporaryFile(/tmp/multipartBody1474329335353659291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407504371,"filename":"image_23042025_13_23_05_10687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031136","file1":"1353031126","file0":"1353031099","file4":"1353031149","file5":"1353031154","file3":"1353031148"},"map_files_photo_id_array":[{"photo_id":"1353031154","filename":"file5"},{"photo_id":"1353031136","filename":"file2"},{"photo_id":"1353031149","filename":"file4"},{"photo_id":"1353031126","filename":"file1"},{"photo_id":"1353031099","filename":"file0"},{"photo_id":"1353031148","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031154":["hashtag1","hashtag2"]},{"1353031136":["hashtag1","hashtag2"]},{"1353031148":["hashtag1","hashtag2"]},{"1353031099":["hashtag1","hashtag2"]},{"1353031126":["hashtag1","hashtag2"]},{"1353031149":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031154, 1353031136, 1353031148, 1353031099, 1353031126, 1353031149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82907152175903 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:25:03.230949
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_35_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_45_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_35_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_25_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_15_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/13/23/image_23042025_13_24_05_10700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_35_10661.jpg', '/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_45_9685.jpg', '/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_35_10671.jpg', '/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_25_9638.jpg', '/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_15_9653.jpg', '/home/nano/Desktop/images/23042025/13/23/image_23042025_13_24_05_10700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_35_10661.jpg
/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_45_9685.jpg
/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_35_10671.jpg
/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_25_9638.jpg
/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_15_9653.jpg
/home/nano/Desktop/images/23042025/13/23/image_23042025_13_24_05_10700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031193","1353031187","1353031184","1353031192","1353031206","1353031190"],"photo_ids_order":["1353031184","1353031187","1353031190","1353031192","1353031193","1353031206"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/015627e0b24238c3503e161d513fa841.jpg","text":"TemporaryFile(/tmp/multipartBody7239910816260925619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407564453,"filename":"image_23042025_13_24_15_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d52ed446b7c7bf47c5f488af5065c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody2671242861059936325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407564453,"filename":"image_23042025_13_24_45_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b345a312aef2439cd9865c9234d7da6a.jpg","text":"TemporaryFile(/tmp/multipartBody4002710528566652044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407564453,"filename":"image_23042025_13_25_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dd1f477dcd80f463a1edfca4ca0f796.jpg","text":"TemporaryFile(/tmp/multipartBody639235190246627383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407564453,"filename":"image_23042025_13_24_25_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80437e356854819bdd00c93cbf6ff77c.jpg","text":"TemporaryFile(/tmp/multipartBody3226227204058244843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407564453,"filename":"image_23042025_13_24_05_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb25ac3e946b0555f3d20ca67c305f69.jpg","text":"TemporaryFile(/tmp/multipartBody364930291028001893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407564453,"filename":"image_23042025_13_24_35_10671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031190","file1":"1353031187","file0":"1353031184","file4":"1353031193","file5":"1353031206","file3":"1353031192"},"map_files_photo_id_array":[{"photo_id":"1353031206","filename":"file5"},{"photo_id":"1353031190","filename":"file2"},{"photo_id":"1353031193","filename":"file4"},{"photo_id":"1353031187","filename":"file1"},{"photo_id":"1353031184","filename":"file0"},{"photo_id":"1353031192","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031193":["hashtag1","hashtag2"]},{"1353031187":["hashtag1","hashtag2"]},{"1353031184":["hashtag1","hashtag2"]},{"1353031192":["hashtag1","hashtag2"]},{"1353031206":["hashtag1","hashtag2"]},{"1353031190":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031193, 1353031187, 1353031184, 1353031192, 1353031206, 1353031190)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53573799133301 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:26:03.026143
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_45_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_25_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_15_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/13/24/image_23042025_13_25_05_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_55_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_55_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_45_9672.jpg', '/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_25_9680.jpg', '/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_15_9687.jpg', '/home/nano/Desktop/images/23042025/13/24/image_23042025_13_25_05_10677.jpg', '/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_55_9652.jpg', '/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_55_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_45_9672.jpg
/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_25_9680.jpg
/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_15_9687.jpg
/home/nano/Desktop/images/23042025/13/24/image_23042025_13_25_05_10677.jpg
/home/nano/Desktop/images/23042025/13/24/image_23042025_13_24_55_9652.jpg
/home/nano/Desktop/images/23042025/13/23/image_23042025_13_23_55_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031247","1353031310","1353031288","1353031273","1353031284","1353031245"],"photo_ids_order":["1353031245","1353031247","1353031273","1353031284","1353031288","1353031310"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2f1e7f2bd15f5d8ade507e172ace359.jpg","text":"TemporaryFile(/tmp/multipartBody4117595887635722447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407624201,"filename":"image_23042025_13_25_25_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8648942f0b6778c41d5fbcf6d4033e8.jpg","text":"TemporaryFile(/tmp/multipartBody3456067303803191846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407624201,"filename":"image_23042025_13_23_55_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fe4012677363d5e00ff858e3d977ac2.jpg","text":"TemporaryFile(/tmp/multipartBody2602078692941328384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407624201,"filename":"image_23042025_13_24_55_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12063db3212187a4b79d5c0fa94396eb.jpg","text":"TemporaryFile(/tmp/multipartBody3023296663516058423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407624201,"filename":"image_23042025_13_25_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b65875c23f7a29a2af70bfc548872c4.jpg","text":"TemporaryFile(/tmp/multipartBody1278570727485052929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407624201,"filename":"image_23042025_13_25_05_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4057727bde1087202e1b07eed79fd0f.jpg","text":"TemporaryFile(/tmp/multipartBody6682312323779376549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407624201,"filename":"image_23042025_13_25_45_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031273","file1":"1353031247","file0":"1353031245","file4":"1353031288","file5":"1353031310","file3":"1353031284"},"map_files_photo_id_array":[{"photo_id":"1353031310","filename":"file5"},{"photo_id":"1353031273","filename":"file2"},{"photo_id":"1353031288","filename":"file4"},{"photo_id":"1353031247","filename":"file1"},{"photo_id":"1353031245","filename":"file0"},{"photo_id":"1353031284","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031247":["hashtag1","hashtag2"]},{"1353031310":["hashtag1","hashtag2"]},{"1353031288":["hashtag1","hashtag2"]},{"1353031273":["hashtag1","hashtag2"]},{"1353031284":["hashtag1","hashtag2"]},{"1353031245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031247, 1353031310, 1353031288, 1353031273, 1353031284, 1353031245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59689521789551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:27:03.473318
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_35_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_25_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_15_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/13/25/image_23042025_13_26_05_10706.jpg', 2), ('/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_55_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_45_9644.jpg', '/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_35_10656.jpg', '/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_25_9648.jpg', '/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_15_9665.jpg', '/home/nano/Desktop/images/23042025/13/25/image_23042025_13_26_05_10706.jpg', '/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_45_9644.jpg
/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_35_10656.jpg
/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_25_9648.jpg
/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_15_9665.jpg
/home/nano/Desktop/images/23042025/13/25/image_23042025_13_26_05_10706.jpg
/home/nano/Desktop/images/23042025/13/25/image_23042025_13_25_55_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031514","1353031498","1353031483","1353031497","1353031501","1353031476"],"photo_ids_order":["1353031476","1353031483","1353031497","1353031498","1353031501","1353031514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e03d42f93d60ed0cbb91e87e86c248b.jpg","text":"TemporaryFile(/tmp/multipartBody1469369910372174515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407685004,"filename":"image_23042025_13_25_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22eaf4209809fde4beed4c63f8b04469.jpg","text":"TemporaryFile(/tmp/multipartBody2899013129412156942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407685004,"filename":"image_23042025_13_26_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25a7ed1baccedf7d67ebb7f2120dcdb7.jpg","text":"TemporaryFile(/tmp/multipartBody2895665928838804171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407685004,"filename":"image_23042025_13_26_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/885eebac7eee7a35140a4239b9b583b0.jpg","text":"TemporaryFile(/tmp/multipartBody6934101506998074920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407685004,"filename":"image_23042025_13_26_25_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4859b4dc9cf41eecc2ff849fc6b30e5f.jpg","text":"TemporaryFile(/tmp/multipartBody8830784035016661260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407685004,"filename":"image_23042025_13_26_05_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f2e86cc91b9a34bda4eb53513326fee.jpg","text":"TemporaryFile(/tmp/multipartBody6326279000596314014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407685004,"filename":"image_23042025_13_26_45_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031497","file1":"1353031483","file0":"1353031476","file4":"1353031501","file5":"1353031514","file3":"1353031498"},"map_files_photo_id_array":[{"photo_id":"1353031514","filename":"file5"},{"photo_id":"1353031497","filename":"file2"},{"photo_id":"1353031501","filename":"file4"},{"photo_id":"1353031483","filename":"file1"},{"photo_id":"1353031476","filename":"file0"},{"photo_id":"1353031498","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031514":["hashtag1","hashtag2"]},{"1353031498":["hashtag1","hashtag2"]},{"1353031483":["hashtag1","hashtag2"]},{"1353031497":["hashtag1","hashtag2"]},{"1353031501":["hashtag1","hashtag2"]},{"1353031476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031514, 1353031498, 1353031483, 1353031497, 1353031501, 1353031476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.05748152732849 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:28:03.226072
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_45_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_35_9898.jpg', 2), ('/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_25_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_15_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/13/26/image_23042025_13_27_05_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_55_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_45_10657.jpg', '/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_35_9898.jpg', '/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_25_9640.jpg', '/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_15_9660.jpg', '/home/nano/Desktop/images/23042025/13/26/image_23042025_13_27_05_10707.jpg', '/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_55_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_45_10657.jpg
/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_35_9898.jpg
/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_25_9640.jpg
/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_15_9660.jpg
/home/nano/Desktop/images/23042025/13/26/image_23042025_13_27_05_10707.jpg
/home/nano/Desktop/images/23042025/13/26/image_23042025_13_26_55_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031658","1353031673","1353031667","1353031655","1353031672","1353031677"],"photo_ids_order":["1353031655","1353031658","1353031667","1353031672","1353031673","1353031677"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e030f7aecf1f57e45408bdc3e8eab76e.jpg","text":"TemporaryFile(/tmp/multipartBody5721836446685165614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407744625,"filename":"image_23042025_13_27_35_9898.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c757e37babc8c3937fe18388823aeceb.jpg","text":"TemporaryFile(/tmp/multipartBody7231699707496146796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407744625,"filename":"image_23042025_13_27_05_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f48327473e930150d67adbd1416e5866.jpg","text":"TemporaryFile(/tmp/multipartBody1773616761295212769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407744625,"filename":"image_23042025_13_27_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2ad5e5920a5cbe10d6d0aa31a848b67.jpg","text":"TemporaryFile(/tmp/multipartBody8741250691324511539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407744625,"filename":"image_23042025_13_27_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d081751c48faf1c558fbf82da8ce3579.jpg","text":"TemporaryFile(/tmp/multipartBody6739569412802992182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407744625,"filename":"image_23042025_13_27_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/185a82fb701c21fb0f3368ab9668dee7.jpg","text":"TemporaryFile(/tmp/multipartBody7299002397071663886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407744625,"filename":"image_23042025_13_26_55_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031667","file1":"1353031658","file0":"1353031655","file4":"1353031673","file5":"1353031677","file3":"1353031672"},"map_files_photo_id_array":[{"photo_id":"1353031677","filename":"file5"},{"photo_id":"1353031667","filename":"file2"},{"photo_id":"1353031673","filename":"file4"},{"photo_id":"1353031658","filename":"file1"},{"photo_id":"1353031655","filename":"file0"},{"photo_id":"1353031672","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031658":["hashtag1","hashtag2"]},{"1353031673":["hashtag1","hashtag2"]},{"1353031667":["hashtag1","hashtag2"]},{"1353031655":["hashtag1","hashtag2"]},{"1353031672":["hashtag1","hashtag2"]},{"1353031677":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031658, 1353031673, 1353031667, 1353031655, 1353031672, 1353031677)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.417274713516235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:29:02.812954
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_45_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_35_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_25_9825.jpg', 2), ('/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_15_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/13/27/image_23042025_13_28_05_9798.jpg', 2), ('/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_55_9612.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_45_9682.jpg', '/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_35_9696.jpg', '/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_25_9825.jpg', '/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_15_10675.jpg', '/home/nano/Desktop/images/23042025/13/27/image_23042025_13_28_05_9798.jpg', '/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_55_9612.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_45_9682.jpg
/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_35_9696.jpg
/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_25_9825.jpg
/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_15_10675.jpg
/home/nano/Desktop/images/23042025/13/27/image_23042025_13_28_05_9798.jpg
/home/nano/Desktop/images/23042025/13/27/image_23042025_13_27_55_9612.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031781","1353031777","1353031756","1353031785","1353031752","1353031755"],"photo_ids_order":["1353031752","1353031755","1353031756","1353031777","1353031781","1353031785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/639f069d79a4be259d8a44072d384bc9.jpg","text":"TemporaryFile(/tmp/multipartBody1166026240020297794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407804368,"filename":"image_23042025_13_28_05_9798.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c09b52e79ee3bf905be9830b6531e06.jpg","text":"TemporaryFile(/tmp/multipartBody3925883733936789018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407804368,"filename":"image_23042025_13_28_15_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b79cc8e50ee4d0077afdc67801bb1e1b.jpg","text":"TemporaryFile(/tmp/multipartBody7648015652981971094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407804368,"filename":"image_23042025_13_28_25_9825.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f17b77d77adba1644327d558b30efbe.jpg","text":"TemporaryFile(/tmp/multipartBody7919430741821409828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407804368,"filename":"image_23042025_13_27_55_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff6b4ff39c054cba776e564c59e95316.jpg","text":"TemporaryFile(/tmp/multipartBody2076293441744892635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407804368,"filename":"image_23042025_13_28_45_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db95fbd7edd063c098a45fed8e17cdaa.jpg","text":"TemporaryFile(/tmp/multipartBody8243211130573770156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407804368,"filename":"image_23042025_13_28_35_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031756","file1":"1353031755","file0":"1353031752","file4":"1353031781","file5":"1353031785","file3":"1353031777"},"map_files_photo_id_array":[{"photo_id":"1353031785","filename":"file5"},{"photo_id":"1353031756","filename":"file2"},{"photo_id":"1353031781","filename":"file4"},{"photo_id":"1353031755","filename":"file1"},{"photo_id":"1353031752","filename":"file0"},{"photo_id":"1353031777","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031781":["hashtag1","hashtag2"]},{"1353031777":["hashtag1","hashtag2"]},{"1353031756":["hashtag1","hashtag2"]},{"1353031785":["hashtag1","hashtag2"]},{"1353031752":["hashtag1","hashtag2"]},{"1353031755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031781, 1353031777, 1353031756, 1353031785, 1353031752, 1353031755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.975494146347046 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:30:02.589359
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_45_9737.jpg', 2), ('/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_35_10831.jpg', 2), ('/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_25_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_15_9762.jpg', 2), ('/home/nano/Desktop/images/23042025/13/28/image_23042025_13_29_05_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_55_10867.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_45_9737.jpg', '/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_35_10831.jpg', '/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_25_9707.jpg', '/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_15_9762.jpg', '/home/nano/Desktop/images/23042025/13/28/image_23042025_13_29_05_9663.jpg', '/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_55_10867.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_45_9737.jpg
/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_35_10831.jpg
/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_25_9707.jpg
/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_15_9762.jpg
/home/nano/Desktop/images/23042025/13/28/image_23042025_13_29_05_9663.jpg
/home/nano/Desktop/images/23042025/13/28/image_23042025_13_28_55_10867.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031853","1353031856","1353031850","1353031852","1353031861","1353031815"],"photo_ids_order":["1353031815","1353031850","1353031852","1353031853","1353031856","1353031861"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbe353b07ad6690f9f6143b5a7302b09.jpg","text":"TemporaryFile(/tmp/multipartBody6072606833380970606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407864282,"filename":"image_23042025_13_29_15_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41644c47a5644192515c399923d12065.jpg","text":"TemporaryFile(/tmp/multipartBody1021505932609896712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407864282,"filename":"image_23042025_13_29_05_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/432bb5e4636e57e15ef2bfe3b0b79092.jpg","text":"TemporaryFile(/tmp/multipartBody4065367191467651944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407864282,"filename":"image_23042025_13_29_35_10831.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92a9ec79d323d98c2379261704ec88f9.jpg","text":"TemporaryFile(/tmp/multipartBody5517409212127630343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407864282,"filename":"image_23042025_13_29_25_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0ffa59ec7134b9bbe539464545afab0.jpg","text":"TemporaryFile(/tmp/multipartBody4231975913207384623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407864282,"filename":"image_23042025_13_28_55_10867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a87807859814f4c783030dd27824d711.jpg","text":"TemporaryFile(/tmp/multipartBody4209833535500823414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407864282,"filename":"image_23042025_13_29_45_9737.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031852","file1":"1353031850","file0":"1353031815","file4":"1353031856","file5":"1353031861","file3":"1353031853"},"map_files_photo_id_array":[{"photo_id":"1353031861","filename":"file5"},{"photo_id":"1353031852","filename":"file2"},{"photo_id":"1353031856","filename":"file4"},{"photo_id":"1353031850","filename":"file1"},{"photo_id":"1353031815","filename":"file0"},{"photo_id":"1353031853","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031853":["hashtag1","hashtag2"]},{"1353031856":["hashtag1","hashtag2"]},{"1353031850":["hashtag1","hashtag2"]},{"1353031852":["hashtag1","hashtag2"]},{"1353031861":["hashtag1","hashtag2"]},{"1353031815":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031853, 1353031856, 1353031850, 1353031852, 1353031861, 1353031815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.15677237510681 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:31:02.599690
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_45_9884.jpg', 2), ('/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_35_9893.jpg', 2), ('/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_25_9879.jpg', 2), ('/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_15_10766.jpg', 2), ('/home/nano/Desktop/images/23042025/13/29/image_23042025_13_30_05_9763.jpg', 2), ('/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_55_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_45_9884.jpg', '/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_35_9893.jpg', '/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_25_9879.jpg', '/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_15_10766.jpg', '/home/nano/Desktop/images/23042025/13/29/image_23042025_13_30_05_9763.jpg', '/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_55_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_45_9884.jpg
/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_35_9893.jpg
/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_25_9879.jpg
/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_15_10766.jpg
/home/nano/Desktop/images/23042025/13/29/image_23042025_13_30_05_9763.jpg
/home/nano/Desktop/images/23042025/13/29/image_23042025_13_29_55_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353031885","1353031888","1353031980","1353031920","1353031902","1353031892"],"photo_ids_order":["1353031885","1353031888","1353031892","1353031902","1353031920","1353031980"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd782503647965fba4d890efe1099373.jpg","text":"TemporaryFile(/tmp/multipartBody6111766321180699094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407925240,"filename":"image_23042025_13_30_45_9884.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b5613316d1023e126be6eeb00a48966.jpg","text":"TemporaryFile(/tmp/multipartBody4025364789128860440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407925240,"filename":"image_23042025_13_30_35_9893.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ef36254329ed2dff3e02ab556a16f74.jpg","text":"TemporaryFile(/tmp/multipartBody4315660968655599728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407925240,"filename":"image_23042025_13_29_55_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77aab6e14620232ed5259309784a239c.jpg","text":"TemporaryFile(/tmp/multipartBody6892506703469029268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407925240,"filename":"image_23042025_13_30_05_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/678fdf336c671cba9a306a44ac361234.jpg","text":"TemporaryFile(/tmp/multipartBody4937478407469725785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407925240,"filename":"image_23042025_13_30_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d8afe636137f43d2e80a461e2658cd6.jpg","text":"TemporaryFile(/tmp/multipartBody8313930346720429137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407925240,"filename":"image_23042025_13_30_25_9879.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353031892","file1":"1353031888","file0":"1353031885","file4":"1353031920","file5":"1353031980","file3":"1353031902"},"map_files_photo_id_array":[{"photo_id":"1353031980","filename":"file5"},{"photo_id":"1353031892","filename":"file2"},{"photo_id":"1353031920","filename":"file4"},{"photo_id":"1353031888","filename":"file1"},{"photo_id":"1353031885","filename":"file0"},{"photo_id":"1353031902","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353031885":["hashtag1","hashtag2"]},{"1353031888":["hashtag1","hashtag2"]},{"1353031980":["hashtag1","hashtag2"]},{"1353031920":["hashtag1","hashtag2"]},{"1353031902":["hashtag1","hashtag2"]},{"1353031892":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353031885, 1353031888, 1353031980, 1353031920, 1353031902, 1353031892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.61093091964722 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:32:02.737426
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_45_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_35_9870.jpg', 2), ('/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_25_10857.jpg', 2), ('/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_14_9850.jpg', 2), ('/home/nano/Desktop/images/23042025/13/30/image_23042025_13_31_05_9824.jpg', 2), ('/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_55_9889.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_45_9723.jpg', '/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_35_9870.jpg', '/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_25_10857.jpg', '/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_14_9850.jpg', '/home/nano/Desktop/images/23042025/13/30/image_23042025_13_31_05_9824.jpg', '/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_55_9889.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_45_9723.jpg
/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_35_9870.jpg
/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_25_10857.jpg
/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_14_9850.jpg
/home/nano/Desktop/images/23042025/13/30/image_23042025_13_31_05_9824.jpg
/home/nano/Desktop/images/23042025/13/30/image_23042025_13_30_55_9889.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353032348","1353032308","1353032200","1353032401","1353032172","1353032253"],"photo_ids_order":["1353032172","1353032200","1353032253","1353032308","1353032348","1353032401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d3712d1e70eea6afe01fd0be28ceb64.jpg","text":"TemporaryFile(/tmp/multipartBody5331820348168739530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407985039,"filename":"image_23042025_13_31_05_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6f4f5dfdd609b8c035e5701cd69d5ed.jpg","text":"TemporaryFile(/tmp/multipartBody7063190509423911308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407985039,"filename":"image_23042025_13_31_14_9850.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d934eeedd82990fa6e814bf71627ab5.jpg","text":"TemporaryFile(/tmp/multipartBody2569532721334545487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407985039,"filename":"image_23042025_13_31_35_9870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8edbc098fc740bb47c4b93c975c53eb2.jpg","text":"TemporaryFile(/tmp/multipartBody6233035438714368146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407985039,"filename":"image_23042025_13_30_55_9889.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4143815221d45f675a699b27d33e2da0.jpg","text":"TemporaryFile(/tmp/multipartBody4624758556120043095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407985039,"filename":"image_23042025_13_31_45_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/830b76de9cb4e4cff687e3b97aa44e0d.jpg","text":"TemporaryFile(/tmp/multipartBody4764855591940195073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745407985039,"filename":"image_23042025_13_31_25_10857.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353032253","file1":"1353032200","file0":"1353032172","file4":"1353032348","file5":"1353032401","file3":"1353032308"},"map_files_photo_id_array":[{"photo_id":"1353032401","filename":"file5"},{"photo_id":"1353032253","filename":"file2"},{"photo_id":"1353032348","filename":"file4"},{"photo_id":"1353032200","filename":"file1"},{"photo_id":"1353032172","filename":"file0"},{"photo_id":"1353032308","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353032348":["hashtag1","hashtag2"]},{"1353032308":["hashtag1","hashtag2"]},{"1353032200":["hashtag1","hashtag2"]},{"1353032401":["hashtag1","hashtag2"]},{"1353032172":["hashtag1","hashtag2"]},{"1353032253":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353032348, 1353032308, 1353032200, 1353032401, 1353032172, 1353032253)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.84789681434631 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:33:02.819302
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_45_9860.jpg', 2), ('/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_35_9906.jpg', 2), ('/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_25_10880.jpg', 2), ('/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_15_9926.jpg', 2), ('/home/nano/Desktop/images/23042025/13/31/image_23042025_13_32_05_9880.jpg', 2), ('/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_55_9772.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_45_9860.jpg', '/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_35_9906.jpg', '/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_25_10880.jpg', '/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_15_9926.jpg', '/home/nano/Desktop/images/23042025/13/31/image_23042025_13_32_05_9880.jpg', '/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_55_9772.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_45_9860.jpg
/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_35_9906.jpg
/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_25_10880.jpg
/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_15_9926.jpg
/home/nano/Desktop/images/23042025/13/31/image_23042025_13_32_05_9880.jpg
/home/nano/Desktop/images/23042025/13/31/image_23042025_13_31_55_9772.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353033096","1353033084","1353033300","1353033305","1353033134","1353033308"],"photo_ids_order":["1353033084","1353033096","1353033134","1353033300","1353033305","1353033308"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da4e77169dcd243cc7527561a5e56601.jpg","text":"TemporaryFile(/tmp/multipartBody6094548211621436884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408044848,"filename":"image_23042025_13_32_35_9906.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f0fd22566036b8e6679f57fcead68fd.jpg","text":"TemporaryFile(/tmp/multipartBody8869146466108826432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408044848,"filename":"image_23042025_13_32_45_9860.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/999bc34c90df51c4658bbb09a2aec31b.jpg","text":"TemporaryFile(/tmp/multipartBody937491202997689739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408044848,"filename":"image_23042025_13_32_15_9926.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4a6536a98889b4deb53d02a4b01547d.jpg","text":"TemporaryFile(/tmp/multipartBody7086416351907640698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408044848,"filename":"image_23042025_13_32_05_9880.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a874ff2e5551c063dfaace04b933b242.jpg","text":"TemporaryFile(/tmp/multipartBody5064880938161695958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408044848,"filename":"image_23042025_13_32_25_10880.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56b5088fca22e4180850b84ce08f25a7.jpg","text":"TemporaryFile(/tmp/multipartBody1573657440313372230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408044848,"filename":"image_23042025_13_31_55_9772.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353033134","file1":"1353033096","file0":"1353033084","file4":"1353033305","file5":"1353033308","file3":"1353033300"},"map_files_photo_id_array":[{"photo_id":"1353033308","filename":"file5"},{"photo_id":"1353033134","filename":"file2"},{"photo_id":"1353033305","filename":"file4"},{"photo_id":"1353033096","filename":"file1"},{"photo_id":"1353033084","filename":"file0"},{"photo_id":"1353033300","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353033096":["hashtag1","hashtag2"]},{"1353033084":["hashtag1","hashtag2"]},{"1353033300":["hashtag1","hashtag2"]},{"1353033305":["hashtag1","hashtag2"]},{"1353033134":["hashtag1","hashtag2"]},{"1353033308":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353033096, 1353033084, 1353033300, 1353033305, 1353033134, 1353033308)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49143147468567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:34:03.309341
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_45_9765.jpg', 2), ('/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_45_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_35_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_25_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_15_10829.jpg', 2), ('/home/nano/Desktop/images/23042025/13/32/image_23042025_13_33_05_9700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_45_9765.jpg', '/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_45_9772.jpg', '/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_35_9664.jpg', '/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_25_9709.jpg', '/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_15_10829.jpg', '/home/nano/Desktop/images/23042025/13/32/image_23042025_13_33_05_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_45_9765.jpg
/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_45_9772.jpg
/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_35_9664.jpg
/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_25_9709.jpg
/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_15_10829.jpg
/home/nano/Desktop/images/23042025/13/32/image_23042025_13_33_05_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353034035","1353034160","1353034022","1353034130","1353034084","1353033935"],"photo_ids_order":["1353033935","1353034022","1353034035","1353034084","1353034130","1353034160"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5336b3f7b809ed47264205953546c069.jpg","text":"TemporaryFile(/tmp/multipartBody807637363830403234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408105016,"filename":"image_23042025_13_33_35_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/831560102f4053ed3c446629e3ae5768.jpg","text":"TemporaryFile(/tmp/multipartBody139728330661808814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408105016,"filename":"image_23042025_13_33_05_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99cdf7cbca31497aa1c2a0a4bcffc5f4.jpg","text":"TemporaryFile(/tmp/multipartBody3288486017349398935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408105016,"filename":"image_23042025_13_33_45_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e8fe5d2e10eb58cf77a13210ef8b0bd.jpg","text":"TemporaryFile(/tmp/multipartBody762122223499534905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408105016,"filename":"image_23042025_13_33_15_10829.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb1dd8839ba3200e6df27294c404c808.jpg","text":"TemporaryFile(/tmp/multipartBody6483282002526040291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408105016,"filename":"image_23042025_13_33_25_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ac8378087e0df8e67c7837a6e3bdb6a.jpg","text":"TemporaryFile(/tmp/multipartBody2442053908502009218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408105016,"filename":"image_23042025_13_34_45_9765.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353034035","file1":"1353034022","file0":"1353033935","file4":"1353034130","file5":"1353034160","file3":"1353034084"},"map_files_photo_id_array":[{"photo_id":"1353034160","filename":"file5"},{"photo_id":"1353034035","filename":"file2"},{"photo_id":"1353034130","filename":"file4"},{"photo_id":"1353034022","filename":"file1"},{"photo_id":"1353033935","filename":"file0"},{"photo_id":"1353034084","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353034035":["hashtag1","hashtag2"]},{"1353034160":["hashtag1","hashtag2"]},{"1353034022":["hashtag1","hashtag2"]},{"1353034130":["hashtag1","hashtag2"]},{"1353034084":["hashtag1","hashtag2"]},{"1353033935":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353034035, 1353034160, 1353034022, 1353034130, 1353034084, 1353033935)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.60910105705261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:35:03.431064
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_35_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_24_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_15_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/13/33/image_23042025_13_34_05_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_55_10790.jpg', 2), ('/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_55_9725.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_35_10683.jpg', '/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_24_9660.jpg', '/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_15_9780.jpg', '/home/nano/Desktop/images/23042025/13/33/image_23042025_13_34_05_9689.jpg', '/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_55_10790.jpg', '/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_55_9725.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_35_10683.jpg
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_24_9660.jpg
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_15_9780.jpg
/home/nano/Desktop/images/23042025/13/33/image_23042025_13_34_05_9689.jpg
/home/nano/Desktop/images/23042025/13/33/image_23042025_13_33_55_10790.jpg
/home/nano/Desktop/images/23042025/13/32/image_23042025_13_32_55_9725.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353034435","1353034659","1353034619","1353034709","1353034486","1353034567"],"photo_ids_order":["1353034435","1353034486","1353034567","1353034619","1353034659","1353034709"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7b7ffae31347823353cd6d21a460fc9.jpg","text":"TemporaryFile(/tmp/multipartBody8234305459822874628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408165334,"filename":"image_23042025_13_34_35_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c373460971cc6a82aa01b61f98e47c36.jpg","text":"TemporaryFile(/tmp/multipartBody4177488587570805925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408165334,"filename":"image_23042025_13_33_55_10790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe10d812e9493717185e4d33bb0b7e4a.jpg","text":"TemporaryFile(/tmp/multipartBody2390166956914074562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408165334,"filename":"image_23042025_13_34_05_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/681ad071a6088a2b4d886da15c44f48a.jpg","text":"TemporaryFile(/tmp/multipartBody6140161579724118360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408165334,"filename":"image_23042025_13_32_55_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d07b95000f2b5c9652307edf56c26db.jpg","text":"TemporaryFile(/tmp/multipartBody7844567868984081715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408165334,"filename":"image_23042025_13_34_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c14f0599f2b873edd85cae2522fac2a4.jpg","text":"TemporaryFile(/tmp/multipartBody8527387562550917858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408165334,"filename":"image_23042025_13_34_15_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353034567","file1":"1353034486","file0":"1353034435","file4":"1353034659","file5":"1353034709","file3":"1353034619"},"map_files_photo_id_array":[{"photo_id":"1353034709","filename":"file5"},{"photo_id":"1353034567","filename":"file2"},{"photo_id":"1353034659","filename":"file4"},{"photo_id":"1353034486","filename":"file1"},{"photo_id":"1353034435","filename":"file0"},{"photo_id":"1353034619","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353034435":["hashtag1","hashtag2"]},{"1353034659":["hashtag1","hashtag2"]},{"1353034619":["hashtag1","hashtag2"]},{"1353034709":["hashtag1","hashtag2"]},{"1353034486":["hashtag1","hashtag2"]},{"1353034567":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353034435, 1353034659, 1353034619, 1353034709, 1353034486, 1353034567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12858200073242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:36:03.112207
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_45_9853.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_35_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_25_9788.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_15_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_35_05_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_55_9751.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_45_9853.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_35_9800.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_25_9788.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_15_9777.jpg', '/home/nano/Desktop/images/23042025/13/34/image_23042025_13_35_05_10724.jpg', '/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_45_9853.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_35_9800.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_25_9788.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_15_9777.jpg
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_35_05_10724.jpg
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_55_9751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4904911518096924 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:36:32.604819
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_45_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_35_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_25_10894.jpg', 2), ('/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_15_9972.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_36_05_9969.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_55_9950.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_45_9647.jpg', '/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_35_9662.jpg', '/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_25_10894.jpg', '/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_15_9972.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_36_05_9969.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_55_9950.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_45_9647.jpg
/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_35_9662.jpg
/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_25_10894.jpg
/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_15_9972.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_36_05_9969.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_55_9950.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353034860","1353034830","1353034889","1353034930","1353035002","1353034960"],"photo_ids_order":["1353034830","1353034860","1353034889","1353034930","1353034960","1353035002"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e04ede119b61482ae7f3982ed8e2dc39.jpg","text":"TemporaryFile(/tmp/multipartBody8567706665141660859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408254027,"filename":"image_23042025_13_36_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6716b1853ce5dda283bee1efe3cab7e.jpg","text":"TemporaryFile(/tmp/multipartBody502271861788621649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408254027,"filename":"image_23042025_13_36_45_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc5506ef1df13860d7d969def65f3add.jpg","text":"TemporaryFile(/tmp/multipartBody9124576771185343903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408254027,"filename":"image_23042025_13_36_25_10894.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e77ac25bb85a128d6ca303883eee156b.jpg","text":"TemporaryFile(/tmp/multipartBody5321327302128167876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408254027,"filename":"image_23042025_13_36_15_9972.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbfae1074315a9ad5c1f6ae9706d5f81.jpg","text":"TemporaryFile(/tmp/multipartBody87807774958861680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408254027,"filename":"image_23042025_13_35_55_9950.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ab59c61783d2b9d05b765ac2f8d8cac.jpg","text":"TemporaryFile(/tmp/multipartBody8623299227988002681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408254027,"filename":"image_23042025_13_36_05_9969.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353034889","file1":"1353034860","file0":"1353034830","file4":"1353034960","file5":"1353035002","file3":"1353034930"},"map_files_photo_id_array":[{"photo_id":"1353035002","filename":"file5"},{"photo_id":"1353034889","filename":"file2"},{"photo_id":"1353034960","filename":"file4"},{"photo_id":"1353034860","filename":"file1"},{"photo_id":"1353034830","filename":"file0"},{"photo_id":"1353034930","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353034860":["hashtag1","hashtag2"]},{"1353034830":["hashtag1","hashtag2"]},{"1353034889":["hashtag1","hashtag2"]},{"1353034930":["hashtag1","hashtag2"]},{"1353035002":["hashtag1","hashtag2"]},{"1353034960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353034860, 1353034830, 1353034889, 1353034930, 1353035002, 1353034960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.929356813430786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:37:32.728637
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_25_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_15_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/13/36/image_23042025_13_37_05_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_55_10660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_45_9642.jpg', '/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_35_9639.jpg', '/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_25_10642.jpg', '/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_15_9703.jpg', '/home/nano/Desktop/images/23042025/13/36/image_23042025_13_37_05_9639.jpg', '/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_55_10660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_45_9642.jpg
/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_35_9639.jpg
/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_25_10642.jpg
/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_15_9703.jpg
/home/nano/Desktop/images/23042025/13/36/image_23042025_13_37_05_9639.jpg
/home/nano/Desktop/images/23042025/13/36/image_23042025_13_36_55_10660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353035388","1353035328","1353035256","1353035424","1353035428","1353035419"],"photo_ids_order":["1353035256","1353035328","1353035388","1353035419","1353035424","1353035428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0290c07e7b88476e8893fce460d29d1a.jpg","text":"TemporaryFile(/tmp/multipartBody7274827070524851918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408313851,"filename":"image_23042025_13_37_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5801971d953593fec8e2f3c8efaefb92.jpg","text":"TemporaryFile(/tmp/multipartBody4905743311341557660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408313851,"filename":"image_23042025_13_37_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3144c4d332cab556c334048cd6ade658.jpg","text":"TemporaryFile(/tmp/multipartBody7151287202266917533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408313851,"filename":"image_23042025_13_37_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42ad663bf2440af3fbf58e2a81e48722.jpg","text":"TemporaryFile(/tmp/multipartBody4905902775483016378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408313851,"filename":"image_23042025_13_37_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd889174e8b37949a728879f0b3b0001.jpg","text":"TemporaryFile(/tmp/multipartBody1871736325935357144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408313851,"filename":"image_23042025_13_36_55_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5253640bb82cec21405567be153af4f6.jpg","text":"TemporaryFile(/tmp/multipartBody508092523120213081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408313851,"filename":"image_23042025_13_37_15_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353035388","file1":"1353035328","file0":"1353035256","file4":"1353035424","file5":"1353035428","file3":"1353035419"},"map_files_photo_id_array":[{"photo_id":"1353035428","filename":"file5"},{"photo_id":"1353035388","filename":"file2"},{"photo_id":"1353035424","filename":"file4"},{"photo_id":"1353035328","filename":"file1"},{"photo_id":"1353035256","filename":"file0"},{"photo_id":"1353035419","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353035388":["hashtag1","hashtag2"]},{"1353035328":["hashtag1","hashtag2"]},{"1353035256":["hashtag1","hashtag2"]},{"1353035424":["hashtag1","hashtag2"]},{"1353035428":["hashtag1","hashtag2"]},{"1353035419":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353035388, 1353035328, 1353035256, 1353035424, 1353035428, 1353035419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.48079037666321 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:38:31.797213
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_45_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_35_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_25_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_15_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/13/37/image_23042025_13_38_05_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_55_10645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_45_9707.jpg', '/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_35_9675.jpg', '/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_25_10696.jpg', '/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_15_9671.jpg', '/home/nano/Desktop/images/23042025/13/37/image_23042025_13_38_05_9676.jpg', '/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_55_10645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_45_9707.jpg
/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_35_9675.jpg
/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_25_10696.jpg
/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_15_9671.jpg
/home/nano/Desktop/images/23042025/13/37/image_23042025_13_38_05_9676.jpg
/home/nano/Desktop/images/23042025/13/37/image_23042025_13_37_55_10645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353035805","1353035727","1353035657","1353035618","1353035962","1353035884"],"photo_ids_order":["1353035618","1353035657","1353035727","1353035805","1353035884","1353035962"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a917c7a99d4203099571885249b9c8ed.jpg","text":"TemporaryFile(/tmp/multipartBody3464067514806282799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408373100,"filename":"image_23042025_13_38_15_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be1990043415c44c4e2469a1344f0c1f.jpg","text":"TemporaryFile(/tmp/multipartBody4513196026530571358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408373100,"filename":"image_23042025_13_38_25_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f614da67070ddedcfbff07a97dd1a7fc.jpg","text":"TemporaryFile(/tmp/multipartBody3889305436997460998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408373100,"filename":"image_23042025_13_38_35_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb66fa0495c1b52968d80223080169a7.jpg","text":"TemporaryFile(/tmp/multipartBody1306254097859995752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408373100,"filename":"image_23042025_13_38_45_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7734d91bbdb001daec4ac062a2395f6.jpg","text":"TemporaryFile(/tmp/multipartBody5143246270174414188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408373100,"filename":"image_23042025_13_37_55_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4a028a6617fb57a0fa3cc995a7a5c77.jpg","text":"TemporaryFile(/tmp/multipartBody7744309053093809777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408373100,"filename":"image_23042025_13_38_05_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353035727","file1":"1353035657","file0":"1353035618","file4":"1353035884","file5":"1353035962","file3":"1353035805"},"map_files_photo_id_array":[{"photo_id":"1353035962","filename":"file5"},{"photo_id":"1353035727","filename":"file2"},{"photo_id":"1353035884","filename":"file4"},{"photo_id":"1353035657","filename":"file1"},{"photo_id":"1353035618","filename":"file0"},{"photo_id":"1353035805","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353035805":["hashtag1","hashtag2"]},{"1353035727":["hashtag1","hashtag2"]},{"1353035657":["hashtag1","hashtag2"]},{"1353035618":["hashtag1","hashtag2"]},{"1353035962":["hashtag1","hashtag2"]},{"1353035884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353035805, 1353035727, 1353035657, 1353035618, 1353035962, 1353035884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89007496833801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:39:31.912359
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_45_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_35_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_25_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_15_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/13/38/image_23042025_13_39_05_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_55_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_45_9675.jpg', '/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_35_9638.jpg', '/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_25_10661.jpg', '/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_15_9656.jpg', '/home/nano/Desktop/images/23042025/13/38/image_23042025_13_39_05_9659.jpg', '/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_55_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_45_9675.jpg
/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_35_9638.jpg
/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_25_10661.jpg
/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_15_9656.jpg
/home/nano/Desktop/images/23042025/13/38/image_23042025_13_39_05_9659.jpg
/home/nano/Desktop/images/23042025/13/38/image_23042025_13_38_55_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353036624","1353036603","1353036625","1353036529","1353036567","1353036522"],"photo_ids_order":["1353036522","1353036529","1353036567","1353036603","1353036624","1353036625"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0357db17b8e588bb0261b539756e64d3.jpg","text":"TemporaryFile(/tmp/multipartBody6025041651798379368asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408433467,"filename":"image_23042025_13_39_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/494f2d5124a2bfcc0c14c5a3289670e1.jpg","text":"TemporaryFile(/tmp/multipartBody3809234495408158589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408433467,"filename":"image_23042025_13_39_15_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52abcbc4fb45d0f14cef9ba95997308c.jpg","text":"TemporaryFile(/tmp/multipartBody5292942897365705834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408433467,"filename":"image_23042025_13_38_55_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b1f1a15cbfd58fc37cab4f0c121924f.jpg","text":"TemporaryFile(/tmp/multipartBody4172356573990287503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408433467,"filename":"image_23042025_13_39_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/285861ec41d43cab97330b566dada7bf.jpg","text":"TemporaryFile(/tmp/multipartBody6343812332860067913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408433467,"filename":"image_23042025_13_39_25_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3dd177c9acdc0cd37e52a22c30de2017.jpg","text":"TemporaryFile(/tmp/multipartBody2419957370635386105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408433467,"filename":"image_23042025_13_39_45_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353036567","file1":"1353036529","file0":"1353036522","file4":"1353036624","file5":"1353036625","file3":"1353036603"},"map_files_photo_id_array":[{"photo_id":"1353036625","filename":"file5"},{"photo_id":"1353036567","filename":"file2"},{"photo_id":"1353036624","filename":"file4"},{"photo_id":"1353036529","filename":"file1"},{"photo_id":"1353036522","filename":"file0"},{"photo_id":"1353036603","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353036624":["hashtag1","hashtag2"]},{"1353036603":["hashtag1","hashtag2"]},{"1353036625":["hashtag1","hashtag2"]},{"1353036529":["hashtag1","hashtag2"]},{"1353036567":["hashtag1","hashtag2"]},{"1353036522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353036624, 1353036603, 1353036625, 1353036529, 1353036567, 1353036522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.09001660346985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:40:32.027237
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_45_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_35_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_25_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_15_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/13/39/image_23042025_13_40_05_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_55_10676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_45_9643.jpg', '/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_35_9645.jpg', '/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_25_10693.jpg', '/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_15_9681.jpg', '/home/nano/Desktop/images/23042025/13/39/image_23042025_13_40_05_9680.jpg', '/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_55_10676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_45_9643.jpg
/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_35_9645.jpg
/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_25_10693.jpg
/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_15_9681.jpg
/home/nano/Desktop/images/23042025/13/39/image_23042025_13_40_05_9680.jpg
/home/nano/Desktop/images/23042025/13/39/image_23042025_13_39_55_10676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353036878","1353036926","1353036910","1353036864","1353036858","1353036852"],"photo_ids_order":["1353036852","1353036858","1353036864","1353036878","1353036910","1353036926"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bc0fe887078c627f865df1f972906fd.jpg","text":"TemporaryFile(/tmp/multipartBody4723508914943867171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408493373,"filename":"image_23042025_13_40_15_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34abcf54558744ab78ff44cfa1559875.jpg","text":"TemporaryFile(/tmp/multipartBody7008831852373206440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408493373,"filename":"image_23042025_13_39_55_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7c427b9109605aa33d403e42788ea7b.jpg","text":"TemporaryFile(/tmp/multipartBody5358103270640648340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408493373,"filename":"image_23042025_13_40_05_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddbe306901f89a0dee36fb1cc49c595a.jpg","text":"TemporaryFile(/tmp/multipartBody1806077064981837581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408493373,"filename":"image_23042025_13_40_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a266daa9f9cff679d541d42d70c61de6.jpg","text":"TemporaryFile(/tmp/multipartBody1326741627631732486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408493373,"filename":"image_23042025_13_40_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb72d1ff2bceee7065ac3e69ed5fe0cf.jpg","text":"TemporaryFile(/tmp/multipartBody3102585017299019401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408493373,"filename":"image_23042025_13_40_45_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353036864","file1":"1353036858","file0":"1353036852","file4":"1353036910","file5":"1353036926","file3":"1353036878"},"map_files_photo_id_array":[{"photo_id":"1353036926","filename":"file5"},{"photo_id":"1353036864","filename":"file2"},{"photo_id":"1353036910","filename":"file4"},{"photo_id":"1353036858","filename":"file1"},{"photo_id":"1353036852","filename":"file0"},{"photo_id":"1353036878","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353036878":["hashtag1","hashtag2"]},{"1353036926":["hashtag1","hashtag2"]},{"1353036910":["hashtag1","hashtag2"]},{"1353036864":["hashtag1","hashtag2"]},{"1353036858":["hashtag1","hashtag2"]},{"1353036852":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353036878, 1353036926, 1353036910, 1353036864, 1353036858, 1353036852)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.507367849349976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:41:32.151113
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_45_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_35_9871.jpg', 2), ('/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_25_9814.jpg', 2), ('/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_15_9758.jpg', 2), ('/home/nano/Desktop/images/23042025/13/40/image_23042025_13_41_05_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_55_10677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_45_10700.jpg', '/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_35_9871.jpg', '/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_25_9814.jpg', '/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_15_9758.jpg', '/home/nano/Desktop/images/23042025/13/40/image_23042025_13_41_05_9685.jpg', '/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_55_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_45_10700.jpg
/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_35_9871.jpg
/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_25_9814.jpg
/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_15_9758.jpg
/home/nano/Desktop/images/23042025/13/40/image_23042025_13_41_05_9685.jpg
/home/nano/Desktop/images/23042025/13/40/image_23042025_13_40_55_10677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353037094","1353037081","1353037100","1353037105","1353037089","1353037085"],"photo_ids_order":["1353037081","1353037085","1353037089","1353037094","1353037100","1353037105"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b93d2c813cdb93747f9c792462dcc0f.jpg","text":"TemporaryFile(/tmp/multipartBody2461213516553547337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408553463,"filename":"image_23042025_13_41_15_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4dd3e8ddeffc4d753b9e91980b635cb.jpg","text":"TemporaryFile(/tmp/multipartBody5643939098616411061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408553463,"filename":"image_23042025_13_41_45_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3da12bdf418143f6c66d70e59a4fce66.jpg","text":"TemporaryFile(/tmp/multipartBody6443661285665686431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408553463,"filename":"image_23042025_13_41_05_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9b00e3575ebbf368ce8688ebb29f7cd.jpg","text":"TemporaryFile(/tmp/multipartBody3383370061938803688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408553463,"filename":"image_23042025_13_40_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82966746a248105439b028a8b20317cc.jpg","text":"TemporaryFile(/tmp/multipartBody5585310592545365518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408553463,"filename":"image_23042025_13_41_25_9814.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1da0faabc2ad7a1eabfdf0b8f3ff9fb8.jpg","text":"TemporaryFile(/tmp/multipartBody8626025664301969068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408553463,"filename":"image_23042025_13_41_35_9871.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353037089","file1":"1353037085","file0":"1353037081","file4":"1353037100","file5":"1353037105","file3":"1353037094"},"map_files_photo_id_array":[{"photo_id":"1353037105","filename":"file5"},{"photo_id":"1353037089","filename":"file2"},{"photo_id":"1353037100","filename":"file4"},{"photo_id":"1353037085","filename":"file1"},{"photo_id":"1353037081","filename":"file0"},{"photo_id":"1353037094","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353037094":["hashtag1","hashtag2"]},{"1353037081":["hashtag1","hashtag2"]},{"1353037100":["hashtag1","hashtag2"]},{"1353037105":["hashtag1","hashtag2"]},{"1353037089":["hashtag1","hashtag2"]},{"1353037085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353037094, 1353037081, 1353037100, 1353037105, 1353037089, 1353037085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.75798201560974 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:42:32.228370
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_45_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_35_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_25_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_15_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/13/41/image_23042025_13_42_05_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_55_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_45_10654.jpg', '/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_35_9654.jpg', '/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_25_9690.jpg', '/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_15_10681.jpg', '/home/nano/Desktop/images/23042025/13/41/image_23042025_13_42_05_9693.jpg', '/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_55_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_45_10654.jpg
/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_35_9654.jpg
/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_25_9690.jpg
/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_15_10681.jpg
/home/nano/Desktop/images/23042025/13/41/image_23042025_13_42_05_9693.jpg
/home/nano/Desktop/images/23042025/13/41/image_23042025_13_41_55_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353037391","1353037388","1353037378","1353037383","1353037374","1353037368"],"photo_ids_order":["1353037368","1353037374","1353037378","1353037383","1353037388","1353037391"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50b9b77c68741f5089f869fb9efd5c38.jpg","text":"TemporaryFile(/tmp/multipartBody2044609737582777088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408613392,"filename":"image_23042025_13_41_55_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0a2c26d5fbd9ca2a083c1b605a0a794.jpg","text":"TemporaryFile(/tmp/multipartBody2846273800753313867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408613392,"filename":"image_23042025_13_42_05_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0659126b3508ec78298ab8caa62b1f4.jpg","text":"TemporaryFile(/tmp/multipartBody1198721235893032038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408613392,"filename":"image_23042025_13_42_25_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1548e70f50d32d337c1028b28b69ee2f.jpg","text":"TemporaryFile(/tmp/multipartBody7846707243875855231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408613392,"filename":"image_23042025_13_42_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58d57c54b8d51f201b1bbfbe1dee7e92.jpg","text":"TemporaryFile(/tmp/multipartBody7317032738462924047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408613392,"filename":"image_23042025_13_42_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efa6e9f7fc7e1d748c1837b95086d421.jpg","text":"TemporaryFile(/tmp/multipartBody3551835465308543354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408613392,"filename":"image_23042025_13_42_45_10654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353037378","file1":"1353037374","file0":"1353037368","file4":"1353037388","file5":"1353037391","file3":"1353037383"},"map_files_photo_id_array":[{"photo_id":"1353037391","filename":"file5"},{"photo_id":"1353037378","filename":"file2"},{"photo_id":"1353037388","filename":"file4"},{"photo_id":"1353037374","filename":"file1"},{"photo_id":"1353037368","filename":"file0"},{"photo_id":"1353037383","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353037391":["hashtag1","hashtag2"]},{"1353037388":["hashtag1","hashtag2"]},{"1353037378":["hashtag1","hashtag2"]},{"1353037383":["hashtag1","hashtag2"]},{"1353037374":["hashtag1","hashtag2"]},{"1353037368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353037391, 1353037388, 1353037378, 1353037383, 1353037374, 1353037368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54896354675293 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:43:32.344614
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_55_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_35_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_25_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_15_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/13/42/image_23042025_13_43_05_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_55_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_55_9639.jpg', '/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_35_9646.jpg', '/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_25_9650.jpg', '/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_15_10696.jpg', '/home/nano/Desktop/images/23042025/13/42/image_23042025_13_43_05_9676.jpg', '/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_55_9639.jpg
/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_35_9646.jpg
/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_25_9650.jpg
/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_15_10696.jpg
/home/nano/Desktop/images/23042025/13/42/image_23042025_13_43_05_9676.jpg
/home/nano/Desktop/images/23042025/13/42/image_23042025_13_42_55_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353037637","1353037634","1353037628","1353037648","1353037645","1353037641"],"photo_ids_order":["1353037628","1353037634","1353037637","1353037641","1353037645","1353037648"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc7d9a9d2b4772c789a3faaf6927c194.jpg","text":"TemporaryFile(/tmp/multipartBody1944176028310563340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408673577,"filename":"image_23042025_13_43_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb685e40dac0a139506ccb8969052429.jpg","text":"TemporaryFile(/tmp/multipartBody63703582693875109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408673577,"filename":"image_23042025_13_43_35_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acc688e028dd5a142ae028dd2e62d4b6.jpg","text":"TemporaryFile(/tmp/multipartBody5049431410461426844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408673577,"filename":"image_23042025_13_43_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f853e9a31c142848ce8fcc57ba45992e.jpg","text":"TemporaryFile(/tmp/multipartBody6122884448256701044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408673577,"filename":"image_23042025_13_42_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/764ad651767f4c02add54daf5619776b.jpg","text":"TemporaryFile(/tmp/multipartBody4113833679924765451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408673577,"filename":"image_23042025_13_43_05_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3186ada0565ced98d35958053cd2e5f1.jpg","text":"TemporaryFile(/tmp/multipartBody7724351158624162366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408673577,"filename":"image_23042025_13_43_15_10696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353037637","file1":"1353037634","file0":"1353037628","file4":"1353037645","file5":"1353037648","file3":"1353037641"},"map_files_photo_id_array":[{"photo_id":"1353037648","filename":"file5"},{"photo_id":"1353037637","filename":"file2"},{"photo_id":"1353037645","filename":"file4"},{"photo_id":"1353037634","filename":"file1"},{"photo_id":"1353037628","filename":"file0"},{"photo_id":"1353037641","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353037637":["hashtag1","hashtag2"]},{"1353037634":["hashtag1","hashtag2"]},{"1353037628":["hashtag1","hashtag2"]},{"1353037648":["hashtag1","hashtag2"]},{"1353037645":["hashtag1","hashtag2"]},{"1353037641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353037637, 1353037634, 1353037628, 1353037648, 1353037645, 1353037641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92086124420166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:44:32.422641
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_45_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_35_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_25_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_15_10682.jpg', 2), ('/home/nano/Desktop/images/23042025/13/43/image_23042025_13_44_05_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_45_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_45_10646.jpg', '/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_35_9667.jpg', '/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_25_9655.jpg', '/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_15_10682.jpg', '/home/nano/Desktop/images/23042025/13/43/image_23042025_13_44_05_9639.jpg', '/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_45_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_45_10646.jpg
/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_35_9667.jpg
/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_25_9655.jpg
/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_15_10682.jpg
/home/nano/Desktop/images/23042025/13/43/image_23042025_13_44_05_9639.jpg
/home/nano/Desktop/images/23042025/13/43/image_23042025_13_43_45_10669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353037697","1353037682","1353037678","1353037687","1353037702","1353037692"],"photo_ids_order":["1353037678","1353037682","1353037687","1353037692","1353037697","1353037702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ca45811a1b5b1897ce83ad2c5b789ae.jpg","text":"TemporaryFile(/tmp/multipartBody1903936532749714025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408734041,"filename":"image_23042025_13_44_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b455151be3c482bdb35effd971563a4.jpg","text":"TemporaryFile(/tmp/multipartBody8330492481027188620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408734041,"filename":"image_23042025_13_44_35_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/902820e3dbafcdfba1c23c483734a1b4.jpg","text":"TemporaryFile(/tmp/multipartBody6957305336510638348asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408734041,"filename":"image_23042025_13_44_45_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c828f0b3befdaa46228a7c7cd075177d.jpg","text":"TemporaryFile(/tmp/multipartBody2985272987852043521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408734041,"filename":"image_23042025_13_44_25_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3682ba4f070c14af4b89a11238bced73.jpg","text":"TemporaryFile(/tmp/multipartBody2348258909730659709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408734041,"filename":"image_23042025_13_43_45_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/955927a47f2df4f5b55122476099cbd0.jpg","text":"TemporaryFile(/tmp/multipartBody7900950704953913041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408734041,"filename":"image_23042025_13_44_15_10682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353037687","file1":"1353037682","file0":"1353037678","file4":"1353037697","file5":"1353037702","file3":"1353037692"},"map_files_photo_id_array":[{"photo_id":"1353037702","filename":"file5"},{"photo_id":"1353037687","filename":"file2"},{"photo_id":"1353037697","filename":"file4"},{"photo_id":"1353037682","filename":"file1"},{"photo_id":"1353037678","filename":"file0"},{"photo_id":"1353037692","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353037697":["hashtag1","hashtag2"]},{"1353037682":["hashtag1","hashtag2"]},{"1353037678":["hashtag1","hashtag2"]},{"1353037687":["hashtag1","hashtag2"]},{"1353037702":["hashtag1","hashtag2"]},{"1353037692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353037697, 1353037682, 1353037678, 1353037687, 1353037702, 1353037692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.4799919128418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:45:32.544153
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_45_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_35_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_25_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_15_10702.jpg', 2), ('/home/nano/Desktop/images/23042025/13/44/image_23042025_13_45_05_9759.jpg', 2), ('/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_45_10681.jpg', '/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_35_9649.jpg', '/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_25_9666.jpg', '/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_15_10702.jpg', '/home/nano/Desktop/images/23042025/13/44/image_23042025_13_45_05_9759.jpg', '/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_45_10681.jpg
/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_35_9649.jpg
/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_25_9666.jpg
/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_15_10702.jpg
/home/nano/Desktop/images/23042025/13/44/image_23042025_13_45_05_9759.jpg
/home/nano/Desktop/images/23042025/13/44/image_23042025_13_44_55_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353037763","1353037727","1353037744","1353037738","1353037755","1353037766"],"photo_ids_order":["1353037727","1353037738","1353037744","1353037755","1353037763","1353037766"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f3079c8714b5b19f3b9ccbebccd65c2.jpg","text":"TemporaryFile(/tmp/multipartBody2301218509075520330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408793807,"filename":"image_23042025_13_45_05_9759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a6ec7482eea8237875b7b4471f43d4c.jpg","text":"TemporaryFile(/tmp/multipartBody6154971121878727163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408793807,"filename":"image_23042025_13_45_45_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e12d0f709e1f82c9822bd5c4b28d7ac3.jpg","text":"TemporaryFile(/tmp/multipartBody8583964977805056512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408793807,"filename":"image_23042025_13_45_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/180894fa066163ac95b061a58b8a1c27.jpg","text":"TemporaryFile(/tmp/multipartBody6579699503715710299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408793807,"filename":"image_23042025_13_45_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57dc00e9a840e603cec0f4b32c5772cd.jpg","text":"TemporaryFile(/tmp/multipartBody2407570081988254619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408793807,"filename":"image_23042025_13_45_15_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe0336188a4664fd1f576ccfdac2cc19.jpg","text":"TemporaryFile(/tmp/multipartBody5462185021293568975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408793807,"filename":"image_23042025_13_44_55_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353037744","file1":"1353037738","file0":"1353037727","file4":"1353037763","file5":"1353037766","file3":"1353037755"},"map_files_photo_id_array":[{"photo_id":"1353037766","filename":"file5"},{"photo_id":"1353037744","filename":"file2"},{"photo_id":"1353037763","filename":"file4"},{"photo_id":"1353037738","filename":"file1"},{"photo_id":"1353037727","filename":"file0"},{"photo_id":"1353037755","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353037763":["hashtag1","hashtag2"]},{"1353037727":["hashtag1","hashtag2"]},{"1353037744":["hashtag1","hashtag2"]},{"1353037738":["hashtag1","hashtag2"]},{"1353037755":["hashtag1","hashtag2"]},{"1353037766":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353037763, 1353037727, 1353037744, 1353037738, 1353037755, 1353037766)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.906315088272095 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:46:32.617547
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_45_9911.jpg', 2), ('/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_35_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_25_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_15_10685.jpg', 2), ('/home/nano/Desktop/images/23042025/13/45/image_23042025_13_46_05_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_55_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_45_9911.jpg', '/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_35_9627.jpg', '/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_25_9617.jpg', '/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_15_10685.jpg', '/home/nano/Desktop/images/23042025/13/45/image_23042025_13_46_05_9690.jpg', '/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_55_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_45_9911.jpg
/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_35_9627.jpg
/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_25_9617.jpg
/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_15_10685.jpg
/home/nano/Desktop/images/23042025/13/45/image_23042025_13_46_05_9690.jpg
/home/nano/Desktop/images/23042025/13/45/image_23042025_13_45_55_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353037877","1353037850","1353037882","1353037912","1353037908","1353037902"],"photo_ids_order":["1353037850","1353037877","1353037882","1353037902","1353037908","1353037912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3af3b93a68c44777df8ce81cbf33cdfb.jpg","text":"TemporaryFile(/tmp/multipartBody1114334513558599708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408854296,"filename":"image_23042025_13_46_35_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5cf3b38dc9b737c7ee5aa91976362de.jpg","text":"TemporaryFile(/tmp/multipartBody1653192190916009800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408854296,"filename":"image_23042025_13_46_45_9911.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/911c98959362968d0dd187bd976630e8.jpg","text":"TemporaryFile(/tmp/multipartBody1785683980632376277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408854296,"filename":"image_23042025_13_46_25_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/928391044ba9a1d491c84f71a59449e4.jpg","text":"TemporaryFile(/tmp/multipartBody7104426841133371085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408854296,"filename":"image_23042025_13_45_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee1c9b32a3330494a95cebc5f308bcf4.jpg","text":"TemporaryFile(/tmp/multipartBody5471835826748997329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408854296,"filename":"image_23042025_13_46_05_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1831f5dbf98de84468bc8e2e0243d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody2185543816624662056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408854296,"filename":"image_23042025_13_46_15_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353037882","file1":"1353037877","file0":"1353037850","file4":"1353037908","file5":"1353037912","file3":"1353037902"},"map_files_photo_id_array":[{"photo_id":"1353037912","filename":"file5"},{"photo_id":"1353037882","filename":"file2"},{"photo_id":"1353037908","filename":"file4"},{"photo_id":"1353037877","filename":"file1"},{"photo_id":"1353037850","filename":"file0"},{"photo_id":"1353037902","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353037877":["hashtag1","hashtag2"]},{"1353037850":["hashtag1","hashtag2"]},{"1353037882":["hashtag1","hashtag2"]},{"1353037912":["hashtag1","hashtag2"]},{"1353037908":["hashtag1","hashtag2"]},{"1353037902":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353037877, 1353037850, 1353037882, 1353037912, 1353037908, 1353037902)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.727295875549316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:47:32.706197
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_35_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_25_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_15_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/13/46/image_23042025_13_47_05_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_55_10936.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_45_9634.jpg', '/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_35_9658.jpg', '/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_25_10652.jpg', '/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_15_9669.jpg', '/home/nano/Desktop/images/23042025/13/46/image_23042025_13_47_05_9633.jpg', '/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_55_10936.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_45_9634.jpg
/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_35_9658.jpg
/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_25_10652.jpg
/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_15_9669.jpg
/home/nano/Desktop/images/23042025/13/46/image_23042025_13_47_05_9633.jpg
/home/nano/Desktop/images/23042025/13/46/image_23042025_13_46_55_10936.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038003","1353038026","1353038008","1353038023","1353038017","1353037997"],"photo_ids_order":["1353037997","1353038003","1353038008","1353038017","1353038023","1353038026"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0b6f07fa749723f7c4d4df866645772.jpg","text":"TemporaryFile(/tmp/multipartBody3947850179784336517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408914028,"filename":"image_23042025_13_47_35_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a97485bc4150487eb7f8f2258f23984.jpg","text":"TemporaryFile(/tmp/multipartBody4544952648009696017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408914028,"filename":"image_23042025_13_46_55_10936.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccb8fb58a4f7ddd53ecd5ec82048b554.jpg","text":"TemporaryFile(/tmp/multipartBody6729938828037281751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408914028,"filename":"image_23042025_13_47_25_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58231de0a9dff10d1d352d6617fdbb42.jpg","text":"TemporaryFile(/tmp/multipartBody5945827633127913550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408914028,"filename":"image_23042025_13_47_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e64551e2469aec4ad1cdfadecabf815d.jpg","text":"TemporaryFile(/tmp/multipartBody3800282571607292975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408914028,"filename":"image_23042025_13_47_15_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1af7aa806d7b94374aeb0cc721672522.jpg","text":"TemporaryFile(/tmp/multipartBody4375514773625557406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408914028,"filename":"image_23042025_13_47_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038008","file1":"1353038003","file0":"1353037997","file4":"1353038023","file5":"1353038026","file3":"1353038017"},"map_files_photo_id_array":[{"photo_id":"1353038026","filename":"file5"},{"photo_id":"1353038008","filename":"file2"},{"photo_id":"1353038023","filename":"file4"},{"photo_id":"1353038003","filename":"file1"},{"photo_id":"1353037997","filename":"file0"},{"photo_id":"1353038017","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038003":["hashtag1","hashtag2"]},{"1353038026":["hashtag1","hashtag2"]},{"1353038008":["hashtag1","hashtag2"]},{"1353038023":["hashtag1","hashtag2"]},{"1353038017":["hashtag1","hashtag2"]},{"1353037997":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038003, 1353038026, 1353038008, 1353038023, 1353038017, 1353037997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.871013879776 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:48:31.800541
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_25_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_15_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/13/47/image_23042025_13_48_05_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_55_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_45_9644.jpg', '/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_35_9626.jpg', '/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_25_10655.jpg', '/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_15_9679.jpg', '/home/nano/Desktop/images/23042025/13/47/image_23042025_13_48_05_9666.jpg', '/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_55_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_45_9644.jpg
/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_35_9626.jpg
/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_25_10655.jpg
/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_15_9679.jpg
/home/nano/Desktop/images/23042025/13/47/image_23042025_13_48_05_9666.jpg
/home/nano/Desktop/images/23042025/13/47/image_23042025_13_47_55_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038479","1353038452","1353038431","1353038425","1353038475","1353038436"],"photo_ids_order":["1353038425","1353038431","1353038436","1353038452","1353038475","1353038479"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b55218e83c76e1ade47fccaa49193ab.jpg","text":"TemporaryFile(/tmp/multipartBody1393080825231991378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408973188,"filename":"image_23042025_13_47_55_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92c96e99dfca35af06baa4fcc0c56207.jpg","text":"TemporaryFile(/tmp/multipartBody934767848228264738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408973188,"filename":"image_23042025_13_48_15_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04296e1e48db4aa17c7397a0fd26958b.jpg","text":"TemporaryFile(/tmp/multipartBody1609132084272706079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408973188,"filename":"image_23042025_13_48_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91556deb2839303e52fb47ff631d9c6e.jpg","text":"TemporaryFile(/tmp/multipartBody6326184234985255448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408973188,"filename":"image_23042025_13_48_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24a62b4877b3f4fb7c5d6251d9dfae3c.jpg","text":"TemporaryFile(/tmp/multipartBody5533475204388512850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408973188,"filename":"image_23042025_13_48_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/835b9180bcc6ac7d989101af02f0af4d.jpg","text":"TemporaryFile(/tmp/multipartBody4466969411522803652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745408973188,"filename":"image_23042025_13_48_25_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038436","file1":"1353038431","file0":"1353038425","file4":"1353038475","file5":"1353038479","file3":"1353038452"},"map_files_photo_id_array":[{"photo_id":"1353038479","filename":"file5"},{"photo_id":"1353038436","filename":"file2"},{"photo_id":"1353038475","filename":"file4"},{"photo_id":"1353038431","filename":"file1"},{"photo_id":"1353038425","filename":"file0"},{"photo_id":"1353038452","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038479":["hashtag1","hashtag2"]},{"1353038452":["hashtag1","hashtag2"]},{"1353038431":["hashtag1","hashtag2"]},{"1353038425":["hashtag1","hashtag2"]},{"1353038475":["hashtag1","hashtag2"]},{"1353038436":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038479, 1353038452, 1353038431, 1353038425, 1353038475, 1353038436)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.28325343132019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:49:31.929450
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_45_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_35_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_25_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_15_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/13/48/image_23042025_13_49_05_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_45_10643.jpg', '/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_35_9631.jpg', '/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_25_10656.jpg', '/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_15_9638.jpg', '/home/nano/Desktop/images/23042025/13/48/image_23042025_13_49_05_9639.jpg', '/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_45_10643.jpg
/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_35_9631.jpg
/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_25_10656.jpg
/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_15_9638.jpg
/home/nano/Desktop/images/23042025/13/48/image_23042025_13_49_05_9639.jpg
/home/nano/Desktop/images/23042025/13/48/image_23042025_13_48_55_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038600","1353038530","1353038565","1353038559","1353038535","1353038570"],"photo_ids_order":["1353038530","1353038535","1353038559","1353038565","1353038570","1353038600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6bb0ea2d06e4ee72f9e708aac127f2e.jpg","text":"TemporaryFile(/tmp/multipartBody3815837553397660858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409033120,"filename":"image_23042025_13_48_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d23fc20f209f8d8fe4823caa94595fe.jpg","text":"TemporaryFile(/tmp/multipartBody2810328531171722442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409033120,"filename":"image_23042025_13_49_45_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64733453c8ee6250b9bef989d66c0ad9.jpg","text":"TemporaryFile(/tmp/multipartBody468623380028934103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409033120,"filename":"image_23042025_13_49_15_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6589c91a8fccb64ea318cd0a5dcdd22.jpg","text":"TemporaryFile(/tmp/multipartBody2877557681650486680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409033120,"filename":"image_23042025_13_49_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6378c32cde60342b079abeedd74f581.jpg","text":"TemporaryFile(/tmp/multipartBody6220303373960450625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409033120,"filename":"image_23042025_13_49_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/477811ee17e1dbfdf1df3c53468e6044.jpg","text":"TemporaryFile(/tmp/multipartBody5634630190929439746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409033120,"filename":"image_23042025_13_49_05_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038559","file1":"1353038535","file0":"1353038530","file4":"1353038570","file5":"1353038600","file3":"1353038565"},"map_files_photo_id_array":[{"photo_id":"1353038600","filename":"file5"},{"photo_id":"1353038559","filename":"file2"},{"photo_id":"1353038570","filename":"file4"},{"photo_id":"1353038535","filename":"file1"},{"photo_id":"1353038530","filename":"file0"},{"photo_id":"1353038565","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038600":["hashtag1","hashtag2"]},{"1353038530":["hashtag1","hashtag2"]},{"1353038565":["hashtag1","hashtag2"]},{"1353038559":["hashtag1","hashtag2"]},{"1353038535":["hashtag1","hashtag2"]},{"1353038570":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038600, 1353038530, 1353038565, 1353038559, 1353038535, 1353038570)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.674306869506836 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:50:32.005245
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_45_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_35_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_25_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_15_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/13/49/image_23042025_13_50_05_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_45_10657.jpg', '/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_35_9636.jpg', '/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_25_9648.jpg', '/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_15_10665.jpg', '/home/nano/Desktop/images/23042025/13/49/image_23042025_13_50_05_9665.jpg', '/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_45_10657.jpg
/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_35_9636.jpg
/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_25_9648.jpg
/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_15_10665.jpg
/home/nano/Desktop/images/23042025/13/49/image_23042025_13_50_05_9665.jpg
/home/nano/Desktop/images/23042025/13/49/image_23042025_13_49_55_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038650","1353038644","1353038641","1353038631","1353038625","1353038636"],"photo_ids_order":["1353038625","1353038631","1353038636","1353038641","1353038644","1353038650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79779c67d4803b109d87c8bbc36c245b.jpg","text":"TemporaryFile(/tmp/multipartBody4805266430791109294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409093163,"filename":"image_23042025_13_49_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec71974447fc7f9820361e0a298bff20.jpg","text":"TemporaryFile(/tmp/multipartBody4677967066081655201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409093163,"filename":"image_23042025_13_50_05_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3532193b57de63bfc11c1ff286bb53cb.jpg","text":"TemporaryFile(/tmp/multipartBody8228375518833389442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409093163,"filename":"image_23042025_13_50_15_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e13a3c071ca1295ccaeab270d1d6a3c6.jpg","text":"TemporaryFile(/tmp/multipartBody7741798992472405813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409093163,"filename":"image_23042025_13_50_35_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/507744440522b297b153bfb77c0d030f.jpg","text":"TemporaryFile(/tmp/multipartBody6603184708809303610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409093163,"filename":"image_23042025_13_50_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/525ad9207a278a5713e2c6ce4e0ff7ce.jpg","text":"TemporaryFile(/tmp/multipartBody3133270602399352365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409093163,"filename":"image_23042025_13_50_25_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038636","file1":"1353038631","file0":"1353038625","file4":"1353038644","file5":"1353038650","file3":"1353038641"},"map_files_photo_id_array":[{"photo_id":"1353038650","filename":"file5"},{"photo_id":"1353038636","filename":"file2"},{"photo_id":"1353038644","filename":"file4"},{"photo_id":"1353038631","filename":"file1"},{"photo_id":"1353038625","filename":"file0"},{"photo_id":"1353038641","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038650":["hashtag1","hashtag2"]},{"1353038644":["hashtag1","hashtag2"]},{"1353038641":["hashtag1","hashtag2"]},{"1353038631":["hashtag1","hashtag2"]},{"1353038625":["hashtag1","hashtag2"]},{"1353038636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038650, 1353038644, 1353038641, 1353038631, 1353038625, 1353038636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.30298089981079 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:51:32.130242
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_45_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_25_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_15_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/13/50/image_23042025_13_51_05_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_55_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_45_10651.jpg', '/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_35_9639.jpg', '/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_25_9664.jpg', '/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_15_10674.jpg', '/home/nano/Desktop/images/23042025/13/50/image_23042025_13_51_05_9649.jpg', '/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_55_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_45_10651.jpg
/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_35_9639.jpg
/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_25_9664.jpg
/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_15_10674.jpg
/home/nano/Desktop/images/23042025/13/50/image_23042025_13_51_05_9649.jpg
/home/nano/Desktop/images/23042025/13/50/image_23042025_13_50_55_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038685","1353038688","1353038676","1353038693","1353038672","1353038681"],"photo_ids_order":["1353038672","1353038676","1353038681","1353038685","1353038688","1353038693"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97f9a27ccf94501f0fa0ffeec502a59f.jpg","text":"TemporaryFile(/tmp/multipartBody8345846375100565155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409153283,"filename":"image_23042025_13_51_15_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6520272d8ae47c7f91bff410a8d8c98.jpg","text":"TemporaryFile(/tmp/multipartBody2998965313360398170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409153283,"filename":"image_23042025_13_51_05_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fd37bb72e851b67829c7d1a7062e568.jpg","text":"TemporaryFile(/tmp/multipartBody1671070326262944777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409153283,"filename":"image_23042025_13_51_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80ffe7d8f6164e4ae38ba8eb3fefc1e9.jpg","text":"TemporaryFile(/tmp/multipartBody9077120060646083992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409153283,"filename":"image_23042025_13_50_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09a529077b3c1e79ed2f36ed07dfa8d3.jpg","text":"TemporaryFile(/tmp/multipartBody6183780296725572239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409153283,"filename":"image_23042025_13_51_45_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b2c8c16c1fc04e4bb9f30d7750a4c9e.jpg","text":"TemporaryFile(/tmp/multipartBody2866376127586121414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409153283,"filename":"image_23042025_13_51_25_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038681","file1":"1353038676","file0":"1353038672","file4":"1353038688","file5":"1353038693","file3":"1353038685"},"map_files_photo_id_array":[{"photo_id":"1353038693","filename":"file5"},{"photo_id":"1353038681","filename":"file2"},{"photo_id":"1353038688","filename":"file4"},{"photo_id":"1353038676","filename":"file1"},{"photo_id":"1353038672","filename":"file0"},{"photo_id":"1353038685","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038685":["hashtag1","hashtag2"]},{"1353038688":["hashtag1","hashtag2"]},{"1353038676":["hashtag1","hashtag2"]},{"1353038693":["hashtag1","hashtag2"]},{"1353038672":["hashtag1","hashtag2"]},{"1353038681":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038685, 1353038688, 1353038676, 1353038693, 1353038672, 1353038681)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84342050552368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:52:32.195667
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_45_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_35_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_25_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_15_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/13/51/image_23042025_13_52_05_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_55_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_45_10655.jpg', '/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_35_9629.jpg', '/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_25_9646.jpg', '/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_15_10673.jpg', '/home/nano/Desktop/images/23042025/13/51/image_23042025_13_52_05_9651.jpg', '/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_55_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_45_10655.jpg
/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_35_9629.jpg
/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_25_9646.jpg
/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_15_10673.jpg
/home/nano/Desktop/images/23042025/13/51/image_23042025_13_52_05_9651.jpg
/home/nano/Desktop/images/23042025/13/51/image_23042025_13_51_55_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038896","1353038856","1353038859","1353038891","1353038885","1353038864"],"photo_ids_order":["1353038856","1353038859","1353038864","1353038885","1353038891","1353038896"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf7275d4c24468e58aa770b8c36b5fd7.jpg","text":"TemporaryFile(/tmp/multipartBody1089223805370412533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409213511,"filename":"image_23042025_13_51_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c4970fd332af052e3b6f4c78194cae0.jpg","text":"TemporaryFile(/tmp/multipartBody7987717014849707442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409213511,"filename":"image_23042025_13_52_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bc8134ddfad16507f435a89de7601f7.jpg","text":"TemporaryFile(/tmp/multipartBody4797134406654722731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409213511,"filename":"image_23042025_13_52_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b20ad2d3a5f2ab3c149ad76cfb685df.jpg","text":"TemporaryFile(/tmp/multipartBody934366103525148974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409213511,"filename":"image_23042025_13_52_05_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b02ba953b5ac4ec5657ab93806a4c56a.jpg","text":"TemporaryFile(/tmp/multipartBody1766723258784428469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409213511,"filename":"image_23042025_13_52_15_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffef07962766212908776103a54c5c5c.jpg","text":"TemporaryFile(/tmp/multipartBody4214639217356813200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409213511,"filename":"image_23042025_13_52_25_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038864","file1":"1353038859","file0":"1353038856","file4":"1353038891","file5":"1353038896","file3":"1353038885"},"map_files_photo_id_array":[{"photo_id":"1353038896","filename":"file5"},{"photo_id":"1353038864","filename":"file2"},{"photo_id":"1353038891","filename":"file4"},{"photo_id":"1353038859","filename":"file1"},{"photo_id":"1353038856","filename":"file0"},{"photo_id":"1353038885","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038896":["hashtag1","hashtag2"]},{"1353038856":["hashtag1","hashtag2"]},{"1353038859":["hashtag1","hashtag2"]},{"1353038891":["hashtag1","hashtag2"]},{"1353038885":["hashtag1","hashtag2"]},{"1353038864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038896, 1353038856, 1353038859, 1353038891, 1353038885, 1353038864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.46118688583374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:53:32.291019
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_35_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_25_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_15_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/13/52/image_23042025_13_53_05_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_55_10032.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_45_9641.jpg', '/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_35_9671.jpg', '/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_25_10663.jpg', '/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_15_9648.jpg', '/home/nano/Desktop/images/23042025/13/52/image_23042025_13_53_05_9658.jpg', '/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_55_10032.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_45_9641.jpg
/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_35_9671.jpg
/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_25_10663.jpg
/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_15_9648.jpg
/home/nano/Desktop/images/23042025/13/52/image_23042025_13_53_05_9658.jpg
/home/nano/Desktop/images/23042025/13/52/image_23042025_13_52_55_10032.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038941","1353038935","1353038944","1353038920","1353038946","1353038927"],"photo_ids_order":["1353038920","1353038927","1353038935","1353038941","1353038944","1353038946"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce12f3785a030202c2b4c61187bdb223.jpg","text":"TemporaryFile(/tmp/multipartBody4736706863553329356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409273633,"filename":"image_23042025_13_53_15_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b07ac76963bec0c91adf5b30b5ef6cfc.jpg","text":"TemporaryFile(/tmp/multipartBody247660602058563559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409273633,"filename":"image_23042025_13_53_25_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42b272c65faf037fd3c684aa0ca574ed.jpg","text":"TemporaryFile(/tmp/multipartBody7053309069683641154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409273633,"filename":"image_23042025_13_53_05_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/787a1e0af41170f4fd1d4f915613b28b.jpg","text":"TemporaryFile(/tmp/multipartBody1458290563792193874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409273633,"filename":"image_23042025_13_53_45_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6138cfcac61347a395d52236e7f9d929.jpg","text":"TemporaryFile(/tmp/multipartBody8673780731766735600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409273633,"filename":"image_23042025_13_52_55_10032.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce06811d68299f2f1899aa1246853975.jpg","text":"TemporaryFile(/tmp/multipartBody4486973795705592964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409273633,"filename":"image_23042025_13_53_35_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038935","file1":"1353038927","file0":"1353038920","file4":"1353038944","file5":"1353038946","file3":"1353038941"},"map_files_photo_id_array":[{"photo_id":"1353038946","filename":"file5"},{"photo_id":"1353038935","filename":"file2"},{"photo_id":"1353038944","filename":"file4"},{"photo_id":"1353038927","filename":"file1"},{"photo_id":"1353038920","filename":"file0"},{"photo_id":"1353038941","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038941":["hashtag1","hashtag2"]},{"1353038935":["hashtag1","hashtag2"]},{"1353038944":["hashtag1","hashtag2"]},{"1353038920":["hashtag1","hashtag2"]},{"1353038946":["hashtag1","hashtag2"]},{"1353038927":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038941, 1353038935, 1353038944, 1353038920, 1353038946, 1353038927)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.72729134559631 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:54:32.472730
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_45_10632.jpg', 2), ('/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_35_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_25_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_15_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/13/53/image_23042025_13_54_05_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_55_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_45_10632.jpg', '/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_35_9663.jpg', '/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_25_10636.jpg', '/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_15_9649.jpg', '/home/nano/Desktop/images/23042025/13/53/image_23042025_13_54_05_9706.jpg', '/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_45_10632.jpg
/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_35_9663.jpg
/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_25_10636.jpg
/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_15_9649.jpg
/home/nano/Desktop/images/23042025/13/53/image_23042025_13_54_05_9706.jpg
/home/nano/Desktop/images/23042025/13/53/image_23042025_13_53_55_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353038989","1353038997","1353038973","1353039003","1353038969","1353039008"],"photo_ids_order":["1353038969","1353038973","1353038989","1353038997","1353039003","1353039008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba44d51fc4978cc039c97ca2dc206f5f.jpg","text":"TemporaryFile(/tmp/multipartBody3238902705767001619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409333853,"filename":"image_23042025_13_54_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbe3c30898070d02b982f85d6bfb1341.jpg","text":"TemporaryFile(/tmp/multipartBody5472188472455812588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409333853,"filename":"image_23042025_13_54_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbe3e076a491468b7993fcc1198f261a.jpg","text":"TemporaryFile(/tmp/multipartBody388573585523776424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409333853,"filename":"image_23042025_13_54_35_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5d47d9a2cd15c2d546f03c2b188f49d.jpg","text":"TemporaryFile(/tmp/multipartBody1148116463503657464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409333853,"filename":"image_23042025_13_54_05_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/978b0ab6123f89c2d672792f6e697cbf.jpg","text":"TemporaryFile(/tmp/multipartBody4965370042366153412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409333853,"filename":"image_23042025_13_54_45_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66a6f778ab525efddd344882af3b1779.jpg","text":"TemporaryFile(/tmp/multipartBody1845207760633872705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409333853,"filename":"image_23042025_13_53_55_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353038989","file1":"1353038973","file0":"1353038969","file4":"1353039003","file5":"1353039008","file3":"1353038997"},"map_files_photo_id_array":[{"photo_id":"1353039008","filename":"file5"},{"photo_id":"1353038989","filename":"file2"},{"photo_id":"1353039003","filename":"file4"},{"photo_id":"1353038973","filename":"file1"},{"photo_id":"1353038969","filename":"file0"},{"photo_id":"1353038997","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353038989":["hashtag1","hashtag2"]},{"1353038997":["hashtag1","hashtag2"]},{"1353038973":["hashtag1","hashtag2"]},{"1353039003":["hashtag1","hashtag2"]},{"1353038969":["hashtag1","hashtag2"]},{"1353039008":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353038989, 1353038997, 1353038973, 1353039003, 1353038969, 1353039008)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9927339553833 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:55:32.616542
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_45_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_35_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_25_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_15_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/13/54/image_23042025_13_55_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_55_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_45_10648.jpg', '/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_35_9657.jpg', '/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_25_9635.jpg', '/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_15_10690.jpg', '/home/nano/Desktop/images/23042025/13/54/image_23042025_13_55_05_9653.jpg', '/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_55_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_45_10648.jpg
/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_35_9657.jpg
/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_25_9635.jpg
/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_15_10690.jpg
/home/nano/Desktop/images/23042025/13/54/image_23042025_13_55_05_9653.jpg
/home/nano/Desktop/images/23042025/13/54/image_23042025_13_54_55_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353039040","1353039034","1353039050","1353039044","1353039038","1353039047"],"photo_ids_order":["1353039034","1353039038","1353039040","1353039044","1353039047","1353039050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ddc44e47401eccea53ebec406500a08.jpg","text":"TemporaryFile(/tmp/multipartBody8506249366909774211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409393799,"filename":"image_23042025_13_55_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4880953f7940af19f77becd5cf0dcebe.jpg","text":"TemporaryFile(/tmp/multipartBody9212354108462429883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409393799,"filename":"image_23042025_13_55_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95cc5eb2b960da59c170023cada0cf96.jpg","text":"TemporaryFile(/tmp/multipartBody2488947179956396118asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409393799,"filename":"image_23042025_13_54_55_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffd0c0532584200f27f07a5d425703c5.jpg","text":"TemporaryFile(/tmp/multipartBody2329110723866381884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409393799,"filename":"image_23042025_13_55_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a200e829e26a7f9f4ef7c1685b96e44b.jpg","text":"TemporaryFile(/tmp/multipartBody6435562581982236478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409393799,"filename":"image_23042025_13_55_35_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d353439ccac1e995d5f2b5067f91e8b0.jpg","text":"TemporaryFile(/tmp/multipartBody4430092023413216133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409393799,"filename":"image_23042025_13_55_05_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353039040","file1":"1353039038","file0":"1353039034","file4":"1353039047","file5":"1353039050","file3":"1353039044"},"map_files_photo_id_array":[{"photo_id":"1353039050","filename":"file5"},{"photo_id":"1353039040","filename":"file2"},{"photo_id":"1353039047","filename":"file4"},{"photo_id":"1353039038","filename":"file1"},{"photo_id":"1353039034","filename":"file0"},{"photo_id":"1353039044","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353039040":["hashtag1","hashtag2"]},{"1353039034":["hashtag1","hashtag2"]},{"1353039050":["hashtag1","hashtag2"]},{"1353039044":["hashtag1","hashtag2"]},{"1353039038":["hashtag1","hashtag2"]},{"1353039047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353039040, 1353039034, 1353039050, 1353039044, 1353039038, 1353039047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00927495956421 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:56:32.713834
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_45_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_35_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_25_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_15_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/13/55/image_23042025_13_56_05_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_45_10663.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_35_9647.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_25_9663.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_15_10704.jpg', '/home/nano/Desktop/images/23042025/13/55/image_23042025_13_56_05_9675.jpg', '/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_45_10663.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_35_9647.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_25_9663.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_15_10704.jpg
/home/nano/Desktop/images/23042025/13/55/image_23042025_13_56_05_9675.jpg
/home/nano/Desktop/images/23042025/13/55/image_23042025_13_55_55_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353039073","1353039078","1353039087","1353039069","1353039083","1353039091"],"photo_ids_order":["1353039069","1353039073","1353039078","1353039083","1353039087","1353039091"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d83e6c51b06a03e7526033b6f9fdf01.jpg","text":"TemporaryFile(/tmp/multipartBody6965384775756088986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409453974,"filename":"image_23042025_13_56_35_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1e7d034326f0ea041590afe22c6d2cd.jpg","text":"TemporaryFile(/tmp/multipartBody185382857759079946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409453974,"filename":"image_23042025_13_56_25_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e5c13fcde5d712a1f6e13fae34f28fb.jpg","text":"TemporaryFile(/tmp/multipartBody8242772063697890524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409453974,"filename":"image_23042025_13_56_05_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e05b6bbc9413fca0de6b3ad1e7f1be2.jpg","text":"TemporaryFile(/tmp/multipartBody8210632891225627392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409453974,"filename":"image_23042025_13_56_45_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/312149841fd6aa9ba463c5f640a8ba4e.jpg","text":"TemporaryFile(/tmp/multipartBody2757237801043335658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409453974,"filename":"image_23042025_13_56_15_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df09524deeeb03fb74ccd6344a35549e.jpg","text":"TemporaryFile(/tmp/multipartBody6577517886512475291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409453974,"filename":"image_23042025_13_55_55_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353039078","file1":"1353039073","file0":"1353039069","file4":"1353039087","file5":"1353039091","file3":"1353039083"},"map_files_photo_id_array":[{"photo_id":"1353039091","filename":"file5"},{"photo_id":"1353039078","filename":"file2"},{"photo_id":"1353039087","filename":"file4"},{"photo_id":"1353039073","filename":"file1"},{"photo_id":"1353039069","filename":"file0"},{"photo_id":"1353039083","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353039073":["hashtag1","hashtag2"]},{"1353039078":["hashtag1","hashtag2"]},{"1353039087":["hashtag1","hashtag2"]},{"1353039069":["hashtag1","hashtag2"]},{"1353039083":["hashtag1","hashtag2"]},{"1353039091":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353039073, 1353039078, 1353039087, 1353039069, 1353039083, 1353039091)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.85757040977478 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:57:31.809337
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_45_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_15_10698.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_57_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_45_10661.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_35_9643.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_25_9647.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_15_10698.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_57_05_9650.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_45_10661.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_35_9643.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_25_9647.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_15_10698.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_57_05_9650.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_55_9646.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:58:02.221908
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_45_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_15_10698.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_57_05_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_55_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_45_10661.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_35_9643.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_25_9647.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_15_10698.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_57_05_9650.jpg', '/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_55_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_45_10661.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_35_9643.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_25_9647.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_15_10698.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_57_05_9650.jpg
/home/nano/Desktop/images/23042025/13/56/image_23042025_13_56_55_9646.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353039247","1353039208","1353039249","1353039248","1353039251","1353039245"],"photo_ids_order":["1353039208","1353039245","1353039247","1353039248","1353039249","1353039251"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6a2a2f791f38b1df106f592bfe687fd.jpg","text":"TemporaryFile(/tmp/multipartBody8351634782454264805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409543289,"filename":"image_23042025_13_57_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1083114b53b444c75dc25c1cc203583c.jpg","text":"TemporaryFile(/tmp/multipartBody3033966906200078004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409543289,"filename":"image_23042025_13_57_45_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21c5222a67d293fb78798898d7105ed0.jpg","text":"TemporaryFile(/tmp/multipartBody2590643042982630536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409543289,"filename":"image_23042025_13_57_05_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf7237ff55344ef8efbf4f8d5419d965.jpg","text":"TemporaryFile(/tmp/multipartBody2696388617552440838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409543289,"filename":"image_23042025_13_57_15_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83dae5dde6484d8362c2c28bca766949.jpg","text":"TemporaryFile(/tmp/multipartBody1196241744079225817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409543289,"filename":"image_23042025_13_56_55_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c2c8b2f1ff2616beffb84440df5d01b.jpg","text":"TemporaryFile(/tmp/multipartBody6107092067797423291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409543289,"filename":"image_23042025_13_57_35_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353039247","file1":"1353039245","file0":"1353039208","file4":"1353039249","file5":"1353039251","file3":"1353039248"},"map_files_photo_id_array":[{"photo_id":"1353039251","filename":"file5"},{"photo_id":"1353039247","filename":"file2"},{"photo_id":"1353039249","filename":"file4"},{"photo_id":"1353039245","filename":"file1"},{"photo_id":"1353039208","filename":"file0"},{"photo_id":"1353039248","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353039247":["hashtag1","hashtag2"]},{"1353039208":["hashtag1","hashtag2"]},{"1353039249":["hashtag1","hashtag2"]},{"1353039248":["hashtag1","hashtag2"]},{"1353039251":["hashtag1","hashtag2"]},{"1353039245":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353039247, 1353039208, 1353039249, 1353039248, 1353039251, 1353039245)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.16690802574158 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 13:59:02.854460
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_45_9853.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_35_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_25_9788.jpg', 2), ('/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_15_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_35_05_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_55_9751.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_45_9853.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_35_9800.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_25_9788.jpg', '/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_15_9777.jpg', '/home/nano/Desktop/images/23042025/13/34/image_23042025_13_35_05_10724.jpg', '/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_55_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_45_9853.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_35_9800.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_25_9788.jpg
/home/nano/Desktop/images/23042025/13/35/image_23042025_13_35_15_9777.jpg
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_35_05_10724.jpg
/home/nano/Desktop/images/23042025/13/34/image_23042025_13_34_55_9751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353039421","1353039414","1353039408","1353039386","1353039395","1353039382"],"photo_ids_order":["1353039382","1353039386","1353039395","1353039408","1353039414","1353039421"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87969de526591e4244ec00859f3daf0d.jpg","text":"TemporaryFile(/tmp/multipartBody7688381225826015803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409604813,"filename":"image_23042025_13_34_55_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/051f776b0c3e5f2f59310aa2f4bb5c9b.jpg","text":"TemporaryFile(/tmp/multipartBody8332689987681806190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409604813,"filename":"image_23042025_13_35_05_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d651732451f928306b6cc963276c79b.jpg","text":"TemporaryFile(/tmp/multipartBody3524561019604716299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409604813,"filename":"image_23042025_13_35_15_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36add3d56f71097507ccd51358f22c24.jpg","text":"TemporaryFile(/tmp/multipartBody62852018506550341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409604813,"filename":"image_23042025_13_35_35_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5366eefaffe69a40545bc2ef77c25fa2.jpg","text":"TemporaryFile(/tmp/multipartBody4410242984179307005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409604813,"filename":"image_23042025_13_35_25_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52b03a8d1aae8ab0920b76b4d6e8c6bc.jpg","text":"TemporaryFile(/tmp/multipartBody2958724452447908126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409604813,"filename":"image_23042025_13_35_45_9853.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353039395","file1":"1353039386","file0":"1353039382","file4":"1353039414","file5":"1353039421","file3":"1353039408"},"map_files_photo_id_array":[{"photo_id":"1353039421","filename":"file5"},{"photo_id":"1353039395","filename":"file2"},{"photo_id":"1353039414","filename":"file4"},{"photo_id":"1353039386","filename":"file1"},{"photo_id":"1353039382","filename":"file0"},{"photo_id":"1353039408","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353039421":["hashtag1","hashtag2"]},{"1353039414":["hashtag1","hashtag2"]},{"1353039408":["hashtag1","hashtag2"]},{"1353039386":["hashtag1","hashtag2"]},{"1353039395":["hashtag1","hashtag2"]},{"1353039382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353039421, 1353039414, 1353039408, 1353039386, 1353039395, 1353039382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.72817802429199 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:00:02.526286
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_45_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_35_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_25_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_15_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/13/58/image_23042025_13_59_05_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_55_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_45_9677.jpg', '/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_35_10658.jpg', '/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_25_9650.jpg', '/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_15_10648.jpg', '/home/nano/Desktop/images/23042025/13/58/image_23042025_13_59_05_9676.jpg', '/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_55_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_45_9677.jpg
/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_35_10658.jpg
/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_25_9650.jpg
/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_15_10648.jpg
/home/nano/Desktop/images/23042025/13/58/image_23042025_13_59_05_9676.jpg
/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_55_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353039763","1353039628","1353039593","1353039677","1353039551","1353039710"],"photo_ids_order":["1353039551","1353039593","1353039628","1353039677","1353039710","1353039763"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e05d469e54ae022c2f95f250cf279774.jpg","text":"TemporaryFile(/tmp/multipartBody7838446229365038168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409663739,"filename":"image_23042025_13_58_55_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51ae4c41fd10ae45146cb12bfa672277.jpg","text":"TemporaryFile(/tmp/multipartBody6238195501243034838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409663739,"filename":"image_23042025_13_59_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49447d668ea8afd9ff07c401f6e07366.jpg","text":"TemporaryFile(/tmp/multipartBody6625695397450453642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409663739,"filename":"image_23042025_13_59_35_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c648ab5099df73655609f36f80b01e7a.jpg","text":"TemporaryFile(/tmp/multipartBody213175782297919131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409663739,"filename":"image_23042025_13_59_15_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fe925c194baca3cf8938de4fce3c320.jpg","text":"TemporaryFile(/tmp/multipartBody6808687287837426300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409663739,"filename":"image_23042025_13_59_45_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71e54006360dce230dd854eafb67f360.jpg","text":"TemporaryFile(/tmp/multipartBody1484828279156906696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409663739,"filename":"image_23042025_13_59_05_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353039628","file1":"1353039593","file0":"1353039551","file4":"1353039710","file5":"1353039763","file3":"1353039677"},"map_files_photo_id_array":[{"photo_id":"1353039763","filename":"file5"},{"photo_id":"1353039628","filename":"file2"},{"photo_id":"1353039710","filename":"file4"},{"photo_id":"1353039593","filename":"file1"},{"photo_id":"1353039551","filename":"file0"},{"photo_id":"1353039677","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353039763":["hashtag1","hashtag2"]},{"1353039628":["hashtag1","hashtag2"]},{"1353039593":["hashtag1","hashtag2"]},{"1353039677":["hashtag1","hashtag2"]},{"1353039551":["hashtag1","hashtag2"]},{"1353039710":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353039763, 1353039628, 1353039593, 1353039677, 1353039551, 1353039710)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.948466300964355 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:01:02.955501
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_45_10734.jpg', 2), ('/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_35_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_25_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_15_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/13/59/image_23042025_14_00_05_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_55_9716.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_45_10734.jpg', '/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_35_9719.jpg', '/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_25_9727.jpg', '/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_15_10592.jpg', '/home/nano/Desktop/images/23042025/13/59/image_23042025_14_00_05_9720.jpg', '/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_55_9716.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_45_10734.jpg
/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_35_9719.jpg
/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_25_9727.jpg
/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_15_10592.jpg
/home/nano/Desktop/images/23042025/13/59/image_23042025_14_00_05_9720.jpg
/home/nano/Desktop/images/23042025/13/59/image_23042025_13_59_55_9716.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353040162","1353040051","1353039998","1353040026","1353040104","1353040076"],"photo_ids_order":["1353039998","1353040026","1353040051","1353040076","1353040104","1353040162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a91722f2f139ef73523010e0754be209.jpg","text":"TemporaryFile(/tmp/multipartBody4032351567132056850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409724264,"filename":"image_23042025_13_59_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ff2d2c495e8239786c0bfc42b28e00d.jpg","text":"TemporaryFile(/tmp/multipartBody7433317255582916256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409724264,"filename":"image_23042025_14_00_25_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef747698604361449c77c2dc2aba0510.jpg","text":"TemporaryFile(/tmp/multipartBody1552065563342542929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409724264,"filename":"image_23042025_14_00_45_10734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f50575a5dde804e8fe71a7f4ed2bdb6d.jpg","text":"TemporaryFile(/tmp/multipartBody3740768951464874153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409724264,"filename":"image_23042025_14_00_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c86367ad1f599724b1d31770b64a0e37.jpg","text":"TemporaryFile(/tmp/multipartBody7964695072764054107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409724264,"filename":"image_23042025_14_00_05_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8f31f00c819909c2596b1613364f395.jpg","text":"TemporaryFile(/tmp/multipartBody4464918100677870119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409724264,"filename":"image_23042025_14_00_15_10592.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353040051","file1":"1353040026","file0":"1353039998","file4":"1353040104","file5":"1353040162","file3":"1353040076"},"map_files_photo_id_array":[{"photo_id":"1353040162","filename":"file5"},{"photo_id":"1353040051","filename":"file2"},{"photo_id":"1353040104","filename":"file4"},{"photo_id":"1353040026","filename":"file1"},{"photo_id":"1353039998","filename":"file0"},{"photo_id":"1353040076","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353040162":["hashtag1","hashtag2"]},{"1353040051":["hashtag1","hashtag2"]},{"1353039998":["hashtag1","hashtag2"]},{"1353040026":["hashtag1","hashtag2"]},{"1353040104":["hashtag1","hashtag2"]},{"1353040076":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353040162, 1353040051, 1353039998, 1353040026, 1353040104, 1353040076)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26146697998047 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:02:02.873201
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_45_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_35_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_25_10731.jpg', 2), ('/home/nano/Desktop/images/23042025/14/00/image_23042025_14_01_05_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_55_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_45_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_45_9721.jpg', '/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_35_9723.jpg', '/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_25_10731.jpg', '/home/nano/Desktop/images/23042025/14/00/image_23042025_14_01_05_9728.jpg', '/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_55_9735.jpg', '/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_45_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_45_9721.jpg
/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_35_9723.jpg
/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_25_10731.jpg
/home/nano/Desktop/images/23042025/14/00/image_23042025_14_01_05_9728.jpg
/home/nano/Desktop/images/23042025/14/00/image_23042025_14_00_55_9735.jpg
/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_45_10637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353041065","1353041142","1353041037","1353040959","1353040923","1353041006"],"photo_ids_order":["1353040923","1353040959","1353041006","1353041037","1353041065","1353041142"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c11780a4ec97f77998d3c2a83cfeb8e7.jpg","text":"TemporaryFile(/tmp/multipartBody4923878948715290025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409784545,"filename":"image_23042025_14_00_55_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f9dc882dc2c0615dbb9aea953a1f047.jpg","text":"TemporaryFile(/tmp/multipartBody3129202769184728689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409784545,"filename":"image_23042025_13_58_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acfeaf27811252547bdf585d6f1c98ff.jpg","text":"TemporaryFile(/tmp/multipartBody1794205579861679128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409784545,"filename":"image_23042025_14_01_05_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea0b149675463d47d261579dc661c764.jpg","text":"TemporaryFile(/tmp/multipartBody8256169948647286646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409784545,"filename":"image_23042025_14_01_35_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97f9685094262748c616b1514014e26c.jpg","text":"TemporaryFile(/tmp/multipartBody734073318917202087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409784545,"filename":"image_23042025_14_01_45_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82e304750a3702025cb2460aa70e08a2.jpg","text":"TemporaryFile(/tmp/multipartBody2102946775555355965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409784545,"filename":"image_23042025_14_01_25_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353041006","file1":"1353040959","file0":"1353040923","file4":"1353041065","file5":"1353041142","file3":"1353041037"},"map_files_photo_id_array":[{"photo_id":"1353041142","filename":"file5"},{"photo_id":"1353041006","filename":"file2"},{"photo_id":"1353041065","filename":"file4"},{"photo_id":"1353040959","filename":"file1"},{"photo_id":"1353040923","filename":"file0"},{"photo_id":"1353041037","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353041065":["hashtag1","hashtag2"]},{"1353041142":["hashtag1","hashtag2"]},{"1353041037":["hashtag1","hashtag2"]},{"1353040959":["hashtag1","hashtag2"]},{"1353040923":["hashtag1","hashtag2"]},{"1353041006":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353041065, 1353041142, 1353041037, 1353040959, 1353040923, 1353041006)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.99197244644165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:03:03.162092
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_45_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_35_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_25_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_15_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/14/01/image_23042025_14_02_05_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_55_10730.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_45_9634.jpg', '/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_35_10730.jpg', '/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_25_9719.jpg', '/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_15_9728.jpg', '/home/nano/Desktop/images/23042025/14/01/image_23042025_14_02_05_9728.jpg', '/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_55_10730.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_45_9634.jpg
/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_35_10730.jpg
/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_25_9719.jpg
/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_15_9728.jpg
/home/nano/Desktop/images/23042025/14/01/image_23042025_14_02_05_9728.jpg
/home/nano/Desktop/images/23042025/14/01/image_23042025_14_01_55_10730.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353041781","1353041870","1353041831","1353041648","1353041726","1353041596"],"photo_ids_order":["1353041596","1353041648","1353041726","1353041781","1353041831","1353041870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d60c82a1a793a34976be2ee603027e7.jpg","text":"TemporaryFile(/tmp/multipartBody3902053597964995184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409844849,"filename":"image_23042025_14_02_15_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4be10440c2963e04781fccf253e4a5b.jpg","text":"TemporaryFile(/tmp/multipartBody7700890416917471900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409844849,"filename":"image_23042025_14_01_55_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b536f086666d88e78e53f3297284b37.jpg","text":"TemporaryFile(/tmp/multipartBody3258425444409660300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409844849,"filename":"image_23042025_14_02_05_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36efdfab94c45cc5c4dd283bf9066972.jpg","text":"TemporaryFile(/tmp/multipartBody3358793959469168798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409844849,"filename":"image_23042025_14_02_35_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7a5a1ec2a0703712caa0d4c14781605.jpg","text":"TemporaryFile(/tmp/multipartBody7944751572051924745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409844849,"filename":"image_23042025_14_02_25_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/46b1eb6be1ea4fe94957853caf9dae8b.jpg","text":"TemporaryFile(/tmp/multipartBody498061254309420937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409844849,"filename":"image_23042025_14_02_45_9634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353041726","file1":"1353041648","file0":"1353041596","file4":"1353041831","file5":"1353041870","file3":"1353041781"},"map_files_photo_id_array":[{"photo_id":"1353041870","filename":"file5"},{"photo_id":"1353041726","filename":"file2"},{"photo_id":"1353041831","filename":"file4"},{"photo_id":"1353041648","filename":"file1"},{"photo_id":"1353041596","filename":"file0"},{"photo_id":"1353041781","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353041781":["hashtag1","hashtag2"]},{"1353041870":["hashtag1","hashtag2"]},{"1353041831":["hashtag1","hashtag2"]},{"1353041648":["hashtag1","hashtag2"]},{"1353041726":["hashtag1","hashtag2"]},{"1353041596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353041781, 1353041870, 1353041831, 1353041648, 1353041726, 1353041596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98070001602173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:04:03.304079
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_45_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_35_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_25_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_15_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/14/02/image_23042025_14_03_05_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_55_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_45_9647.jpg', '/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_35_10660.jpg', '/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_25_9661.jpg', '/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_15_9691.jpg', '/home/nano/Desktop/images/23042025/14/02/image_23042025_14_03_05_10708.jpg', '/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_55_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_45_9647.jpg
/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_35_10660.jpg
/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_25_9661.jpg
/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_15_9691.jpg
/home/nano/Desktop/images/23042025/14/02/image_23042025_14_03_05_10708.jpg
/home/nano/Desktop/images/23042025/14/02/image_23042025_14_02_55_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353042301","1353042360","1353042252","1353042365","1353042350","1353042332"],"photo_ids_order":["1353042252","1353042301","1353042332","1353042350","1353042360","1353042365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2a8850ebac6a85cce5f0de019a5fba2.jpg","text":"TemporaryFile(/tmp/multipartBody8602536476390291888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409904459,"filename":"image_23042025_14_03_35_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc37bef1b0cf4f2ca49cb96981ac4664.jpg","text":"TemporaryFile(/tmp/multipartBody6945982710161204460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409904459,"filename":"image_23042025_14_03_05_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e51e781caf48d1b131c913256456098e.jpg","text":"TemporaryFile(/tmp/multipartBody5773555316771162084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409904459,"filename":"image_23042025_14_03_45_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86171a540e6c5d1cff84c8aae86639b7.jpg","text":"TemporaryFile(/tmp/multipartBody982265132096416996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409904459,"filename":"image_23042025_14_02_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0576b105224d9097b0dac933a5461fa9.jpg","text":"TemporaryFile(/tmp/multipartBody592217814956149339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409904459,"filename":"image_23042025_14_03_15_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c0f8a831b2f5b10051d003e366ef051.jpg","text":"TemporaryFile(/tmp/multipartBody7756954448756056436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409904459,"filename":"image_23042025_14_03_25_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353042332","file1":"1353042301","file0":"1353042252","file4":"1353042360","file5":"1353042365","file3":"1353042350"},"map_files_photo_id_array":[{"photo_id":"1353042365","filename":"file5"},{"photo_id":"1353042332","filename":"file2"},{"photo_id":"1353042360","filename":"file4"},{"photo_id":"1353042301","filename":"file1"},{"photo_id":"1353042252","filename":"file0"},{"photo_id":"1353042350","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353042301":["hashtag1","hashtag2"]},{"1353042360":["hashtag1","hashtag2"]},{"1353042252":["hashtag1","hashtag2"]},{"1353042365":["hashtag1","hashtag2"]},{"1353042350":["hashtag1","hashtag2"]},{"1353042332":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353042301, 1353042360, 1353042252, 1353042365, 1353042350, 1353042332)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.664589405059814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:05:03.338099
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_45_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_35_10598.jpg', 2), ('/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_15_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/14/03/image_23042025_14_04_05_10694.jpg', 2), ('/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_55_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_35_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_45_9631.jpg', '/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_35_10598.jpg', '/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_15_9676.jpg', '/home/nano/Desktop/images/23042025/14/03/image_23042025_14_04_05_10694.jpg', '/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_55_9635.jpg', '/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_35_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_45_9631.jpg
/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_35_10598.jpg
/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_15_9676.jpg
/home/nano/Desktop/images/23042025/14/03/image_23042025_14_04_05_10694.jpg
/home/nano/Desktop/images/23042025/14/03/image_23042025_14_03_55_9635.jpg
/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_35_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353042458","1353042484","1353042463","1353042472","1353042466","1353042454"],"photo_ids_order":["1353042454","1353042458","1353042463","1353042466","1353042472","1353042484"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6c6873aca6c9ff050558cd929404c07.jpg","text":"TemporaryFile(/tmp/multipartBody4117606351070120060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409964984,"filename":"image_23042025_14_04_35_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72aa77ece0050a9ad61a3c9b7d08e577.jpg","text":"TemporaryFile(/tmp/multipartBody4236546249698452180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409964984,"filename":"image_23042025_13_58_35_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d46d114b94082f927faeed6aefb9c3d.jpg","text":"TemporaryFile(/tmp/multipartBody2288013701929684075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409964984,"filename":"image_23042025_14_04_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d98a5ef83bd3f834d0ed476fdcc4130b.jpg","text":"TemporaryFile(/tmp/multipartBody7059751280334575683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409964984,"filename":"image_23042025_14_03_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9403bf2a5cab3f673376e03f32b225f5.jpg","text":"TemporaryFile(/tmp/multipartBody1187999514726275057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409964984,"filename":"image_23042025_14_04_05_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba0702abf0ad6f25d59dae9eec8f74f2.jpg","text":"TemporaryFile(/tmp/multipartBody4832746412090974215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745409964984,"filename":"image_23042025_14_04_45_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353042463","file1":"1353042458","file0":"1353042454","file4":"1353042472","file5":"1353042484","file3":"1353042466"},"map_files_photo_id_array":[{"photo_id":"1353042484","filename":"file5"},{"photo_id":"1353042463","filename":"file2"},{"photo_id":"1353042472","filename":"file4"},{"photo_id":"1353042458","filename":"file1"},{"photo_id":"1353042454","filename":"file0"},{"photo_id":"1353042466","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353042458":["hashtag1","hashtag2"]},{"1353042484":["hashtag1","hashtag2"]},{"1353042463":["hashtag1","hashtag2"]},{"1353042472":["hashtag1","hashtag2"]},{"1353042466":["hashtag1","hashtag2"]},{"1353042454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353042458, 1353042484, 1353042463, 1353042472, 1353042466, 1353042454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.36265206336975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:06:02.384279
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_45_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_35_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_15_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/14/04/image_23042025_14_05_05_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_55_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_45_9657.jpg', '/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_35_10654.jpg', '/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_25_9637.jpg', '/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_15_9676.jpg', '/home/nano/Desktop/images/23042025/14/04/image_23042025_14_05_05_10665.jpg', '/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_55_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_45_9657.jpg
/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_35_10654.jpg
/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_25_9637.jpg
/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_15_9676.jpg
/home/nano/Desktop/images/23042025/14/04/image_23042025_14_05_05_10665.jpg
/home/nano/Desktop/images/23042025/14/04/image_23042025_14_04_55_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353042727","1353042780","1353042801","1353042810","1353042755","1353042701"],"photo_ids_order":["1353042701","1353042727","1353042755","1353042780","1353042801","1353042810"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/885a35c15cc7b14ef4700c18f42a015d.jpg","text":"TemporaryFile(/tmp/multipartBody4061524902337874223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410023539,"filename":"image_23042025_14_05_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15db032ee5a9ebc27b119594369c7ca8.jpg","text":"TemporaryFile(/tmp/multipartBody6314841187321121939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410023539,"filename":"image_23042025_14_05_15_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9afe11435a1c3bd8fa2301da8cb7d238.jpg","text":"TemporaryFile(/tmp/multipartBody981036119056005659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410023539,"filename":"image_23042025_14_05_05_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/206a5218a55a4f113c42b7436300b52a.jpg","text":"TemporaryFile(/tmp/multipartBody4921390070934022928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410023539,"filename":"image_23042025_14_04_55_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab1d749802be95055693d03b658fbca7.jpg","text":"TemporaryFile(/tmp/multipartBody371976155952591979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410023539,"filename":"image_23042025_14_05_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee5d9a0ab53378c6567530f230df8742.jpg","text":"TemporaryFile(/tmp/multipartBody8219716287299897876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410023539,"filename":"image_23042025_14_05_45_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353042755","file1":"1353042727","file0":"1353042701","file4":"1353042801","file5":"1353042810","file3":"1353042780"},"map_files_photo_id_array":[{"photo_id":"1353042810","filename":"file5"},{"photo_id":"1353042755","filename":"file2"},{"photo_id":"1353042801","filename":"file4"},{"photo_id":"1353042727","filename":"file1"},{"photo_id":"1353042701","filename":"file0"},{"photo_id":"1353042780","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353042727":["hashtag1","hashtag2"]},{"1353042780":["hashtag1","hashtag2"]},{"1353042801":["hashtag1","hashtag2"]},{"1353042810":["hashtag1","hashtag2"]},{"1353042755":["hashtag1","hashtag2"]},{"1353042701":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353042727, 1353042780, 1353042801, 1353042810, 1353042755, 1353042701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.790301084518433 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:07:02.630555
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_45_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_35_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_25_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_15_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/14/05/image_23042025_14_06_05_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_54_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_45_9661.jpg', '/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_35_10661.jpg', '/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_25_9651.jpg', '/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_15_9673.jpg', '/home/nano/Desktop/images/23042025/14/05/image_23042025_14_06_05_10683.jpg', '/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_54_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_45_9661.jpg
/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_35_10661.jpg
/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_25_9651.jpg
/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_15_9673.jpg
/home/nano/Desktop/images/23042025/14/05/image_23042025_14_06_05_10683.jpg
/home/nano/Desktop/images/23042025/14/05/image_23042025_14_05_54_9653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353042993","1353042942","1353043020","1353043017","1353042964","1353043015"],"photo_ids_order":["1353042942","1353042964","1353042993","1353043015","1353043017","1353043020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a478448efd453968386bfadbd37680f.jpg","text":"TemporaryFile(/tmp/multipartBody745216375807768796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410084095,"filename":"image_23042025_14_06_25_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01165cc6b5e7a12dca8098799ccd9333.jpg","text":"TemporaryFile(/tmp/multipartBody4620091693973310643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410084095,"filename":"image_23042025_14_06_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97413990d6e3423add0b51f87fc2ca85.jpg","text":"TemporaryFile(/tmp/multipartBody6155584280058369425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410084095,"filename":"image_23042025_14_05_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/291af50de218d91b302b8550b17b819b.jpg","text":"TemporaryFile(/tmp/multipartBody8010619227989190513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410084095,"filename":"image_23042025_14_06_05_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b822041179d9712fc443e530207a2d2.jpg","text":"TemporaryFile(/tmp/multipartBody7017372865071650449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410084095,"filename":"image_23042025_14_06_35_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2aa54cd3670c9499355edb951951816.jpg","text":"TemporaryFile(/tmp/multipartBody8516078474732765937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410084095,"filename":"image_23042025_14_06_15_9673.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353042993","file1":"1353042964","file0":"1353042942","file4":"1353043017","file5":"1353043020","file3":"1353043015"},"map_files_photo_id_array":[{"photo_id":"1353043020","filename":"file5"},{"photo_id":"1353042993","filename":"file2"},{"photo_id":"1353043017","filename":"file4"},{"photo_id":"1353042964","filename":"file1"},{"photo_id":"1353042942","filename":"file0"},{"photo_id":"1353043015","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353042993":["hashtag1","hashtag2"]},{"1353042942":["hashtag1","hashtag2"]},{"1353043020":["hashtag1","hashtag2"]},{"1353043017":["hashtag1","hashtag2"]},{"1353042964":["hashtag1","hashtag2"]},{"1353043015":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353042993, 1353042942, 1353043020, 1353043017, 1353042964, 1353043015)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.81509065628052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:08:02.622876
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_45_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_35_9610.jpg', 2), ('/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_25_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_15_9591.jpg', 2), ('/home/nano/Desktop/images/23042025/14/06/image_23042025_14_07_05_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_55_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_45_9635.jpg', '/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_35_9610.jpg', '/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_25_10677.jpg', '/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_15_9591.jpg', '/home/nano/Desktop/images/23042025/14/06/image_23042025_14_07_05_9695.jpg', '/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_55_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_45_9635.jpg
/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_35_9610.jpg
/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_25_10677.jpg
/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_15_9591.jpg
/home/nano/Desktop/images/23042025/14/06/image_23042025_14_07_05_9695.jpg
/home/nano/Desktop/images/23042025/14/06/image_23042025_14_06_55_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353043295","1353043241","1353043217","1353043246","1353043306","1353043266"],"photo_ids_order":["1353043217","1353043241","1353043246","1353043266","1353043295","1353043306"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29dcde43b9936fbdf11ce89ef23c3cb1.jpg","text":"TemporaryFile(/tmp/multipartBody217757669106603502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410143696,"filename":"image_23042025_14_07_05_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ade7770998766220873a9161db270b9c.jpg","text":"TemporaryFile(/tmp/multipartBody1013157241913613652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410143696,"filename":"image_23042025_14_07_35_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71b40f2f8a09c4ddd1b5ccae662211cd.jpg","text":"TemporaryFile(/tmp/multipartBody4852280299841297948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410143696,"filename":"image_23042025_14_07_45_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b886f65f19879cd1a4c3c1c6494a6965.jpg","text":"TemporaryFile(/tmp/multipartBody5883240531720368337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410143696,"filename":"image_23042025_14_07_25_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31b95e7bb351ae542ee06dc09aa58625.jpg","text":"TemporaryFile(/tmp/multipartBody9105909457281951147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410143696,"filename":"image_23042025_14_06_55_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d264d9a2956de87f23db60eb45081aa7.jpg","text":"TemporaryFile(/tmp/multipartBody6088079245413211467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410143696,"filename":"image_23042025_14_07_15_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353043246","file1":"1353043241","file0":"1353043217","file4":"1353043295","file5":"1353043306","file3":"1353043266"},"map_files_photo_id_array":[{"photo_id":"1353043306","filename":"file5"},{"photo_id":"1353043246","filename":"file2"},{"photo_id":"1353043295","filename":"file4"},{"photo_id":"1353043241","filename":"file1"},{"photo_id":"1353043217","filename":"file0"},{"photo_id":"1353043266","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353043295":["hashtag1","hashtag2"]},{"1353043241":["hashtag1","hashtag2"]},{"1353043217":["hashtag1","hashtag2"]},{"1353043246":["hashtag1","hashtag2"]},{"1353043306":["hashtag1","hashtag2"]},{"1353043266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353043295, 1353043241, 1353043217, 1353043246, 1353043306, 1353043266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.40664982795715 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:09:03.178713
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_15_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/14/07/image_23042025_14_08_05_9585.jpg', 2), ('/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_55_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_15_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_35_9562.jpg', '/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_15_10584.jpg', '/home/nano/Desktop/images/23042025/14/07/image_23042025_14_08_05_9585.jpg', '/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_55_10573.jpg', '/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_25_9643.jpg', '/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_15_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_35_9562.jpg
/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_15_10584.jpg
/home/nano/Desktop/images/23042025/14/07/image_23042025_14_08_05_9585.jpg
/home/nano/Desktop/images/23042025/14/07/image_23042025_14_07_55_10573.jpg
/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_25_9643.jpg
/home/nano/Desktop/images/23042025/13/58/image_23042025_13_58_15_10661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353043446","1353043428","1353043475","1353043427","1353043508","1353043444"],"photo_ids_order":["1353043427","1353043428","1353043444","1353043446","1353043475","1353043508"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f23e7972b49fa961e3d6981327c5c2ea.jpg","text":"TemporaryFile(/tmp/multipartBody185921912010840330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410204231,"filename":"image_23042025_14_07_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0fdcbc16a34483f57475130559bf49c.jpg","text":"TemporaryFile(/tmp/multipartBody3393289755267448755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410204231,"filename":"image_23042025_14_08_15_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d902d86b7cddbde8d36a11b9d32ddc3c.jpg","text":"TemporaryFile(/tmp/multipartBody2528256059332266535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410204231,"filename":"image_23042025_13_58_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e08eb09110e6d6356b05763c38383d02.jpg","text":"TemporaryFile(/tmp/multipartBody7928497078106277810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410204231,"filename":"image_23042025_14_08_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9b0aee4e1126d06360c244f31e60273.jpg","text":"TemporaryFile(/tmp/multipartBody6140372623859706228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410204231,"filename":"image_23042025_13_58_15_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e6a63cf789bcca1639b81db980d4ef0.jpg","text":"TemporaryFile(/tmp/multipartBody6237801914637468253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410204231,"filename":"image_23042025_14_08_05_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353043444","file1":"1353043428","file0":"1353043427","file4":"1353043475","file5":"1353043508","file3":"1353043446"},"map_files_photo_id_array":[{"photo_id":"1353043508","filename":"file5"},{"photo_id":"1353043444","filename":"file2"},{"photo_id":"1353043475","filename":"file4"},{"photo_id":"1353043428","filename":"file1"},{"photo_id":"1353043427","filename":"file0"},{"photo_id":"1353043446","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353043446":["hashtag1","hashtag2"]},{"1353043428":["hashtag1","hashtag2"]},{"1353043475":["hashtag1","hashtag2"]},{"1353043427":["hashtag1","hashtag2"]},{"1353043508":["hashtag1","hashtag2"]},{"1353043444":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353043446, 1353043428, 1353043475, 1353043427, 1353043508, 1353043444)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.671128034591675 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:10:02.671266
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_45_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_35_10744.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_25_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_15_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_45_10567.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_58_05_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_45_9730.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_35_10744.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_25_9729.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_15_9562.jpg', '/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_45_10567.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_58_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_45_9730.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_35_10744.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_25_9729.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_15_9562.jpg
/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_45_10567.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_58_05_9638.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.568070888519287 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:10:32.187701
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_45_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_35_9748.jpg', 2), ('/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_25_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_15_10766.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_10_05_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_55_9733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_45_9736.jpg', '/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_35_9748.jpg', '/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_25_9742.jpg', '/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_15_10766.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_10_05_9754.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_55_9733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_45_9736.jpg
/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_35_9748.jpg
/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_25_9742.jpg
/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_15_10766.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_10_05_9754.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_55_9733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353044114","1353044108","1353044123","1353044062","1353044094","1353044169"],"photo_ids_order":["1353044062","1353044094","1353044108","1353044114","1353044123","1353044169"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a363daa882383401d1afcea09210bae.jpg","text":"TemporaryFile(/tmp/multipartBody3682603113440821554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410293861,"filename":"image_23042025_14_10_15_10766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4cd919f68c61f2e0898f361c9895eb0a.jpg","text":"TemporaryFile(/tmp/multipartBody157218007995630095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410293861,"filename":"image_23042025_14_10_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6946376aa251ad3cdc808c8318a6466.jpg","text":"TemporaryFile(/tmp/multipartBody3268195628687355594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410293861,"filename":"image_23042025_14_10_05_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3052686999ce3886f3092b4b7dc28414.jpg","text":"TemporaryFile(/tmp/multipartBody1910839492349458319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410293861,"filename":"image_23042025_14_10_45_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d26e51b71fa869a418a3bd8a88558f5.jpg","text":"TemporaryFile(/tmp/multipartBody9190547958346595683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410293861,"filename":"image_23042025_14_10_35_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf737cfcbf03163113e5ab4e2acc94a0.jpg","text":"TemporaryFile(/tmp/multipartBody7082724826740748676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410293861,"filename":"image_23042025_14_09_55_9733.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353044108","file1":"1353044094","file0":"1353044062","file4":"1353044123","file5":"1353044169","file3":"1353044114"},"map_files_photo_id_array":[{"photo_id":"1353044169","filename":"file5"},{"photo_id":"1353044108","filename":"file2"},{"photo_id":"1353044123","filename":"file4"},{"photo_id":"1353044094","filename":"file1"},{"photo_id":"1353044062","filename":"file0"},{"photo_id":"1353044114","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353044114":["hashtag1","hashtag2"]},{"1353044108":["hashtag1","hashtag2"]},{"1353044123":["hashtag1","hashtag2"]},{"1353044062":["hashtag1","hashtag2"]},{"1353044094":["hashtag1","hashtag2"]},{"1353044169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353044114, 1353044108, 1353044123, 1353044062, 1353044094, 1353044169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19389867782593 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:11:32.383150
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_45_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_35_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_25_10723.jpg', 2), ('/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_15_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/14/10/image_23042025_14_11_05_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_55_10739.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_45_9715.jpg', '/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_35_9714.jpg', '/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_25_10723.jpg', '/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_15_9731.jpg', '/home/nano/Desktop/images/23042025/14/10/image_23042025_14_11_05_9718.jpg', '/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_55_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_45_9715.jpg
/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_35_9714.jpg
/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_25_10723.jpg
/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_15_9731.jpg
/home/nano/Desktop/images/23042025/14/10/image_23042025_14_11_05_9718.jpg
/home/nano/Desktop/images/23042025/14/10/image_23042025_14_10_55_10739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353044597","1353044651","1353044528","1353044641","1353044629","1353044655"],"photo_ids_order":["1353044528","1353044597","1353044629","1353044641","1353044651","1353044655"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f528882c32e5a443c82e1fffa5fa7ee.jpg","text":"TemporaryFile(/tmp/multipartBody4162995003841490978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410354071,"filename":"image_23042025_14_11_35_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6458cbf4a1e2d9d47a19704347d4adc.jpg","text":"TemporaryFile(/tmp/multipartBody1750658355796685567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410354071,"filename":"image_23042025_14_11_05_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68f7b365a4c6194c16fb9ee06bedd759.jpg","text":"TemporaryFile(/tmp/multipartBody1107299644944797169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410354071,"filename":"image_23042025_14_11_45_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1058dc141fe6d2f875958fd360d8516.jpg","text":"TemporaryFile(/tmp/multipartBody8194468668845092427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410354071,"filename":"image_23042025_14_11_15_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/624e39876a73905ea2e6606b98be203a.jpg","text":"TemporaryFile(/tmp/multipartBody2282851074337077607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410354071,"filename":"image_23042025_14_11_25_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38e63f9a6678983af3db285a498f5641.jpg","text":"TemporaryFile(/tmp/multipartBody1806829483411469728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410354071,"filename":"image_23042025_14_10_55_10739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353044629","file1":"1353044597","file0":"1353044528","file4":"1353044651","file5":"1353044655","file3":"1353044641"},"map_files_photo_id_array":[{"photo_id":"1353044655","filename":"file5"},{"photo_id":"1353044629","filename":"file2"},{"photo_id":"1353044651","filename":"file4"},{"photo_id":"1353044597","filename":"file1"},{"photo_id":"1353044528","filename":"file0"},{"photo_id":"1353044641","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353044597":["hashtag1","hashtag2"]},{"1353044651":["hashtag1","hashtag2"]},{"1353044528":["hashtag1","hashtag2"]},{"1353044641":["hashtag1","hashtag2"]},{"1353044629":["hashtag1","hashtag2"]},{"1353044655":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353044597, 1353044651, 1353044528, 1353044641, 1353044629, 1353044655)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.08378052711487 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:12:32.441324
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_25_9749.jpg', 2), ('/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_15_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/14/11/image_23042025_14_12_05_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_55_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_45_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_35_10744.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_25_9749.jpg', '/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_15_9727.jpg', '/home/nano/Desktop/images/23042025/14/11/image_23042025_14_12_05_10740.jpg', '/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_55_9716.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_45_9730.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_35_10744.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_25_9749.jpg
/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_15_9727.jpg
/home/nano/Desktop/images/23042025/14/11/image_23042025_14_12_05_10740.jpg
/home/nano/Desktop/images/23042025/14/11/image_23042025_14_11_55_9716.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_45_9730.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_35_10744.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353044789","1353044852","1353044837","1353044848","1353044842","1353044818"],"photo_ids_order":["1353044789","1353044818","1353044837","1353044842","1353044848","1353044852"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/346feee5f9bd37f26439a56101fb0a13.jpg","text":"TemporaryFile(/tmp/multipartBody1110805041532863522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410414380,"filename":"image_23042025_14_12_25_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7a17c6a235dd3f08ae7c104c4e69244.jpg","text":"TemporaryFile(/tmp/multipartBody6244550178794830577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410414380,"filename":"image_23042025_14_09_35_10744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04beb0b8b3940c05199d0cb694e2aae5.jpg","text":"TemporaryFile(/tmp/multipartBody704270350952780571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410414380,"filename":"image_23042025_14_12_05_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02dafc1bc9f5069c33a957eea93fcf1a.jpg","text":"TemporaryFile(/tmp/multipartBody7593926383061442698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410414380,"filename":"image_23042025_14_09_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d140548463029385f56bd41a5e057a04.jpg","text":"TemporaryFile(/tmp/multipartBody5693312164584250916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410414380,"filename":"image_23042025_14_11_55_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5dbd22648f6e016210c18d411fdeb215.jpg","text":"TemporaryFile(/tmp/multipartBody4404816527473721081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410414380,"filename":"image_23042025_14_12_15_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353044837","file1":"1353044818","file0":"1353044789","file4":"1353044848","file5":"1353044852","file3":"1353044842"},"map_files_photo_id_array":[{"photo_id":"1353044852","filename":"file5"},{"photo_id":"1353044837","filename":"file2"},{"photo_id":"1353044848","filename":"file4"},{"photo_id":"1353044818","filename":"file1"},{"photo_id":"1353044789","filename":"file0"},{"photo_id":"1353044842","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353044789":["hashtag1","hashtag2"]},{"1353044852":["hashtag1","hashtag2"]},{"1353044837":["hashtag1","hashtag2"]},{"1353044848":["hashtag1","hashtag2"]},{"1353044842":["hashtag1","hashtag2"]},{"1353044818":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353044789, 1353044852, 1353044837, 1353044848, 1353044842, 1353044818)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32576012611389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:13:32.555861
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/13/image_23042025_14_13_25_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_55_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_25_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_15_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_45_10567.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_58_05_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/13/image_23042025_14_13_25_10574.jpg', '/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_55_9561.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_25_9729.jpg', '/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_15_9562.jpg', '/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_45_10567.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_58_05_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/13/image_23042025_14_13_25_10574.jpg
/home/nano/Desktop/images/23042025/14/12/image_23042025_14_12_55_9561.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_25_9729.jpg
/home/nano/Desktop/images/23042025/14/09/image_23042025_14_09_15_9562.jpg
/home/nano/Desktop/images/23042025/14/08/image_23042025_14_08_45_10567.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_58_05_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045077","1353045071","1353045035","1353045067","1353045084","1353045114"],"photo_ids_order":["1353045035","1353045067","1353045071","1353045077","1353045084","1353045114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7d1293642263db5eade81750e81c3f5.jpg","text":"TemporaryFile(/tmp/multipartBody8622231119944009005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410473781,"filename":"image_23042025_14_09_15_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ab64e593449771f0565ce1e2a04a686.jpg","text":"TemporaryFile(/tmp/multipartBody5332568880883406043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410473781,"filename":"image_23042025_14_09_25_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0924ae6ed5230e3a584ef7f529d231ee.jpg","text":"TemporaryFile(/tmp/multipartBody4259201508496666174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410473781,"filename":"image_23042025_14_13_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b129d1c7f2af7f922fd869e4b57a71b.jpg","text":"TemporaryFile(/tmp/multipartBody4537213111998936640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410473781,"filename":"image_23042025_14_12_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5008ceb5643ef5ab3c50530d470747f.jpg","text":"TemporaryFile(/tmp/multipartBody5073801853861120553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410473781,"filename":"image_23042025_14_08_45_10567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47ece55610ca51cd03d0c787b174dd98.jpg","text":"TemporaryFile(/tmp/multipartBody2566867381823933123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410473781,"filename":"image_23042025_13_58_05_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045071","file1":"1353045067","file0":"1353045035","file4":"1353045084","file5":"1353045114","file3":"1353045077"},"map_files_photo_id_array":[{"photo_id":"1353045114","filename":"file5"},{"photo_id":"1353045071","filename":"file2"},{"photo_id":"1353045084","filename":"file4"},{"photo_id":"1353045067","filename":"file1"},{"photo_id":"1353045035","filename":"file0"},{"photo_id":"1353045077","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045077":["hashtag1","hashtag2"]},{"1353045071":["hashtag1","hashtag2"]},{"1353045035":["hashtag1","hashtag2"]},{"1353045067":["hashtag1","hashtag2"]},{"1353045084":["hashtag1","hashtag2"]},{"1353045114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045077, 1353045071, 1353045035, 1353045067, 1353045084, 1353045114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.101569175720215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:14:32.651034
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_25_9586.jpg', 2), ('/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/14/13/image_23042025_14_14_05_9598.jpg', 2), ('/home/nano/Desktop/images/23042025/14/13/image_23042025_14_13_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_55_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_35_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_25_9586.jpg', '/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_15_10594.jpg', '/home/nano/Desktop/images/23042025/14/13/image_23042025_14_14_05_9598.jpg', '/home/nano/Desktop/images/23042025/14/13/image_23042025_14_13_45_10571.jpg', '/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_55_9640.jpg', '/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_35_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_25_9586.jpg
/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_15_10594.jpg
/home/nano/Desktop/images/23042025/14/13/image_23042025_14_14_05_9598.jpg
/home/nano/Desktop/images/23042025/14/13/image_23042025_14_13_45_10571.jpg
/home/nano/Desktop/images/23042025/13/57/image_23042025_13_57_55_9640.jpg
/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_35_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045356","1353045335","1353045329","1353045320","1353045351","1353045324"],"photo_ids_order":["1353045320","1353045324","1353045329","1353045335","1353045351","1353045356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eea876b933a17489cef0610823fe4a1f.jpg","text":"TemporaryFile(/tmp/multipartBody2689223792863794333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410533506,"filename":"image_23042025_12_58_35_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72ee65f1c8f15f79bc99368ee45e2dc3.jpg","text":"TemporaryFile(/tmp/multipartBody6507821463480476900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410533506,"filename":"image_23042025_14_13_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb3f3e41926f32ea0109367edff9bc6d.jpg","text":"TemporaryFile(/tmp/multipartBody9006487822982411197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410533506,"filename":"image_23042025_14_14_05_9598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/405b3ce53315e72854fdd080752a4963.jpg","text":"TemporaryFile(/tmp/multipartBody2697526169552708859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410533506,"filename":"image_23042025_14_14_25_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76606cfcc382f2a8420bf87bd7648e39.jpg","text":"TemporaryFile(/tmp/multipartBody1534704532480786225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410533506,"filename":"image_23042025_13_57_55_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be2eaafceb314b3302c2bab7fb48a19c.jpg","text":"TemporaryFile(/tmp/multipartBody884071675319341311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410533506,"filename":"image_23042025_14_14_15_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045329","file1":"1353045324","file0":"1353045320","file4":"1353045351","file5":"1353045356","file3":"1353045335"},"map_files_photo_id_array":[{"photo_id":"1353045356","filename":"file5"},{"photo_id":"1353045329","filename":"file2"},{"photo_id":"1353045351","filename":"file4"},{"photo_id":"1353045324","filename":"file1"},{"photo_id":"1353045320","filename":"file0"},{"photo_id":"1353045335","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045356":["hashtag1","hashtag2"]},{"1353045335":["hashtag1","hashtag2"]},{"1353045329":["hashtag1","hashtag2"]},{"1353045320":["hashtag1","hashtag2"]},{"1353045351":["hashtag1","hashtag2"]},{"1353045324":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045356, 1353045335, 1353045329, 1353045320, 1353045351, 1353045324)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.754518032073975 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:15:32.769458
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_45_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_15_9596.jpg', 2), ('/home/nano/Desktop/images/23042025/14/14/image_23042025_14_15_05_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_15_10679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_45_10571.jpg', '/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_15_9596.jpg', '/home/nano/Desktop/images/23042025/14/14/image_23042025_14_15_05_9578.jpg', '/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_35_10569.jpg', '/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_25_9636.jpg', '/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_15_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_45_10571.jpg
/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_15_9596.jpg
/home/nano/Desktop/images/23042025/14/14/image_23042025_14_15_05_9578.jpg
/home/nano/Desktop/images/23042025/14/14/image_23042025_14_14_35_10569.jpg
/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_25_9636.jpg
/home/nano/Desktop/images/23042025/12/58/image_23042025_12_58_15_10679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045440","1353045412","1353045421","1353045409","1353045432","1353045405"],"photo_ids_order":["1353045405","1353045409","1353045412","1353045421","1353045432","1353045440"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3076011182f9ff11ae7c1058d3af2a81.jpg","text":"TemporaryFile(/tmp/multipartBody8448114458442246196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410593899,"filename":"image_23042025_12_58_15_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f86da1d0b314ad0e8108dc735710789.jpg","text":"TemporaryFile(/tmp/multipartBody1743954034079565915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410593899,"filename":"image_23042025_14_15_05_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3165fb3915720004c9ebed1f941a589a.jpg","text":"TemporaryFile(/tmp/multipartBody3526933825254578486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410593899,"filename":"image_23042025_14_14_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a18bb5fb8c19ba3580e955d433c7c4d4.jpg","text":"TemporaryFile(/tmp/multipartBody4823902990476145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410593899,"filename":"image_23042025_14_15_15_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6adfdc852b837f611f65c269ae1a33c9.jpg","text":"TemporaryFile(/tmp/multipartBody1803025160515388434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410593899,"filename":"image_23042025_12_58_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f434261b80419b0ef0e218db33ac7c7.jpg","text":"TemporaryFile(/tmp/multipartBody4602781351764895749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410593899,"filename":"image_23042025_14_15_45_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045412","file1":"1353045409","file0":"1353045405","file4":"1353045432","file5":"1353045440","file3":"1353045421"},"map_files_photo_id_array":[{"photo_id":"1353045440","filename":"file5"},{"photo_id":"1353045412","filename":"file2"},{"photo_id":"1353045432","filename":"file4"},{"photo_id":"1353045409","filename":"file1"},{"photo_id":"1353045405","filename":"file0"},{"photo_id":"1353045421","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045440":["hashtag1","hashtag2"]},{"1353045412":["hashtag1","hashtag2"]},{"1353045421":["hashtag1","hashtag2"]},{"1353045409":["hashtag1","hashtag2"]},{"1353045432":["hashtag1","hashtag2"]},{"1353045405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045440, 1353045412, 1353045421, 1353045409, 1353045432, 1353045405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.778692960739136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:16:31.881043
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_15_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/14/15/image_23042025_14_16_05_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_55_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/12/57/image_23042025_12_58_05_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_35_10572.jpg', '/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_25_9563.jpg', '/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_15_9574.jpg', '/home/nano/Desktop/images/23042025/14/15/image_23042025_14_16_05_10580.jpg', '/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_55_9563.jpg', '/home/nano/Desktop/images/23042025/12/57/image_23042025_12_58_05_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_35_10572.jpg
/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_25_9563.jpg
/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_15_9574.jpg
/home/nano/Desktop/images/23042025/14/15/image_23042025_14_16_05_10580.jpg
/home/nano/Desktop/images/23042025/14/15/image_23042025_14_15_55_9563.jpg
/home/nano/Desktop/images/23042025/12/57/image_23042025_12_58_05_9674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045473","1353045487","1353045483","1353045468","1353045476","1353045479"],"photo_ids_order":["1353045468","1353045473","1353045476","1353045479","1353045483","1353045487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/feaef3e9f2ef6efcbf6e12b8ddc719cc.jpg","text":"TemporaryFile(/tmp/multipartBody1642448715116471459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410652860,"filename":"image_23042025_14_16_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0ed6e040f45fdcafa77f90bdeec6f4d.jpg","text":"TemporaryFile(/tmp/multipartBody3537858228801691570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410652860,"filename":"image_23042025_12_58_05_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a9eb63cb36450198f4f0b46fa8cec51.jpg","text":"TemporaryFile(/tmp/multipartBody5589449123349014778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410652860,"filename":"image_23042025_14_15_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12e5f8a382b3c436601402e41c15996e.jpg","text":"TemporaryFile(/tmp/multipartBody445433005428136860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410652860,"filename":"image_23042025_14_16_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10a12b038536b0b3d12b50f6272b879e.jpg","text":"TemporaryFile(/tmp/multipartBody5006641262604370424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410652860,"filename":"image_23042025_14_16_15_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c46804ba5b1f245f98dfb7d0abd5b48.jpg","text":"TemporaryFile(/tmp/multipartBody1230633684155408488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410652860,"filename":"image_23042025_14_16_05_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045476","file1":"1353045473","file0":"1353045468","file4":"1353045483","file5":"1353045487","file3":"1353045479"},"map_files_photo_id_array":[{"photo_id":"1353045487","filename":"file5"},{"photo_id":"1353045476","filename":"file2"},{"photo_id":"1353045483","filename":"file4"},{"photo_id":"1353045473","filename":"file1"},{"photo_id":"1353045468","filename":"file0"},{"photo_id":"1353045479","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045473":["hashtag1","hashtag2"]},{"1353045487":["hashtag1","hashtag2"]},{"1353045483":["hashtag1","hashtag2"]},{"1353045468":["hashtag1","hashtag2"]},{"1353045476":["hashtag1","hashtag2"]},{"1353045479":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045473, 1353045487, 1353045483, 1353045468, 1353045476, 1353045479)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.603914976119995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:17:31.974083
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_45_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_25_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_15_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_45_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_55_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_45_10574.jpg', '/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_35_9562.jpg', '/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_25_9563.jpg', '/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_15_10574.jpg', '/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_45_9565.jpg', '/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_55_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_45_10574.jpg
/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_35_9562.jpg
/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_25_9563.jpg
/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_15_10574.jpg
/home/nano/Desktop/images/23042025/14/16/image_23042025_14_16_45_9565.jpg
/home/nano/Desktop/images/23042025/12/57/image_23042025_12_57_55_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045524","1353045541","1353045538","1353045511","1353045517","1353045531"],"photo_ids_order":["1353045511","1353045517","1353045524","1353045531","1353045538","1353045541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bbc311b1c994f7a17672c4030b72b7e.jpg","text":"TemporaryFile(/tmp/multipartBody3280517373010863143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410713158,"filename":"image_23042025_14_17_25_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2fc6c6095e7a6b341cc9d4b9a65a59a.jpg","text":"TemporaryFile(/tmp/multipartBody1619073574573568279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410713158,"filename":"image_23042025_12_57_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7bee44e4aa7e489328f45bf76e0dd4a3.jpg","text":"TemporaryFile(/tmp/multipartBody7034163096021379856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410713158,"filename":"image_23042025_14_16_45_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/911c206e59eac88ec880289e4d151cb1.jpg","text":"TemporaryFile(/tmp/multipartBody6064585899481003954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410713158,"filename":"image_23042025_14_17_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bd947e40c5ca318bd455291bf55c10c.jpg","text":"TemporaryFile(/tmp/multipartBody1874868663441533045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410713158,"filename":"image_23042025_14_17_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7adb7ae2bc66483acaec7faee65b9fdf.jpg","text":"TemporaryFile(/tmp/multipartBody1408427336564709872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410713158,"filename":"image_23042025_14_17_15_10574.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045524","file1":"1353045517","file0":"1353045511","file4":"1353045538","file5":"1353045541","file3":"1353045531"},"map_files_photo_id_array":[{"photo_id":"1353045541","filename":"file5"},{"photo_id":"1353045524","filename":"file2"},{"photo_id":"1353045538","filename":"file4"},{"photo_id":"1353045517","filename":"file1"},{"photo_id":"1353045511","filename":"file0"},{"photo_id":"1353045531","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045524":["hashtag1","hashtag2"]},{"1353045541":["hashtag1","hashtag2"]},{"1353045538":["hashtag1","hashtag2"]},{"1353045511":["hashtag1","hashtag2"]},{"1353045517":["hashtag1","hashtag2"]},{"1353045531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045524, 1353045541, 1353045538, 1353045511, 1353045517, 1353045531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.38285970687866 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:18:32.066941
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_25_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_55_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_25_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_15_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/11/57/image_23042025_11_58_05_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_55_9702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_25_10580.jpg', '/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_55_9563.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_25_9645.jpg', '/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_15_10712.jpg', '/home/nano/Desktop/images/23042025/11/57/image_23042025_11_58_05_9710.jpg', '/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_55_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_25_10580.jpg
/home/nano/Desktop/images/23042025/14/17/image_23042025_14_17_55_9563.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_25_9645.jpg
/home/nano/Desktop/images/23042025/11/58/image_23042025_11_58_15_10712.jpg
/home/nano/Desktop/images/23042025/11/57/image_23042025_11_58_05_9710.jpg
/home/nano/Desktop/images/23042025/11/57/image_23042025_11_57_55_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045572","1353045568","1353045585","1353045576","1353045561","1353045581"],"photo_ids_order":["1353045561","1353045568","1353045572","1353045576","1353045581","1353045585"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02c4ec7073ea57a9a7394729d33b7d46.jpg","text":"TemporaryFile(/tmp/multipartBody7880082484851810943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410773143,"filename":"image_23042025_11_58_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d93fd947ade83182588f0d01bb77c45c.jpg","text":"TemporaryFile(/tmp/multipartBody657776902536026988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410773143,"filename":"image_23042025_14_17_55_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a8e16525f8bee699da96914250fb57c.jpg","text":"TemporaryFile(/tmp/multipartBody6630961807381910911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410773143,"filename":"image_23042025_11_57_55_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb124e7752dac3b55755362d78303435.jpg","text":"TemporaryFile(/tmp/multipartBody1409644405659316641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410773143,"filename":"image_23042025_11_58_15_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebe7e9255ee60841e458ff6fa5ed61cb.jpg","text":"TemporaryFile(/tmp/multipartBody5995002466075423260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410773143,"filename":"image_23042025_14_18_25_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3c651bfe0d145c08abf80638ba57475.jpg","text":"TemporaryFile(/tmp/multipartBody5187487956702723027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410773143,"filename":"image_23042025_11_58_05_9710.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045572","file1":"1353045568","file0":"1353045561","file4":"1353045581","file5":"1353045585","file3":"1353045576"},"map_files_photo_id_array":[{"photo_id":"1353045585","filename":"file5"},{"photo_id":"1353045572","filename":"file2"},{"photo_id":"1353045581","filename":"file4"},{"photo_id":"1353045568","filename":"file1"},{"photo_id":"1353045561","filename":"file0"},{"photo_id":"1353045576","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045572":["hashtag1","hashtag2"]},{"1353045568":["hashtag1","hashtag2"]},{"1353045585":["hashtag1","hashtag2"]},{"1353045576":["hashtag1","hashtag2"]},{"1353045561":["hashtag1","hashtag2"]},{"1353045581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045572, 1353045568, 1353045585, 1353045576, 1353045561, 1353045581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.10029101371765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:19:32.186198
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_35_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_15_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_45_9561.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_35_10587.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_25_9564.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_15_10586.jpg', '/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_35_9562.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_45_9561.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_35_10587.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_25_9564.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_15_10586.jpg
/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_35_9562.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_45_10642.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.8758337497711182 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:20:02.797008
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_45_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_35_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_25_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_15_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_35_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_45_9561.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_35_10587.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_25_9564.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_15_10586.jpg', '/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_35_9562.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_45_9561.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_35_10587.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_25_9564.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_15_10586.jpg
/home/nano/Desktop/images/23042025/14/18/image_23042025_14_18_35_9562.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_45_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045638","1353045649","1353045640","1353045643","1353045633","1353045636"],"photo_ids_order":["1353045633","1353045636","1353045638","1353045640","1353045643","1353045649"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0f5d901f295787b4ba7c1d1f8b089ad.jpg","text":"TemporaryFile(/tmp/multipartBody8477867613530483754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410863984,"filename":"image_23042025_14_19_25_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c91141733287b4ff3b9a5be7cb422146.jpg","text":"TemporaryFile(/tmp/multipartBody1976222535166748927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410863984,"filename":"image_23042025_11_56_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26d0b8a555f3603f3abc0cfb90d359e1.jpg","text":"TemporaryFile(/tmp/multipartBody3431938750995539972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410863984,"filename":"image_23042025_14_19_15_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af6de20cad790c95e87edc6611e6345e.jpg","text":"TemporaryFile(/tmp/multipartBody6721380739386390141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410863984,"filename":"image_23042025_14_18_35_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67eb4c2c577ea3250da3254dc88ae12a.jpg","text":"TemporaryFile(/tmp/multipartBody4714319983752477258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410863984,"filename":"image_23042025_14_19_45_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e915c2c06d8bb8db215e460294910e9.jpg","text":"TemporaryFile(/tmp/multipartBody5089488275524605025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410863984,"filename":"image_23042025_14_19_35_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045638","file1":"1353045636","file0":"1353045633","file4":"1353045643","file5":"1353045649","file3":"1353045640"},"map_files_photo_id_array":[{"photo_id":"1353045649","filename":"file5"},{"photo_id":"1353045638","filename":"file2"},{"photo_id":"1353045643","filename":"file4"},{"photo_id":"1353045636","filename":"file1"},{"photo_id":"1353045633","filename":"file0"},{"photo_id":"1353045640","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045638":["hashtag1","hashtag2"]},{"1353045649":["hashtag1","hashtag2"]},{"1353045640":["hashtag1","hashtag2"]},{"1353045643":["hashtag1","hashtag2"]},{"1353045633":["hashtag1","hashtag2"]},{"1353045636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045638, 1353045649, 1353045640, 1353045643, 1353045633, 1353045636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.242159843444824 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:21:03.104871
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_45_10568.jpg', 2), ('/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_35_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_15_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_20_05_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_55_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_35_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_45_10568.jpg', '/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_35_9558.jpg', '/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_15_9576.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_20_05_10589.jpg', '/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_55_9560.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_35_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_45_10568.jpg
/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_35_9558.jpg
/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_15_9576.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_20_05_10589.jpg
/home/nano/Desktop/images/23042025/14/19/image_23042025_14_19_55_9560.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_35_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045691","1353045688","1353045699","1353045684","1353045695","1353045680"],"photo_ids_order":["1353045680","1353045684","1353045688","1353045691","1353045695","1353045699"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f499c52ebbc2477b0242883aa0164d50.jpg","text":"TemporaryFile(/tmp/multipartBody4136732187364516981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410924543,"filename":"image_23042025_14_20_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9db5f7b8443326528b33ceb69eb539d3.jpg","text":"TemporaryFile(/tmp/multipartBody3365764541810296128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410924543,"filename":"image_23042025_14_20_15_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f870353cacb4172ce0bdcfd3b09a7ed5.jpg","text":"TemporaryFile(/tmp/multipartBody9118382559693508201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410924543,"filename":"image_23042025_11_56_35_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3e569c21cdd4274aad6309af0a1d5bc.jpg","text":"TemporaryFile(/tmp/multipartBody3481354073321401886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410924543,"filename":"image_23042025_14_20_35_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1988ff9ba534c23c10c03e5eeb16a5bd.jpg","text":"TemporaryFile(/tmp/multipartBody3432520937900069681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410924543,"filename":"image_23042025_14_19_55_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76f1a1346eb11894e1b3c6ea139b8230.jpg","text":"TemporaryFile(/tmp/multipartBody851186742184509445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410924543,"filename":"image_23042025_14_20_45_10568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045688","file1":"1353045684","file0":"1353045680","file4":"1353045695","file5":"1353045699","file3":"1353045691"},"map_files_photo_id_array":[{"photo_id":"1353045699","filename":"file5"},{"photo_id":"1353045688","filename":"file2"},{"photo_id":"1353045695","filename":"file4"},{"photo_id":"1353045684","filename":"file1"},{"photo_id":"1353045680","filename":"file0"},{"photo_id":"1353045691","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045691":["hashtag1","hashtag2"]},{"1353045688":["hashtag1","hashtag2"]},{"1353045699":["hashtag1","hashtag2"]},{"1353045684":["hashtag1","hashtag2"]},{"1353045695":["hashtag1","hashtag2"]},{"1353045680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045691, 1353045688, 1353045699, 1353045684, 1353045695, 1353045680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.946298599243164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:22:02.983446
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_45_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_35_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_15_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_55_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_25_9698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_45_9563.jpg', '/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_35_10569.jpg', '/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_25_9560.jpg', '/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_15_10590.jpg', '/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_55_9561.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_25_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_45_9563.jpg
/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_35_10569.jpg
/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_25_9560.jpg
/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_15_10590.jpg
/home/nano/Desktop/images/23042025/14/20/image_23042025_14_20_55_9561.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_25_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045731","1353045740","1353045733","1353045726","1353045735","1353045723"],"photo_ids_order":["1353045723","1353045726","1353045731","1353045733","1353045735","1353045740"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36a14713f4d74d28f192c45ffb3b200a.jpg","text":"TemporaryFile(/tmp/multipartBody351926426881107445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410984248,"filename":"image_23042025_14_21_25_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b580cf40c9eda8fc0267de4edeb3cb35.jpg","text":"TemporaryFile(/tmp/multipartBody4709642661467875378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410984248,"filename":"image_23042025_11_56_25_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4badd8c1ffe48efa8c403831eedf66c7.jpg","text":"TemporaryFile(/tmp/multipartBody6034239104746572020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410984248,"filename":"image_23042025_14_21_15_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b364f604547c9a2f5d7b93523d66e34.jpg","text":"TemporaryFile(/tmp/multipartBody577638611717943220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410984248,"filename":"image_23042025_14_21_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e81738e60411483dd4ce053debdf80eb.jpg","text":"TemporaryFile(/tmp/multipartBody1758976327912106851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410984248,"filename":"image_23042025_14_20_55_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1598c2d253371567b8f18b139ce2a527.jpg","text":"TemporaryFile(/tmp/multipartBody8507722123829042528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745410984248,"filename":"image_23042025_14_21_45_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045731","file1":"1353045726","file0":"1353045723","file4":"1353045735","file5":"1353045740","file3":"1353045733"},"map_files_photo_id_array":[{"photo_id":"1353045740","filename":"file5"},{"photo_id":"1353045731","filename":"file2"},{"photo_id":"1353045735","filename":"file4"},{"photo_id":"1353045726","filename":"file1"},{"photo_id":"1353045723","filename":"file0"},{"photo_id":"1353045733","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045731":["hashtag1","hashtag2"]},{"1353045740":["hashtag1","hashtag2"]},{"1353045733":["hashtag1","hashtag2"]},{"1353045726":["hashtag1","hashtag2"]},{"1353045735":["hashtag1","hashtag2"]},{"1353045723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045731, 1353045740, 1353045733, 1353045726, 1353045735, 1353045723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.672860860824585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:23:03.242807
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_45_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_35_10729.jpg', 2), ('/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_25_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_15_9747.jpg', 2), ('/home/nano/Desktop/images/23042025/14/21/image_23042025_14_22_05_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_55_10590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_45_9717.jpg', '/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_35_10729.jpg', '/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_25_9720.jpg', '/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_15_9747.jpg', '/home/nano/Desktop/images/23042025/14/21/image_23042025_14_22_05_9584.jpg', '/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_55_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_45_9717.jpg
/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_35_10729.jpg
/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_25_9720.jpg
/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_15_9747.jpg
/home/nano/Desktop/images/23042025/14/21/image_23042025_14_22_05_9584.jpg
/home/nano/Desktop/images/23042025/14/21/image_23042025_14_21_55_10590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045789","1353045777","1353045792","1353045786","1353045774","1353045782"],"photo_ids_order":["1353045774","1353045777","1353045782","1353045786","1353045789","1353045792"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88a072d07cb03c986023ba177c9505ad.jpg","text":"TemporaryFile(/tmp/multipartBody5637104910900178799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411044830,"filename":"image_23042025_14_22_05_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1b1faeecdd1d313f309054ac7cf7ccd.jpg","text":"TemporaryFile(/tmp/multipartBody4294466912751188807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411044830,"filename":"image_23042025_14_22_35_10729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ea493b3bfcee222bd9c37c002517f9e.jpg","text":"TemporaryFile(/tmp/multipartBody3188752805693392794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411044830,"filename":"image_23042025_14_21_55_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1d9719422683c8cf7a67c8bb2326574.jpg","text":"TemporaryFile(/tmp/multipartBody1422287242083943687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411044830,"filename":"image_23042025_14_22_15_9747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d3c464aee5b4ffd786a7ae0bae65711.jpg","text":"TemporaryFile(/tmp/multipartBody5728344199208424447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411044830,"filename":"image_23042025_14_22_45_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30d206396267c062c6bbf92441d69df9.jpg","text":"TemporaryFile(/tmp/multipartBody3152080623591116864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411044830,"filename":"image_23042025_14_22_25_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045782","file1":"1353045777","file0":"1353045774","file4":"1353045789","file5":"1353045792","file3":"1353045786"},"map_files_photo_id_array":[{"photo_id":"1353045792","filename":"file5"},{"photo_id":"1353045782","filename":"file2"},{"photo_id":"1353045789","filename":"file4"},{"photo_id":"1353045777","filename":"file1"},{"photo_id":"1353045774","filename":"file0"},{"photo_id":"1353045786","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045789":["hashtag1","hashtag2"]},{"1353045777":["hashtag1","hashtag2"]},{"1353045792":["hashtag1","hashtag2"]},{"1353045786":["hashtag1","hashtag2"]},{"1353045774":["hashtag1","hashtag2"]},{"1353045782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045789, 1353045777, 1353045792, 1353045786, 1353045774, 1353045782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.10743522644043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:24:03.496712
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_45_10720.jpg', 2), ('/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_35_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_25_9737.jpg', 2), ('/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_15_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/14/22/image_23042025_14_23_05_10755.jpg', 2), ('/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_55_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_45_10720.jpg', '/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_35_9719.jpg', '/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_25_9737.jpg', '/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_15_9723.jpg', '/home/nano/Desktop/images/23042025/14/22/image_23042025_14_23_05_10755.jpg', '/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_55_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_45_10720.jpg
/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_35_9719.jpg
/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_25_9737.jpg
/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_15_9723.jpg
/home/nano/Desktop/images/23042025/14/22/image_23042025_14_23_05_10755.jpg
/home/nano/Desktop/images/23042025/14/22/image_23042025_14_22_55_9717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045818","1353045820","1353045814","1353045823","1353045826","1353045834"],"photo_ids_order":["1353045814","1353045818","1353045820","1353045823","1353045826","1353045834"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0162454e9cc66d988bb73b19daa6545d.jpg","text":"TemporaryFile(/tmp/multipartBody3134149724120626456asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411105027,"filename":"image_23042025_14_23_35_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03a1bab21190968f6a7739a6d59361de.jpg","text":"TemporaryFile(/tmp/multipartBody7687670464637043673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411105027,"filename":"image_23042025_14_23_25_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edf67efaeae6d776a549be1a33e9f9cf.jpg","text":"TemporaryFile(/tmp/multipartBody4578408151673621515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411105027,"filename":"image_23042025_14_23_45_10720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32ce41ca66747b97a92b7f59081f4180.jpg","text":"TemporaryFile(/tmp/multipartBody8629926635826514266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411105027,"filename":"image_23042025_14_23_15_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9b1b309573100f08b4b5967c0144261.jpg","text":"TemporaryFile(/tmp/multipartBody7583567285806755429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411105027,"filename":"image_23042025_14_23_05_10755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a03f5a23dd4a2e8048b6809de7026671.jpg","text":"TemporaryFile(/tmp/multipartBody7021177618996719329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411105027,"filename":"image_23042025_14_22_55_9717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045820","file1":"1353045818","file0":"1353045814","file4":"1353045826","file5":"1353045834","file3":"1353045823"},"map_files_photo_id_array":[{"photo_id":"1353045834","filename":"file5"},{"photo_id":"1353045820","filename":"file2"},{"photo_id":"1353045826","filename":"file4"},{"photo_id":"1353045818","filename":"file1"},{"photo_id":"1353045814","filename":"file0"},{"photo_id":"1353045823","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045818":["hashtag1","hashtag2"]},{"1353045820":["hashtag1","hashtag2"]},{"1353045814":["hashtag1","hashtag2"]},{"1353045823":["hashtag1","hashtag2"]},{"1353045826":["hashtag1","hashtag2"]},{"1353045834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045818, 1353045820, 1353045814, 1353045823, 1353045826, 1353045834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.80652689933777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:25:02.314937
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_35_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_25_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_15_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/14/23/image_23042025_14_24_05_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_55_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_15_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_35_9712.jpg', '/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_25_10724.jpg', '/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_15_9742.jpg', '/home/nano/Desktop/images/23042025/14/23/image_23042025_14_24_05_9728.jpg', '/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_55_9711.jpg', '/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_15_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_35_9712.jpg
/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_25_10724.jpg
/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_15_9742.jpg
/home/nano/Desktop/images/23042025/14/23/image_23042025_14_24_05_9728.jpg
/home/nano/Desktop/images/23042025/14/23/image_23042025_14_23_55_9711.jpg
/home/nano/Desktop/images/23042025/11/56/image_23042025_11_56_15_9714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353045938","1353045926","1353045895","1353045907","1353045966","1353045933"],"photo_ids_order":["1353045895","1353045907","1353045926","1353045933","1353045938","1353045966"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e1675a544f3c5046d48265a0d28c3b3.jpg","text":"TemporaryFile(/tmp/multipartBody1200300184992808366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411163971,"filename":"image_23042025_14_23_55_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a41d01454d8b93907d9696e7df8314a2.jpg","text":"TemporaryFile(/tmp/multipartBody1740800530354568069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411163971,"filename":"image_23042025_14_24_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbcb4958cf1faa181a9251db12c1196d.jpg","text":"TemporaryFile(/tmp/multipartBody1931137862150695222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411163971,"filename":"image_23042025_14_24_35_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b3cc1f91e6b866b4c2d008b1709555b.jpg","text":"TemporaryFile(/tmp/multipartBody1207624479480279465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411163971,"filename":"image_23042025_14_24_25_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cafd7c4f15279105d8c99a186c195f29.jpg","text":"TemporaryFile(/tmp/multipartBody3661822494354638748asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411163971,"filename":"image_23042025_11_56_15_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ff5f66e02d6d2938c5703188025abdb.jpg","text":"TemporaryFile(/tmp/multipartBody7233862484567426992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411163971,"filename":"image_23042025_14_24_05_9728.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353045926","file1":"1353045907","file0":"1353045895","file4":"1353045938","file5":"1353045966","file3":"1353045933"},"map_files_photo_id_array":[{"photo_id":"1353045966","filename":"file5"},{"photo_id":"1353045926","filename":"file2"},{"photo_id":"1353045938","filename":"file4"},{"photo_id":"1353045907","filename":"file1"},{"photo_id":"1353045895","filename":"file0"},{"photo_id":"1353045933","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353045938":["hashtag1","hashtag2"]},{"1353045926":["hashtag1","hashtag2"]},{"1353045895":["hashtag1","hashtag2"]},{"1353045907":["hashtag1","hashtag2"]},{"1353045966":["hashtag1","hashtag2"]},{"1353045933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353045938, 1353045926, 1353045895, 1353045907, 1353045966, 1353045933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.19144010543823 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:26:02.390857
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_45_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_35_10722.jpg', 2), ('/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_25_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/14/24/image_23042025_14_25_05_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_55_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/11/55/image_23042025_11_56_06_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_45_9715.jpg', '/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_35_10722.jpg', '/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_25_9716.jpg', '/home/nano/Desktop/images/23042025/14/24/image_23042025_14_25_05_9726.jpg', '/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_55_10724.jpg', '/home/nano/Desktop/images/23042025/11/55/image_23042025_11_56_06_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_45_9715.jpg
/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_35_10722.jpg
/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_25_9716.jpg
/home/nano/Desktop/images/23042025/14/24/image_23042025_14_25_05_9726.jpg
/home/nano/Desktop/images/23042025/14/24/image_23042025_14_24_55_10724.jpg
/home/nano/Desktop/images/23042025/11/55/image_23042025_11_56_06_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046177","1353046170","1353046173","1353046181","1353046175","1353046169"],"photo_ids_order":["1353046169","1353046170","1353046173","1353046175","1353046177","1353046181"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2808dc72178baeb2b9ed0570b415335c.jpg","text":"TemporaryFile(/tmp/multipartBody1520843226429200438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411223813,"filename":"image_23042025_14_24_55_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3db7230ab57b556f83ce7bf9a9bafd6a.jpg","text":"TemporaryFile(/tmp/multipartBody5409011510156962413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411223813,"filename":"image_23042025_14_25_35_10722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4d14f683c1167daa48ea72333c9fdd3.jpg","text":"TemporaryFile(/tmp/multipartBody3936861559777833512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411223813,"filename":"image_23042025_14_25_25_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3504a193da3d7562a1a0fb3e6f02fb0a.jpg","text":"TemporaryFile(/tmp/multipartBody392276608949700271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411223813,"filename":"image_23042025_11_56_06_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68f42d9bd8fe0508dca062f708970f0c.jpg","text":"TemporaryFile(/tmp/multipartBody7844141170754653836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411223813,"filename":"image_23042025_14_25_05_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3440f3bd1c5527c15fa7547d3c016577.jpg","text":"TemporaryFile(/tmp/multipartBody3394795762442241980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411223813,"filename":"image_23042025_14_25_45_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046173","file1":"1353046170","file0":"1353046169","file4":"1353046177","file5":"1353046181","file3":"1353046175"},"map_files_photo_id_array":[{"photo_id":"1353046181","filename":"file5"},{"photo_id":"1353046173","filename":"file2"},{"photo_id":"1353046177","filename":"file4"},{"photo_id":"1353046170","filename":"file1"},{"photo_id":"1353046169","filename":"file0"},{"photo_id":"1353046175","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046177":["hashtag1","hashtag2"]},{"1353046170":["hashtag1","hashtag2"]},{"1353046173":["hashtag1","hashtag2"]},{"1353046181":["hashtag1","hashtag2"]},{"1353046175":["hashtag1","hashtag2"]},{"1353046169":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046177, 1353046170, 1353046173, 1353046181, 1353046175, 1353046169)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00466060638428 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:27:02.691363
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_35_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_25_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_15_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/14/25/image_23042025_14_26_05_10725.jpg', 2), ('/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_55_9705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_45_9644.jpg', '/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_35_10654.jpg', '/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_25_9644.jpg', '/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_15_9643.jpg', '/home/nano/Desktop/images/23042025/14/25/image_23042025_14_26_05_10725.jpg', '/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_55_9705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_45_9644.jpg
/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_35_10654.jpg
/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_25_9644.jpg
/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_15_9643.jpg
/home/nano/Desktop/images/23042025/14/25/image_23042025_14_26_05_10725.jpg
/home/nano/Desktop/images/23042025/14/25/image_23042025_14_25_55_9705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046316","1353046210","1353046312","1353046306","1353046213","1353046309"],"photo_ids_order":["1353046210","1353046213","1353046306","1353046309","1353046312","1353046316"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d12afcb741ee8c8e115f06c844409bc.jpg","text":"TemporaryFile(/tmp/multipartBody2056378243730333801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411283866,"filename":"image_23042025_14_25_55_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/242cd685118b8e52b3716a6843d020b9.jpg","text":"TemporaryFile(/tmp/multipartBody9040627582851671767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411283866,"filename":"image_23042025_14_26_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed16b54e9f106e3fdce2d1afb5505cb5.jpg","text":"TemporaryFile(/tmp/multipartBody6009030613950913603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411283866,"filename":"image_23042025_14_26_05_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb0db8d962e0f009d46568adb5e7836d.jpg","text":"TemporaryFile(/tmp/multipartBody4112607232060174050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411283866,"filename":"image_23042025_14_26_25_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35f60b312dc5d8e79bb59c566ddd652d.jpg","text":"TemporaryFile(/tmp/multipartBody3756094635661295123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411283866,"filename":"image_23042025_14_26_35_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58b529a9d2e5dc0ac16786d2dd45e621.jpg","text":"TemporaryFile(/tmp/multipartBody6613100247732043592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411283866,"filename":"image_23042025_14_26_15_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046306","file1":"1353046213","file0":"1353046210","file4":"1353046312","file5":"1353046316","file3":"1353046309"},"map_files_photo_id_array":[{"photo_id":"1353046316","filename":"file5"},{"photo_id":"1353046306","filename":"file2"},{"photo_id":"1353046312","filename":"file4"},{"photo_id":"1353046213","filename":"file1"},{"photo_id":"1353046210","filename":"file0"},{"photo_id":"1353046309","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046316":["hashtag1","hashtag2"]},{"1353046210":["hashtag1","hashtag2"]},{"1353046312":["hashtag1","hashtag2"]},{"1353046306":["hashtag1","hashtag2"]},{"1353046213":["hashtag1","hashtag2"]},{"1353046309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046316, 1353046210, 1353046312, 1353046306, 1353046213, 1353046309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.137871742248535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:28:02.795384
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_45_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_35_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_25_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_15_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/14/26/image_23042025_14_27_05_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_55_9672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_45_9628.jpg', '/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_35_10571.jpg', '/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_25_9635.jpg', '/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_15_9646.jpg', '/home/nano/Desktop/images/23042025/14/26/image_23042025_14_27_05_10654.jpg', '/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_55_9672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_45_9628.jpg
/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_35_10571.jpg
/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_25_9635.jpg
/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_15_9646.jpg
/home/nano/Desktop/images/23042025/14/26/image_23042025_14_27_05_10654.jpg
/home/nano/Desktop/images/23042025/14/26/image_23042025_14_26_55_9672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046371","1353046359","1353046368","1353046362","1353046364","1353046355"],"photo_ids_order":["1353046355","1353046359","1353046362","1353046364","1353046368","1353046371"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e7fd463b8f5b6775371128408d19c08.jpg","text":"TemporaryFile(/tmp/multipartBody5376334078410852046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411343822,"filename":"image_23042025_14_26_55_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/923f459e9f121070bbfdf41c355f81cb.jpg","text":"TemporaryFile(/tmp/multipartBody9105495161817178916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411343822,"filename":"image_23042025_14_27_35_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb97d62f16bd8d76a36ccbe7516d3078.jpg","text":"TemporaryFile(/tmp/multipartBody6140356004438901227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411343822,"filename":"image_23042025_14_27_05_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e08ef0a83fc8e73553ef4ed69ea3db4.jpg","text":"TemporaryFile(/tmp/multipartBody1685707215523235502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411343822,"filename":"image_23042025_14_27_25_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abaecd33cb5a19115a711bb34e686589.jpg","text":"TemporaryFile(/tmp/multipartBody2167076804781137859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411343822,"filename":"image_23042025_14_27_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9eacd1d8cfab5a7465ca60dd18647054.jpg","text":"TemporaryFile(/tmp/multipartBody7072212678522514761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411343822,"filename":"image_23042025_14_27_45_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046362","file1":"1353046359","file0":"1353046355","file4":"1353046368","file5":"1353046371","file3":"1353046364"},"map_files_photo_id_array":[{"photo_id":"1353046371","filename":"file5"},{"photo_id":"1353046362","filename":"file2"},{"photo_id":"1353046368","filename":"file4"},{"photo_id":"1353046359","filename":"file1"},{"photo_id":"1353046355","filename":"file0"},{"photo_id":"1353046364","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046371":["hashtag1","hashtag2"]},{"1353046359":["hashtag1","hashtag2"]},{"1353046368":["hashtag1","hashtag2"]},{"1353046362":["hashtag1","hashtag2"]},{"1353046364":["hashtag1","hashtag2"]},{"1353046355":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046371, 1353046359, 1353046368, 1353046362, 1353046364, 1353046355)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.346410036087036 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:29:03.305208
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_45_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_35_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_25_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_15_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/14/27/image_23042025_14_28_05_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_45_9745.jpg', '/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_35_9662.jpg', '/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_25_10671.jpg', '/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_15_9649.jpg', '/home/nano/Desktop/images/23042025/14/27/image_23042025_14_28_05_10666.jpg', '/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_45_9745.jpg
/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_35_9662.jpg
/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_25_10671.jpg
/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_15_9649.jpg
/home/nano/Desktop/images/23042025/14/27/image_23042025_14_28_05_10666.jpg
/home/nano/Desktop/images/23042025/14/27/image_23042025_14_27_54_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046399","1353046405","1353046410","1353046404","1353046397","1353046406"],"photo_ids_order":["1353046397","1353046399","1353046404","1353046405","1353046406","1353046410"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95ec6dd6d654239875643019d824afdf.jpg","text":"TemporaryFile(/tmp/multipartBody8770005249960259615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411404549,"filename":"image_23042025_14_28_35_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2835205e80bb9d0e925d42c92c5a3445.jpg","text":"TemporaryFile(/tmp/multipartBody6592136317097270598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411404549,"filename":"image_23042025_14_28_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dafe726cbbb165885f7e263d32af65e9.jpg","text":"TemporaryFile(/tmp/multipartBody2630097087486003638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411404549,"filename":"image_23042025_14_27_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d379d8065ff5817d9b7007cace0a667.jpg","text":"TemporaryFile(/tmp/multipartBody9126841289145083199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411404549,"filename":"image_23042025_14_28_25_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f1cb7798b842848afa671f47d6d08e1.jpg","text":"TemporaryFile(/tmp/multipartBody6372472785388048853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411404549,"filename":"image_23042025_14_28_45_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c135f44ddfc7e0615cf0e8cbe8a92470.jpg","text":"TemporaryFile(/tmp/multipartBody3438371571006028388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411404549,"filename":"image_23042025_14_28_05_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046404","file1":"1353046399","file0":"1353046397","file4":"1353046406","file5":"1353046410","file3":"1353046405"},"map_files_photo_id_array":[{"photo_id":"1353046410","filename":"file5"},{"photo_id":"1353046404","filename":"file2"},{"photo_id":"1353046406","filename":"file4"},{"photo_id":"1353046399","filename":"file1"},{"photo_id":"1353046397","filename":"file0"},{"photo_id":"1353046405","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046399":["hashtag1","hashtag2"]},{"1353046405":["hashtag1","hashtag2"]},{"1353046410":["hashtag1","hashtag2"]},{"1353046404":["hashtag1","hashtag2"]},{"1353046397":["hashtag1","hashtag2"]},{"1353046406":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046399, 1353046405, 1353046410, 1353046404, 1353046397, 1353046406)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8975944519043 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:30:02.971085
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_45_10725.jpg', 2), ('/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_35_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_25_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_15_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/14/28/image_23042025_14_29_05_10767.jpg', 2), ('/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_55_9724.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_45_10725.jpg', '/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_35_9744.jpg', '/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_25_9717.jpg', '/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_15_9717.jpg', '/home/nano/Desktop/images/23042025/14/28/image_23042025_14_29_05_10767.jpg', '/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_55_9724.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_45_10725.jpg
/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_35_9744.jpg
/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_25_9717.jpg
/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_15_9717.jpg
/home/nano/Desktop/images/23042025/14/28/image_23042025_14_29_05_10767.jpg
/home/nano/Desktop/images/23042025/14/28/image_23042025_14_28_55_9724.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046480","1353046477","1353046516","1353046467","1353046457","1353046511"],"photo_ids_order":["1353046457","1353046467","1353046477","1353046480","1353046511","1353046516"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00e40b16da61670aad397e335a27346b.jpg","text":"TemporaryFile(/tmp/multipartBody7863771238624328772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411464487,"filename":"image_23042025_14_29_15_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81adaff1052856d918cb6845dfb6e9e0.jpg","text":"TemporaryFile(/tmp/multipartBody1384711015568190221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411464487,"filename":"image_23042025_14_29_25_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd7d3523570405e40397e93de79ca35e.jpg","text":"TemporaryFile(/tmp/multipartBody5503894217617631054asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411464487,"filename":"image_23042025_14_28_55_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/530ff2368b10e36dca43ea1cbc9093a3.jpg","text":"TemporaryFile(/tmp/multipartBody8517884409613504837asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411464487,"filename":"image_23042025_14_29_35_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d13c63970cfcc1d3156d8f66bbe9516b.jpg","text":"TemporaryFile(/tmp/multipartBody6421840378017548842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411464487,"filename":"image_23042025_14_29_45_10725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6464579864200d56c0e93b891c77713b.jpg","text":"TemporaryFile(/tmp/multipartBody4244444543242025375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411464487,"filename":"image_23042025_14_29_05_10767.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046477","file1":"1353046467","file0":"1353046457","file4":"1353046511","file5":"1353046516","file3":"1353046480"},"map_files_photo_id_array":[{"photo_id":"1353046516","filename":"file5"},{"photo_id":"1353046477","filename":"file2"},{"photo_id":"1353046511","filename":"file4"},{"photo_id":"1353046467","filename":"file1"},{"photo_id":"1353046457","filename":"file0"},{"photo_id":"1353046480","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046480":["hashtag1","hashtag2"]},{"1353046477":["hashtag1","hashtag2"]},{"1353046516":["hashtag1","hashtag2"]},{"1353046467":["hashtag1","hashtag2"]},{"1353046457":["hashtag1","hashtag2"]},{"1353046511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046480, 1353046477, 1353046516, 1353046467, 1353046457, 1353046511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.52968883514404 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:31:03.319176
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_45_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_35_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_25_10739.jpg', 2), ('/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_15_9766.jpg', 2), ('/home/nano/Desktop/images/23042025/14/29/image_23042025_14_30_05_9760.jpg', 2), ('/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_55_9745.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_45_9733.jpg', '/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_35_9736.jpg', '/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_25_10739.jpg', '/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_15_9766.jpg', '/home/nano/Desktop/images/23042025/14/29/image_23042025_14_30_05_9760.jpg', '/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_55_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_45_9733.jpg
/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_35_9736.jpg
/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_25_10739.jpg
/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_15_9766.jpg
/home/nano/Desktop/images/23042025/14/29/image_23042025_14_30_05_9760.jpg
/home/nano/Desktop/images/23042025/14/29/image_23042025_14_29_55_9745.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046785","1353046788","1353046767","1353046809","1353046823","1353046792"],"photo_ids_order":["1353046767","1353046785","1353046788","1353046792","1353046809","1353046823"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f00dc6abf9d807afee22218f40b8e09.jpg","text":"TemporaryFile(/tmp/multipartBody3272919938818885195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411524684,"filename":"image_23042025_14_30_35_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95f664d1a4499dd55b9b1f6776ff9b53.jpg","text":"TemporaryFile(/tmp/multipartBody5258162078789054042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411524684,"filename":"image_23042025_14_30_25_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05421dd4eab8dfb2d83d7c1f8d00ee6a.jpg","text":"TemporaryFile(/tmp/multipartBody8454207821953561263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411524684,"filename":"image_23042025_14_30_45_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63e0b22df6148e568c18ec5948c1a2aa.jpg","text":"TemporaryFile(/tmp/multipartBody3458217847969980245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411524684,"filename":"image_23042025_14_30_05_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/621bb3559ae5c57f960f4342d4cba4c1.jpg","text":"TemporaryFile(/tmp/multipartBody5495037067593718998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411524684,"filename":"image_23042025_14_29_55_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9cb100584a06ad758f49c20b53733793.jpg","text":"TemporaryFile(/tmp/multipartBody3679976553127611591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411524684,"filename":"image_23042025_14_30_15_9766.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046788","file1":"1353046785","file0":"1353046767","file4":"1353046809","file5":"1353046823","file3":"1353046792"},"map_files_photo_id_array":[{"photo_id":"1353046823","filename":"file5"},{"photo_id":"1353046788","filename":"file2"},{"photo_id":"1353046809","filename":"file4"},{"photo_id":"1353046785","filename":"file1"},{"photo_id":"1353046767","filename":"file0"},{"photo_id":"1353046792","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046785":["hashtag1","hashtag2"]},{"1353046788":["hashtag1","hashtag2"]},{"1353046767":["hashtag1","hashtag2"]},{"1353046809":["hashtag1","hashtag2"]},{"1353046823":["hashtag1","hashtag2"]},{"1353046792":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046785, 1353046788, 1353046767, 1353046809, 1353046823, 1353046792)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.75684642791748 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:32:03.247827
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_45_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_35_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_25_9758.jpg', 2), ('/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_15_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/14/30/image_23042025_14_31_05_10776.jpg', 2), ('/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_55_9749.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_45_10719.jpg', '/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_35_9795.jpg', '/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_25_9758.jpg', '/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_15_9713.jpg', '/home/nano/Desktop/images/23042025/14/30/image_23042025_14_31_05_10776.jpg', '/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_55_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_45_10719.jpg
/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_35_9795.jpg
/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_25_9758.jpg
/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_15_9713.jpg
/home/nano/Desktop/images/23042025/14/30/image_23042025_14_31_05_10776.jpg
/home/nano/Desktop/images/23042025/14/30/image_23042025_14_30_55_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353046904","1353046903","1353046902","1353046908","1353046898","1353046901"],"photo_ids_order":["1353046898","1353046901","1353046902","1353046903","1353046904","1353046908"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c98a3d5891efca5a3bb6a8f7347d3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5243582544099061235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411584734,"filename":"image_23042025_14_31_05_10776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5038d09938e8041d88c54cc8e049535.jpg","text":"TemporaryFile(/tmp/multipartBody7740360475202987386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411584734,"filename":"image_23042025_14_31_15_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/626acc70b57d9dbce319c5ef1d9d82a3.jpg","text":"TemporaryFile(/tmp/multipartBody1766629495794628280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411584734,"filename":"image_23042025_14_31_25_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f26ff701a70e24e99075b0e0df5c7dc3.jpg","text":"TemporaryFile(/tmp/multipartBody256269757627017697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411584734,"filename":"image_23042025_14_30_55_9749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c3e072ca3272b887b41a85853881b07.jpg","text":"TemporaryFile(/tmp/multipartBody859436592991549311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411584734,"filename":"image_23042025_14_31_45_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65cb903396475ee765e3417153294ff4.jpg","text":"TemporaryFile(/tmp/multipartBody4094444404500171768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411584734,"filename":"image_23042025_14_31_35_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353046902","file1":"1353046901","file0":"1353046898","file4":"1353046904","file5":"1353046908","file3":"1353046903"},"map_files_photo_id_array":[{"photo_id":"1353046908","filename":"file5"},{"photo_id":"1353046902","filename":"file2"},{"photo_id":"1353046904","filename":"file4"},{"photo_id":"1353046901","filename":"file1"},{"photo_id":"1353046898","filename":"file0"},{"photo_id":"1353046903","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353046904":["hashtag1","hashtag2"]},{"1353046903":["hashtag1","hashtag2"]},{"1353046902":["hashtag1","hashtag2"]},{"1353046908":["hashtag1","hashtag2"]},{"1353046898":["hashtag1","hashtag2"]},{"1353046901":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353046904, 1353046903, 1353046902, 1353046908, 1353046898, 1353046901)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78587818145752 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:33:02.550502
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_45_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_35_9757.jpg', 2), ('/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_25_10854.jpg', 2), ('/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_15_9891.jpg', 2), ('/home/nano/Desktop/images/23042025/14/31/image_23042025_14_32_05_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_55_9678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_45_9730.jpg', '/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_35_9757.jpg', '/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_25_10854.jpg', '/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_15_9891.jpg', '/home/nano/Desktop/images/23042025/14/31/image_23042025_14_32_05_9778.jpg', '/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_55_9678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_45_9730.jpg
/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_35_9757.jpg
/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_25_10854.jpg
/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_15_9891.jpg
/home/nano/Desktop/images/23042025/14/31/image_23042025_14_32_05_9778.jpg
/home/nano/Desktop/images/23042025/14/31/image_23042025_14_31_55_9678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353047361","1353047430","1353047447","1353047381","1353047378","1353047432"],"photo_ids_order":["1353047361","1353047378","1353047381","1353047430","1353047432","1353047447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e3403a4e644c3f97659f186ea401910.jpg","text":"TemporaryFile(/tmp/multipartBody4693240789882744181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411644109,"filename":"image_23042025_14_32_45_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d41b6044172e0652971b5cb99c26690f.jpg","text":"TemporaryFile(/tmp/multipartBody5927982132016522781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411644109,"filename":"image_23042025_14_32_15_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0241ef69478db7f9c48df2c38c207c5b.jpg","text":"TemporaryFile(/tmp/multipartBody9138743201120809529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411644109,"filename":"image_23042025_14_31_55_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f16ec54044bd6e91d5821040ea3aa001.jpg","text":"TemporaryFile(/tmp/multipartBody6882651744522984520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411644109,"filename":"image_23042025_14_32_25_10854.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7686945b2ec4b71910b439c5cb92a0e4.jpg","text":"TemporaryFile(/tmp/multipartBody8723479268863304234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411644109,"filename":"image_23042025_14_32_35_9757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6725d7c5668e2c4611ecfff6602961ea.jpg","text":"TemporaryFile(/tmp/multipartBody8501734592933824907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411644109,"filename":"image_23042025_14_32_05_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353047381","file1":"1353047378","file0":"1353047361","file4":"1353047432","file5":"1353047447","file3":"1353047430"},"map_files_photo_id_array":[{"photo_id":"1353047447","filename":"file5"},{"photo_id":"1353047381","filename":"file2"},{"photo_id":"1353047432","filename":"file4"},{"photo_id":"1353047378","filename":"file1"},{"photo_id":"1353047361","filename":"file0"},{"photo_id":"1353047430","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353047361":["hashtag1","hashtag2"]},{"1353047430":["hashtag1","hashtag2"]},{"1353047447":["hashtag1","hashtag2"]},{"1353047381":["hashtag1","hashtag2"]},{"1353047378":["hashtag1","hashtag2"]},{"1353047432":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353047361, 1353047430, 1353047447, 1353047381, 1353047378, 1353047432)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.596757650375366 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:34:02.541163
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_45_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_35_9751.jpg', 2), ('/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_25_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_15_10800.jpg', 2), ('/home/nano/Desktop/images/23042025/14/32/image_23042025_14_33_05_9823.jpg', 2), ('/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_55_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_45_10690.jpg', '/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_35_9751.jpg', '/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_25_9742.jpg', '/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_15_10800.jpg', '/home/nano/Desktop/images/23042025/14/32/image_23042025_14_33_05_9823.jpg', '/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_55_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_45_10690.jpg
/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_35_9751.jpg
/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_25_9742.jpg
/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_15_10800.jpg
/home/nano/Desktop/images/23042025/14/32/image_23042025_14_33_05_9823.jpg
/home/nano/Desktop/images/23042025/14/32/image_23042025_14_32_55_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353047512","1353047509","1353047517","1353047511","1353047505","1353047513"],"photo_ids_order":["1353047505","1353047509","1353047511","1353047512","1353047513","1353047517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be8706915f4688179e7601801d6869c1.jpg","text":"TemporaryFile(/tmp/multipartBody4313044826661177942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411704109,"filename":"image_23042025_14_33_15_10800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b539d959d4a2f14fcaba8076982cc67a.jpg","text":"TemporaryFile(/tmp/multipartBody2098182278586243094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411704109,"filename":"image_23042025_14_33_35_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbcc94f3865aedd2bfbce1c0f3ecd4bf.jpg","text":"TemporaryFile(/tmp/multipartBody7979874717043299143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411704109,"filename":"image_23042025_14_32_55_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebe0c786e5ad67334e5263c1aaa0a91a.jpg","text":"TemporaryFile(/tmp/multipartBody7137326450918818136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411704109,"filename":"image_23042025_14_33_25_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6beb50e307df762cfa76906a57a9d75.jpg","text":"TemporaryFile(/tmp/multipartBody420517815525997163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411704109,"filename":"image_23042025_14_33_45_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d378d33c1e5007eda89496233e7b0fb8.jpg","text":"TemporaryFile(/tmp/multipartBody4294679175938299430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411704109,"filename":"image_23042025_14_33_05_9823.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353047511","file1":"1353047509","file0":"1353047505","file4":"1353047513","file5":"1353047517","file3":"1353047512"},"map_files_photo_id_array":[{"photo_id":"1353047517","filename":"file5"},{"photo_id":"1353047511","filename":"file2"},{"photo_id":"1353047513","filename":"file4"},{"photo_id":"1353047509","filename":"file1"},{"photo_id":"1353047505","filename":"file0"},{"photo_id":"1353047512","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353047512":["hashtag1","hashtag2"]},{"1353047509":["hashtag1","hashtag2"]},{"1353047517":["hashtag1","hashtag2"]},{"1353047511":["hashtag1","hashtag2"]},{"1353047505":["hashtag1","hashtag2"]},{"1353047513":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353047512, 1353047509, 1353047517, 1353047511, 1353047505, 1353047513)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.511534690856934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:35:02.693274
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_45_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_35_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_25_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_15_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/14/33/image_23042025_14_34_05_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_55_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_45_10637.jpg', '/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_35_9629.jpg', '/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_25_9621.jpg', '/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_15_10658.jpg', '/home/nano/Desktop/images/23042025/14/33/image_23042025_14_34_05_9653.jpg', '/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_55_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_45_10637.jpg
/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_35_9629.jpg
/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_25_9621.jpg
/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_15_10658.jpg
/home/nano/Desktop/images/23042025/14/33/image_23042025_14_34_05_9653.jpg
/home/nano/Desktop/images/23042025/14/33/image_23042025_14_33_55_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353047694","1353047690","1353047684","1353047692","1353047686","1353047698"],"photo_ids_order":["1353047684","1353047686","1353047690","1353047692","1353047694","1353047698"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07e29a538c1f46e73b3adccd64a7ce59.jpg","text":"TemporaryFile(/tmp/multipartBody2337970828935322242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411763765,"filename":"image_23042025_14_34_05_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28f189e98f1822278576dce72ac53076.jpg","text":"TemporaryFile(/tmp/multipartBody8501131162148794366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411763765,"filename":"image_23042025_14_34_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90754052d5992a6ed2b05a3a926bb08a.jpg","text":"TemporaryFile(/tmp/multipartBody275848779505602834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411763765,"filename":"image_23042025_14_34_45_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/399076f379f6b178dd494f1804182311.jpg","text":"TemporaryFile(/tmp/multipartBody5463010082538935730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411763765,"filename":"image_23042025_14_34_15_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8143c90a929643f18307ddc3be633d6c.jpg","text":"TemporaryFile(/tmp/multipartBody1309944425490022165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411763765,"filename":"image_23042025_14_34_35_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b175f58bad8988fc531008329ebc066f.jpg","text":"TemporaryFile(/tmp/multipartBody7183570959673346912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411763765,"filename":"image_23042025_14_33_55_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353047690","file1":"1353047686","file0":"1353047684","file4":"1353047694","file5":"1353047698","file3":"1353047692"},"map_files_photo_id_array":[{"photo_id":"1353047698","filename":"file5"},{"photo_id":"1353047690","filename":"file2"},{"photo_id":"1353047694","filename":"file4"},{"photo_id":"1353047686","filename":"file1"},{"photo_id":"1353047684","filename":"file0"},{"photo_id":"1353047692","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353047694":["hashtag1","hashtag2"]},{"1353047690":["hashtag1","hashtag2"]},{"1353047684":["hashtag1","hashtag2"]},{"1353047692":["hashtag1","hashtag2"]},{"1353047686":["hashtag1","hashtag2"]},{"1353047698":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353047694, 1353047690, 1353047684, 1353047692, 1353047686, 1353047698)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52689218521118 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:36:02.475582
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_45_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_35_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_25_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_15_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/14/34/image_23042025_14_35_05_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_55_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_45_10633.jpg', '/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_35_9666.jpg', '/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_25_9638.jpg', '/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_15_10657.jpg', '/home/nano/Desktop/images/23042025/14/34/image_23042025_14_35_05_9659.jpg', '/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_55_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_45_10633.jpg
/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_35_9666.jpg
/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_25_9638.jpg
/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_15_10657.jpg
/home/nano/Desktop/images/23042025/14/34/image_23042025_14_35_05_9659.jpg
/home/nano/Desktop/images/23042025/14/34/image_23042025_14_34_55_9657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353047758","1353047772","1353047766","1353047769","1353047763","1353047765"],"photo_ids_order":["1353047758","1353047763","1353047765","1353047766","1353047769","1353047772"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/074567976cad6d24afdaa3c7f67b80d1.jpg","text":"TemporaryFile(/tmp/multipartBody5756579794861387049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411823623,"filename":"image_23042025_14_35_45_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76a7e92ea5339566ae3e66273eaea8a1.jpg","text":"TemporaryFile(/tmp/multipartBody1272346596884480845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411823623,"filename":"image_23042025_14_34_55_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0daea4fa4c70ef30cef915c3575851eb.jpg","text":"TemporaryFile(/tmp/multipartBody1326826359251247550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411823623,"filename":"image_23042025_14_35_15_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee606e91a9db4adf7aefe7c50939a82c.jpg","text":"TemporaryFile(/tmp/multipartBody8144935596075899616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411823623,"filename":"image_23042025_14_35_05_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7044a81509b7794479e5d9c8fc18dcc.jpg","text":"TemporaryFile(/tmp/multipartBody6507607077009856561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411823623,"filename":"image_23042025_14_35_35_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5ac4f8b5bdc243bcd3af895e283a28f.jpg","text":"TemporaryFile(/tmp/multipartBody3382680235808207826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411823623,"filename":"image_23042025_14_35_25_9638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353047765","file1":"1353047763","file0":"1353047758","file4":"1353047769","file5":"1353047772","file3":"1353047766"},"map_files_photo_id_array":[{"photo_id":"1353047772","filename":"file5"},{"photo_id":"1353047765","filename":"file2"},{"photo_id":"1353047769","filename":"file4"},{"photo_id":"1353047763","filename":"file1"},{"photo_id":"1353047758","filename":"file0"},{"photo_id":"1353047766","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353047758":["hashtag1","hashtag2"]},{"1353047772":["hashtag1","hashtag2"]},{"1353047766":["hashtag1","hashtag2"]},{"1353047769":["hashtag1","hashtag2"]},{"1353047763":["hashtag1","hashtag2"]},{"1353047765":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353047758, 1353047772, 1353047766, 1353047769, 1353047763, 1353047765)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.14870023727417 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:37:02.997040
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_45_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_35_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_25_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_15_10702.jpg', 2), ('/home/nano/Desktop/images/23042025/14/35/image_23042025_14_36_05_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_55_9638.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_45_10728.jpg', '/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_35_9676.jpg', '/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_25_9639.jpg', '/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_15_10702.jpg', '/home/nano/Desktop/images/23042025/14/35/image_23042025_14_36_05_9633.jpg', '/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_55_9638.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_45_10728.jpg
/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_35_9676.jpg
/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_25_9639.jpg
/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_15_10702.jpg
/home/nano/Desktop/images/23042025/14/35/image_23042025_14_36_05_9633.jpg
/home/nano/Desktop/images/23042025/14/35/image_23042025_14_35_55_9638.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353047824","1353047827","1353047812","1353047809","1353047817","1353047822"],"photo_ids_order":["1353047809","1353047812","1353047817","1353047822","1353047824","1353047827"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0dcdcc9bc1b1cc3ba79ebe33d4a982a.jpg","text":"TemporaryFile(/tmp/multipartBody5893831730084706411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411884101,"filename":"image_23042025_14_36_05_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f97635a6699ba013abae8542b6d6eb65.jpg","text":"TemporaryFile(/tmp/multipartBody4496138075882317595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411884101,"filename":"image_23042025_14_35_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53b3fd3659e59778aa5b2be3bf462e59.jpg","text":"TemporaryFile(/tmp/multipartBody1247739840976762799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411884101,"filename":"image_23042025_14_36_35_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc832984098bfb23a4c9c3e289309109.jpg","text":"TemporaryFile(/tmp/multipartBody2094685063700431825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411884101,"filename":"image_23042025_14_36_45_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af70533e1104011bb6eb27f04eec06ab.jpg","text":"TemporaryFile(/tmp/multipartBody3677693571126567212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411884101,"filename":"image_23042025_14_36_25_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbae480b6a1f6432071b6ef8a7950ff2.jpg","text":"TemporaryFile(/tmp/multipartBody656599251963818366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411884101,"filename":"image_23042025_14_36_15_10702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353047817","file1":"1353047812","file0":"1353047809","file4":"1353047824","file5":"1353047827","file3":"1353047822"},"map_files_photo_id_array":[{"photo_id":"1353047827","filename":"file5"},{"photo_id":"1353047817","filename":"file2"},{"photo_id":"1353047824","filename":"file4"},{"photo_id":"1353047812","filename":"file1"},{"photo_id":"1353047809","filename":"file0"},{"photo_id":"1353047822","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353047824":["hashtag1","hashtag2"]},{"1353047827":["hashtag1","hashtag2"]},{"1353047812":["hashtag1","hashtag2"]},{"1353047809":["hashtag1","hashtag2"]},{"1353047817":["hashtag1","hashtag2"]},{"1353047822":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353047824, 1353047827, 1353047812, 1353047809, 1353047817, 1353047822)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5527982711792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:38:03.096187
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_44_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_34_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_24_10800.jpg', 2), ('/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_13_10059.jpg', 2), ('/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_55_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_55_9644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_44_9624.jpg', '/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_34_9703.jpg', '/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_24_10800.jpg', '/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_13_10059.jpg', '/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_55_9691.jpg', '/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_55_9644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_44_9624.jpg
/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_34_9703.jpg
/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_24_10800.jpg
/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_13_10059.jpg
/home/nano/Desktop/images/23042025/14/36/image_23042025_14_36_55_9691.jpg
/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_55_9644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353048514","1353048192","1353048456","1353048246","1353048309","1353048137"],"photo_ids_order":["1353048137","1353048192","1353048246","1353048309","1353048456","1353048514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79838ba764f0871e514def79caa2f2c4.jpg","text":"TemporaryFile(/tmp/multipartBody8989915759073642499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411944272,"filename":"image_23042025_11_55_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fed06d7fdfbc7bba9bebc31f5f38712c.jpg","text":"TemporaryFile(/tmp/multipartBody6768821174538458081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411944272,"filename":"image_23042025_14_37_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e57f94a6588dfd595cae3b72a8aacedf.jpg","text":"TemporaryFile(/tmp/multipartBody4868118148233634757asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411944272,"filename":"image_23042025_14_36_55_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a566ca45ed6b1915ad09a076538ca896.jpg","text":"TemporaryFile(/tmp/multipartBody7165896775836475426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411944272,"filename":"image_23042025_14_37_24_10800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ded44cd7f2c906017056ee4ce5a7866d.jpg","text":"TemporaryFile(/tmp/multipartBody8406158074723376562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411944272,"filename":"image_23042025_14_37_13_10059.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45e440f7e1e9d26cf9dfb2ab6ddc852c.jpg","text":"TemporaryFile(/tmp/multipartBody5670026579851610102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745411944272,"filename":"image_23042025_14_37_44_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353048246","file1":"1353048192","file0":"1353048137","file4":"1353048456","file5":"1353048514","file3":"1353048309"},"map_files_photo_id_array":[{"photo_id":"1353048514","filename":"file5"},{"photo_id":"1353048246","filename":"file2"},{"photo_id":"1353048456","filename":"file4"},{"photo_id":"1353048192","filename":"file1"},{"photo_id":"1353048137","filename":"file0"},{"photo_id":"1353048309","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353048514":["hashtag1","hashtag2"]},{"1353048192":["hashtag1","hashtag2"]},{"1353048456":["hashtag1","hashtag2"]},{"1353048246":["hashtag1","hashtag2"]},{"1353048309":["hashtag1","hashtag2"]},{"1353048137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353048514, 1353048192, 1353048456, 1353048246, 1353048309, 1353048137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.48551344871521 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:39:03.312348
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_45_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_35_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_25_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_15_10692.jpg', 2), ('/home/nano/Desktop/images/23042025/11/54/image_23042025_11_55_05_9783.jpg', 2), ('/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_55_9688.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_45_10654.jpg', '/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_35_9648.jpg', '/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_25_9641.jpg', '/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_15_10692.jpg', '/home/nano/Desktop/images/23042025/11/54/image_23042025_11_55_05_9783.jpg', '/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_55_9688.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_45_10654.jpg
/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_35_9648.jpg
/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_25_9641.jpg
/home/nano/Desktop/images/23042025/11/55/image_23042025_11_55_15_10692.jpg
/home/nano/Desktop/images/23042025/11/54/image_23042025_11_55_05_9783.jpg
/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_55_9688.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353049236","1353049158","1353049401","1353049484","1353049319","1353049569"],"photo_ids_order":["1353049158","1353049236","1353049319","1353049401","1353049484","1353049569"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a2d31cd7ddde390be0277be1d9bff72.jpg","text":"TemporaryFile(/tmp/multipartBody4138292265489489876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412004709,"filename":"image_23042025_11_55_35_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/633327e93e9a9dce1bdb4cb35c1f7331.jpg","text":"TemporaryFile(/tmp/multipartBody4368690021997148357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412004709,"filename":"image_23042025_11_55_45_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2c5a50e82cc3096b62a76128cfaae88.jpg","text":"TemporaryFile(/tmp/multipartBody9126911973767703442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412004709,"filename":"image_23042025_11_55_15_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50de000904cecfcea7fba8662a679f4d.jpg","text":"TemporaryFile(/tmp/multipartBody3207426200296536022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412004709,"filename":"image_23042025_11_55_05_9783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/174923a1eb219a158ca8905eb4542482.jpg","text":"TemporaryFile(/tmp/multipartBody5523200718321327072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412004709,"filename":"image_23042025_11_55_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86bd2dc7e52e013517160f6b04aa72c2.jpg","text":"TemporaryFile(/tmp/multipartBody67995107951056206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412004709,"filename":"image_23042025_11_54_55_9688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353049319","file1":"1353049236","file0":"1353049158","file4":"1353049484","file5":"1353049569","file3":"1353049401"},"map_files_photo_id_array":[{"photo_id":"1353049569","filename":"file5"},{"photo_id":"1353049319","filename":"file2"},{"photo_id":"1353049484","filename":"file4"},{"photo_id":"1353049236","filename":"file1"},{"photo_id":"1353049158","filename":"file0"},{"photo_id":"1353049401","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353049236":["hashtag1","hashtag2"]},{"1353049158":["hashtag1","hashtag2"]},{"1353049401":["hashtag1","hashtag2"]},{"1353049484":["hashtag1","hashtag2"]},{"1353049319":["hashtag1","hashtag2"]},{"1353049569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353049236, 1353049158, 1353049401, 1353049484, 1353049319, 1353049569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.219910621643066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:40:03.122002
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_44_10775.jpg', 2), ('/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_34_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_24_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_14_10732.jpg', 2), ('/home/nano/Desktop/images/23042025/14/38/image_23042025_14_39_03_9840.jpg', 2), ('/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_54_9785.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_44_10775.jpg', '/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_34_9694.jpg', '/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_24_9755.jpg', '/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_14_10732.jpg', '/home/nano/Desktop/images/23042025/14/38/image_23042025_14_39_03_9840.jpg', '/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_54_9785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_44_10775.jpg
/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_34_9694.jpg
/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_24_9755.jpg
/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_14_10732.jpg
/home/nano/Desktop/images/23042025/14/38/image_23042025_14_39_03_9840.jpg
/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_54_9785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353050184","1353050193","1353050187","1353050154","1353050179","1353050182"],"photo_ids_order":["1353050154","1353050179","1353050182","1353050184","1353050187","1353050193"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28eb8b9c062015365adeb9e1c087d2b9.jpg","text":"TemporaryFile(/tmp/multipartBody7271371378595617898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412064799,"filename":"image_23042025_14_39_14_10732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f07831ace50ca36a8ffcf343022fff5.jpg","text":"TemporaryFile(/tmp/multipartBody8464934462607303571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412064799,"filename":"image_23042025_14_38_54_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/906d77e091ae172f6b552e585458d668.jpg","text":"TemporaryFile(/tmp/multipartBody3367836636081747374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412064799,"filename":"image_23042025_14_39_03_9840.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da915a0ee7cc6bfd50fdb6f81c3c8e7f.jpg","text":"TemporaryFile(/tmp/multipartBody6056907688103791040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412064799,"filename":"image_23042025_14_39_44_10775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b89784bd2a0d4e25633c6c8f386bde07.jpg","text":"TemporaryFile(/tmp/multipartBody8419357594387547691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412064799,"filename":"image_23042025_14_39_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb1aaf35948d5ed601586328b3125934.jpg","text":"TemporaryFile(/tmp/multipartBody9105763631311249222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412064799,"filename":"image_23042025_14_39_24_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353050182","file1":"1353050179","file0":"1353050154","file4":"1353050187","file5":"1353050193","file3":"1353050184"},"map_files_photo_id_array":[{"photo_id":"1353050193","filename":"file5"},{"photo_id":"1353050182","filename":"file2"},{"photo_id":"1353050187","filename":"file4"},{"photo_id":"1353050179","filename":"file1"},{"photo_id":"1353050154","filename":"file0"},{"photo_id":"1353050184","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353050184":["hashtag1","hashtag2"]},{"1353050193":["hashtag1","hashtag2"]},{"1353050187":["hashtag1","hashtag2"]},{"1353050154":["hashtag1","hashtag2"]},{"1353050179":["hashtag1","hashtag2"]},{"1353050182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353050184, 1353050193, 1353050187, 1353050154, 1353050179, 1353050182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96842861175537 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:41:03.417986
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_44_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_34_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_23_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_14_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/14/39/image_23042025_14_40_04_9836.jpg', 2), ('/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_54_9831.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_44_9745.jpg', '/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_34_10716.jpg', '/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_23_9676.jpg', '/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_14_9721.jpg', '/home/nano/Desktop/images/23042025/14/39/image_23042025_14_40_04_9836.jpg', '/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_54_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_44_9745.jpg
/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_34_10716.jpg
/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_23_9676.jpg
/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_14_9721.jpg
/home/nano/Desktop/images/23042025/14/39/image_23042025_14_40_04_9836.jpg
/home/nano/Desktop/images/23042025/14/39/image_23042025_14_39_54_9831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353050460","1353050379","1353050492","1353050534","1353050339","1353050426"],"photo_ids_order":["1353050339","1353050379","1353050426","1353050460","1353050492","1353050534"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/800befe67367ee61ad8e8183967759bc.jpg","text":"TemporaryFile(/tmp/multipartBody1440366633505265908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412125248,"filename":"image_23042025_14_40_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e248c7377072bf530748abf9227fcd99.jpg","text":"TemporaryFile(/tmp/multipartBody3495756924504972168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412125248,"filename":"image_23042025_14_40_34_10716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95ef323e0458beb734b03a406a644593.jpg","text":"TemporaryFile(/tmp/multipartBody4030190026835029876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412125248,"filename":"image_23042025_14_40_04_9836.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/804dcf2acc7d2d7a4cde1a1c838ea8c5.jpg","text":"TemporaryFile(/tmp/multipartBody931096866509694644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412125248,"filename":"image_23042025_14_39_54_9831.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0cc9a3fc273c89da875d0713bf2bd28.jpg","text":"TemporaryFile(/tmp/multipartBody1208111728036077498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412125248,"filename":"image_23042025_14_40_44_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5480a52703f8fd76fccf9f492335bf85.jpg","text":"TemporaryFile(/tmp/multipartBody130196533868270579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412125248,"filename":"image_23042025_14_40_23_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353050426","file1":"1353050379","file0":"1353050339","file4":"1353050492","file5":"1353050534","file3":"1353050460"},"map_files_photo_id_array":[{"photo_id":"1353050534","filename":"file5"},{"photo_id":"1353050426","filename":"file2"},{"photo_id":"1353050492","filename":"file4"},{"photo_id":"1353050379","filename":"file1"},{"photo_id":"1353050339","filename":"file0"},{"photo_id":"1353050460","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353050460":["hashtag1","hashtag2"]},{"1353050379":["hashtag1","hashtag2"]},{"1353050492":["hashtag1","hashtag2"]},{"1353050534":["hashtag1","hashtag2"]},{"1353050339":["hashtag1","hashtag2"]},{"1353050426":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353050460, 1353050379, 1353050492, 1353050534, 1353050339, 1353050426)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.177749156951904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:42:03.334572
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_44_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_34_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_24_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_14_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/14/40/image_23042025_14_41_04_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_54_9707.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_44_10730.jpg', '/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_34_9815.jpg', '/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_24_9695.jpg', '/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_14_9800.jpg', '/home/nano/Desktop/images/23042025/14/40/image_23042025_14_41_04_10728.jpg', '/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_54_9707.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_44_10730.jpg
/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_34_9815.jpg
/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_24_9695.jpg
/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_14_9800.jpg
/home/nano/Desktop/images/23042025/14/40/image_23042025_14_41_04_10728.jpg
/home/nano/Desktop/images/23042025/14/40/image_23042025_14_40_54_9707.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353050970","1353051194","1353050885","1353051157","1353051028","1353051075"],"photo_ids_order":["1353050885","1353050970","1353051028","1353051075","1353051157","1353051194"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2930b9949b27bfe60b114a9a6c1197ef.jpg","text":"TemporaryFile(/tmp/multipartBody4446790780370408361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412185087,"filename":"image_23042025_14_41_34_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8cca01d6790d10dfbdc4b58b16f8b67.jpg","text":"TemporaryFile(/tmp/multipartBody1295378083167570504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412185087,"filename":"image_23042025_14_40_54_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/328d5ba4901b66a8001a949c02b44a35.jpg","text":"TemporaryFile(/tmp/multipartBody1996696730202673672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412185087,"filename":"image_23042025_14_41_44_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9de88d7a30edad2a1d03dc4a31c83b95.jpg","text":"TemporaryFile(/tmp/multipartBody3161367412100265802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412185087,"filename":"image_23042025_14_41_04_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7002b56ca3fb4368f76109032036218e.jpg","text":"TemporaryFile(/tmp/multipartBody7587038460069220953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412185087,"filename":"image_23042025_14_41_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96313e2d25286d0a640319bcc90c8bd8.jpg","text":"TemporaryFile(/tmp/multipartBody8346705098375986175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412185087,"filename":"image_23042025_14_41_14_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353051028","file1":"1353050970","file0":"1353050885","file4":"1353051157","file5":"1353051194","file3":"1353051075"},"map_files_photo_id_array":[{"photo_id":"1353051194","filename":"file5"},{"photo_id":"1353051028","filename":"file2"},{"photo_id":"1353051157","filename":"file4"},{"photo_id":"1353050970","filename":"file1"},{"photo_id":"1353050885","filename":"file0"},{"photo_id":"1353051075","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353050970":["hashtag1","hashtag2"]},{"1353051194":["hashtag1","hashtag2"]},{"1353050885":["hashtag1","hashtag2"]},{"1353051157":["hashtag1","hashtag2"]},{"1353051028":["hashtag1","hashtag2"]},{"1353051075":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353050970, 1353051194, 1353050885, 1353051157, 1353051028, 1353051075)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.33388876914978 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:43:02.438159
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_44_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_34_10834.jpg', 2), ('/home/nano/Desktop/images/23042025/14/41/image_23042025_14_42_04_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_54_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_44_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_34_10714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_44_9668.jpg', '/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_34_10834.jpg', '/home/nano/Desktop/images/23042025/14/41/image_23042025_14_42_04_9739.jpg', '/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_54_9679.jpg', '/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_44_9681.jpg', '/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_34_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_44_9668.jpg
/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_34_10834.jpg
/home/nano/Desktop/images/23042025/14/41/image_23042025_14_42_04_9739.jpg
/home/nano/Desktop/images/23042025/14/41/image_23042025_14_41_54_9679.jpg
/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_44_9681.jpg
/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_34_10714.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353052002","1353051893","1353051773","1353052086","1353052158","1353052218"],"photo_ids_order":["1353051773","1353051893","1353052002","1353052086","1353052158","1353052218"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00d846fffa795a71b5f121f7c31b1be2.jpg","text":"TemporaryFile(/tmp/multipartBody2969742341274326872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412243972,"filename":"image_23042025_14_42_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b6a087b35d335616164e806cd71b4a3.jpg","text":"TemporaryFile(/tmp/multipartBody3958448654329570966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412243972,"filename":"image_23042025_14_42_34_10834.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5727ddfdd5d6a1c29edf4955749a07fe.jpg","text":"TemporaryFile(/tmp/multipartBody5262991444354891254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412243972,"filename":"image_23042025_14_42_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d44c8cb54d2a097612f2f1d5af14ba8.jpg","text":"TemporaryFile(/tmp/multipartBody1014864944646581541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412243972,"filename":"image_23042025_14_41_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ee91d2efba108790cb8d0155e493be8.jpg","text":"TemporaryFile(/tmp/multipartBody2052042374458350340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412243972,"filename":"image_23042025_14_38_44_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8aae1e5f5ab7da64e115923bc91efdfc.jpg","text":"TemporaryFile(/tmp/multipartBody4517406194694746292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412243972,"filename":"image_23042025_14_38_34_10714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353052002","file1":"1353051893","file0":"1353051773","file4":"1353052158","file5":"1353052218","file3":"1353052086"},"map_files_photo_id_array":[{"photo_id":"1353052218","filename":"file5"},{"photo_id":"1353052002","filename":"file2"},{"photo_id":"1353052158","filename":"file4"},{"photo_id":"1353051893","filename":"file1"},{"photo_id":"1353051773","filename":"file0"},{"photo_id":"1353052086","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353052002":["hashtag1","hashtag2"]},{"1353051893":["hashtag1","hashtag2"]},{"1353051773":["hashtag1","hashtag2"]},{"1353052086":["hashtag1","hashtag2"]},{"1353052158":["hashtag1","hashtag2"]},{"1353052218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353052002, 1353051893, 1353051773, 1353052086, 1353052158, 1353052218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.32078695297241 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:44:02.825598
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_44_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_33_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_24_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_14_10695.jpg', 2), ('/home/nano/Desktop/images/23042025/14/42/image_23042025_14_43_03_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_54_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_44_10658.jpg', '/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_33_9692.jpg', '/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_24_9676.jpg', '/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_14_10695.jpg', '/home/nano/Desktop/images/23042025/14/42/image_23042025_14_43_03_9694.jpg', '/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_44_10658.jpg
/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_33_9692.jpg
/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_24_9676.jpg
/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_14_10695.jpg
/home/nano/Desktop/images/23042025/14/42/image_23042025_14_43_03_9694.jpg
/home/nano/Desktop/images/23042025/14/42/image_23042025_14_42_54_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353052769","1353052724","1353052954","1353053008","1353052819","1353052884"],"photo_ids_order":["1353052724","1353052769","1353052819","1353052884","1353052954","1353053008"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e16e41fd8a89205931bef27461734d0f.jpg","text":"TemporaryFile(/tmp/multipartBody7804112632426595005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412304043,"filename":"image_23042025_14_43_33_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d7e1a9a5a5ab5775f70a19ba9b4ef32.jpg","text":"TemporaryFile(/tmp/multipartBody6445687919821259411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412304043,"filename":"image_23042025_14_43_44_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0e225c3b9bf95ec1a6da8588e13d328.jpg","text":"TemporaryFile(/tmp/multipartBody1316186762058900154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412304043,"filename":"image_23042025_14_43_03_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2e23596360747b169eea6562871fdd5.jpg","text":"TemporaryFile(/tmp/multipartBody529851954892832251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412304043,"filename":"image_23042025_14_42_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/291de50b1cd4502c61f848bcb9900496.jpg","text":"TemporaryFile(/tmp/multipartBody2284447341293831267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412304043,"filename":"image_23042025_14_43_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56049a490f0a580217300720bf232db4.jpg","text":"TemporaryFile(/tmp/multipartBody2910838359891751566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412304043,"filename":"image_23042025_14_43_14_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353052819","file1":"1353052769","file0":"1353052724","file4":"1353052954","file5":"1353053008","file3":"1353052884"},"map_files_photo_id_array":[{"photo_id":"1353053008","filename":"file5"},{"photo_id":"1353052819","filename":"file2"},{"photo_id":"1353052954","filename":"file4"},{"photo_id":"1353052769","filename":"file1"},{"photo_id":"1353052724","filename":"file0"},{"photo_id":"1353052884","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353052769":["hashtag1","hashtag2"]},{"1353052724":["hashtag1","hashtag2"]},{"1353052954":["hashtag1","hashtag2"]},{"1353053008":["hashtag1","hashtag2"]},{"1353052819":["hashtag1","hashtag2"]},{"1353052884":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353052769, 1353052724, 1353052954, 1353053008, 1353052819, 1353052884)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.383283615112305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:45:02.783570
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_44_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_34_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_24_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_14_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/14/43/image_23042025_14_44_03_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_54_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_44_9644.jpg', '/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_34_10647.jpg', '/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_24_9638.jpg', '/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_14_10670.jpg', '/home/nano/Desktop/images/23042025/14/43/image_23042025_14_44_03_9646.jpg', '/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_44_9644.jpg
/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_34_10647.jpg
/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_24_9638.jpg
/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_14_10670.jpg
/home/nano/Desktop/images/23042025/14/43/image_23042025_14_44_03_9646.jpg
/home/nano/Desktop/images/23042025/14/43/image_23042025_14_43_54_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353053921","1353053845","1353053792","1353053730","1353053625","1353053678"],"photo_ids_order":["1353053625","1353053678","1353053730","1353053792","1353053845","1353053921"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a6e6f01a75a881759cd29391d3335e8.jpg","text":"TemporaryFile(/tmp/multipartBody404509671525799262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412363832,"filename":"image_23042025_14_43_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/032bfe7479dc10e7865d9ee8bc1ecb68.jpg","text":"TemporaryFile(/tmp/multipartBody1127552627035873836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412363832,"filename":"image_23042025_14_44_03_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5ac0fb1197f97fb0865d1e58be6e297.jpg","text":"TemporaryFile(/tmp/multipartBody2659739546890318665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412363832,"filename":"image_23042025_14_44_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3dde0a5fc4204bd9625fe3b5d1ecd13.jpg","text":"TemporaryFile(/tmp/multipartBody1385623033589165777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412363832,"filename":"image_23042025_14_44_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15eb6fbf170e0a38325aba0b9cb5d7d5.jpg","text":"TemporaryFile(/tmp/multipartBody3774336369645358822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412363832,"filename":"image_23042025_14_44_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9623343eadcc137c84880394c27adc8.jpg","text":"TemporaryFile(/tmp/multipartBody78627134201233948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412363832,"filename":"image_23042025_14_44_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353053730","file1":"1353053678","file0":"1353053625","file4":"1353053845","file5":"1353053921","file3":"1353053792"},"map_files_photo_id_array":[{"photo_id":"1353053921","filename":"file5"},{"photo_id":"1353053730","filename":"file2"},{"photo_id":"1353053845","filename":"file4"},{"photo_id":"1353053678","filename":"file1"},{"photo_id":"1353053625","filename":"file0"},{"photo_id":"1353053792","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353053921":["hashtag1","hashtag2"]},{"1353053845":["hashtag1","hashtag2"]},{"1353053792":["hashtag1","hashtag2"]},{"1353053730":["hashtag1","hashtag2"]},{"1353053625":["hashtag1","hashtag2"]},{"1353053678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353053921, 1353053845, 1353053792, 1353053730, 1353053625, 1353053678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.49030876159668 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:46:02.747154
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_44_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_34_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_24_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_14_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/14/44/image_23042025_14_45_04_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_44_9647.jpg', '/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_34_10663.jpg', '/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_24_9628.jpg', '/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_14_9685.jpg', '/home/nano/Desktop/images/23042025/14/44/image_23042025_14_45_04_10674.jpg', '/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_44_9647.jpg
/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_34_10663.jpg
/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_24_9628.jpg
/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_14_9685.jpg
/home/nano/Desktop/images/23042025/14/44/image_23042025_14_45_04_10674.jpg
/home/nano/Desktop/images/23042025/14/44/image_23042025_14_44_54_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353054547","1353055029","1353054706","1353055385","1353054957","1353054845"],"photo_ids_order":["1353054547","1353054706","1353054845","1353054957","1353055029","1353055385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2eeb8b0f635fa31659a075a51fefcc84.jpg","text":"TemporaryFile(/tmp/multipartBody5500015507432807499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412424366,"filename":"image_23042025_14_45_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c78326c0274b32cf08e60ceda027e063.jpg","text":"TemporaryFile(/tmp/multipartBody6199444842034035294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412424366,"filename":"image_23042025_14_45_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c99e89b98238bd57d7f5bde90cbf2f9b.jpg","text":"TemporaryFile(/tmp/multipartBody2369148509266173815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412424366,"filename":"image_23042025_14_45_34_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5570453be76cd1cb29e42a1cbd32d679.jpg","text":"TemporaryFile(/tmp/multipartBody1792054758750927161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412424366,"filename":"image_23042025_14_44_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b926d1c84b03020c86cda0f1de799a91.jpg","text":"TemporaryFile(/tmp/multipartBody6921742635095272939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412424366,"filename":"image_23042025_14_45_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/befb5ade313c287662e754e4f738e750.jpg","text":"TemporaryFile(/tmp/multipartBody6621783069439897251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412424366,"filename":"image_23042025_14_45_24_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353054845","file1":"1353054706","file0":"1353054547","file4":"1353055029","file5":"1353055385","file3":"1353054957"},"map_files_photo_id_array":[{"photo_id":"1353055385","filename":"file5"},{"photo_id":"1353054845","filename":"file2"},{"photo_id":"1353055029","filename":"file4"},{"photo_id":"1353054706","filename":"file1"},{"photo_id":"1353054547","filename":"file0"},{"photo_id":"1353054957","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353054547":["hashtag1","hashtag2"]},{"1353055029":["hashtag1","hashtag2"]},{"1353054706":["hashtag1","hashtag2"]},{"1353055385":["hashtag1","hashtag2"]},{"1353054957":["hashtag1","hashtag2"]},{"1353054845":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353054547, 1353055029, 1353054706, 1353055385, 1353054957, 1353054845)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.741047382354736 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:47:02.953775
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_44_10631.jpg', 2), ('/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_33_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_24_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_14_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/14/45/image_23042025_14_46_04_9869.jpg', 2), ('/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_54_9778.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_44_10631.jpg', '/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_33_9624.jpg', '/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_24_9630.jpg', '/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_14_10644.jpg', '/home/nano/Desktop/images/23042025/14/45/image_23042025_14_46_04_9869.jpg', '/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_54_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_44_10631.jpg
/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_33_9624.jpg
/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_24_9630.jpg
/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_14_10644.jpg
/home/nano/Desktop/images/23042025/14/45/image_23042025_14_46_04_9869.jpg
/home/nano/Desktop/images/23042025/14/45/image_23042025_14_45_54_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353055933","1353055935","1353055926","1353055838","1353055904","1353055876"],"photo_ids_order":["1353055838","1353055876","1353055904","1353055926","1353055933","1353055935"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43ab4d45dfb754af82ba7773420fd60c.jpg","text":"TemporaryFile(/tmp/multipartBody303915699839598884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412484148,"filename":"image_23042025_14_46_04_9869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38cc86b86456d0ba2a3f5a5db81925ec.jpg","text":"TemporaryFile(/tmp/multipartBody8947829014816730272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412484148,"filename":"image_23042025_14_45_54_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d501e65d6396e4fd8b0a3186717a0f0.jpg","text":"TemporaryFile(/tmp/multipartBody7719580703418508940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412484148,"filename":"image_23042025_14_46_14_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1700fd5509f951617302d41ec36eaf2.jpg","text":"TemporaryFile(/tmp/multipartBody8943482241500460323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412484148,"filename":"image_23042025_14_46_44_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3273fbb1005cd592fde525202307bd95.jpg","text":"TemporaryFile(/tmp/multipartBody471503021662510888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412484148,"filename":"image_23042025_14_46_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab5576938222b5a93095be7e1de7bc8b.jpg","text":"TemporaryFile(/tmp/multipartBody6515603714854854198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412484148,"filename":"image_23042025_14_46_33_9624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353055904","file1":"1353055876","file0":"1353055838","file4":"1353055933","file5":"1353055935","file3":"1353055926"},"map_files_photo_id_array":[{"photo_id":"1353055935","filename":"file5"},{"photo_id":"1353055904","filename":"file2"},{"photo_id":"1353055933","filename":"file4"},{"photo_id":"1353055876","filename":"file1"},{"photo_id":"1353055838","filename":"file0"},{"photo_id":"1353055926","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353055933":["hashtag1","hashtag2"]},{"1353055935":["hashtag1","hashtag2"]},{"1353055926":["hashtag1","hashtag2"]},{"1353055838":["hashtag1","hashtag2"]},{"1353055904":["hashtag1","hashtag2"]},{"1353055876":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353055933, 1353055935, 1353055926, 1353055838, 1353055904, 1353055876)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.531360387802124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:48:03.004840
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_44_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_24_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_14_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/14/46/image_23042025_14_47_03_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_54_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_23_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_44_9574.jpg', '/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_24_9572.jpg', '/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_14_10656.jpg', '/home/nano/Desktop/images/23042025/14/46/image_23042025_14_47_03_9650.jpg', '/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_54_9658.jpg', '/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_23_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_44_9574.jpg
/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_24_9572.jpg
/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_14_10656.jpg
/home/nano/Desktop/images/23042025/14/46/image_23042025_14_47_03_9650.jpg
/home/nano/Desktop/images/23042025/14/46/image_23042025_14_46_54_9658.jpg
/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_23_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353056172","1353056166","1353056138","1353056179","1353056173","1353056176"],"photo_ids_order":["1353056138","1353056166","1353056172","1353056173","1353056176","1353056179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/126c233834652838918238987a75ac11.jpg","text":"TemporaryFile(/tmp/multipartBody7380133541912019355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412544210,"filename":"image_23042025_14_47_14_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/124f8c3dc231f62f11e91aed158f7901.jpg","text":"TemporaryFile(/tmp/multipartBody2316465412575070790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412544210,"filename":"image_23042025_14_47_24_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/793c2165d82b4d7663b9e1086cc491ab.jpg","text":"TemporaryFile(/tmp/multipartBody8742714016378675215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412544210,"filename":"image_23042025_14_47_44_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60a20533ec6b9b24406e41c609b11edd.jpg","text":"TemporaryFile(/tmp/multipartBody9212526007963568646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412544210,"filename":"image_23042025_14_38_23_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1df472216934b979343204f8b1ffc7ce.jpg","text":"TemporaryFile(/tmp/multipartBody562730852284677491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412544210,"filename":"image_23042025_14_47_03_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bad02f34014c7726d0a82dfdfbe2589d.jpg","text":"TemporaryFile(/tmp/multipartBody1727649212316122173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412544210,"filename":"image_23042025_14_46_54_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353056172","file1":"1353056166","file0":"1353056138","file4":"1353056176","file5":"1353056179","file3":"1353056173"},"map_files_photo_id_array":[{"photo_id":"1353056179","filename":"file5"},{"photo_id":"1353056172","filename":"file2"},{"photo_id":"1353056176","filename":"file4"},{"photo_id":"1353056166","filename":"file1"},{"photo_id":"1353056138","filename":"file0"},{"photo_id":"1353056173","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353056172":["hashtag1","hashtag2"]},{"1353056166":["hashtag1","hashtag2"]},{"1353056138":["hashtag1","hashtag2"]},{"1353056179":["hashtag1","hashtag2"]},{"1353056173":["hashtag1","hashtag2"]},{"1353056176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353056172, 1353056166, 1353056138, 1353056179, 1353056173, 1353056176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.32951641082764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:49:03.497869
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_44_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_34_10631.jpg', 2), ('/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_24_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_14_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/14/47/image_23042025_14_48_04_10801.jpg', 2), ('/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_53_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_44_9561.jpg', '/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_34_10631.jpg', '/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_24_9624.jpg', '/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_14_9755.jpg', '/home/nano/Desktop/images/23042025/14/47/image_23042025_14_48_04_10801.jpg', '/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_53_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_44_9561.jpg
/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_34_10631.jpg
/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_24_9624.jpg
/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_14_9755.jpg
/home/nano/Desktop/images/23042025/14/47/image_23042025_14_48_04_10801.jpg
/home/nano/Desktop/images/23042025/14/47/image_23042025_14_47_53_9569.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353056277","1353056205","1353056198","1353056202","1353056246","1353056218"],"photo_ids_order":["1353056198","1353056202","1353056205","1353056218","1353056246","1353056277"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff04a6c6c91453aa5b4887879e5aff69.jpg","text":"TemporaryFile(/tmp/multipartBody911879653986912404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412604694,"filename":"image_23042025_14_47_53_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27a92a88552a19a19b194c4155a446af.jpg","text":"TemporaryFile(/tmp/multipartBody5183036841709264774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412604694,"filename":"image_23042025_14_48_24_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08eaa93a15ca22572cffc26110cbc0ea.jpg","text":"TemporaryFile(/tmp/multipartBody4707179052620262465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412604694,"filename":"image_23042025_14_48_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aeb5b255a7ae87cf185734016d3e1e6a.jpg","text":"TemporaryFile(/tmp/multipartBody8816206455329285011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412604694,"filename":"image_23042025_14_48_34_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e111ba72d5d9e3da07c19bd7b83e411c.jpg","text":"TemporaryFile(/tmp/multipartBody9095333590112145101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412604694,"filename":"image_23042025_14_48_04_10801.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9fcb90996a147e6d0cd4c1de82aa86c.jpg","text":"TemporaryFile(/tmp/multipartBody4324870030175269581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412604694,"filename":"image_23042025_14_48_14_9755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353056205","file1":"1353056202","file0":"1353056198","file4":"1353056246","file5":"1353056277","file3":"1353056218"},"map_files_photo_id_array":[{"photo_id":"1353056277","filename":"file5"},{"photo_id":"1353056205","filename":"file2"},{"photo_id":"1353056246","filename":"file4"},{"photo_id":"1353056202","filename":"file1"},{"photo_id":"1353056198","filename":"file0"},{"photo_id":"1353056218","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353056277":["hashtag1","hashtag2"]},{"1353056205":["hashtag1","hashtag2"]},{"1353056198":["hashtag1","hashtag2"]},{"1353056202":["hashtag1","hashtag2"]},{"1353056246":["hashtag1","hashtag2"]},{"1353056218":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353056277, 1353056205, 1353056198, 1353056202, 1353056246, 1353056218)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.667804479599 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:50:03.183363
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_44_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_24_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_13_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/14/48/image_23042025_14_49_04_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_54_10568.jpg', 2), ('/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_14_9698.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_44_10570.jpg', '/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_24_10589.jpg', '/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_13_9575.jpg', '/home/nano/Desktop/images/23042025/14/48/image_23042025_14_49_04_9582.jpg', '/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_54_10568.jpg', '/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_14_9698.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_44_10570.jpg
/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_24_10589.jpg
/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_13_9575.jpg
/home/nano/Desktop/images/23042025/14/48/image_23042025_14_49_04_9582.jpg
/home/nano/Desktop/images/23042025/14/48/image_23042025_14_48_54_10568.jpg
/home/nano/Desktop/images/23042025/14/38/image_23042025_14_38_14_9698.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353056567","1353056698","1353056621","1353056674","1353056647","1353056598"],"photo_ids_order":["1353056567","1353056598","1353056621","1353056647","1353056674","1353056698"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4943ada0e96e0ec3be9c39778cd38516.jpg","text":"TemporaryFile(/tmp/multipartBody2561287459485212617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412664240,"filename":"image_23042025_14_49_44_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ba8441f35c2dcdc96713eda3c2a2ba1.jpg","text":"TemporaryFile(/tmp/multipartBody7161547646098939884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412664240,"filename":"image_23042025_14_38_14_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/071d51e9fc69e31079e8ed1271b76b29.jpg","text":"TemporaryFile(/tmp/multipartBody796988908102945470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412664240,"filename":"image_23042025_14_49_13_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d0b4b7cebd931a31bee75f45e880ff9.jpg","text":"TemporaryFile(/tmp/multipartBody8404123581501582611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412664240,"filename":"image_23042025_14_48_54_10568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd5796775258feb368bae627589ce7c6.jpg","text":"TemporaryFile(/tmp/multipartBody8288244944866023509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412664240,"filename":"image_23042025_14_49_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cf92ba97db4d2fa330049edff69684d.jpg","text":"TemporaryFile(/tmp/multipartBody7161326334091468561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412664240,"filename":"image_23042025_14_49_24_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353056621","file1":"1353056598","file0":"1353056567","file4":"1353056674","file5":"1353056698","file3":"1353056647"},"map_files_photo_id_array":[{"photo_id":"1353056698","filename":"file5"},{"photo_id":"1353056621","filename":"file2"},{"photo_id":"1353056674","filename":"file4"},{"photo_id":"1353056598","filename":"file1"},{"photo_id":"1353056567","filename":"file0"},{"photo_id":"1353056647","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353056567":["hashtag1","hashtag2"]},{"1353056698":["hashtag1","hashtag2"]},{"1353056621":["hashtag1","hashtag2"]},{"1353056674":["hashtag1","hashtag2"]},{"1353056647":["hashtag1","hashtag2"]},{"1353056598":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353056567, 1353056698, 1353056621, 1353056674, 1353056647, 1353056598)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.11902379989624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:51:03.333911
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_34_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_24_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_14_9593.jpg', 2), ('/home/nano/Desktop/images/23042025/14/49/image_23042025_14_50_04_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_54_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/37/image_23042025_14_38_04_9702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_34_10584.jpg', '/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_24_9575.jpg', '/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_14_9593.jpg', '/home/nano/Desktop/images/23042025/14/49/image_23042025_14_50_04_10584.jpg', '/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_54_9561.jpg', '/home/nano/Desktop/images/23042025/14/37/image_23042025_14_38_04_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_34_10584.jpg
/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_24_9575.jpg
/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_14_9593.jpg
/home/nano/Desktop/images/23042025/14/49/image_23042025_14_50_04_10584.jpg
/home/nano/Desktop/images/23042025/14/49/image_23042025_14_49_54_9561.jpg
/home/nano/Desktop/images/23042025/14/37/image_23042025_14_38_04_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353056877","1353056870","1353056881","1353056872","1353056851","1353056874"],"photo_ids_order":["1353056851","1353056870","1353056872","1353056874","1353056877","1353056881"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f98e79a9e5d8770ba02a81f554f2195.jpg","text":"TemporaryFile(/tmp/multipartBody6376912255329249599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412724272,"filename":"image_23042025_14_49_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66fc87b09c73fd2a1e9a318016d4b01f.jpg","text":"TemporaryFile(/tmp/multipartBody5025501102448883785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412724272,"filename":"image_23042025_14_50_24_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94d72888904ead7939f65c077ef08d5e.jpg","text":"TemporaryFile(/tmp/multipartBody2878846605005296445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412724272,"filename":"image_23042025_14_38_04_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/613128a75ab5a650879811705a1719bb.jpg","text":"TemporaryFile(/tmp/multipartBody5266572887481039195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412724272,"filename":"image_23042025_14_50_14_9593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/742f7865c02a20d5e1c478880003f26e.jpg","text":"TemporaryFile(/tmp/multipartBody5881597348922381057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412724272,"filename":"image_23042025_14_50_34_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fe92dcbf5d5527353a657fd2b59b424.jpg","text":"TemporaryFile(/tmp/multipartBody6090962455644328070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412724272,"filename":"image_23042025_14_50_04_10584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353056872","file1":"1353056870","file0":"1353056851","file4":"1353056877","file5":"1353056881","file3":"1353056874"},"map_files_photo_id_array":[{"photo_id":"1353056881","filename":"file5"},{"photo_id":"1353056872","filename":"file2"},{"photo_id":"1353056877","filename":"file4"},{"photo_id":"1353056870","filename":"file1"},{"photo_id":"1353056851","filename":"file0"},{"photo_id":"1353056874","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353056877":["hashtag1","hashtag2"]},{"1353056870":["hashtag1","hashtag2"]},{"1353056881":["hashtag1","hashtag2"]},{"1353056872":["hashtag1","hashtag2"]},{"1353056851":["hashtag1","hashtag2"]},{"1353056874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353056877, 1353056870, 1353056881, 1353056872, 1353056851, 1353056874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.68517184257507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:52:02.350150
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_44_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_34_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_24_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_13_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/14/50/image_23042025_14_51_04_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_44_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_44_10569.jpg', '/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_34_9562.jpg', '/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_24_10572.jpg', '/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_13_9576.jpg', '/home/nano/Desktop/images/23042025/14/50/image_23042025_14_51_04_9569.jpg', '/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_44_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_44_10569.jpg
/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_34_9562.jpg
/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_24_10572.jpg
/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_13_9576.jpg
/home/nano/Desktop/images/23042025/14/50/image_23042025_14_51_04_9569.jpg
/home/nano/Desktop/images/23042025/14/50/image_23042025_14_50_44_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057065","1353057053","1353057041","1353057072","1353057069","1353057060"],"photo_ids_order":["1353057041","1353057053","1353057060","1353057065","1353057069","1353057072"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/453eb5732bf717f6f5f45890e04771a4.jpg","text":"TemporaryFile(/tmp/multipartBody6293435841162598050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412783276,"filename":"image_23042025_14_51_13_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a54f75652c7e26386ceff915ca9ff46.jpg","text":"TemporaryFile(/tmp/multipartBody2801865432580601271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412783276,"filename":"image_23042025_14_51_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/963b4254d2a043eb48bb787ec87b3596.jpg","text":"TemporaryFile(/tmp/multipartBody1117538834402573969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412783276,"filename":"image_23042025_14_51_44_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb712bd0a38f8bd69b8cc6e7c102ff2f.jpg","text":"TemporaryFile(/tmp/multipartBody3949990795637426241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412783276,"filename":"image_23042025_14_50_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f381fb0cf901fe471709f87294808c82.jpg","text":"TemporaryFile(/tmp/multipartBody7973593755763844807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412783276,"filename":"image_23042025_14_51_04_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63434fb567430fe2395f599d24bc3bcb.jpg","text":"TemporaryFile(/tmp/multipartBody2954669013544758233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412783276,"filename":"image_23042025_14_51_24_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057060","file1":"1353057053","file0":"1353057041","file4":"1353057069","file5":"1353057072","file3":"1353057065"},"map_files_photo_id_array":[{"photo_id":"1353057072","filename":"file5"},{"photo_id":"1353057060","filename":"file2"},{"photo_id":"1353057069","filename":"file4"},{"photo_id":"1353057053","filename":"file1"},{"photo_id":"1353057041","filename":"file0"},{"photo_id":"1353057065","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057065":["hashtag1","hashtag2"]},{"1353057053":["hashtag1","hashtag2"]},{"1353057041":["hashtag1","hashtag2"]},{"1353057072":["hashtag1","hashtag2"]},{"1353057069":["hashtag1","hashtag2"]},{"1353057060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057065, 1353057053, 1353057041, 1353057072, 1353057069, 1353057060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.10316348075867 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:53:02.680254
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_44_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_34_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_23_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_14_9592.jpg', 2), ('/home/nano/Desktop/images/23042025/14/51/image_23042025_14_52_04_10581.jpg', 2), ('/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_54_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_44_9561.jpg', '/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_34_10570.jpg', '/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_23_9579.jpg', '/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_14_9592.jpg', '/home/nano/Desktop/images/23042025/14/51/image_23042025_14_52_04_10581.jpg', '/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_54_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_44_9561.jpg
/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_34_10570.jpg
/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_23_9579.jpg
/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_14_9592.jpg
/home/nano/Desktop/images/23042025/14/51/image_23042025_14_52_04_10581.jpg
/home/nano/Desktop/images/23042025/14/51/image_23042025_14_51_54_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057239","1353057233","1353057236","1353057241","1353057226","1353057229"],"photo_ids_order":["1353057226","1353057229","1353057233","1353057236","1353057239","1353057241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5175458f3099dc39063b2a3dc904d2f.jpg","text":"TemporaryFile(/tmp/multipartBody7513105461428806948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412843513,"filename":"image_23042025_14_52_04_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/022711fbe3316b1035502833c20d65e4.jpg","text":"TemporaryFile(/tmp/multipartBody44025322095705870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412843513,"filename":"image_23042025_14_52_23_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55f07683b811d7f891a2ac932fcfe196.jpg","text":"TemporaryFile(/tmp/multipartBody4830570887791505533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412843513,"filename":"image_23042025_14_52_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/897b1bf56a577c09d6f267a80e583e41.jpg","text":"TemporaryFile(/tmp/multipartBody7658289727999881494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412843513,"filename":"image_23042025_14_51_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2613c023650868a09eb20d5677a42d3.jpg","text":"TemporaryFile(/tmp/multipartBody8852664998203073370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412843513,"filename":"image_23042025_14_52_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d4082482d06f72d519f9b7a0017d602.jpg","text":"TemporaryFile(/tmp/multipartBody3665160687549791005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412843513,"filename":"image_23042025_14_52_34_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057233","file1":"1353057229","file0":"1353057226","file4":"1353057239","file5":"1353057241","file3":"1353057236"},"map_files_photo_id_array":[{"photo_id":"1353057241","filename":"file5"},{"photo_id":"1353057233","filename":"file2"},{"photo_id":"1353057239","filename":"file4"},{"photo_id":"1353057229","filename":"file1"},{"photo_id":"1353057226","filename":"file0"},{"photo_id":"1353057236","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057239":["hashtag1","hashtag2"]},{"1353057233":["hashtag1","hashtag2"]},{"1353057236":["hashtag1","hashtag2"]},{"1353057241":["hashtag1","hashtag2"]},{"1353057226":["hashtag1","hashtag2"]},{"1353057229":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057239, 1353057233, 1353057236, 1353057241, 1353057226, 1353057229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.205572843551636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:54:02.785620
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_33_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_24_9558.jpg', 2), ('/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_14_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/14/52/image_23042025_14_53_04_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_54_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_54_10701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_33_9562.jpg', '/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_24_9558.jpg', '/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_14_10588.jpg', '/home/nano/Desktop/images/23042025/14/52/image_23042025_14_53_04_9562.jpg', '/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_54_10573.jpg', '/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_54_10701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_33_9562.jpg
/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_24_9558.jpg
/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_14_10588.jpg
/home/nano/Desktop/images/23042025/14/52/image_23042025_14_53_04_9562.jpg
/home/nano/Desktop/images/23042025/14/52/image_23042025_14_52_54_10573.jpg
/home/nano/Desktop/images/23042025/14/37/image_23042025_14_37_54_10701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057578","1353057470","1353057650","1353057521","1353057493","1353057547"],"photo_ids_order":["1353057470","1353057493","1353057521","1353057547","1353057578","1353057650"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56bbe88108c5274f6b2b6c98ce36a061.jpg","text":"TemporaryFile(/tmp/multipartBody777160822166184051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412903935,"filename":"image_23042025_14_52_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09c7d6882366b4d892ad80bc86e1f9a3.jpg","text":"TemporaryFile(/tmp/multipartBody716942902671315824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412903935,"filename":"image_23042025_14_53_33_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53ab39c9499f33b6b35c7c2a2f0cde62.jpg","text":"TemporaryFile(/tmp/multipartBody2354360849411160629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412903935,"filename":"image_23042025_14_37_54_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9dc048d2a06c1b80bea36988ae0bd4c.jpg","text":"TemporaryFile(/tmp/multipartBody9106934518288027290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412903935,"filename":"image_23042025_14_53_14_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aadc508e17d49e782a0d068cb1e117ad.jpg","text":"TemporaryFile(/tmp/multipartBody6900252333943696526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412903935,"filename":"image_23042025_14_53_24_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f20b271dd1345d2834ec2fbc0826228.jpg","text":"TemporaryFile(/tmp/multipartBody4622804872470550085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412903935,"filename":"image_23042025_14_53_04_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057521","file1":"1353057493","file0":"1353057470","file4":"1353057578","file5":"1353057650","file3":"1353057547"},"map_files_photo_id_array":[{"photo_id":"1353057650","filename":"file5"},{"photo_id":"1353057521","filename":"file2"},{"photo_id":"1353057578","filename":"file4"},{"photo_id":"1353057493","filename":"file1"},{"photo_id":"1353057470","filename":"file0"},{"photo_id":"1353057547","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057578":["hashtag1","hashtag2"]},{"1353057470":["hashtag1","hashtag2"]},{"1353057650":["hashtag1","hashtag2"]},{"1353057521":["hashtag1","hashtag2"]},{"1353057493":["hashtag1","hashtag2"]},{"1353057547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057578, 1353057470, 1353057650, 1353057521, 1353057493, 1353057547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.43963623046875 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:55:02.941092
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_43_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_34_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_24_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_14_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/14/53/image_23042025_14_54_04_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_54_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_43_9578.jpg', '/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_34_9563.jpg', '/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_24_10576.jpg', '/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_14_9576.jpg', '/home/nano/Desktop/images/23042025/14/53/image_23042025_14_54_04_10586.jpg', '/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_54_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_43_9578.jpg
/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_34_9563.jpg
/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_24_10576.jpg
/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_14_9576.jpg
/home/nano/Desktop/images/23042025/14/53/image_23042025_14_54_04_10586.jpg
/home/nano/Desktop/images/23042025/14/53/image_23042025_14_53_54_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057720","1353057717","1353057725","1353057712","1353057709","1353057723"],"photo_ids_order":["1353057709","1353057712","1353057717","1353057720","1353057723","1353057725"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/676fa1b1867bfebf0abd0848dddf43e9.jpg","text":"TemporaryFile(/tmp/multipartBody7396673103657183856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412964072,"filename":"image_23042025_14_54_14_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1476845f4d9673c016622c55aabcb57e.jpg","text":"TemporaryFile(/tmp/multipartBody1403947995947730446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412964072,"filename":"image_23042025_14_54_24_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ff28b0f91c10e9469d1fce42775baa5.jpg","text":"TemporaryFile(/tmp/multipartBody6619096556073237182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412964072,"filename":"image_23042025_14_53_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5076416d4a7e53c9fbf05619046fb74b.jpg","text":"TemporaryFile(/tmp/multipartBody4049551204164011433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412964072,"filename":"image_23042025_14_54_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ced558491ca188c694bc9dbe760c318c.jpg","text":"TemporaryFile(/tmp/multipartBody1546783979294467750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412964072,"filename":"image_23042025_14_54_43_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c77813358d8e7d058f69e9e07a7e5d31.jpg","text":"TemporaryFile(/tmp/multipartBody3390573349106220075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745412964072,"filename":"image_23042025_14_54_04_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057717","file1":"1353057712","file0":"1353057709","file4":"1353057723","file5":"1353057725","file3":"1353057720"},"map_files_photo_id_array":[{"photo_id":"1353057725","filename":"file5"},{"photo_id":"1353057717","filename":"file2"},{"photo_id":"1353057723","filename":"file4"},{"photo_id":"1353057712","filename":"file1"},{"photo_id":"1353057709","filename":"file0"},{"photo_id":"1353057720","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057720":["hashtag1","hashtag2"]},{"1353057717":["hashtag1","hashtag2"]},{"1353057725":["hashtag1","hashtag2"]},{"1353057712":["hashtag1","hashtag2"]},{"1353057709":["hashtag1","hashtag2"]},{"1353057723":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057720, 1353057717, 1353057725, 1353057712, 1353057709, 1353057723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.40963363647461 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:56:02.827563
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_34_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_44_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_34_10747.jpg', 2), ('/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_23_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_14_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/14/54/image_23042025_14_55_04_9759.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_34_9735.jpg', '/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_44_9735.jpg', '/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_34_10747.jpg', '/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_23_9781.jpg', '/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_14_9736.jpg', '/home/nano/Desktop/images/23042025/14/54/image_23042025_14_55_04_9759.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_34_9735.jpg
/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_44_9735.jpg
/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_34_10747.jpg
/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_23_9781.jpg
/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_14_9736.jpg
/home/nano/Desktop/images/23042025/14/54/image_23042025_14_55_04_9759.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057752","1353057746","1353057739","1353057748","1353057742","1353057744"],"photo_ids_order":["1353057739","1353057742","1353057744","1353057746","1353057748","1353057752"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac273de3c782e6f927b05c6a4102a552.jpg","text":"TemporaryFile(/tmp/multipartBody164836864942030349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413024475,"filename":"image_23042025_14_55_04_9759.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee007629fda5ed0693c5d6ab41299822.jpg","text":"TemporaryFile(/tmp/multipartBody8977881392909405232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413024475,"filename":"image_23042025_14_55_23_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a100ce56d11ff1f1fdb8bbc3efc2ae5f.jpg","text":"TemporaryFile(/tmp/multipartBody4111396685113124946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413024475,"filename":"image_23042025_14_56_34_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1907430966c99fda4c84de030e4f5ea8.jpg","text":"TemporaryFile(/tmp/multipartBody5416939545706968960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413024475,"filename":"image_23042025_14_55_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2578cea8d8802f03f1b84075a7fc4cb8.jpg","text":"TemporaryFile(/tmp/multipartBody958141836521325556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413024475,"filename":"image_23042025_14_55_44_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19235125718b3e5d893ff447190c2da2.jpg","text":"TemporaryFile(/tmp/multipartBody3298180625711770600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413024475,"filename":"image_23042025_14_55_34_10747.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057744","file1":"1353057742","file0":"1353057739","file4":"1353057748","file5":"1353057752","file3":"1353057746"},"map_files_photo_id_array":[{"photo_id":"1353057752","filename":"file5"},{"photo_id":"1353057744","filename":"file2"},{"photo_id":"1353057748","filename":"file4"},{"photo_id":"1353057742","filename":"file1"},{"photo_id":"1353057739","filename":"file0"},{"photo_id":"1353057746","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057752":["hashtag1","hashtag2"]},{"1353057746":["hashtag1","hashtag2"]},{"1353057739":["hashtag1","hashtag2"]},{"1353057748":["hashtag1","hashtag2"]},{"1353057742":["hashtag1","hashtag2"]},{"1353057744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057752, 1353057746, 1353057739, 1353057748, 1353057742, 1353057744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.82974314689636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:57:03.076582
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_44_9766.jpg', 2), ('/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_24_9883.jpg', 2), ('/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_14_10769.jpg', 2), ('/home/nano/Desktop/images/23042025/14/55/image_23042025_14_56_03_9763.jpg', 2), ('/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_54_9734.jpg', 2), ('/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_54_10740.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_44_9766.jpg', '/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_24_9883.jpg', '/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_14_10769.jpg', '/home/nano/Desktop/images/23042025/14/55/image_23042025_14_56_03_9763.jpg', '/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_54_9734.jpg', '/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_54_10740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_44_9766.jpg
/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_24_9883.jpg
/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_14_10769.jpg
/home/nano/Desktop/images/23042025/14/55/image_23042025_14_56_03_9763.jpg
/home/nano/Desktop/images/23042025/14/55/image_23042025_14_55_54_9734.jpg
/home/nano/Desktop/images/23042025/14/54/image_23042025_14_54_54_10740.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057807","1353057785","1353057809","1353057812","1353057800","1353057790"],"photo_ids_order":["1353057785","1353057790","1353057800","1353057807","1353057809","1353057812"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5e50866aaa3c4358edab80f40e12f50.jpg","text":"TemporaryFile(/tmp/multipartBody5476998247413736508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413085216,"filename":"image_23042025_14_56_03_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9202f3aa5a646a658dd628ead7613db.jpg","text":"TemporaryFile(/tmp/multipartBody1631827399659645111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413085216,"filename":"image_23042025_14_56_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a5deb68cf9ea3e4567f4be741d677aa.jpg","text":"TemporaryFile(/tmp/multipartBody8516240177918953791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413085216,"filename":"image_23042025_14_55_54_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4455f60a80c3632985e409b5d0425048.jpg","text":"TemporaryFile(/tmp/multipartBody1482474265617991805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413085216,"filename":"image_23042025_14_54_54_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05bbd0303c709b0445fb5e1199add904.jpg","text":"TemporaryFile(/tmp/multipartBody6121158380237167108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413085216,"filename":"image_23042025_14_56_14_10769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb31b48e52de4a55071f2f1d2bcca8bc.jpg","text":"TemporaryFile(/tmp/multipartBody6734696370602177390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413085216,"filename":"image_23042025_14_56_24_9883.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057800","file1":"1353057790","file0":"1353057785","file4":"1353057809","file5":"1353057812","file3":"1353057807"},"map_files_photo_id_array":[{"photo_id":"1353057812","filename":"file5"},{"photo_id":"1353057800","filename":"file2"},{"photo_id":"1353057809","filename":"file4"},{"photo_id":"1353057790","filename":"file1"},{"photo_id":"1353057785","filename":"file0"},{"photo_id":"1353057807","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057807":["hashtag1","hashtag2"]},{"1353057785":["hashtag1","hashtag2"]},{"1353057809":["hashtag1","hashtag2"]},{"1353057812":["hashtag1","hashtag2"]},{"1353057800":["hashtag1","hashtag2"]},{"1353057790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057807, 1353057785, 1353057809, 1353057812, 1353057800, 1353057790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.621755599975586 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:58:03.136173
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_44_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_34_9614.jpg', 2), ('/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_24_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_14_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/14/56/image_23042025_14_57_04_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_54_10757.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_44_9648.jpg', '/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_34_9614.jpg', '/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_24_10662.jpg', '/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_14_9647.jpg', '/home/nano/Desktop/images/23042025/14/56/image_23042025_14_57_04_9634.jpg', '/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_54_10757.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_44_9648.jpg
/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_34_9614.jpg
/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_24_10662.jpg
/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_14_9647.jpg
/home/nano/Desktop/images/23042025/14/56/image_23042025_14_57_04_9634.jpg
/home/nano/Desktop/images/23042025/14/56/image_23042025_14_56_54_10757.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057852","1353057909","1353057911","1353057898","1353057913","1353057888"],"photo_ids_order":["1353057852","1353057888","1353057898","1353057909","1353057911","1353057913"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b941887eaa2cb38897b95a5204d7919d.jpg","text":"TemporaryFile(/tmp/multipartBody4484022008962537857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413144501,"filename":"image_23042025_14_57_44_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/069db29a0753df86b78354d194e0b19e.jpg","text":"TemporaryFile(/tmp/multipartBody6870544084159371053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413144501,"filename":"image_23042025_14_57_14_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/552db20f78f13349fe206765c588926c.jpg","text":"TemporaryFile(/tmp/multipartBody7332515922629207221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413144501,"filename":"image_23042025_14_57_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22b6ba4364014d1569996c830c22adef.jpg","text":"TemporaryFile(/tmp/multipartBody535645651326273708asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413144501,"filename":"image_23042025_14_57_24_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ff4dc4e3dc79a57ee9eb36dcb639f36.jpg","text":"TemporaryFile(/tmp/multipartBody6261120294354461686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413144501,"filename":"image_23042025_14_56_54_10757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a5dd9dbc55e5efc3b5852b4b23a888a.jpg","text":"TemporaryFile(/tmp/multipartBody985203703427792660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413144501,"filename":"image_23042025_14_57_34_9614.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057898","file1":"1353057888","file0":"1353057852","file4":"1353057911","file5":"1353057913","file3":"1353057909"},"map_files_photo_id_array":[{"photo_id":"1353057913","filename":"file5"},{"photo_id":"1353057898","filename":"file2"},{"photo_id":"1353057911","filename":"file4"},{"photo_id":"1353057888","filename":"file1"},{"photo_id":"1353057852","filename":"file0"},{"photo_id":"1353057909","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057852":["hashtag1","hashtag2"]},{"1353057909":["hashtag1","hashtag2"]},{"1353057911":["hashtag1","hashtag2"]},{"1353057898":["hashtag1","hashtag2"]},{"1353057913":["hashtag1","hashtag2"]},{"1353057888":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057852, 1353057909, 1353057911, 1353057898, 1353057913, 1353057888)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.53866219520569 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 14:59:03.025057
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_43_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_34_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_24_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_13_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/14/57/image_23042025_14_58_04_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_43_9627.jpg', '/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_34_9635.jpg', '/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_24_10651.jpg', '/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_13_9647.jpg', '/home/nano/Desktop/images/23042025/14/57/image_23042025_14_58_04_9648.jpg', '/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_43_9627.jpg
/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_34_9635.jpg
/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_24_10651.jpg
/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_13_9647.jpg
/home/nano/Desktop/images/23042025/14/57/image_23042025_14_58_04_9648.jpg
/home/nano/Desktop/images/23042025/14/57/image_23042025_14_57_54_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353057945","1353057926","1353057938","1353057917","1353057951","1353057933"],"photo_ids_order":["1353057917","1353057926","1353057933","1353057938","1353057945","1353057951"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/868420715ea8aff4baff5355661c3003.jpg","text":"TemporaryFile(/tmp/multipartBody1415249530815432390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413204268,"filename":"image_23042025_14_58_04_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ade2092b31178a70c5ab65f8e67c25f.jpg","text":"TemporaryFile(/tmp/multipartBody2353172315479328959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413204268,"filename":"image_23042025_14_58_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5363602f5e7821ec4ea9b3da39d9078.jpg","text":"TemporaryFile(/tmp/multipartBody8265728570734612280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413204268,"filename":"image_23042025_14_58_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a34c230557b5ec4eb6c4e1324db80f9.jpg","text":"TemporaryFile(/tmp/multipartBody9025179882934011294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413204268,"filename":"image_23042025_14_58_43_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b6677d96e8bbd06ab68c70d41c5edda.jpg","text":"TemporaryFile(/tmp/multipartBody1581209354301595775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413204268,"filename":"image_23042025_14_57_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/327335067b076af65323aaaa0fe1b055.jpg","text":"TemporaryFile(/tmp/multipartBody5037703681141971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413204268,"filename":"image_23042025_14_58_24_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353057933","file1":"1353057926","file0":"1353057917","file4":"1353057945","file5":"1353057951","file3":"1353057938"},"map_files_photo_id_array":[{"photo_id":"1353057951","filename":"file5"},{"photo_id":"1353057933","filename":"file2"},{"photo_id":"1353057945","filename":"file4"},{"photo_id":"1353057926","filename":"file1"},{"photo_id":"1353057917","filename":"file0"},{"photo_id":"1353057938","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353057945":["hashtag1","hashtag2"]},{"1353057926":["hashtag1","hashtag2"]},{"1353057938":["hashtag1","hashtag2"]},{"1353057917":["hashtag1","hashtag2"]},{"1353057951":["hashtag1","hashtag2"]},{"1353057933":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353057945, 1353057926, 1353057938, 1353057917, 1353057951, 1353057933)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.00866651535034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:00:02.537225
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_44_10577.jpg', 2), ('/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_34_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_24_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_13_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/14/58/image_23042025_14_59_04_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_44_10577.jpg', '/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_34_9561.jpg', '/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_24_10644.jpg', '/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_13_9687.jpg', '/home/nano/Desktop/images/23042025/14/58/image_23042025_14_59_04_9633.jpg', '/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_44_10577.jpg
/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_34_9561.jpg
/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_24_10644.jpg
/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_13_9687.jpg
/home/nano/Desktop/images/23042025/14/58/image_23042025_14_59_04_9633.jpg
/home/nano/Desktop/images/23042025/14/58/image_23042025_14_58_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353058014","1353057996","1353057990","1353058020","1353058017","1353058005"],"photo_ids_order":["1353057990","1353057996","1353058005","1353058014","1353058017","1353058020"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01cdbe58d22e1e84bb1293dcf967e59b.jpg","text":"TemporaryFile(/tmp/multipartBody4559799354525859716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413263689,"filename":"image_23042025_14_59_13_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13e655d9ae53ed3998378cd403029509.jpg","text":"TemporaryFile(/tmp/multipartBody2716340261118481351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413263689,"filename":"image_23042025_14_59_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05832f999b46ecea529b9416356ee8c8.jpg","text":"TemporaryFile(/tmp/multipartBody7647547441800426414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413263689,"filename":"image_23042025_14_59_44_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dec92ed5bae33ee407dfa32292515c5.jpg","text":"TemporaryFile(/tmp/multipartBody1172358195655067076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413263689,"filename":"image_23042025_14_58_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e506cbfaacf183656fc298a9a3c0d9ba.jpg","text":"TemporaryFile(/tmp/multipartBody4943888367072165017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413263689,"filename":"image_23042025_14_59_04_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6cb51d08fee4505f32009fd39d870593.jpg","text":"TemporaryFile(/tmp/multipartBody1364616801304679128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413263689,"filename":"image_23042025_14_59_24_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353058005","file1":"1353057996","file0":"1353057990","file4":"1353058017","file5":"1353058020","file3":"1353058014"},"map_files_photo_id_array":[{"photo_id":"1353058020","filename":"file5"},{"photo_id":"1353058005","filename":"file2"},{"photo_id":"1353058017","filename":"file4"},{"photo_id":"1353057996","filename":"file1"},{"photo_id":"1353057990","filename":"file0"},{"photo_id":"1353058014","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353058014":["hashtag1","hashtag2"]},{"1353057996":["hashtag1","hashtag2"]},{"1353057990":["hashtag1","hashtag2"]},{"1353058020":["hashtag1","hashtag2"]},{"1353058017":["hashtag1","hashtag2"]},{"1353058005":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353058014, 1353057996, 1353057990, 1353058020, 1353058017, 1353058005)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.513073682785034 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:01:02.781026
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_44_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_34_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_23_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_14_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/14/59/image_23042025_15_00_04_10598.jpg', 2), ('/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_54_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_44_9567.jpg', '/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_34_10593.jpg', '/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_23_9564.jpg', '/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_14_9580.jpg', '/home/nano/Desktop/images/23042025/14/59/image_23042025_15_00_04_10598.jpg', '/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_54_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_44_9567.jpg
/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_34_10593.jpg
/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_23_9564.jpg
/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_14_9580.jpg
/home/nano/Desktop/images/23042025/14/59/image_23042025_15_00_04_10598.jpg
/home/nano/Desktop/images/23042025/14/59/image_23042025_14_59_54_9565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353058602","1353058460","1353058358","1353058411","1353058689","1353058524"],"photo_ids_order":["1353058358","1353058411","1353058460","1353058524","1353058602","1353058689"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fc6c2b6369cafff5c7d251abef657c7.jpg","text":"TemporaryFile(/tmp/multipartBody8018414749626303656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413323784,"filename":"image_23042025_15_00_04_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5202bf1658eb724aca1fa897a35cd223.jpg","text":"TemporaryFile(/tmp/multipartBody7115009863937317460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413323784,"filename":"image_23042025_15_00_23_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a80a459094104adcf70bcbd06fe4f645.jpg","text":"TemporaryFile(/tmp/multipartBody8370515924439101569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413323784,"filename":"image_23042025_15_00_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83c558fb89976910af009babd726f01a.jpg","text":"TemporaryFile(/tmp/multipartBody1505085743935908115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413323784,"filename":"image_23042025_15_00_34_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d61ce6db80887e3939ea4dba870040b.jpg","text":"TemporaryFile(/tmp/multipartBody3333566818589212724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413323784,"filename":"image_23042025_14_59_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ffcb346d39f21b62ad22a9545afc22b.jpg","text":"TemporaryFile(/tmp/multipartBody339874198706621906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413323784,"filename":"image_23042025_15_00_14_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353058460","file1":"1353058411","file0":"1353058358","file4":"1353058602","file5":"1353058689","file3":"1353058524"},"map_files_photo_id_array":[{"photo_id":"1353058689","filename":"file5"},{"photo_id":"1353058460","filename":"file2"},{"photo_id":"1353058602","filename":"file4"},{"photo_id":"1353058411","filename":"file1"},{"photo_id":"1353058358","filename":"file0"},{"photo_id":"1353058524","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353058602":["hashtag1","hashtag2"]},{"1353058460":["hashtag1","hashtag2"]},{"1353058358":["hashtag1","hashtag2"]},{"1353058411":["hashtag1","hashtag2"]},{"1353058689":["hashtag1","hashtag2"]},{"1353058524":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353058602, 1353058460, 1353058358, 1353058411, 1353058689, 1353058524)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.746336936950684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:02:02.754613
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_44_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_33_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_24_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_14_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/15/00/image_23042025_15_01_04_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_54_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_44_10584.jpg', '/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_33_9572.jpg', '/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_24_9566.jpg', '/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_14_10589.jpg', '/home/nano/Desktop/images/23042025/15/00/image_23042025_15_01_04_9574.jpg', '/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_54_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_44_10584.jpg
/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_33_9572.jpg
/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_24_9566.jpg
/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_14_10589.jpg
/home/nano/Desktop/images/23042025/15/00/image_23042025_15_01_04_9574.jpg
/home/nano/Desktop/images/23042025/15/00/image_23042025_15_00_54_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353059539","1353059787","1353059700","1353059465","1353059387","1353059630"],"photo_ids_order":["1353059387","1353059465","1353059539","1353059630","1353059700","1353059787"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe80a23d22a6eb24904c26155dd57b55.jpg","text":"TemporaryFile(/tmp/multipartBody1619861569556156093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413383813,"filename":"image_23042025_15_01_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efa2356eb22cf81164205ab4195435f8.jpg","text":"TemporaryFile(/tmp/multipartBody4135850412203899035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413383813,"filename":"image_23042025_15_00_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e07cca0b19377177dddc5b5bdb363d6.jpg","text":"TemporaryFile(/tmp/multipartBody1693246558110768791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413383813,"filename":"image_23042025_15_01_04_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34b2676ffedabdf35c297380faa9ea15.jpg","text":"TemporaryFile(/tmp/multipartBody8189243530266171594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413383813,"filename":"image_23042025_15_01_33_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5f1016137003068f97572a867f35e05.jpg","text":"TemporaryFile(/tmp/multipartBody6033670136165862955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413383813,"filename":"image_23042025_15_01_44_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c219547179ae258fb8be2a016cd2fe9d.jpg","text":"TemporaryFile(/tmp/multipartBody6928769510953085785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413383813,"filename":"image_23042025_15_01_14_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353059539","file1":"1353059465","file0":"1353059387","file4":"1353059700","file5":"1353059787","file3":"1353059630"},"map_files_photo_id_array":[{"photo_id":"1353059787","filename":"file5"},{"photo_id":"1353059539","filename":"file2"},{"photo_id":"1353059700","filename":"file4"},{"photo_id":"1353059465","filename":"file1"},{"photo_id":"1353059387","filename":"file0"},{"photo_id":"1353059630","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353059539":["hashtag1","hashtag2"]},{"1353059787":["hashtag1","hashtag2"]},{"1353059700":["hashtag1","hashtag2"]},{"1353059465":["hashtag1","hashtag2"]},{"1353059387":["hashtag1","hashtag2"]},{"1353059630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353059539, 1353059787, 1353059700, 1353059465, 1353059387, 1353059630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.315226793289185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:03:02.891043
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_44_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_34_10578.jpg', 2), ('/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_23_9572.jpg', 2), ('/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_14_9589.jpg', 2), ('/home/nano/Desktop/images/23042025/15/01/image_23042025_15_02_04_10602.jpg', 2), ('/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_54_9570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_44_9576.jpg', '/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_34_10578.jpg', '/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_23_9572.jpg', '/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_14_9589.jpg', '/home/nano/Desktop/images/23042025/15/01/image_23042025_15_02_04_10602.jpg', '/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_54_9570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_44_9576.jpg
/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_34_10578.jpg
/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_23_9572.jpg
/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_14_9589.jpg
/home/nano/Desktop/images/23042025/15/01/image_23042025_15_02_04_10602.jpg
/home/nano/Desktop/images/23042025/15/01/image_23042025_15_01_54_9570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353060554","1353060766","1353060712","1353060585","1353060648","1353060612"],"photo_ids_order":["1353060554","1353060585","1353060612","1353060648","1353060712","1353060766"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f5037c8162a464f602937184226ff7b.jpg","text":"TemporaryFile(/tmp/multipartBody7949888488122184569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413443877,"filename":"image_23042025_15_02_44_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cac4202b5510d90490d64ba0ed01964.jpg","text":"TemporaryFile(/tmp/multipartBody803246372120988105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413443877,"filename":"image_23042025_15_01_54_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9465622bc647ac4a15f40d2fe886bf45.jpg","text":"TemporaryFile(/tmp/multipartBody8422281003321569036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413443877,"filename":"image_23042025_15_02_04_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/578fa787ffdcdfe2dea11ee2da8868ee.jpg","text":"TemporaryFile(/tmp/multipartBody1193336167601279363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413443877,"filename":"image_23042025_15_02_34_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/348c6b8471be788f73deefb98ac7ebb8.jpg","text":"TemporaryFile(/tmp/multipartBody4829775657066735562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413443877,"filename":"image_23042025_15_02_14_9589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e12ae71d4eb724bb934082e5b2c370d.jpg","text":"TemporaryFile(/tmp/multipartBody697140711045653826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413443877,"filename":"image_23042025_15_02_23_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353060612","file1":"1353060585","file0":"1353060554","file4":"1353060712","file5":"1353060766","file3":"1353060648"},"map_files_photo_id_array":[{"photo_id":"1353060766","filename":"file5"},{"photo_id":"1353060612","filename":"file2"},{"photo_id":"1353060712","filename":"file4"},{"photo_id":"1353060585","filename":"file1"},{"photo_id":"1353060554","filename":"file0"},{"photo_id":"1353060648","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353060554":["hashtag1","hashtag2"]},{"1353060766":["hashtag1","hashtag2"]},{"1353060712":["hashtag1","hashtag2"]},{"1353060585":["hashtag1","hashtag2"]},{"1353060648":["hashtag1","hashtag2"]},{"1353060612":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353060554, 1353060766, 1353060712, 1353060585, 1353060648, 1353060612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89164137840271 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:04:03.378558
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_44_10602.jpg', 2), ('/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_33_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_24_9586.jpg', 2), ('/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_14_10617.jpg', 2), ('/home/nano/Desktop/images/23042025/15/02/image_23042025_15_03_04_9573.jpg', 2), ('/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_54_10576.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_44_10602.jpg', '/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_33_9568.jpg', '/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_24_9586.jpg', '/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_14_10617.jpg', '/home/nano/Desktop/images/23042025/15/02/image_23042025_15_03_04_9573.jpg', '/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_54_10576.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_44_10602.jpg
/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_33_9568.jpg
/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_24_9586.jpg
/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_14_10617.jpg
/home/nano/Desktop/images/23042025/15/02/image_23042025_15_03_04_9573.jpg
/home/nano/Desktop/images/23042025/15/02/image_23042025_15_02_54_10576.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353061393","1353061417","1353061290","1353061469","1353061442","1353061343"],"photo_ids_order":["1353061290","1353061343","1353061393","1353061417","1353061442","1353061469"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d702066fd22b70e80472ee7bd4125f4b.jpg","text":"TemporaryFile(/tmp/multipartBody436932014692534660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413504592,"filename":"image_23042025_15_03_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b8e61bd94fc606af5356a2804335718.jpg","text":"TemporaryFile(/tmp/multipartBody1876493427140300967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413504592,"filename":"image_23042025_15_03_14_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/775021ea90b75cda4bc84e76cf45a753.jpg","text":"TemporaryFile(/tmp/multipartBody7908557492621831298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413504592,"filename":"image_23042025_15_03_44_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23532d6c79faf92282599b55aa694683.jpg","text":"TemporaryFile(/tmp/multipartBody2807371706611331452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413504592,"filename":"image_23042025_15_02_54_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a514fb5c2df9c4e2b327b16ff022f9c.jpg","text":"TemporaryFile(/tmp/multipartBody3850420877470770290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413504592,"filename":"image_23042025_15_03_04_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa670988e663e25512d4de210246bdff.jpg","text":"TemporaryFile(/tmp/multipartBody119658716394628050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413504592,"filename":"image_23042025_15_03_33_9568.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353061393","file1":"1353061343","file0":"1353061290","file4":"1353061442","file5":"1353061469","file3":"1353061417"},"map_files_photo_id_array":[{"photo_id":"1353061469","filename":"file5"},{"photo_id":"1353061393","filename":"file2"},{"photo_id":"1353061442","filename":"file4"},{"photo_id":"1353061343","filename":"file1"},{"photo_id":"1353061290","filename":"file0"},{"photo_id":"1353061417","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353061393":["hashtag1","hashtag2"]},{"1353061417":["hashtag1","hashtag2"]},{"1353061290":["hashtag1","hashtag2"]},{"1353061469":["hashtag1","hashtag2"]},{"1353061442":["hashtag1","hashtag2"]},{"1353061343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353061393, 1353061417, 1353061290, 1353061469, 1353061442, 1353061343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.36446714401245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:05:03.310809
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_43_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_44_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_34_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_23_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_14_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/15/03/image_23042025_15_04_04_10605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_43_9644.jpg', '/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_44_9566.jpg', '/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_34_10572.jpg', '/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_23_9575.jpg', '/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_14_9577.jpg', '/home/nano/Desktop/images/23042025/15/03/image_23042025_15_04_04_10605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_43_9644.jpg
/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_44_9566.jpg
/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_34_10572.jpg
/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_23_9575.jpg
/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_14_9577.jpg
/home/nano/Desktop/images/23042025/15/03/image_23042025_15_04_04_10605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353062086","1353062029","1353062001","1353062162","1353061949","1353062009"],"photo_ids_order":["1353061949","1353062001","1353062009","1353062029","1353062086","1353062162"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c26a1db86d6c47d21790996b5400078b.jpg","text":"TemporaryFile(/tmp/multipartBody7433911782883770717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413564422,"filename":"image_23042025_15_04_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed987d6d47f1a7399f846ce04b08a9e9.jpg","text":"TemporaryFile(/tmp/multipartBody2590350258219688004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413564422,"filename":"image_23042025_15_04_23_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9463e7ad0636359bc3e5ca4e13eedbec.jpg","text":"TemporaryFile(/tmp/multipartBody4059225886837916499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413564422,"filename":"image_23042025_15_04_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a9a3d236a2c0c5d29d6c216bab4f9c6.jpg","text":"TemporaryFile(/tmp/multipartBody7341456128049828670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413564422,"filename":"image_23042025_15_04_04_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88bdcf0428feb9eacd246fea29b4532f.jpg","text":"TemporaryFile(/tmp/multipartBody2163501539996923930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413564422,"filename":"image_23042025_15_05_43_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34d8cab974d86d6a5c4dddbbf0aa9218.jpg","text":"TemporaryFile(/tmp/multipartBody8783602880651020889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413564422,"filename":"image_23042025_15_04_34_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353062009","file1":"1353062001","file0":"1353061949","file4":"1353062086","file5":"1353062162","file3":"1353062029"},"map_files_photo_id_array":[{"photo_id":"1353062162","filename":"file5"},{"photo_id":"1353062009","filename":"file2"},{"photo_id":"1353062086","filename":"file4"},{"photo_id":"1353062001","filename":"file1"},{"photo_id":"1353061949","filename":"file0"},{"photo_id":"1353062029","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353062086":["hashtag1","hashtag2"]},{"1353062029":["hashtag1","hashtag2"]},{"1353062001":["hashtag1","hashtag2"]},{"1353062162":["hashtag1","hashtag2"]},{"1353061949":["hashtag1","hashtag2"]},{"1353062009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353062086, 1353062029, 1353062001, 1353062162, 1353061949, 1353062009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.5103862285614 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:06:03.135902
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_34_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_24_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_14_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/15/04/image_23042025_15_05_04_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_54_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_54_9581.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_34_9651.jpg', '/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_24_10664.jpg', '/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_14_9658.jpg', '/home/nano/Desktop/images/23042025/15/04/image_23042025_15_05_04_9653.jpg', '/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_54_10646.jpg', '/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_54_9581.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_34_9651.jpg
/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_24_10664.jpg
/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_14_9658.jpg
/home/nano/Desktop/images/23042025/15/04/image_23042025_15_05_04_9653.jpg
/home/nano/Desktop/images/23042025/15/04/image_23042025_15_04_54_10646.jpg
/home/nano/Desktop/images/23042025/15/03/image_23042025_15_03_54_9581.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353062512","1353062451","1353062394","1353062541","1353062426","1353062485"],"photo_ids_order":["1353062394","1353062426","1353062451","1353062485","1353062512","1353062541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e0d5938aa080c41b65ac7584c53995f.jpg","text":"TemporaryFile(/tmp/multipartBody2393822975555790759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413624588,"filename":"image_23042025_15_04_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d01c7986d8a5de1dd376b125f31600a8.jpg","text":"TemporaryFile(/tmp/multipartBody7687383184024987548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413624588,"filename":"image_23042025_15_05_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e62ebdfe46c38cac8ea7b4f974af0411.jpg","text":"TemporaryFile(/tmp/multipartBody8500156104736512149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413624588,"filename":"image_23042025_15_05_34_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16a6e9b380c19eabef4092437c405bfa.jpg","text":"TemporaryFile(/tmp/multipartBody5859849081311505037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413624588,"filename":"image_23042025_15_03_54_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49368ae6f84c9af13b03673556d6dff3.jpg","text":"TemporaryFile(/tmp/multipartBody6081892793339435125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413624588,"filename":"image_23042025_15_05_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b682548ea040e136db64a33197e4b56.jpg","text":"TemporaryFile(/tmp/multipartBody4810686145283270816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413624588,"filename":"image_23042025_15_05_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353062451","file1":"1353062426","file0":"1353062394","file4":"1353062512","file5":"1353062541","file3":"1353062485"},"map_files_photo_id_array":[{"photo_id":"1353062541","filename":"file5"},{"photo_id":"1353062451","filename":"file2"},{"photo_id":"1353062512","filename":"file4"},{"photo_id":"1353062426","filename":"file1"},{"photo_id":"1353062394","filename":"file0"},{"photo_id":"1353062485","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353062512":["hashtag1","hashtag2"]},{"1353062451":["hashtag1","hashtag2"]},{"1353062394":["hashtag1","hashtag2"]},{"1353062541":["hashtag1","hashtag2"]},{"1353062426":["hashtag1","hashtag2"]},{"1353062485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353062512, 1353062451, 1353062394, 1353062541, 1353062426, 1353062485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89018654823303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:07:03.396868
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_43_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_34_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_24_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_13_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/15/05/image_23042025_15_06_04_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_43_9626.jpg', '/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_34_9656.jpg', '/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_24_10663.jpg', '/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_13_9660.jpg', '/home/nano/Desktop/images/23042025/15/05/image_23042025_15_06_04_9652.jpg', '/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_43_9626.jpg
/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_34_9656.jpg
/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_24_10663.jpg
/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_13_9660.jpg
/home/nano/Desktop/images/23042025/15/05/image_23042025_15_06_04_9652.jpg
/home/nano/Desktop/images/23042025/15/05/image_23042025_15_05_54_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353062944","1353062887","1353062851","1353062848","1353062913","1353062858"],"photo_ids_order":["1353062848","1353062851","1353062858","1353062887","1353062913","1353062944"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab6313bfb9462928a45aef0790616b55.jpg","text":"TemporaryFile(/tmp/multipartBody3166457783920930477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413685066,"filename":"image_23042025_15_05_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c58fad457b0f4757672c700e27597704.jpg","text":"TemporaryFile(/tmp/multipartBody2268621450595834518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413685066,"filename":"image_23042025_15_06_13_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/026496e0499233f80380b2c10c5ac128.jpg","text":"TemporaryFile(/tmp/multipartBody5199696609830966802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413685066,"filename":"image_23042025_15_06_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e86a1e95c407938bf194c954f90689f.jpg","text":"TemporaryFile(/tmp/multipartBody7356359213635586489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413685066,"filename":"image_23042025_15_06_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad04aaab8120c0bea6398a66552308f7.jpg","text":"TemporaryFile(/tmp/multipartBody9031214524671399504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413685066,"filename":"image_23042025_15_06_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c27133b2bcb609e35845430604fb0ed.jpg","text":"TemporaryFile(/tmp/multipartBody3256958773206438752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413685066,"filename":"image_23042025_15_06_24_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353062858","file1":"1353062851","file0":"1353062848","file4":"1353062913","file5":"1353062944","file3":"1353062887"},"map_files_photo_id_array":[{"photo_id":"1353062944","filename":"file5"},{"photo_id":"1353062858","filename":"file2"},{"photo_id":"1353062913","filename":"file4"},{"photo_id":"1353062851","filename":"file1"},{"photo_id":"1353062848","filename":"file0"},{"photo_id":"1353062887","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353062944":["hashtag1","hashtag2"]},{"1353062887":["hashtag1","hashtag2"]},{"1353062851":["hashtag1","hashtag2"]},{"1353062848":["hashtag1","hashtag2"]},{"1353062913":["hashtag1","hashtag2"]},{"1353062858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353062944, 1353062887, 1353062851, 1353062848, 1353062913, 1353062858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11406111717224 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:08:02.342993
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_44_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_34_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_24_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_13_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/15/06/image_23042025_15_07_04_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_44_10643.jpg', '/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_34_9648.jpg', '/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_24_10661.jpg', '/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_13_9661.jpg', '/home/nano/Desktop/images/23042025/15/06/image_23042025_15_07_04_9668.jpg', '/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_44_10643.jpg
/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_34_9648.jpg
/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_24_10661.jpg
/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_13_9661.jpg
/home/nano/Desktop/images/23042025/15/06/image_23042025_15_07_04_9668.jpg
/home/nano/Desktop/images/23042025/15/06/image_23042025_15_06_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353063189","1353063243","1353063213","1353063257","1353063235","1353063178"],"photo_ids_order":["1353063178","1353063189","1353063213","1353063235","1353063243","1353063257"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4cd7b86c774a42ebbe431bc89154ccf2.jpg","text":"TemporaryFile(/tmp/multipartBody3501868998524394031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413743774,"filename":"image_23042025_15_07_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0acf3f6f8cc912a986416e6b9fc187ff.jpg","text":"TemporaryFile(/tmp/multipartBody8005608293719533169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413743774,"filename":"image_23042025_15_07_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/707b72419b6da32417382e9735e66d0e.jpg","text":"TemporaryFile(/tmp/multipartBody3891921333452591305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413743774,"filename":"image_23042025_15_07_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88c0e84ac48b69580b2ee136c14cd05a.jpg","text":"TemporaryFile(/tmp/multipartBody2775931189425409519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413743774,"filename":"image_23042025_15_06_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa510cdb42c08a081fd7536c2db286d0.jpg","text":"TemporaryFile(/tmp/multipartBody4735750177140583321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413743774,"filename":"image_23042025_15_07_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89600b66e560685ea3af662c49d94488.jpg","text":"TemporaryFile(/tmp/multipartBody7330883667774221473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413743774,"filename":"image_23042025_15_07_44_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353063213","file1":"1353063189","file0":"1353063178","file4":"1353063243","file5":"1353063257","file3":"1353063235"},"map_files_photo_id_array":[{"photo_id":"1353063257","filename":"file5"},{"photo_id":"1353063213","filename":"file2"},{"photo_id":"1353063243","filename":"file4"},{"photo_id":"1353063189","filename":"file1"},{"photo_id":"1353063178","filename":"file0"},{"photo_id":"1353063235","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353063189":["hashtag1","hashtag2"]},{"1353063243":["hashtag1","hashtag2"]},{"1353063213":["hashtag1","hashtag2"]},{"1353063257":["hashtag1","hashtag2"]},{"1353063235":["hashtag1","hashtag2"]},{"1353063178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353063189, 1353063243, 1353063213, 1353063257, 1353063235, 1353063178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.80989646911621 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:09:02.789353
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_44_10618.jpg', 2), ('/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_33_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_24_9607.jpg', 2), ('/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_14_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/15/07/image_23042025_15_08_04_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_54_9606.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_44_10618.jpg', '/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_33_9628.jpg', '/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_24_9607.jpg', '/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_14_10645.jpg', '/home/nano/Desktop/images/23042025/15/07/image_23042025_15_08_04_9617.jpg', '/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_54_9606.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_44_10618.jpg
/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_33_9628.jpg
/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_24_9607.jpg
/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_14_10645.jpg
/home/nano/Desktop/images/23042025/15/07/image_23042025_15_08_04_9617.jpg
/home/nano/Desktop/images/23042025/15/07/image_23042025_15_07_54_9606.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353063724","1353063789","1353063630","1353063688","1353063757","1353063661"],"photo_ids_order":["1353063630","1353063661","1353063688","1353063724","1353063757","1353063789"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0113c161f99118255217ded8aeaa0445.jpg","text":"TemporaryFile(/tmp/multipartBody274953546976111584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413804053,"filename":"image_23042025_15_08_14_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/924d5906aa6ef7f7e22bba50eb689d1d.jpg","text":"TemporaryFile(/tmp/multipartBody8837417635897053668asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413804053,"filename":"image_23042025_15_07_54_9606.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b1f559dd810136d3d419b8f28fde6c3.jpg","text":"TemporaryFile(/tmp/multipartBody7380751088413198440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413804053,"filename":"image_23042025_15_08_44_10618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/633865b6d98d3b18729f6ebf1ffdc0b5.jpg","text":"TemporaryFile(/tmp/multipartBody899353012445194113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413804053,"filename":"image_23042025_15_08_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ab187225866f73cc53ba6f215f8e1c5.jpg","text":"TemporaryFile(/tmp/multipartBody8425491401951434765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413804053,"filename":"image_23042025_15_08_04_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ecdcf61895a24d6f2010525afcb8475.jpg","text":"TemporaryFile(/tmp/multipartBody1469634438713314448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413804053,"filename":"image_23042025_15_08_33_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353063688","file1":"1353063661","file0":"1353063630","file4":"1353063757","file5":"1353063789","file3":"1353063724"},"map_files_photo_id_array":[{"photo_id":"1353063789","filename":"file5"},{"photo_id":"1353063688","filename":"file2"},{"photo_id":"1353063757","filename":"file4"},{"photo_id":"1353063661","filename":"file1"},{"photo_id":"1353063630","filename":"file0"},{"photo_id":"1353063724","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353063724":["hashtag1","hashtag2"]},{"1353063789":["hashtag1","hashtag2"]},{"1353063630":["hashtag1","hashtag2"]},{"1353063688":["hashtag1","hashtag2"]},{"1353063757":["hashtag1","hashtag2"]},{"1353063661":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353063724, 1353063789, 1353063630, 1353063688, 1353063757, 1353063661)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.783151865005493 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:10:02.575822
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_44_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_34_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_23_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_14_9612.jpg', 2), ('/home/nano/Desktop/images/23042025/15/08/image_23042025_15_09_04_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_54_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_44_9570.jpg', '/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_34_10576.jpg', '/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_23_9577.jpg', '/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_14_9612.jpg', '/home/nano/Desktop/images/23042025/15/08/image_23042025_15_09_04_10590.jpg', '/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_54_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_44_9570.jpg
/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_34_10576.jpg
/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_23_9577.jpg
/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_14_9612.jpg
/home/nano/Desktop/images/23042025/15/08/image_23042025_15_09_04_10590.jpg
/home/nano/Desktop/images/23042025/15/08/image_23042025_15_08_54_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353064221","1353064193","1353064283","1353064130","1353064255","1353064159"],"photo_ids_order":["1353064130","1353064159","1353064193","1353064221","1353064255","1353064283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6467a9b0a8cc2f65fa2bb0e4180c2b0f.jpg","text":"TemporaryFile(/tmp/multipartBody6537369583628811075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413863443,"filename":"image_23042025_15_09_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27c0fca3ab4b4938e7acf2302e5c1a30.jpg","text":"TemporaryFile(/tmp/multipartBody3030720638601066775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413863443,"filename":"image_23042025_15_09_23_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c38734b2bf10195aee43b6553d8c14a7.jpg","text":"TemporaryFile(/tmp/multipartBody7940958827501948032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413863443,"filename":"image_23042025_15_08_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbbc77194105fc51da9555eb715536b3.jpg","text":"TemporaryFile(/tmp/multipartBody9079332795377504228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413863443,"filename":"image_23042025_15_09_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae60c3b63c45ddceaa5a257e37e7594a.jpg","text":"TemporaryFile(/tmp/multipartBody3723053339878242992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413863443,"filename":"image_23042025_15_09_04_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1e797e116e4d8affd8092baab4b1274.jpg","text":"TemporaryFile(/tmp/multipartBody1786082207640854326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413863443,"filename":"image_23042025_15_09_34_10576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353064193","file1":"1353064159","file0":"1353064130","file4":"1353064255","file5":"1353064283","file3":"1353064221"},"map_files_photo_id_array":[{"photo_id":"1353064283","filename":"file5"},{"photo_id":"1353064193","filename":"file2"},{"photo_id":"1353064255","filename":"file4"},{"photo_id":"1353064159","filename":"file1"},{"photo_id":"1353064130","filename":"file0"},{"photo_id":"1353064221","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353064221":["hashtag1","hashtag2"]},{"1353064193":["hashtag1","hashtag2"]},{"1353064283":["hashtag1","hashtag2"]},{"1353064130":["hashtag1","hashtag2"]},{"1353064255":["hashtag1","hashtag2"]},{"1353064159":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353064221, 1353064193, 1353064283, 1353064130, 1353064255, 1353064159)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.764566659927368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:11:02.803544
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_44_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_33_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_24_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_14_10606.jpg', 2), ('/home/nano/Desktop/images/23042025/15/09/image_23042025_15_10_04_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_54_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_44_10571.jpg', '/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_33_9577.jpg', '/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_24_9582.jpg', '/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_14_10606.jpg', '/home/nano/Desktop/images/23042025/15/09/image_23042025_15_10_04_9566.jpg', '/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_54_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_44_10571.jpg
/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_33_9577.jpg
/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_24_9582.jpg
/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_14_10606.jpg
/home/nano/Desktop/images/23042025/15/09/image_23042025_15_10_04_9566.jpg
/home/nano/Desktop/images/23042025/15/09/image_23042025_15_09_54_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353064644","1353064602","1353064574","1353064798","1353064735","1353064678"],"photo_ids_order":["1353064574","1353064602","1353064644","1353064678","1353064735","1353064798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/189ec288b24f9aaececedcfbef9f987c.jpg","text":"TemporaryFile(/tmp/multipartBody742288999736673921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413923761,"filename":"image_23042025_15_10_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0be94c98869f5e07084b5daf241c20bd.jpg","text":"TemporaryFile(/tmp/multipartBody1613465489517829684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413923761,"filename":"image_23042025_15_10_33_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1612dad5eb48ca6fb976e0d774028ab9.jpg","text":"TemporaryFile(/tmp/multipartBody5981270093057934085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413923761,"filename":"image_23042025_15_10_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83afa27dfb538b1de33f2e8601a531a4.jpg","text":"TemporaryFile(/tmp/multipartBody943011999344172225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413923761,"filename":"image_23042025_15_09_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15590aca5edb938ca7923da2369e1941.jpg","text":"TemporaryFile(/tmp/multipartBody1137659822444067575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413923761,"filename":"image_23042025_15_10_04_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d869e560362d0e0e8546e7eaf8c9e99.jpg","text":"TemporaryFile(/tmp/multipartBody8815809284485474224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413923761,"filename":"image_23042025_15_10_14_10606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353064644","file1":"1353064602","file0":"1353064574","file4":"1353064735","file5":"1353064798","file3":"1353064678"},"map_files_photo_id_array":[{"photo_id":"1353064798","filename":"file5"},{"photo_id":"1353064644","filename":"file2"},{"photo_id":"1353064735","filename":"file4"},{"photo_id":"1353064602","filename":"file1"},{"photo_id":"1353064574","filename":"file0"},{"photo_id":"1353064678","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353064644":["hashtag1","hashtag2"]},{"1353064602":["hashtag1","hashtag2"]},{"1353064574":["hashtag1","hashtag2"]},{"1353064798":["hashtag1","hashtag2"]},{"1353064735":["hashtag1","hashtag2"]},{"1353064678":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353064644, 1353064602, 1353064574, 1353064798, 1353064735, 1353064678)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.00993847846985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:12:02.787747
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_44_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_34_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_24_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_14_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/15/10/image_23042025_15_11_04_9783.jpg', 2), ('/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_54_9739.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_44_10652.jpg', '/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_34_9657.jpg', '/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_24_9638.jpg', '/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_14_10668.jpg', '/home/nano/Desktop/images/23042025/15/10/image_23042025_15_11_04_9783.jpg', '/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_54_9739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_44_10652.jpg
/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_34_9657.jpg
/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_24_9638.jpg
/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_14_10668.jpg
/home/nano/Desktop/images/23042025/15/10/image_23042025_15_11_04_9783.jpg
/home/nano/Desktop/images/23042025/15/10/image_23042025_15_10_54_9739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353065604","1353065585","1353065645","1353065546","1353065422","1353065478"],"photo_ids_order":["1353065422","1353065478","1353065546","1353065585","1353065604","1353065645"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13fa58f79b1d221260fdfeae0678ec94.jpg","text":"TemporaryFile(/tmp/multipartBody870309430735457586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413984388,"filename":"image_23042025_15_11_04_9783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8593bb2c47622acbd3bb0180405937f.jpg","text":"TemporaryFile(/tmp/multipartBody5664949875475678932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413984388,"filename":"image_23042025_15_11_14_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b99c19255f94b9cd76e56a0ff4628fb.jpg","text":"TemporaryFile(/tmp/multipartBody3533480705010025156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413984388,"filename":"image_23042025_15_10_54_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec8058f421805e0a96f7dc6c72a73e75.jpg","text":"TemporaryFile(/tmp/multipartBody7752292532145228926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413984388,"filename":"image_23042025_15_11_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d52f2869b35b00c599e459a64a2b9b5e.jpg","text":"TemporaryFile(/tmp/multipartBody4967894952415525145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413984388,"filename":"image_23042025_15_11_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfaa7273f7eb8fa3ed7f795465620a3a.jpg","text":"TemporaryFile(/tmp/multipartBody8699536709377301850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745413984388,"filename":"image_23042025_15_11_34_9657.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353065546","file1":"1353065478","file0":"1353065422","file4":"1353065604","file5":"1353065645","file3":"1353065585"},"map_files_photo_id_array":[{"photo_id":"1353065645","filename":"file5"},{"photo_id":"1353065546","filename":"file2"},{"photo_id":"1353065604","filename":"file4"},{"photo_id":"1353065478","filename":"file1"},{"photo_id":"1353065422","filename":"file0"},{"photo_id":"1353065585","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353065604":["hashtag1","hashtag2"]},{"1353065585":["hashtag1","hashtag2"]},{"1353065645":["hashtag1","hashtag2"]},{"1353065546":["hashtag1","hashtag2"]},{"1353065422":["hashtag1","hashtag2"]},{"1353065478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353065604, 1353065585, 1353065645, 1353065546, 1353065422, 1353065478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.72268533706665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:13:03.047123
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_44_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_33_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_24_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_14_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/15/11/image_23042025_15_12_03_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_44_10643.jpg', '/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_33_9643.jpg', '/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_24_9652.jpg', '/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_14_10677.jpg', '/home/nano/Desktop/images/23042025/15/11/image_23042025_15_12_03_9651.jpg', '/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_44_10643.jpg
/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_33_9643.jpg
/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_24_9652.jpg
/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_14_10677.jpg
/home/nano/Desktop/images/23042025/15/11/image_23042025_15_12_03_9651.jpg
/home/nano/Desktop/images/23042025/15/11/image_23042025_15_11_54_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353066203","1353066110","1353066244","1353066081","1353066150","1353066030"],"photo_ids_order":["1353066030","1353066081","1353066110","1353066150","1353066203","1353066244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42860205aa8ef299a0ff6752bc4e036c.jpg","text":"TemporaryFile(/tmp/multipartBody2168740917606617980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414044809,"filename":"image_23042025_15_12_03_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1174ba3c538278aae8892294e5483aa.jpg","text":"TemporaryFile(/tmp/multipartBody4379912582851156933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414044809,"filename":"image_23042025_15_12_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae3d71610a7b6fc4871e23064e719368.jpg","text":"TemporaryFile(/tmp/multipartBody4987094618749163680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414044809,"filename":"image_23042025_15_11_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c1046c4566c7fc51af26e32f96eaba0.jpg","text":"TemporaryFile(/tmp/multipartBody6816501587566900910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414044809,"filename":"image_23042025_15_12_33_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24c836bc3c863574985753d49600b65b.jpg","text":"TemporaryFile(/tmp/multipartBody7101502326248207655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414044809,"filename":"image_23042025_15_12_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6a49410266b6f596fff2b3c7d66e2cc.jpg","text":"TemporaryFile(/tmp/multipartBody3627813620075863654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414044809,"filename":"image_23042025_15_12_44_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353066110","file1":"1353066081","file0":"1353066030","file4":"1353066203","file5":"1353066244","file3":"1353066150"},"map_files_photo_id_array":[{"photo_id":"1353066244","filename":"file5"},{"photo_id":"1353066110","filename":"file2"},{"photo_id":"1353066203","filename":"file4"},{"photo_id":"1353066081","filename":"file1"},{"photo_id":"1353066030","filename":"file0"},{"photo_id":"1353066150","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353066203":["hashtag1","hashtag2"]},{"1353066110":["hashtag1","hashtag2"]},{"1353066244":["hashtag1","hashtag2"]},{"1353066081":["hashtag1","hashtag2"]},{"1353066150":["hashtag1","hashtag2"]},{"1353066030":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353066203, 1353066110, 1353066244, 1353066081, 1353066150, 1353066030)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.485465049743652 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:14:03.190035
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_54_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_44_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_33_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_24_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_14_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/15/12/image_23042025_15_13_03_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_54_9665.jpg', '/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_44_10650.jpg', '/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_33_9656.jpg', '/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_24_9649.jpg', '/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_14_10677.jpg', '/home/nano/Desktop/images/23042025/15/12/image_23042025_15_13_03_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_54_9665.jpg
/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_44_10650.jpg
/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_33_9656.jpg
/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_24_9649.jpg
/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_14_10677.jpg
/home/nano/Desktop/images/23042025/15/12/image_23042025_15_13_03_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353067084","1353066929","1353066707","1353067139","1353067031","1353066983"],"photo_ids_order":["1353066707","1353066929","1353066983","1353067031","1353067084","1353067139"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e7626faf4c38028f79ffec6297b31ce.jpg","text":"TemporaryFile(/tmp/multipartBody3934430051641305641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414104512,"filename":"image_23042025_15_13_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5548dab4f4b9d3b17e564cb9a0abc7a.jpg","text":"TemporaryFile(/tmp/multipartBody3433752994563220919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414104512,"filename":"image_23042025_15_13_44_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41fbcd230fa70cf6a65279e19acacae6.jpg","text":"TemporaryFile(/tmp/multipartBody4307634364677993915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414104512,"filename":"image_23042025_15_14_54_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f731a684c41ea05a07376a6777702776.jpg","text":"TemporaryFile(/tmp/multipartBody4348379168232400217asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414104512,"filename":"image_23042025_15_13_03_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b9dde89f22c61d9abc6139a53f0123c.jpg","text":"TemporaryFile(/tmp/multipartBody7302455605070411646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414104512,"filename":"image_23042025_15_13_24_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2a72db64a3fc3d399cb1faca52805b3.jpg","text":"TemporaryFile(/tmp/multipartBody7844665290480534314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414104512,"filename":"image_23042025_15_13_33_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353066983","file1":"1353066929","file0":"1353066707","file4":"1353067084","file5":"1353067139","file3":"1353067031"},"map_files_photo_id_array":[{"photo_id":"1353067139","filename":"file5"},{"photo_id":"1353066983","filename":"file2"},{"photo_id":"1353067084","filename":"file4"},{"photo_id":"1353066929","filename":"file1"},{"photo_id":"1353066707","filename":"file0"},{"photo_id":"1353067031","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353067084":["hashtag1","hashtag2"]},{"1353066929":["hashtag1","hashtag2"]},{"1353066707":["hashtag1","hashtag2"]},{"1353067139":["hashtag1","hashtag2"]},{"1353067031":["hashtag1","hashtag2"]},{"1353066983":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353067084, 1353066929, 1353066707, 1353067139, 1353067031, 1353066983)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.280531883239746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:15:03.292040
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_34_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_24_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_14_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/15/13/image_23042025_15_14_04_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_54_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_34_10644.jpg', '/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_24_9669.jpg', '/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_14_9646.jpg', '/home/nano/Desktop/images/23042025/15/13/image_23042025_15_14_04_10673.jpg', '/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_54_9630.jpg', '/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_34_10644.jpg
/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_24_9669.jpg
/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_14_9646.jpg
/home/nano/Desktop/images/23042025/15/13/image_23042025_15_14_04_10673.jpg
/home/nano/Desktop/images/23042025/15/13/image_23042025_15_13_54_9630.jpg
/home/nano/Desktop/images/23042025/15/12/image_23042025_15_12_54_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353067783","1353067696","1353067618","1353067908","1353067856","1353067922"],"photo_ids_order":["1353067618","1353067696","1353067783","1353067856","1353067908","1353067922"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc37ca9643c1c6ca329f5d98c3d0ce69.jpg","text":"TemporaryFile(/tmp/multipartBody558315855139466120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414164738,"filename":"image_23042025_15_14_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bbde8b2c436af2481db9a08519dbacc.jpg","text":"TemporaryFile(/tmp/multipartBody4495101103872628356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414164738,"filename":"image_23042025_15_14_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fdf295eac8cb4cee0139c595df0c8d46.jpg","text":"TemporaryFile(/tmp/multipartBody4877525855602101823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414164738,"filename":"image_23042025_15_14_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e58d7e2f0b7e85a154696d251c78c116.jpg","text":"TemporaryFile(/tmp/multipartBody6550274817871761372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414164738,"filename":"image_23042025_15_13_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e91c1e256c9148b06f235beef9eef464.jpg","text":"TemporaryFile(/tmp/multipartBody2719270486415324802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414164738,"filename":"image_23042025_15_14_04_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ee3389ea88641a436c87eabd438d740.jpg","text":"TemporaryFile(/tmp/multipartBody4516600373693850839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414164738,"filename":"image_23042025_15_12_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353067783","file1":"1353067696","file0":"1353067618","file4":"1353067908","file5":"1353067922","file3":"1353067856"},"map_files_photo_id_array":[{"photo_id":"1353067922","filename":"file5"},{"photo_id":"1353067783","filename":"file2"},{"photo_id":"1353067908","filename":"file4"},{"photo_id":"1353067696","filename":"file1"},{"photo_id":"1353067618","filename":"file0"},{"photo_id":"1353067856","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353067783":["hashtag1","hashtag2"]},{"1353067696":["hashtag1","hashtag2"]},{"1353067618":["hashtag1","hashtag2"]},{"1353067908":["hashtag1","hashtag2"]},{"1353067856":["hashtag1","hashtag2"]},{"1353067922":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353067783, 1353067696, 1353067618, 1353067908, 1353067856, 1353067922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.200947523117065 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:16:02.990381
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_44_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_34_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_24_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_14_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/15/14/image_23042025_15_15_04_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_44_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_44_9656.jpg', '/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_34_10644.jpg', '/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_24_9643.jpg', '/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_14_9680.jpg', '/home/nano/Desktop/images/23042025/15/14/image_23042025_15_15_04_10714.jpg', '/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_44_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_44_9656.jpg
/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_34_10644.jpg
/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_24_9643.jpg
/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_14_9680.jpg
/home/nano/Desktop/images/23042025/15/14/image_23042025_15_15_04_10714.jpg
/home/nano/Desktop/images/23042025/15/14/image_23042025_15_14_44_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353068236","1353068244","1353068238","1353068217","1353068240","1353068234"],"photo_ids_order":["1353068217","1353068234","1353068236","1353068238","1353068240","1353068244"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41c859a14fdde3211af776d738350a16.jpg","text":"TemporaryFile(/tmp/multipartBody6193292169343193963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414224736,"filename":"image_23042025_15_15_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e67fcf1662cffd1a8d71a5e724a0d89.jpg","text":"TemporaryFile(/tmp/multipartBody4408914210376735124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414224736,"filename":"image_23042025_15_14_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9e12ce706906d80b402b0312c508a36.jpg","text":"TemporaryFile(/tmp/multipartBody4297030453854278538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414224736,"filename":"image_23042025_15_15_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8263e0ac3d12a301330ea64285364715.jpg","text":"TemporaryFile(/tmp/multipartBody6766488463296507923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414224736,"filename":"image_23042025_15_15_44_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdc7fc34aa1adb54c56de80fdc009d84.jpg","text":"TemporaryFile(/tmp/multipartBody8046175609387016194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414224736,"filename":"image_23042025_15_15_04_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/599c9e2f4a008678e387d2aeb3608010.jpg","text":"TemporaryFile(/tmp/multipartBody8680766544205085893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414224736,"filename":"image_23042025_15_15_34_10644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353068236","file1":"1353068234","file0":"1353068217","file4":"1353068240","file5":"1353068244","file3":"1353068238"},"map_files_photo_id_array":[{"photo_id":"1353068244","filename":"file5"},{"photo_id":"1353068236","filename":"file2"},{"photo_id":"1353068240","filename":"file4"},{"photo_id":"1353068234","filename":"file1"},{"photo_id":"1353068217","filename":"file0"},{"photo_id":"1353068238","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353068236":["hashtag1","hashtag2"]},{"1353068244":["hashtag1","hashtag2"]},{"1353068238":["hashtag1","hashtag2"]},{"1353068217":["hashtag1","hashtag2"]},{"1353068240":["hashtag1","hashtag2"]},{"1353068234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353068236, 1353068244, 1353068238, 1353068217, 1353068240, 1353068234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.12473917007446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:17:03.232740
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_44_9610.jpg', 2), ('/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_34_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_24_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_14_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/15/15/image_23042025_15_16_04_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_44_9610.jpg', '/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_34_10645.jpg', '/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_24_9678.jpg', '/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_14_9670.jpg', '/home/nano/Desktop/images/23042025/15/15/image_23042025_15_16_04_10661.jpg', '/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_44_9610.jpg
/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_34_10645.jpg
/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_24_9678.jpg
/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_14_9670.jpg
/home/nano/Desktop/images/23042025/15/15/image_23042025_15_16_04_10661.jpg
/home/nano/Desktop/images/23042025/15/15/image_23042025_15_15_54_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353068443","1353068404","1353068415","1353068399","1353068392","1353068405"],"photo_ids_order":["1353068392","1353068399","1353068404","1353068405","1353068415","1353068443"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87c15d20cf688a87d68b2f1d49500fdd.jpg","text":"TemporaryFile(/tmp/multipartBody7528450788992105767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414284672,"filename":"image_23042025_15_15_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb095da7e892c4abeba1607084ff7a09.jpg","text":"TemporaryFile(/tmp/multipartBody3723087710565653220asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414284672,"filename":"image_23042025_15_16_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9828d30906f31ef461e3d2867343b66.jpg","text":"TemporaryFile(/tmp/multipartBody3050728007572058742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414284672,"filename":"image_23042025_15_16_04_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f050b6a7d2882d412157aa600d7bddf.jpg","text":"TemporaryFile(/tmp/multipartBody124376233850895279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414284672,"filename":"image_23042025_15_16_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8562214e086f1596be13f9a1eb845ed9.jpg","text":"TemporaryFile(/tmp/multipartBody8271251283874284417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414284672,"filename":"image_23042025_15_16_44_9610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9dfa829955dec92e7a4b152d6653ace8.jpg","text":"TemporaryFile(/tmp/multipartBody8018615407291381737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414284672,"filename":"image_23042025_15_16_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353068404","file1":"1353068399","file0":"1353068392","file4":"1353068415","file5":"1353068443","file3":"1353068405"},"map_files_photo_id_array":[{"photo_id":"1353068443","filename":"file5"},{"photo_id":"1353068404","filename":"file2"},{"photo_id":"1353068415","filename":"file4"},{"photo_id":"1353068399","filename":"file1"},{"photo_id":"1353068392","filename":"file0"},{"photo_id":"1353068405","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353068443":["hashtag1","hashtag2"]},{"1353068404":["hashtag1","hashtag2"]},{"1353068415":["hashtag1","hashtag2"]},{"1353068399":["hashtag1","hashtag2"]},{"1353068392":["hashtag1","hashtag2"]},{"1353068405":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353068443, 1353068404, 1353068415, 1353068399, 1353068392, 1353068405)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.293445348739624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:18:02.320177
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_44_9613.jpg', 2), ('/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_34_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_23_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_14_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/15/16/image_23042025_15_17_04_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_53_9617.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_44_9613.jpg', '/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_34_10629.jpg', '/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_23_9622.jpg', '/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_14_9633.jpg', '/home/nano/Desktop/images/23042025/15/16/image_23042025_15_17_04_10666.jpg', '/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_53_9617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_44_9613.jpg
/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_34_10629.jpg
/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_23_9622.jpg
/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_14_9633.jpg
/home/nano/Desktop/images/23042025/15/16/image_23042025_15_17_04_10666.jpg
/home/nano/Desktop/images/23042025/15/16/image_23042025_15_16_53_9617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353069144","1353068964","1353069092","1353069050","1353069014","1353069118"],"photo_ids_order":["1353068964","1353069014","1353069050","1353069092","1353069118","1353069144"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd4d43e33d2c89197b39484ad73bd4c7.jpg","text":"TemporaryFile(/tmp/multipartBody6954403527582029801asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414343723,"filename":"image_23042025_15_16_53_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df111772c43efbdd041f4a1494bf8435.jpg","text":"TemporaryFile(/tmp/multipartBody4552487823351468506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414343723,"filename":"image_23042025_15_17_44_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50d04a918a68d63533a417f61d26827c.jpg","text":"TemporaryFile(/tmp/multipartBody4712441404312853920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414343723,"filename":"image_23042025_15_17_14_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38739b75b493e9ea7490f4cc8c133cd8.jpg","text":"TemporaryFile(/tmp/multipartBody5912501508355745582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414343723,"filename":"image_23042025_15_17_23_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c46a67dcaca6d51d56c9144bd11bb1db.jpg","text":"TemporaryFile(/tmp/multipartBody4752420588348981194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414343723,"filename":"image_23042025_15_17_34_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0336fab3014ff08b780a198dd25014f.jpg","text":"TemporaryFile(/tmp/multipartBody2411668032636141212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414343723,"filename":"image_23042025_15_17_04_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353069050","file1":"1353069014","file0":"1353068964","file4":"1353069118","file5":"1353069144","file3":"1353069092"},"map_files_photo_id_array":[{"photo_id":"1353069144","filename":"file5"},{"photo_id":"1353069050","filename":"file2"},{"photo_id":"1353069118","filename":"file4"},{"photo_id":"1353069014","filename":"file1"},{"photo_id":"1353068964","filename":"file0"},{"photo_id":"1353069092","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353069144":["hashtag1","hashtag2"]},{"1353068964":["hashtag1","hashtag2"]},{"1353069092":["hashtag1","hashtag2"]},{"1353069050":["hashtag1","hashtag2"]},{"1353069014":["hashtag1","hashtag2"]},{"1353069118":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353069144, 1353068964, 1353069092, 1353069050, 1353069014, 1353069118)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.80138945579529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:19:02.976289
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_43_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_34_9618.jpg', 2), ('/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_24_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_14_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/15/17/image_23042025_15_18_04_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_43_9623.jpg', '/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_34_9618.jpg', '/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_24_10635.jpg', '/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_14_9649.jpg', '/home/nano/Desktop/images/23042025/15/17/image_23042025_15_18_04_9642.jpg', '/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_43_9623.jpg
/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_34_9618.jpg
/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_24_10635.jpg
/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_14_9649.jpg
/home/nano/Desktop/images/23042025/15/17/image_23042025_15_18_04_9642.jpg
/home/nano/Desktop/images/23042025/15/17/image_23042025_15_17_54_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353069232","1353069231","1353069234","1353069228","1353069233","1353069238"],"photo_ids_order":["1353069228","1353069231","1353069232","1353069233","1353069234","1353069238"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a78cf2ab6e35e9874fcd0a22865194b.jpg","text":"TemporaryFile(/tmp/multipartBody7221610847496558373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414404288,"filename":"image_23042025_15_18_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/647b17746b26bffbe6765626863099d1.jpg","text":"TemporaryFile(/tmp/multipartBody1325178174762901156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414404288,"filename":"image_23042025_15_18_34_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db96d7b6d22977923b8a38a3319ee5d1.jpg","text":"TemporaryFile(/tmp/multipartBody3428565270161289877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414404288,"filename":"image_23042025_15_18_04_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/947111c2e196f53eaee68d86c3907af9.jpg","text":"TemporaryFile(/tmp/multipartBody4390281212284318540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414404288,"filename":"image_23042025_15_18_43_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d560d78eae6a0373a7ead922811f520.jpg","text":"TemporaryFile(/tmp/multipartBody8641078192772346805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414404288,"filename":"image_23042025_15_18_14_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae5b327afde871e6991cdb18fd607590.jpg","text":"TemporaryFile(/tmp/multipartBody3998726984430582335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414404288,"filename":"image_23042025_15_17_54_10629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353069232","file1":"1353069231","file0":"1353069228","file4":"1353069234","file5":"1353069238","file3":"1353069233"},"map_files_photo_id_array":[{"photo_id":"1353069238","filename":"file5"},{"photo_id":"1353069232","filename":"file2"},{"photo_id":"1353069234","filename":"file4"},{"photo_id":"1353069231","filename":"file1"},{"photo_id":"1353069228","filename":"file0"},{"photo_id":"1353069233","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353069232":["hashtag1","hashtag2"]},{"1353069231":["hashtag1","hashtag2"]},{"1353069234":["hashtag1","hashtag2"]},{"1353069228":["hashtag1","hashtag2"]},{"1353069233":["hashtag1","hashtag2"]},{"1353069238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353069232, 1353069231, 1353069234, 1353069228, 1353069233, 1353069238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78136110305786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:20:02.638877
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_44_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_34_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_24_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_14_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/15/18/image_23042025_15_19_04_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_54_10626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_44_9562.jpg', '/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_34_10571.jpg', '/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_24_9563.jpg', '/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_14_10588.jpg', '/home/nano/Desktop/images/23042025/15/18/image_23042025_15_19_04_9567.jpg', '/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_54_10626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_44_9562.jpg
/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_34_10571.jpg
/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_24_9563.jpg
/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_14_10588.jpg
/home/nano/Desktop/images/23042025/15/18/image_23042025_15_19_04_9567.jpg
/home/nano/Desktop/images/23042025/15/18/image_23042025_15_18_54_10626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353069319","1353069293","1353069344","1353069367","1353069280","1353069277"],"photo_ids_order":["1353069277","1353069280","1353069293","1353069319","1353069344","1353069367"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1186c5e82b453f6b1fdc8cd1c6530ca8.jpg","text":"TemporaryFile(/tmp/multipartBody1238674661317092146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414463633,"filename":"image_23042025_15_19_14_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75d000b4915d29e9a76b31d364174254.jpg","text":"TemporaryFile(/tmp/multipartBody1979231534346143060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414463633,"filename":"image_23042025_15_19_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a641824c4ac7341bbb925b639de97423.jpg","text":"TemporaryFile(/tmp/multipartBody1695807692999875810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414463633,"filename":"image_23042025_15_19_04_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0918d15ab5ac3fe03004fd41a9dd1205.jpg","text":"TemporaryFile(/tmp/multipartBody6496690077045045618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414463633,"filename":"image_23042025_15_18_54_10626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1597a5b139e3cf860dcd2e6cfd1ad97a.jpg","text":"TemporaryFile(/tmp/multipartBody6999621694783023540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414463633,"filename":"image_23042025_15_19_34_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28a4ca78eea980710fcad0d98f9233ca.jpg","text":"TemporaryFile(/tmp/multipartBody5632547091042437388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414463633,"filename":"image_23042025_15_19_44_9562.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353069293","file1":"1353069280","file0":"1353069277","file4":"1353069344","file5":"1353069367","file3":"1353069319"},"map_files_photo_id_array":[{"photo_id":"1353069367","filename":"file5"},{"photo_id":"1353069293","filename":"file2"},{"photo_id":"1353069344","filename":"file4"},{"photo_id":"1353069280","filename":"file1"},{"photo_id":"1353069277","filename":"file0"},{"photo_id":"1353069319","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353069319":["hashtag1","hashtag2"]},{"1353069293":["hashtag1","hashtag2"]},{"1353069344":["hashtag1","hashtag2"]},{"1353069367":["hashtag1","hashtag2"]},{"1353069280":["hashtag1","hashtag2"]},{"1353069277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353069319, 1353069293, 1353069344, 1353069367, 1353069280, 1353069277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.347075700759888 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:21:02.588208
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_44_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_34_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_24_10578.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_14_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/15/19/image_23042025_15_20_04_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_53_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_44_10571.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_34_9561.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_24_10578.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_14_9578.jpg', '/home/nano/Desktop/images/23042025/15/19/image_23042025_15_20_04_10580.jpg', '/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_53_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_44_10571.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_34_9561.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_24_10578.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_14_9578.jpg
/home/nano/Desktop/images/23042025/15/19/image_23042025_15_20_04_10580.jpg
/home/nano/Desktop/images/23042025/15/19/image_23042025_15_19_53_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353069616","1353069597","1353069582","1353069579","1353069566","1353069568"],"photo_ids_order":["1353069566","1353069568","1353069579","1353069582","1353069597","1353069616"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/458ec01b59ba4c1ea595f0147b301ec8.jpg","text":"TemporaryFile(/tmp/multipartBody1659840560990961320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414523493,"filename":"image_23042025_15_19_53_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e80ce07335fd4da6d1fc2fe0a3e0dbe2.jpg","text":"TemporaryFile(/tmp/multipartBody2941638082358102555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414523493,"filename":"image_23042025_15_20_04_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29cfabb9849e048a748ea74bf9e7e3db.jpg","text":"TemporaryFile(/tmp/multipartBody9165601942984751425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414523493,"filename":"image_23042025_15_20_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7765446b4bcf94fc1469926b5d06c1e2.jpg","text":"TemporaryFile(/tmp/multipartBody4154832904261678020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414523493,"filename":"image_23042025_15_20_24_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fc87dc3738c5aab738b04d91f212c62.jpg","text":"TemporaryFile(/tmp/multipartBody3336357942304293587asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414523493,"filename":"image_23042025_15_20_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fa7836ab77633e849b9619cee762495.jpg","text":"TemporaryFile(/tmp/multipartBody608374023004692558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414523493,"filename":"image_23042025_15_20_34_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353069579","file1":"1353069568","file0":"1353069566","file4":"1353069597","file5":"1353069616","file3":"1353069582"},"map_files_photo_id_array":[{"photo_id":"1353069616","filename":"file5"},{"photo_id":"1353069579","filename":"file2"},{"photo_id":"1353069597","filename":"file4"},{"photo_id":"1353069568","filename":"file1"},{"photo_id":"1353069566","filename":"file0"},{"photo_id":"1353069582","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353069616":["hashtag1","hashtag2"]},{"1353069597":["hashtag1","hashtag2"]},{"1353069582":["hashtag1","hashtag2"]},{"1353069579":["hashtag1","hashtag2"]},{"1353069566":["hashtag1","hashtag2"]},{"1353069568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353069616, 1353069597, 1353069582, 1353069579, 1353069566, 1353069568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.198779582977295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:22:02.697020
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_14_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_21_03_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_54_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_14_10587.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_21_03_9580.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_54_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_14_10587.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_21_03_9580.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_54_9561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.1345634460449219 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:22:32.211976
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_44_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_34_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_24_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_14_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_22_04_10582.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_44_10570.jpg', '/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_34_9563.jpg', '/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_24_10589.jpg', '/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_14_9574.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_22_04_10582.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_44_10570.jpg
/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_34_9563.jpg
/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_24_10589.jpg
/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_14_9574.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_22_04_10582.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_53_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070027","1353070032","1353070041","1353070037","1353069961","1353070022"],"photo_ids_order":["1353069961","1353070022","1353070027","1353070032","1353070037","1353070041"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/452164387b84e2c1073ab15cf41f7440.jpg","text":"TemporaryFile(/tmp/multipartBody4293405334698529237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414613421,"filename":"image_23042025_15_22_24_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1eded57eb8d93de6fbb68aa470a6b0c6.jpg","text":"TemporaryFile(/tmp/multipartBody5577607640631551405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414613421,"filename":"image_23042025_15_22_14_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bdb7eb5c698d72ea2a6646da4d0789f.jpg","text":"TemporaryFile(/tmp/multipartBody6824956679154572301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414613421,"filename":"image_23042025_15_21_53_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00fc37d22df4cabb28c5467f0d5a8aff.jpg","text":"TemporaryFile(/tmp/multipartBody5627998275490762927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414613421,"filename":"image_23042025_15_22_04_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bead6b081a222a9027e63c181f79ef1.jpg","text":"TemporaryFile(/tmp/multipartBody6888785335447632114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414613421,"filename":"image_23042025_15_22_44_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/820ab9a4a0f02a3f32f04771d1d17d29.jpg","text":"TemporaryFile(/tmp/multipartBody2120450452644374814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414613421,"filename":"image_23042025_15_22_34_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070027","file1":"1353070022","file0":"1353069961","file4":"1353070037","file5":"1353070041","file3":"1353070032"},"map_files_photo_id_array":[{"photo_id":"1353070041","filename":"file5"},{"photo_id":"1353070027","filename":"file2"},{"photo_id":"1353070037","filename":"file4"},{"photo_id":"1353070022","filename":"file1"},{"photo_id":"1353069961","filename":"file0"},{"photo_id":"1353070032","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070027":["hashtag1","hashtag2"]},{"1353070032":["hashtag1","hashtag2"]},{"1353070041":["hashtag1","hashtag2"]},{"1353070037":["hashtag1","hashtag2"]},{"1353069961":["hashtag1","hashtag2"]},{"1353070022":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070027, 1353070032, 1353070041, 1353070037, 1353069961, 1353070022)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.88680911064148 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:23:32.305933
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_44_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_34_10576.jpg', 2), ('/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_24_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_14_10585.jpg', 2), ('/home/nano/Desktop/images/23042025/15/22/image_23042025_15_23_04_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_54_9583.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_44_9561.jpg', '/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_34_10576.jpg', '/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_24_9559.jpg', '/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_14_10585.jpg', '/home/nano/Desktop/images/23042025/15/22/image_23042025_15_23_04_9583.jpg', '/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_54_9583.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_44_9561.jpg
/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_34_10576.jpg
/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_24_9559.jpg
/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_14_10585.jpg
/home/nano/Desktop/images/23042025/15/22/image_23042025_15_23_04_9583.jpg
/home/nano/Desktop/images/23042025/15/22/image_23042025_15_22_54_9583.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070153","1353070207","1353070197","1353070122","1353070184","1353070202"],"photo_ids_order":["1353070122","1353070153","1353070184","1353070197","1353070202","1353070207"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb7bba55d63a31cee0a7d7b116baa946.jpg","text":"TemporaryFile(/tmp/multipartBody1070521158028972981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414673440,"filename":"image_23042025_15_23_34_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6a7977b26a8aa81e1f08deb0e5a00d4.jpg","text":"TemporaryFile(/tmp/multipartBody7247327518172880211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414673440,"filename":"image_23042025_15_22_54_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86a252bc3a86d56c452712f19445406d.jpg","text":"TemporaryFile(/tmp/multipartBody2783681838043151128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414673440,"filename":"image_23042025_15_23_14_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34b93151cc0b8baf89f54567c1e0cf3b.jpg","text":"TemporaryFile(/tmp/multipartBody3671813881958511351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414673440,"filename":"image_23042025_15_23_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56156b436a9b555e589316fa39c737da.jpg","text":"TemporaryFile(/tmp/multipartBody6334794739234962431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414673440,"filename":"image_23042025_15_23_24_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3962fa92298245af5d264efe0f421a6c.jpg","text":"TemporaryFile(/tmp/multipartBody936080058180804489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414673440,"filename":"image_23042025_15_23_04_9583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070184","file1":"1353070153","file0":"1353070122","file4":"1353070202","file5":"1353070207","file3":"1353070197"},"map_files_photo_id_array":[{"photo_id":"1353070207","filename":"file5"},{"photo_id":"1353070184","filename":"file2"},{"photo_id":"1353070202","filename":"file4"},{"photo_id":"1353070153","filename":"file1"},{"photo_id":"1353070122","filename":"file0"},{"photo_id":"1353070197","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070153":["hashtag1","hashtag2"]},{"1353070207":["hashtag1","hashtag2"]},{"1353070197":["hashtag1","hashtag2"]},{"1353070122":["hashtag1","hashtag2"]},{"1353070184":["hashtag1","hashtag2"]},{"1353070202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070153, 1353070207, 1353070197, 1353070122, 1353070184, 1353070202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.676034927368164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:24:32.400410
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_44_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_34_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_24_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_14_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/15/23/image_23042025_15_24_04_10583.jpg', 2), ('/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_53_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_44_10574.jpg', '/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_34_9564.jpg', '/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_24_10597.jpg', '/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_14_9583.jpg', '/home/nano/Desktop/images/23042025/15/23/image_23042025_15_24_04_10583.jpg', '/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_53_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_44_10574.jpg
/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_34_9564.jpg
/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_24_10597.jpg
/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_14_9583.jpg
/home/nano/Desktop/images/23042025/15/23/image_23042025_15_24_04_10583.jpg
/home/nano/Desktop/images/23042025/15/23/image_23042025_15_23_53_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070252","1353070248","1353070236","1353070241","1353070244","1353070238"],"photo_ids_order":["1353070236","1353070238","1353070241","1353070244","1353070248","1353070252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6d6f08f7e64dea096cf1fc2dc5d7196.jpg","text":"TemporaryFile(/tmp/multipartBody914185368580767292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414733416,"filename":"image_23042025_15_23_53_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/682808870da708342b2b5cc33d8fad5c.jpg","text":"TemporaryFile(/tmp/multipartBody8070196655841082247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414733416,"filename":"image_23042025_15_24_04_10583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/306f4c98adc8340e81e163e3e163b604.jpg","text":"TemporaryFile(/tmp/multipartBody319746530246396284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414733416,"filename":"image_23042025_15_24_44_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9a4167cfc6c5e0d40a7ceb5c91567d9.jpg","text":"TemporaryFile(/tmp/multipartBody7548081848801430154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414733416,"filename":"image_23042025_15_24_24_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b476e25aeb9d3ecb842508f2daaabba5.jpg","text":"TemporaryFile(/tmp/multipartBody6928027235614910257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414733416,"filename":"image_23042025_15_24_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18b7171d2f6810643d3832411d547c52.jpg","text":"TemporaryFile(/tmp/multipartBody6758637472644465002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414733416,"filename":"image_23042025_15_24_34_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070241","file1":"1353070238","file0":"1353070236","file4":"1353070248","file5":"1353070252","file3":"1353070244"},"map_files_photo_id_array":[{"photo_id":"1353070252","filename":"file5"},{"photo_id":"1353070241","filename":"file2"},{"photo_id":"1353070248","filename":"file4"},{"photo_id":"1353070238","filename":"file1"},{"photo_id":"1353070236","filename":"file0"},{"photo_id":"1353070244","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070252":["hashtag1","hashtag2"]},{"1353070248":["hashtag1","hashtag2"]},{"1353070236":["hashtag1","hashtag2"]},{"1353070241":["hashtag1","hashtag2"]},{"1353070244":["hashtag1","hashtag2"]},{"1353070238":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070252, 1353070248, 1353070236, 1353070241, 1353070244, 1353070238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.325621843338013 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:25:32.555355
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_44_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_34_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_24_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_14_10586.jpg', 2), ('/home/nano/Desktop/images/23042025/15/24/image_23042025_15_25_03_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_54_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_44_9559.jpg', '/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_34_10572.jpg', '/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_24_9561.jpg', '/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_14_10586.jpg', '/home/nano/Desktop/images/23042025/15/24/image_23042025_15_25_03_9571.jpg', '/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_54_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_44_9559.jpg
/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_34_10572.jpg
/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_24_9561.jpg
/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_14_10586.jpg
/home/nano/Desktop/images/23042025/15/24/image_23042025_15_25_03_9571.jpg
/home/nano/Desktop/images/23042025/15/24/image_23042025_15_24_54_9565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070288","1353070275","1353070272","1353070283","1353070286","1353070277"],"photo_ids_order":["1353070272","1353070275","1353070277","1353070283","1353070286","1353070288"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b60e9cfdc9d51a83effc85d1834d6c42.jpg","text":"TemporaryFile(/tmp/multipartBody3015719566681089416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414793611,"filename":"image_23042025_15_24_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4311b517198ba09a48e3b909f50029b5.jpg","text":"TemporaryFile(/tmp/multipartBody4995619707917971395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414793611,"filename":"image_23042025_15_25_34_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45c271b731b01bfa9d7352127216e012.jpg","text":"TemporaryFile(/tmp/multipartBody892007355822797435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414793611,"filename":"image_23042025_15_25_44_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7c8259d36ccb730a7e7442f29b24bd1.jpg","text":"TemporaryFile(/tmp/multipartBody9045095973839065185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414793611,"filename":"image_23042025_15_25_14_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c255db41d5772378cc120e13ebccfe8.jpg","text":"TemporaryFile(/tmp/multipartBody2966525361747224610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414793611,"filename":"image_23042025_15_25_03_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21a226b51d8ffd95a94efad49ab68471.jpg","text":"TemporaryFile(/tmp/multipartBody5451080942377750977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414793611,"filename":"image_23042025_15_25_24_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070277","file1":"1353070275","file0":"1353070272","file4":"1353070286","file5":"1353070288","file3":"1353070283"},"map_files_photo_id_array":[{"photo_id":"1353070288","filename":"file5"},{"photo_id":"1353070277","filename":"file2"},{"photo_id":"1353070286","filename":"file4"},{"photo_id":"1353070275","filename":"file1"},{"photo_id":"1353070272","filename":"file0"},{"photo_id":"1353070283","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070288":["hashtag1","hashtag2"]},{"1353070275":["hashtag1","hashtag2"]},{"1353070272":["hashtag1","hashtag2"]},{"1353070283":["hashtag1","hashtag2"]},{"1353070286":["hashtag1","hashtag2"]},{"1353070277":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070288, 1353070275, 1353070272, 1353070283, 1353070286, 1353070277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.003475189208984 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:26:32.642613
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_44_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_34_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_24_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_13_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/15/25/image_23042025_15_26_04_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_54_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_44_10571.jpg', '/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_34_9565.jpg', '/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_24_10572.jpg', '/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_13_9577.jpg', '/home/nano/Desktop/images/23042025/15/25/image_23042025_15_26_04_9570.jpg', '/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_54_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_44_10571.jpg
/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_34_9565.jpg
/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_24_10572.jpg
/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_13_9577.jpg
/home/nano/Desktop/images/23042025/15/25/image_23042025_15_26_04_9570.jpg
/home/nano/Desktop/images/23042025/15/25/image_23042025_15_25_54_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070372","1353070366","1353070339","1353070336","1353070361","1353070343"],"photo_ids_order":["1353070336","1353070339","1353070343","1353070361","1353070366","1353070372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d996e00e7e2be6d17a73b27e575d971.jpg","text":"TemporaryFile(/tmp/multipartBody4847906450828032015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414853820,"filename":"image_23042025_15_25_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f04249dcfb311c701a1f7eae4f8bba14.jpg","text":"TemporaryFile(/tmp/multipartBody5311049860189471327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414853820,"filename":"image_23042025_15_26_04_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7f312fcddaba90c4af73fd767fd4940.jpg","text":"TemporaryFile(/tmp/multipartBody1344158454390772988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414853820,"filename":"image_23042025_15_26_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76df2a3f160ba1f38b84731a8fc21bf4.jpg","text":"TemporaryFile(/tmp/multipartBody8008724041065070492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414853820,"filename":"image_23042025_15_26_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f1405723ffd3afa56c5a26359807d26.jpg","text":"TemporaryFile(/tmp/multipartBody3417312761193581796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414853820,"filename":"image_23042025_15_26_13_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c67dcc3891137f4338e27bb311d7fca.jpg","text":"TemporaryFile(/tmp/multipartBody2686606530902747617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414853820,"filename":"image_23042025_15_26_24_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070343","file1":"1353070339","file0":"1353070336","file4":"1353070366","file5":"1353070372","file3":"1353070361"},"map_files_photo_id_array":[{"photo_id":"1353070372","filename":"file5"},{"photo_id":"1353070343","filename":"file2"},{"photo_id":"1353070366","filename":"file4"},{"photo_id":"1353070339","filename":"file1"},{"photo_id":"1353070336","filename":"file0"},{"photo_id":"1353070361","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070372":["hashtag1","hashtag2"]},{"1353070366":["hashtag1","hashtag2"]},{"1353070339":["hashtag1","hashtag2"]},{"1353070336":["hashtag1","hashtag2"]},{"1353070361":["hashtag1","hashtag2"]},{"1353070343":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070372, 1353070366, 1353070339, 1353070336, 1353070361, 1353070343)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.237263679504395 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:27:32.742083
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_44_9768.jpg', 2), ('/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_34_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_24_10752.jpg', 2), ('/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_13_9792.jpg', 2), ('/home/nano/Desktop/images/23042025/15/26/image_23042025_15_27_04_9761.jpg', 2), ('/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_54_9760.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_44_9768.jpg', '/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_34_9754.jpg', '/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_24_10752.jpg', '/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_13_9792.jpg', '/home/nano/Desktop/images/23042025/15/26/image_23042025_15_27_04_9761.jpg', '/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_44_9768.jpg
/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_34_9754.jpg
/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_24_10752.jpg
/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_13_9792.jpg
/home/nano/Desktop/images/23042025/15/26/image_23042025_15_27_04_9761.jpg
/home/nano/Desktop/images/23042025/15/26/image_23042025_15_26_54_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070843","1353070822","1353070896","1353070848","1353070873","1353070867"],"photo_ids_order":["1353070822","1353070843","1353070848","1353070867","1353070873","1353070896"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e353fcc4c7e48eb4a01d219a6cc92b1.jpg","text":"TemporaryFile(/tmp/multipartBody3990381118801467600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414914955,"filename":"image_23042025_15_27_34_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f6cb90a5126db324e864ace90144183.jpg","text":"TemporaryFile(/tmp/multipartBody5926790397019876821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414914955,"filename":"image_23042025_15_27_44_9768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dac81b9b6ed86fc0e9a8b83039d7c462.jpg","text":"TemporaryFile(/tmp/multipartBody6225659794344526807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414914955,"filename":"image_23042025_15_26_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/310d912ddeec1e9e1849cf5388c2f8ed.jpg","text":"TemporaryFile(/tmp/multipartBody5075819445040110722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414914955,"filename":"image_23042025_15_27_24_10752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/740cd9290c560089050b8389b925f4bf.jpg","text":"TemporaryFile(/tmp/multipartBody3228314191968679547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414914955,"filename":"image_23042025_15_27_04_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22010978f6d91f69f9e8e71e86f3e32b.jpg","text":"TemporaryFile(/tmp/multipartBody7897427946330973015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414914955,"filename":"image_23042025_15_27_13_9792.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070848","file1":"1353070843","file0":"1353070822","file4":"1353070873","file5":"1353070896","file3":"1353070867"},"map_files_photo_id_array":[{"photo_id":"1353070896","filename":"file5"},{"photo_id":"1353070848","filename":"file2"},{"photo_id":"1353070873","filename":"file4"},{"photo_id":"1353070843","filename":"file1"},{"photo_id":"1353070822","filename":"file0"},{"photo_id":"1353070867","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070843":["hashtag1","hashtag2"]},{"1353070822":["hashtag1","hashtag2"]},{"1353070896":["hashtag1","hashtag2"]},{"1353070848":["hashtag1","hashtag2"]},{"1353070873":["hashtag1","hashtag2"]},{"1353070867":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070843, 1353070822, 1353070896, 1353070848, 1353070873, 1353070867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34851932525635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:28:31.866624
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_44_10755.jpg', 2), ('/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_34_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_24_9769.jpg', 2), ('/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_14_9762.jpg', 2), ('/home/nano/Desktop/images/23042025/15/27/image_23042025_15_28_04_10811.jpg', 2), ('/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_53_9749.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_44_10755.jpg', '/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_34_9719.jpg', '/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_24_9769.jpg', '/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_14_9762.jpg', '/home/nano/Desktop/images/23042025/15/27/image_23042025_15_28_04_10811.jpg', '/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_53_9749.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_44_10755.jpg
/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_34_9719.jpg
/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_24_9769.jpg
/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_14_9762.jpg
/home/nano/Desktop/images/23042025/15/27/image_23042025_15_28_04_10811.jpg
/home/nano/Desktop/images/23042025/15/27/image_23042025_15_27_53_9749.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353070927","1353070941","1353070935","1353070923","1353070931","1353070945"],"photo_ids_order":["1353070923","1353070927","1353070931","1353070935","1353070941","1353070945"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e1049d924bd48f2507121853301df4f.jpg","text":"TemporaryFile(/tmp/multipartBody258649830181422173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414974000,"filename":"image_23042025_15_28_34_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef1844d90578aa383db5eb2813f16813.jpg","text":"TemporaryFile(/tmp/multipartBody473092820665725182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414974000,"filename":"image_23042025_15_28_04_10811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f86744cebf5120c854b840f4e27dc2be.jpg","text":"TemporaryFile(/tmp/multipartBody5133651540725577365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414974000,"filename":"image_23042025_15_28_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ce177385728792a8abe0bdeafae12df.jpg","text":"TemporaryFile(/tmp/multipartBody5190419179781090034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414974000,"filename":"image_23042025_15_28_44_10755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acf8f4a54cd0fd4ba2d9ce42d57b6dc7.jpg","text":"TemporaryFile(/tmp/multipartBody8403051870708447130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414974000,"filename":"image_23042025_15_28_24_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17cc7a9d1f3b92e26c7aec014cda9368.jpg","text":"TemporaryFile(/tmp/multipartBody5666780120127384791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745414974000,"filename":"image_23042025_15_27_53_9749.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070931","file1":"1353070927","file0":"1353070923","file4":"1353070941","file5":"1353070945","file3":"1353070935"},"map_files_photo_id_array":[{"photo_id":"1353070945","filename":"file5"},{"photo_id":"1353070931","filename":"file2"},{"photo_id":"1353070941","filename":"file4"},{"photo_id":"1353070927","filename":"file1"},{"photo_id":"1353070923","filename":"file0"},{"photo_id":"1353070935","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353070927":["hashtag1","hashtag2"]},{"1353070941":["hashtag1","hashtag2"]},{"1353070935":["hashtag1","hashtag2"]},{"1353070923":["hashtag1","hashtag2"]},{"1353070931":["hashtag1","hashtag2"]},{"1353070945":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353070927, 1353070941, 1353070935, 1353070923, 1353070931, 1353070945)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93241810798645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:29:31.965893
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_44_9773.jpg', 2), ('/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_34_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_24_10749.jpg', 2), ('/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_14_9811.jpg', 2), ('/home/nano/Desktop/images/23042025/15/28/image_23042025_15_29_04_9740.jpg', 2), ('/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_54_9706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_44_9773.jpg', '/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_34_9736.jpg', '/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_24_10749.jpg', '/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_14_9811.jpg', '/home/nano/Desktop/images/23042025/15/28/image_23042025_15_29_04_9740.jpg', '/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_54_9706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_44_9773.jpg
/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_34_9736.jpg
/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_24_10749.jpg
/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_14_9811.jpg
/home/nano/Desktop/images/23042025/15/28/image_23042025_15_29_04_9740.jpg
/home/nano/Desktop/images/23042025/15/28/image_23042025_15_28_54_9706.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353071017","1353070969","1353070974","1353070988","1353071012","1353070964"],"photo_ids_order":["1353070964","1353070969","1353070974","1353070988","1353071012","1353071017"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/952168ddc5c52a23ef317d046c8fcc9e.jpg","text":"TemporaryFile(/tmp/multipartBody9190534250183572701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415033972,"filename":"image_23042025_15_28_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b11438b2a82792f88152ce599a0a15f.jpg","text":"TemporaryFile(/tmp/multipartBody5625359947126595262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415033972,"filename":"image_23042025_15_29_34_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60b2cf7428fc3c7d4001775d737a5cc3.jpg","text":"TemporaryFile(/tmp/multipartBody1851034279114150760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415033972,"filename":"image_23042025_15_29_24_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e99c8cc308c54d83dca32bbc77262d94.jpg","text":"TemporaryFile(/tmp/multipartBody3570857844513315806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415033972,"filename":"image_23042025_15_29_14_9811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f618ffca5450270acdffdacc1c7b6a5.jpg","text":"TemporaryFile(/tmp/multipartBody3099890677828596093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415033972,"filename":"image_23042025_15_29_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66dd8bff70077c5cf4d6c3e2e3e79b08.jpg","text":"TemporaryFile(/tmp/multipartBody4387870964254095691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415033972,"filename":"image_23042025_15_29_44_9773.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353070974","file1":"1353070969","file0":"1353070964","file4":"1353071012","file5":"1353071017","file3":"1353070988"},"map_files_photo_id_array":[{"photo_id":"1353071017","filename":"file5"},{"photo_id":"1353070974","filename":"file2"},{"photo_id":"1353071012","filename":"file4"},{"photo_id":"1353070969","filename":"file1"},{"photo_id":"1353070964","filename":"file0"},{"photo_id":"1353070988","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353071017":["hashtag1","hashtag2"]},{"1353070969":["hashtag1","hashtag2"]},{"1353070974":["hashtag1","hashtag2"]},{"1353070988":["hashtag1","hashtag2"]},{"1353071012":["hashtag1","hashtag2"]},{"1353070964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353071017, 1353070969, 1353070974, 1353070988, 1353071012, 1353070964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.14673972129822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:30:32.090815
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_43_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_34_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_24_9746.jpg', 2), ('/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_14_10772.jpg', 2), ('/home/nano/Desktop/images/23042025/15/29/image_23042025_15_30_03_9896.jpg', 2), ('/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_54_9758.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_43_9699.jpg', '/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_34_9784.jpg', '/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_24_9746.jpg', '/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_14_10772.jpg', '/home/nano/Desktop/images/23042025/15/29/image_23042025_15_30_03_9896.jpg', '/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_54_9758.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_43_9699.jpg
/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_34_9784.jpg
/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_24_9746.jpg
/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_14_10772.jpg
/home/nano/Desktop/images/23042025/15/29/image_23042025_15_30_03_9896.jpg
/home/nano/Desktop/images/23042025/15/29/image_23042025_15_29_54_9758.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353071079","1353071046","1353071066","1353071054","1353071033","1353071074"],"photo_ids_order":["1353071033","1353071046","1353071054","1353071066","1353071074","1353071079"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcd30e75d56424919a2b52e825bade6d.jpg","text":"TemporaryFile(/tmp/multipartBody6673637611591856817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415094047,"filename":"image_23042025_15_29_54_9758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e27b885c78d0437a9fc40f0559534ec3.jpg","text":"TemporaryFile(/tmp/multipartBody392816281765737534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415094047,"filename":"image_23042025_15_30_34_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/496e83e45c4a99fbf86ed6e9cb4842d0.jpg","text":"TemporaryFile(/tmp/multipartBody1135650431670014515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415094047,"filename":"image_23042025_15_30_14_10772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32c272601e5e1b165fb1e95a909ba155.jpg","text":"TemporaryFile(/tmp/multipartBody6321793506455610053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415094047,"filename":"image_23042025_15_30_24_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b748b066b569fdeb172451fd0e25abe.jpg","text":"TemporaryFile(/tmp/multipartBody5966058557604493343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415094047,"filename":"image_23042025_15_30_43_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0ad854f052aea72f8d3800245c697ff.jpg","text":"TemporaryFile(/tmp/multipartBody3544436917961226958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415094047,"filename":"image_23042025_15_30_03_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353071054","file1":"1353071046","file0":"1353071033","file4":"1353071074","file5":"1353071079","file3":"1353071066"},"map_files_photo_id_array":[{"photo_id":"1353071079","filename":"file5"},{"photo_id":"1353071054","filename":"file2"},{"photo_id":"1353071074","filename":"file4"},{"photo_id":"1353071046","filename":"file1"},{"photo_id":"1353071033","filename":"file0"},{"photo_id":"1353071066","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353071079":["hashtag1","hashtag2"]},{"1353071046":["hashtag1","hashtag2"]},{"1353071066":["hashtag1","hashtag2"]},{"1353071054":["hashtag1","hashtag2"]},{"1353071033":["hashtag1","hashtag2"]},{"1353071074":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353071079, 1353071046, 1353071066, 1353071054, 1353071033, 1353071074)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.578845739364624 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:31:32.195440
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_44_9766.jpg', 2), ('/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_34_10794.jpg', 2), ('/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_24_9767.jpg', 2), ('/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_14_9809.jpg', 2), ('/home/nano/Desktop/images/23042025/15/30/image_23042025_15_31_04_9765.jpg', 2), ('/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_54_10731.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_44_9766.jpg', '/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_34_10794.jpg', '/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_24_9767.jpg', '/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_14_9809.jpg', '/home/nano/Desktop/images/23042025/15/30/image_23042025_15_31_04_9765.jpg', '/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_54_10731.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_44_9766.jpg
/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_34_10794.jpg
/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_24_9767.jpg
/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_14_9809.jpg
/home/nano/Desktop/images/23042025/15/30/image_23042025_15_31_04_9765.jpg
/home/nano/Desktop/images/23042025/15/30/image_23042025_15_30_54_10731.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353071335","1353071340","1353071262","1353071337","1353071279","1353071344"],"photo_ids_order":["1353071262","1353071279","1353071335","1353071337","1353071340","1353071344"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90a854aeeb91bf1812bac6379620c5a2.jpg","text":"TemporaryFile(/tmp/multipartBody3558525684026434709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415154133,"filename":"image_23042025_15_31_24_9767.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a296ea9425945f87ee00250590d0c49a.jpg","text":"TemporaryFile(/tmp/multipartBody868719326998873706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415154133,"filename":"image_23042025_15_31_04_9765.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ad3092a7b0ff697fb5155a979777871.jpg","text":"TemporaryFile(/tmp/multipartBody8969601760050606511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415154133,"filename":"image_23042025_15_31_44_9766.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b460911f36cfc02efd8ec4c407847c38.jpg","text":"TemporaryFile(/tmp/multipartBody1334161423766654816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415154133,"filename":"image_23042025_15_31_14_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68ffd25b76f5908ee1ae27857af6a57d.jpg","text":"TemporaryFile(/tmp/multipartBody2325421648637638977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415154133,"filename":"image_23042025_15_31_34_10794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fdc4e812695e4695662aec1e9d3fe254.jpg","text":"TemporaryFile(/tmp/multipartBody2068667094530688168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415154133,"filename":"image_23042025_15_30_54_10731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353071335","file1":"1353071279","file0":"1353071262","file4":"1353071340","file5":"1353071344","file3":"1353071337"},"map_files_photo_id_array":[{"photo_id":"1353071344","filename":"file5"},{"photo_id":"1353071335","filename":"file2"},{"photo_id":"1353071340","filename":"file4"},{"photo_id":"1353071279","filename":"file1"},{"photo_id":"1353071262","filename":"file0"},{"photo_id":"1353071337","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353071335":["hashtag1","hashtag2"]},{"1353071340":["hashtag1","hashtag2"]},{"1353071262":["hashtag1","hashtag2"]},{"1353071337":["hashtag1","hashtag2"]},{"1353071279":["hashtag1","hashtag2"]},{"1353071344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353071335, 1353071340, 1353071262, 1353071337, 1353071279, 1353071344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.206007957458496 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:32:32.320095
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_44_10804.jpg', 2), ('/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_33_9832.jpg', 2), ('/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_24_9890.jpg', 2), ('/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_14_9912.jpg', 2), ('/home/nano/Desktop/images/23042025/15/31/image_23042025_15_32_04_9878.jpg', 2), ('/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_54_9762.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_44_10804.jpg', '/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_33_9832.jpg', '/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_24_9890.jpg', '/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_14_9912.jpg', '/home/nano/Desktop/images/23042025/15/31/image_23042025_15_32_04_9878.jpg', '/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_54_9762.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_44_10804.jpg
/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_33_9832.jpg
/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_24_9890.jpg
/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_14_9912.jpg
/home/nano/Desktop/images/23042025/15/31/image_23042025_15_32_04_9878.jpg
/home/nano/Desktop/images/23042025/15/31/image_23042025_15_31_54_9762.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353071512","1353071526","1353071517","1353071531","1353071507","1353071522"],"photo_ids_order":["1353071507","1353071512","1353071517","1353071522","1353071526","1353071531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9526190a650e68fdd01bbcbf68132a32.jpg","text":"TemporaryFile(/tmp/multipartBody1066915313531987041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415214643,"filename":"image_23042025_15_32_33_9832.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4b1d6da6a2ada85bc6ac0bb5af436d9.jpg","text":"TemporaryFile(/tmp/multipartBody7150750823328339571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415214643,"filename":"image_23042025_15_32_04_9878.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58bd8aefab57af6a7b38b97bb48aa68e.jpg","text":"TemporaryFile(/tmp/multipartBody966697986753186530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415214643,"filename":"image_23042025_15_32_24_9890.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dcd51bf4ce3245f9e688a5a3445937c.jpg","text":"TemporaryFile(/tmp/multipartBody2326835743010257179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415214643,"filename":"image_23042025_15_31_54_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d313bab8f5de1791e2ac8981cc7ba0a.jpg","text":"TemporaryFile(/tmp/multipartBody487798038826839265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415214643,"filename":"image_23042025_15_32_44_10804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a35d20b5368f0e8d51d00f3951aebcd8.jpg","text":"TemporaryFile(/tmp/multipartBody2580358560169793354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415214643,"filename":"image_23042025_15_32_14_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353071517","file1":"1353071512","file0":"1353071507","file4":"1353071526","file5":"1353071531","file3":"1353071522"},"map_files_photo_id_array":[{"photo_id":"1353071531","filename":"file5"},{"photo_id":"1353071517","filename":"file2"},{"photo_id":"1353071526","filename":"file4"},{"photo_id":"1353071512","filename":"file1"},{"photo_id":"1353071507","filename":"file0"},{"photo_id":"1353071522","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353071512":["hashtag1","hashtag2"]},{"1353071526":["hashtag1","hashtag2"]},{"1353071517":["hashtag1","hashtag2"]},{"1353071531":["hashtag1","hashtag2"]},{"1353071507":["hashtag1","hashtag2"]},{"1353071522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353071512, 1353071526, 1353071517, 1353071531, 1353071507, 1353071522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.857038497924805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:33:32.478525
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_43_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_34_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_24_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_14_9798.jpg', 2), ('/home/nano/Desktop/images/23042025/15/32/image_23042025_15_33_04_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_54_9800.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_43_9626.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_34_9640.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_24_10648.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_14_9798.jpg', '/home/nano/Desktop/images/23042025/15/32/image_23042025_15_33_04_9781.jpg', '/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_54_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_43_9626.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_34_9640.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_24_10648.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_14_9798.jpg
/home/nano/Desktop/images/23042025/15/32/image_23042025_15_33_04_9781.jpg
/home/nano/Desktop/images/23042025/15/32/image_23042025_15_32_54_9800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353071565","1353071588","1353071584","1353071572","1353071575","1353071569"],"photo_ids_order":["1353071565","1353071569","1353071572","1353071575","1353071584","1353071588"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01a5b2aa265f6f28b38f6cb0f2f89c4c.jpg","text":"TemporaryFile(/tmp/multipartBody8321535264649439309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415273845,"filename":"image_23042025_15_33_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/612ae4d72e76d823f46199a6bee2608d.jpg","text":"TemporaryFile(/tmp/multipartBody4800316835267510465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415273845,"filename":"image_23042025_15_32_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8af122403d04a0cb03026ff62d54cc4.jpg","text":"TemporaryFile(/tmp/multipartBody5917182047090843675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415273845,"filename":"image_23042025_15_33_04_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47a17b6a843519f7ee5ba9e800870390.jpg","text":"TemporaryFile(/tmp/multipartBody6193110528949756726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415273845,"filename":"image_23042025_15_33_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40013a4dadafc24b9538e352e7095bb8.jpg","text":"TemporaryFile(/tmp/multipartBody3630342145269954896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415273845,"filename":"image_23042025_15_33_14_9798.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3113cf1ae7b17c9dba95bbf24860e3f4.jpg","text":"TemporaryFile(/tmp/multipartBody7038266255678551443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415273845,"filename":"image_23042025_15_33_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353071572","file1":"1353071569","file0":"1353071565","file4":"1353071584","file5":"1353071588","file3":"1353071575"},"map_files_photo_id_array":[{"photo_id":"1353071588","filename":"file5"},{"photo_id":"1353071572","filename":"file2"},{"photo_id":"1353071584","filename":"file4"},{"photo_id":"1353071569","filename":"file1"},{"photo_id":"1353071565","filename":"file0"},{"photo_id":"1353071575","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353071565":["hashtag1","hashtag2"]},{"1353071588":["hashtag1","hashtag2"]},{"1353071584":["hashtag1","hashtag2"]},{"1353071572":["hashtag1","hashtag2"]},{"1353071575":["hashtag1","hashtag2"]},{"1353071569":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353071565, 1353071588, 1353071584, 1353071572, 1353071575, 1353071569)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.44010543823242 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:34:32.666152
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_33_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_24_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_14_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_34_04_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_54_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_33_9581.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_24_9570.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_14_10590.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_34_04_9580.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_54_10675.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_33_9581.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_24_9570.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_14_10590.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_34_04_9580.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_54_10675.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.9434895515441895 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:35:02.353408
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_33_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_24_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_14_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_34_04_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_54_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_33_9581.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_24_9570.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_14_10590.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_34_04_9580.jpg', '/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_54_10675.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_33_9581.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_24_9570.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_14_10590.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_34_04_9580.jpg
/home/nano/Desktop/images/23042025/15/33/image_23042025_15_33_54_10675.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_44_9590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353071631","1353071640","1353071636","1353071633","1353071635","1353071638"],"photo_ids_order":["1353071631","1353071633","1353071635","1353071636","1353071638","1353071640"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f060a941038e39d0afebd234de42739.jpg","text":"TemporaryFile(/tmp/multipartBody7417784139296862632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415363150,"filename":"image_23042025_15_34_33_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6cb722d53e4522ef778c5de1b96e8223.jpg","text":"TemporaryFile(/tmp/multipartBody6725538298171169330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415363150,"filename":"image_23042025_15_21_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ff24b619a316a9028d3d37d408c3993.jpg","text":"TemporaryFile(/tmp/multipartBody4288706333321460622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415363150,"filename":"image_23042025_15_34_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e5bf5d58119853819cb527faf5dae30.jpg","text":"TemporaryFile(/tmp/multipartBody542450117155718178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415363150,"filename":"image_23042025_15_34_24_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1849ee76f54c753684c1ac911325ed7.jpg","text":"TemporaryFile(/tmp/multipartBody3518260116576110685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415363150,"filename":"image_23042025_15_34_14_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e57e7d3ecf5fbb4c29fe20777a68f51.jpg","text":"TemporaryFile(/tmp/multipartBody8920351065901835870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415363150,"filename":"image_23042025_15_33_54_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353071635","file1":"1353071633","file0":"1353071631","file4":"1353071638","file5":"1353071640","file3":"1353071636"},"map_files_photo_id_array":[{"photo_id":"1353071640","filename":"file5"},{"photo_id":"1353071635","filename":"file2"},{"photo_id":"1353071638","filename":"file4"},{"photo_id":"1353071633","filename":"file1"},{"photo_id":"1353071631","filename":"file0"},{"photo_id":"1353071636","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353071631":["hashtag1","hashtag2"]},{"1353071640":["hashtag1","hashtag2"]},{"1353071636":["hashtag1","hashtag2"]},{"1353071633":["hashtag1","hashtag2"]},{"1353071635":["hashtag1","hashtag2"]},{"1353071638":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353071631, 1353071640, 1353071636, 1353071633, 1353071635, 1353071638)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.477843284606934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:36:02.329148
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_34_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_24_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_14_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_35_04_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_34_9577.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_24_10570.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_14_9581.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_35_04_10590.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_34_9577.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_24_10570.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_14_9581.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_35_04_10590.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 0.857647180557251 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:36:31.850755
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_43_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_34_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_24_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_14_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_36_04_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_43_9626.jpg', '/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_34_9626.jpg', '/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_24_10635.jpg', '/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_14_9661.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_36_04_9635.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_43_9626.jpg
/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_34_9626.jpg
/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_24_10635.jpg
/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_14_9661.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_36_04_9635.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_54_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353072111","1353072830","1353072218","1353072146","1353072487","1353072753"],"photo_ids_order":["1353072111","1353072146","1353072218","1353072487","1353072753","1353072830"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95955ff4b900a9c1d596d46215491325.jpg","text":"TemporaryFile(/tmp/multipartBody2037654709361094335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415452808,"filename":"image_23042025_15_36_43_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4466650bc3d54039d98bbaadf4e07a1e.jpg","text":"TemporaryFile(/tmp/multipartBody3566415235394576879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415452808,"filename":"image_23042025_15_35_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26b1261a76791dbffbcfa4142995ac12.jpg","text":"TemporaryFile(/tmp/multipartBody1390587067659068277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415452808,"filename":"image_23042025_15_36_24_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c2e0a8534e58a5f2cfe07d948d41427.jpg","text":"TemporaryFile(/tmp/multipartBody2519131843632601915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415452808,"filename":"image_23042025_15_36_34_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab399080dc344100ab839d9728e0dfb2.jpg","text":"TemporaryFile(/tmp/multipartBody8828034058508260980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415452808,"filename":"image_23042025_15_36_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/393129920e239f838754825730f0fab6.jpg","text":"TemporaryFile(/tmp/multipartBody5355768734248581755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415452808,"filename":"image_23042025_15_36_04_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353072218","file1":"1353072146","file0":"1353072111","file4":"1353072753","file5":"1353072830","file3":"1353072487"},"map_files_photo_id_array":[{"photo_id":"1353072830","filename":"file5"},{"photo_id":"1353072218","filename":"file2"},{"photo_id":"1353072753","filename":"file4"},{"photo_id":"1353072146","filename":"file1"},{"photo_id":"1353072111","filename":"file0"},{"photo_id":"1353072487","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353072111":["hashtag1","hashtag2"]},{"1353072830":["hashtag1","hashtag2"]},{"1353072218":["hashtag1","hashtag2"]},{"1353072146":["hashtag1","hashtag2"]},{"1353072487":["hashtag1","hashtag2"]},{"1353072753":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353072111, 1353072830, 1353072218, 1353072146, 1353072487, 1353072753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.946223735809326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:37:31.961193
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_44_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_34_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_24_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_13_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/15/36/image_23042025_15_37_04_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_54_10628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_44_10647.jpg', '/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_34_9644.jpg', '/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_24_10637.jpg', '/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_13_9666.jpg', '/home/nano/Desktop/images/23042025/15/36/image_23042025_15_37_04_9667.jpg', '/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_54_10628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_44_10647.jpg
/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_34_9644.jpg
/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_24_10637.jpg
/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_13_9666.jpg
/home/nano/Desktop/images/23042025/15/36/image_23042025_15_37_04_9667.jpg
/home/nano/Desktop/images/23042025/15/36/image_23042025_15_36_54_10628.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353073028","1353073114","1353073036","1353073024","1353073047","1353073032"],"photo_ids_order":["1353073024","1353073028","1353073032","1353073036","1353073047","1353073114"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02da23d5bc17e7076e00633f944d7c90.jpg","text":"TemporaryFile(/tmp/multipartBody4163776546438177640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415513322,"filename":"image_23042025_15_37_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd1245d146375606fc4dbe594bf917fc.jpg","text":"TemporaryFile(/tmp/multipartBody3134367057609662052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415513322,"filename":"image_23042025_15_36_54_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95edba3f0b630ee69c96ecbe8ff3185d.jpg","text":"TemporaryFile(/tmp/multipartBody9220467475481905508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415513322,"filename":"image_23042025_15_37_13_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ae7b9a21e46b1487fd3572e4a0d28f4.jpg","text":"TemporaryFile(/tmp/multipartBody5854703733864878014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415513322,"filename":"image_23042025_15_37_44_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0506884ac815faf806e42209ab5132ed.jpg","text":"TemporaryFile(/tmp/multipartBody8736409999333278917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415513322,"filename":"image_23042025_15_37_04_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab09235915299f9bf16cc5896c579f01.jpg","text":"TemporaryFile(/tmp/multipartBody8753983778692220442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415513322,"filename":"image_23042025_15_37_24_10637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353073032","file1":"1353073028","file0":"1353073024","file4":"1353073047","file5":"1353073114","file3":"1353073036"},"map_files_photo_id_array":[{"photo_id":"1353073114","filename":"file5"},{"photo_id":"1353073032","filename":"file2"},{"photo_id":"1353073047","filename":"file4"},{"photo_id":"1353073028","filename":"file1"},{"photo_id":"1353073024","filename":"file0"},{"photo_id":"1353073036","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353073028":["hashtag1","hashtag2"]},{"1353073114":["hashtag1","hashtag2"]},{"1353073036":["hashtag1","hashtag2"]},{"1353073024":["hashtag1","hashtag2"]},{"1353073047":["hashtag1","hashtag2"]},{"1353073032":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353073028, 1353073114, 1353073036, 1353073024, 1353073047, 1353073032)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05376982688904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:38:32.080587
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_44_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_34_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_24_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_14_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/15/37/image_23042025_15_38_04_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_54_9637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_44_10676.jpg', '/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_34_9624.jpg', '/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_24_9658.jpg', '/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_14_10665.jpg', '/home/nano/Desktop/images/23042025/15/37/image_23042025_15_38_04_9649.jpg', '/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_54_9637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_44_10676.jpg
/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_34_9624.jpg
/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_24_9658.jpg
/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_14_10665.jpg
/home/nano/Desktop/images/23042025/15/37/image_23042025_15_38_04_9649.jpg
/home/nano/Desktop/images/23042025/15/37/image_23042025_15_37_54_9637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353073277","1353073262","1353073343","1353073259","1353073372","1353073309"],"photo_ids_order":["1353073259","1353073262","1353073277","1353073309","1353073343","1353073372"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc99621f5818e17b874493859e975f3c.jpg","text":"TemporaryFile(/tmp/multipartBody3358095863235606406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415573373,"filename":"image_23042025_15_38_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ae5b4fa3c7590c2c75dbe0c73c8daa0.jpg","text":"TemporaryFile(/tmp/multipartBody5506207149574875824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415573373,"filename":"image_23042025_15_38_34_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8af02f9535fd6e52f7607ec827a7a1d.jpg","text":"TemporaryFile(/tmp/multipartBody3567225962333405424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415573373,"filename":"image_23042025_15_38_04_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9d717a7471844c97eed962e879d4430.jpg","text":"TemporaryFile(/tmp/multipartBody2955742576792009252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415573373,"filename":"image_23042025_15_38_44_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30e74bca5964e3fb5c7a39856fba3a6d.jpg","text":"TemporaryFile(/tmp/multipartBody5945941059828253911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415573373,"filename":"image_23042025_15_37_54_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78c06b11c00607885f2877251fb09b9e.jpg","text":"TemporaryFile(/tmp/multipartBody5994357774474757894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415573373,"filename":"image_23042025_15_38_14_10665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353073277","file1":"1353073262","file0":"1353073259","file4":"1353073343","file5":"1353073372","file3":"1353073309"},"map_files_photo_id_array":[{"photo_id":"1353073372","filename":"file5"},{"photo_id":"1353073277","filename":"file2"},{"photo_id":"1353073343","filename":"file4"},{"photo_id":"1353073262","filename":"file1"},{"photo_id":"1353073259","filename":"file0"},{"photo_id":"1353073309","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353073277":["hashtag1","hashtag2"]},{"1353073262":["hashtag1","hashtag2"]},{"1353073343":["hashtag1","hashtag2"]},{"1353073259":["hashtag1","hashtag2"]},{"1353073372":["hashtag1","hashtag2"]},{"1353073309":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353073277, 1353073262, 1353073343, 1353073259, 1353073372, 1353073309)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.850409746170044 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:39:32.186640
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_44_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_33_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_24_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_14_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/15/38/image_23042025_15_39_04_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_44_10633.jpg', '/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_33_9647.jpg', '/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_24_9619.jpg', '/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_14_10688.jpg', '/home/nano/Desktop/images/23042025/15/38/image_23042025_15_39_04_9653.jpg', '/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_44_10633.jpg
/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_33_9647.jpg
/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_24_9619.jpg
/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_14_10688.jpg
/home/nano/Desktop/images/23042025/15/38/image_23042025_15_39_04_9653.jpg
/home/nano/Desktop/images/23042025/15/38/image_23042025_15_38_54_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353073676","1353073696","1353073785","1353073644","1353073701","1353073691"],"photo_ids_order":["1353073644","1353073676","1353073691","1353073696","1353073701","1353073785"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1eec338013e8d490f802ea627b048dbe.jpg","text":"TemporaryFile(/tmp/multipartBody586494694234408344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415633451,"filename":"image_23042025_15_39_33_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ec30926246a6873a141bc72518c61bd.jpg","text":"TemporaryFile(/tmp/multipartBody7897711861164634080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415633451,"filename":"image_23042025_15_39_14_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdf3f1e24a8b641305a67549b420733b.jpg","text":"TemporaryFile(/tmp/multipartBody4905087094296469511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415633451,"filename":"image_23042025_15_38_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fbc09256ccff7a4ed6c058c4270e59d.jpg","text":"TemporaryFile(/tmp/multipartBody3650150045121049459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415633451,"filename":"image_23042025_15_39_44_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40887f9e1acbe5d0b2b3f51dc5861f36.jpg","text":"TemporaryFile(/tmp/multipartBody6352937290197524502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415633451,"filename":"image_23042025_15_39_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8cd7d238f9e30be7bc91b0cbcdb5ec49.jpg","text":"TemporaryFile(/tmp/multipartBody7613425399146198305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415633451,"filename":"image_23042025_15_39_24_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353073691","file1":"1353073676","file0":"1353073644","file4":"1353073701","file5":"1353073785","file3":"1353073696"},"map_files_photo_id_array":[{"photo_id":"1353073785","filename":"file5"},{"photo_id":"1353073691","filename":"file2"},{"photo_id":"1353073701","filename":"file4"},{"photo_id":"1353073676","filename":"file1"},{"photo_id":"1353073644","filename":"file0"},{"photo_id":"1353073696","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353073676":["hashtag1","hashtag2"]},{"1353073696":["hashtag1","hashtag2"]},{"1353073785":["hashtag1","hashtag2"]},{"1353073644":["hashtag1","hashtag2"]},{"1353073701":["hashtag1","hashtag2"]},{"1353073691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353073676, 1353073696, 1353073785, 1353073644, 1353073701, 1353073691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.879361391067505 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:40:32.276481
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_44_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_34_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_24_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_14_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/15/39/image_23042025_15_40_03_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_44_9651.jpg', '/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_34_10638.jpg', '/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_24_9634.jpg', '/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_14_10666.jpg', '/home/nano/Desktop/images/23042025/15/39/image_23042025_15_40_03_9630.jpg', '/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_44_9651.jpg
/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_34_10638.jpg
/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_24_9634.jpg
/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_14_10666.jpg
/home/nano/Desktop/images/23042025/15/39/image_23042025_15_40_03_9630.jpg
/home/nano/Desktop/images/23042025/15/39/image_23042025_15_39_54_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353073910","1353073894","1353073901","1353073912","1353073905","1353073898"],"photo_ids_order":["1353073894","1353073898","1353073901","1353073905","1353073910","1353073912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fecd83206b5eb22c6fc2828891fbdce.jpg","text":"TemporaryFile(/tmp/multipartBody7643791459945452147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415693731,"filename":"image_23042025_15_40_03_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/999f1d43ebf409cf0c19cb64fbbd7dab.jpg","text":"TemporaryFile(/tmp/multipartBody5952779183979912931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415693731,"filename":"image_23042025_15_40_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a27e1d9ab796d575b2dd752dcf26eea5.jpg","text":"TemporaryFile(/tmp/multipartBody1649613655692198917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415693731,"filename":"image_23042025_15_40_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c71a7c56aa0caf8ec4c2e0011b1d9dda.jpg","text":"TemporaryFile(/tmp/multipartBody4540317380378000581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415693731,"filename":"image_23042025_15_39_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88f62e6d6464211d08f893f633cfb64e.jpg","text":"TemporaryFile(/tmp/multipartBody5539282389863051409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415693731,"filename":"image_23042025_15_40_14_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79f62b2cebf1e1b1bd4faa39387598d0.jpg","text":"TemporaryFile(/tmp/multipartBody4319094154516440467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415693731,"filename":"image_23042025_15_40_34_10638.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353073901","file1":"1353073898","file0":"1353073894","file4":"1353073910","file5":"1353073912","file3":"1353073905"},"map_files_photo_id_array":[{"photo_id":"1353073912","filename":"file5"},{"photo_id":"1353073901","filename":"file2"},{"photo_id":"1353073910","filename":"file4"},{"photo_id":"1353073898","filename":"file1"},{"photo_id":"1353073894","filename":"file0"},{"photo_id":"1353073905","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353073910":["hashtag1","hashtag2"]},{"1353073894":["hashtag1","hashtag2"]},{"1353073901":["hashtag1","hashtag2"]},{"1353073912":["hashtag1","hashtag2"]},{"1353073905":["hashtag1","hashtag2"]},{"1353073898":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353073910, 1353073894, 1353073901, 1353073912, 1353073905, 1353073898)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07223868370056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:41:32.373524
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_44_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_34_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_24_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_14_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/15/40/image_23042025_15_41_04_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_54_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_44_9688.jpg', '/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_34_10659.jpg', '/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_24_9633.jpg', '/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_14_9665.jpg', '/home/nano/Desktop/images/23042025/15/40/image_23042025_15_41_04_10652.jpg', '/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_54_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_44_9688.jpg
/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_34_10659.jpg
/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_24_9633.jpg
/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_14_9665.jpg
/home/nano/Desktop/images/23042025/15/40/image_23042025_15_41_04_10652.jpg
/home/nano/Desktop/images/23042025/15/40/image_23042025_15_40_54_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074168","1353074120","1353074077","1353074151","1353074162","1353074165"],"photo_ids_order":["1353074077","1353074120","1353074151","1353074162","1353074165","1353074168"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9df649ea14eab89e234bf462428f6093.jpg","text":"TemporaryFile(/tmp/multipartBody4147487521939870079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415753778,"filename":"image_23042025_15_40_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9884f94c77765c6aa8849ada8b25e3b6.jpg","text":"TemporaryFile(/tmp/multipartBody3215765016412541406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415753778,"filename":"image_23042025_15_41_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9b58cf4765d9a0b182cd60053edccbe.jpg","text":"TemporaryFile(/tmp/multipartBody51570145817458313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415753778,"filename":"image_23042025_15_41_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9e670c7e1d55862828a03115c56db55.jpg","text":"TemporaryFile(/tmp/multipartBody2748452863545185433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415753778,"filename":"image_23042025_15_41_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/178e591de25ea690669850d327a02d61.jpg","text":"TemporaryFile(/tmp/multipartBody8797540635563779126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415753778,"filename":"image_23042025_15_41_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44e7e713449b776565916d9bf312a672.jpg","text":"TemporaryFile(/tmp/multipartBody8636996194590111511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415753778,"filename":"image_23042025_15_41_04_10652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074151","file1":"1353074120","file0":"1353074077","file4":"1353074165","file5":"1353074168","file3":"1353074162"},"map_files_photo_id_array":[{"photo_id":"1353074168","filename":"file5"},{"photo_id":"1353074151","filename":"file2"},{"photo_id":"1353074165","filename":"file4"},{"photo_id":"1353074120","filename":"file1"},{"photo_id":"1353074077","filename":"file0"},{"photo_id":"1353074162","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074168":["hashtag1","hashtag2"]},{"1353074120":["hashtag1","hashtag2"]},{"1353074077":["hashtag1","hashtag2"]},{"1353074151":["hashtag1","hashtag2"]},{"1353074162":["hashtag1","hashtag2"]},{"1353074165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074168, 1353074120, 1353074077, 1353074151, 1353074162, 1353074165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.92788338661194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:42:32.460348
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_44_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_34_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_24_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_14_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/15/41/image_23042025_15_42_04_10698.jpg', 2), ('/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_44_9643.jpg', '/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_34_10651.jpg', '/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_24_9622.jpg', '/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_14_9660.jpg', '/home/nano/Desktop/images/23042025/15/41/image_23042025_15_42_04_10698.jpg', '/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_44_9643.jpg
/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_34_10651.jpg
/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_24_9622.jpg
/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_14_9660.jpg
/home/nano/Desktop/images/23042025/15/41/image_23042025_15_42_04_10698.jpg
/home/nano/Desktop/images/23042025/15/41/image_23042025_15_41_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074255","1353074269","1353074251","1353074248","1353074265","1353074261"],"photo_ids_order":["1353074248","1353074251","1353074255","1353074261","1353074265","1353074269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0971517934156092026b7e35b0a5cb06.jpg","text":"TemporaryFile(/tmp/multipartBody5549591115938002481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415814007,"filename":"image_23042025_15_42_24_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/554b59f901cbf2c8e55e515f811e724b.jpg","text":"TemporaryFile(/tmp/multipartBody400026661516304776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415814007,"filename":"image_23042025_15_41_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92c2e2812fc6443b1cc2e8aacd9d2ec4.jpg","text":"TemporaryFile(/tmp/multipartBody3585817285883664333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415814007,"filename":"image_23042025_15_42_34_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e25dbaff5023f11ee2f3d8e5a7e9b172.jpg","text":"TemporaryFile(/tmp/multipartBody6896198762746815512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415814007,"filename":"image_23042025_15_42_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48b31b85a769408fe223e4b3d45b6968.jpg","text":"TemporaryFile(/tmp/multipartBody9143201991188238051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415814007,"filename":"image_23042025_15_42_04_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef4341753556b8e2b65d292e904e0c8d.jpg","text":"TemporaryFile(/tmp/multipartBody1063945224457793276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415814007,"filename":"image_23042025_15_42_14_9660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074255","file1":"1353074251","file0":"1353074248","file4":"1353074265","file5":"1353074269","file3":"1353074261"},"map_files_photo_id_array":[{"photo_id":"1353074269","filename":"file5"},{"photo_id":"1353074255","filename":"file2"},{"photo_id":"1353074265","filename":"file4"},{"photo_id":"1353074251","filename":"file1"},{"photo_id":"1353074248","filename":"file0"},{"photo_id":"1353074261","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074255":["hashtag1","hashtag2"]},{"1353074269":["hashtag1","hashtag2"]},{"1353074251":["hashtag1","hashtag2"]},{"1353074248":["hashtag1","hashtag2"]},{"1353074265":["hashtag1","hashtag2"]},{"1353074261":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074255, 1353074269, 1353074251, 1353074248, 1353074265, 1353074261)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.478737115859985 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:43:32.562015
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_44_9924.jpg', 2), ('/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_34_10686.jpg', 2), ('/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_24_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_14_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/15/42/image_23042025_15_43_04_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_53_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_44_9924.jpg', '/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_34_10686.jpg', '/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_24_9687.jpg', '/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_14_9683.jpg', '/home/nano/Desktop/images/23042025/15/42/image_23042025_15_43_04_10672.jpg', '/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_53_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_44_9924.jpg
/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_34_10686.jpg
/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_24_9687.jpg
/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_14_9683.jpg
/home/nano/Desktop/images/23042025/15/42/image_23042025_15_43_04_10672.jpg
/home/nano/Desktop/images/23042025/15/42/image_23042025_15_42_53_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074351","1353074485","1353074367","1353074400","1353074363","1353074357"],"photo_ids_order":["1353074351","1353074357","1353074363","1353074367","1353074400","1353074485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6235a82e3b0ea42102be5f053b06a50c.jpg","text":"TemporaryFile(/tmp/multipartBody651308409317396202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415874469,"filename":"image_23042025_15_43_44_9924.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20b446e2c9935d50b855524d7b6a07ad.jpg","text":"TemporaryFile(/tmp/multipartBody2862501469076808007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415874469,"filename":"image_23042025_15_42_53_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/921e42e56e1c37103c6d65dd965c2133.jpg","text":"TemporaryFile(/tmp/multipartBody4767420644827778787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415874469,"filename":"image_23042025_15_43_14_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8290d30ce7e3ddb0c338403f51149494.jpg","text":"TemporaryFile(/tmp/multipartBody1724314368882768564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415874469,"filename":"image_23042025_15_43_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5e10c5ec5e95389ce7ed4718bfe14dc.jpg","text":"TemporaryFile(/tmp/multipartBody1886334084753014959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415874469,"filename":"image_23042025_15_43_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8e5b0a6be9e43ff56e4098a795f4f25.jpg","text":"TemporaryFile(/tmp/multipartBody656304608366715130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415874469,"filename":"image_23042025_15_43_34_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074363","file1":"1353074357","file0":"1353074351","file4":"1353074400","file5":"1353074485","file3":"1353074367"},"map_files_photo_id_array":[{"photo_id":"1353074485","filename":"file5"},{"photo_id":"1353074363","filename":"file2"},{"photo_id":"1353074400","filename":"file4"},{"photo_id":"1353074357","filename":"file1"},{"photo_id":"1353074351","filename":"file0"},{"photo_id":"1353074367","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074351":["hashtag1","hashtag2"]},{"1353074485":["hashtag1","hashtag2"]},{"1353074367":["hashtag1","hashtag2"]},{"1353074400":["hashtag1","hashtag2"]},{"1353074363":["hashtag1","hashtag2"]},{"1353074357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074351, 1353074485, 1353074367, 1353074400, 1353074363, 1353074357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.446980237960815 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:44:32.717360
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_43_9775.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_34_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_24_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_14_10743.jpg', 2), ('/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_54_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_43_9775.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_34_9687.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_24_9722.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_14_10743.jpg', '/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_54_9646.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_43_9775.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_34_9687.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_24_9722.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_14_10743.jpg
/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_54_9646.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7743315696716309 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:45:02.554108
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_43_9775.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_34_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_24_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_14_10743.jpg', 2), ('/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_54_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_43_9775.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_34_9687.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_24_9722.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_14_10743.jpg', '/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_54_9646.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_43_9775.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_34_9687.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_24_9722.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_14_10743.jpg
/home/nano/Desktop/images/23042025/15/43/image_23042025_15_43_54_9646.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_44_9673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074633","1353074584","1353074644","1353074629","1353074614","1353074580"],"photo_ids_order":["1353074580","1353074584","1353074614","1353074629","1353074633","1353074644"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/631a592cb095c88c23b15aeaeba1acc3.jpg","text":"TemporaryFile(/tmp/multipartBody6884258343587397365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415964260,"filename":"image_23042025_15_43_54_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5cda99c40791d015d1a8d6a0afd9e6d.jpg","text":"TemporaryFile(/tmp/multipartBody2440248542579616133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415964260,"filename":"image_23042025_15_44_34_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f6598485341b30e9771450ea5fdb864.jpg","text":"TemporaryFile(/tmp/multipartBody7555509610150138695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415964260,"filename":"image_23042025_15_35_44_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b089b013c7aae7f80c84e850fbb29338.jpg","text":"TemporaryFile(/tmp/multipartBody7569665610808018029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415964260,"filename":"image_23042025_15_44_14_10743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4004ce382b0c83eb00ef532339d224d.jpg","text":"TemporaryFile(/tmp/multipartBody3563179103644784543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415964260,"filename":"image_23042025_15_44_24_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee730e7af4949b567a91cad5e2bd1305.jpg","text":"TemporaryFile(/tmp/multipartBody2398184830217400079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745415964260,"filename":"image_23042025_15_44_43_9775.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074614","file1":"1353074584","file0":"1353074580","file4":"1353074633","file5":"1353074644","file3":"1353074629"},"map_files_photo_id_array":[{"photo_id":"1353074644","filename":"file5"},{"photo_id":"1353074614","filename":"file2"},{"photo_id":"1353074633","filename":"file4"},{"photo_id":"1353074584","filename":"file1"},{"photo_id":"1353074580","filename":"file0"},{"photo_id":"1353074629","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074633":["hashtag1","hashtag2"]},{"1353074584":["hashtag1","hashtag2"]},{"1353074644":["hashtag1","hashtag2"]},{"1353074629":["hashtag1","hashtag2"]},{"1353074614":["hashtag1","hashtag2"]},{"1353074580":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074633, 1353074584, 1353074644, 1353074629, 1353074614, 1353074580)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.776005029678345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:46:02.488139
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_44_9787.jpg', 2), ('/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_34_10769.jpg', 2), ('/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_24_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_14_9846.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_45_04_9794.jpg', 2), ('/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_54_10791.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_44_9787.jpg', '/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_34_10769.jpg', '/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_24_9674.jpg', '/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_14_9846.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_45_04_9794.jpg', '/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_54_10791.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_44_9787.jpg
/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_34_10769.jpg
/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_24_9674.jpg
/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_14_9846.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_45_04_9794.jpg
/home/nano/Desktop/images/23042025/15/44/image_23042025_15_44_54_10791.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074720","1353074698","1353074686","1353074724","1353074712","1353074700"],"photo_ids_order":["1353074686","1353074698","1353074700","1353074712","1353074720","1353074724"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd2538acf47c2b4e84a2545dff8a7cd8.jpg","text":"TemporaryFile(/tmp/multipartBody531995797356418133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416025298,"filename":"image_23042025_15_45_04_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/529c5f51b3a5c2b7e219e88ee2eeff6d.jpg","text":"TemporaryFile(/tmp/multipartBody1886363176500837929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416025298,"filename":"image_23042025_15_45_34_10769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/837a6e4c2f26962190e0a4e7a0e76c3b.jpg","text":"TemporaryFile(/tmp/multipartBody408598630114059618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416025298,"filename":"image_23042025_15_45_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed81272b0774d562ff410949f3f8fc2d.jpg","text":"TemporaryFile(/tmp/multipartBody5369659866038557933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416025298,"filename":"image_23042025_15_44_54_10791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d87606a92d2ac8aee8d64081c38380e0.jpg","text":"TemporaryFile(/tmp/multipartBody4078825451041016184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416025298,"filename":"image_23042025_15_45_14_9846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0076b39d78c003352585871fba73024.jpg","text":"TemporaryFile(/tmp/multipartBody7335107576714558408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416025298,"filename":"image_23042025_15_45_24_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074700","file1":"1353074698","file0":"1353074686","file4":"1353074720","file5":"1353074724","file3":"1353074712"},"map_files_photo_id_array":[{"photo_id":"1353074724","filename":"file5"},{"photo_id":"1353074700","filename":"file2"},{"photo_id":"1353074720","filename":"file4"},{"photo_id":"1353074698","filename":"file1"},{"photo_id":"1353074686","filename":"file0"},{"photo_id":"1353074712","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074720":["hashtag1","hashtag2"]},{"1353074698":["hashtag1","hashtag2"]},{"1353074686":["hashtag1","hashtag2"]},{"1353074724":["hashtag1","hashtag2"]},{"1353074712":["hashtag1","hashtag2"]},{"1353074700":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074720, 1353074698, 1353074686, 1353074724, 1353074712, 1353074700)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90564036369324 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:47:02.707377
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_44_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_34_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_24_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_14_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/15/45/image_23042025_15_46_04_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_54_9755.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_44_10644.jpg', '/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_34_9642.jpg', '/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_24_9669.jpg', '/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_14_10681.jpg', '/home/nano/Desktop/images/23042025/15/45/image_23042025_15_46_04_9697.jpg', '/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_54_9755.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_44_10644.jpg
/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_34_9642.jpg
/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_24_9669.jpg
/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_14_10681.jpg
/home/nano/Desktop/images/23042025/15/45/image_23042025_15_46_04_9697.jpg
/home/nano/Desktop/images/23042025/15/45/image_23042025_15_45_54_9755.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074822","1353074845","1353074862","1353074876","1353074879","1353074870"],"photo_ids_order":["1353074822","1353074845","1353074862","1353074870","1353074876","1353074879"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c178edc4d960c8486307daa855e9c7d.jpg","text":"TemporaryFile(/tmp/multipartBody228610526573385906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416084242,"filename":"image_23042025_15_46_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/903ea25e189d5ad7eb0b1520bc24c1dd.jpg","text":"TemporaryFile(/tmp/multipartBody1634323818878623881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416084242,"filename":"image_23042025_15_46_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b03885a611d37f21c4f39b48de7897ed.jpg","text":"TemporaryFile(/tmp/multipartBody6256850819266266561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416084242,"filename":"image_23042025_15_46_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac275a2e7a5e83b07c2afaa169a8c808.jpg","text":"TemporaryFile(/tmp/multipartBody8746361453749080427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416084242,"filename":"image_23042025_15_46_04_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5da9f8773ba75831679d04877218b9a9.jpg","text":"TemporaryFile(/tmp/multipartBody8993523568272186602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416084242,"filename":"image_23042025_15_45_54_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08a1bf5947889764a3b6642d5ad75f80.jpg","text":"TemporaryFile(/tmp/multipartBody4394616093778988621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416084242,"filename":"image_23042025_15_46_14_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074862","file1":"1353074845","file0":"1353074822","file4":"1353074876","file5":"1353074879","file3":"1353074870"},"map_files_photo_id_array":[{"photo_id":"1353074879","filename":"file5"},{"photo_id":"1353074862","filename":"file2"},{"photo_id":"1353074876","filename":"file4"},{"photo_id":"1353074845","filename":"file1"},{"photo_id":"1353074822","filename":"file0"},{"photo_id":"1353074870","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074822":["hashtag1","hashtag2"]},{"1353074845":["hashtag1","hashtag2"]},{"1353074862":["hashtag1","hashtag2"]},{"1353074876":["hashtag1","hashtag2"]},{"1353074879":["hashtag1","hashtag2"]},{"1353074870":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074822, 1353074845, 1353074862, 1353074876, 1353074879, 1353074870)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.74287271499634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:48:02.727801
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_44_10629.jpg', 2), ('/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_33_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_24_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_14_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/15/46/image_23042025_15_47_03_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_54_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_44_10629.jpg', '/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_33_9648.jpg', '/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_24_9617.jpg', '/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_14_10649.jpg', '/home/nano/Desktop/images/23042025/15/46/image_23042025_15_47_03_9631.jpg', '/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_54_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_44_10629.jpg
/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_33_9648.jpg
/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_24_9617.jpg
/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_14_10649.jpg
/home/nano/Desktop/images/23042025/15/46/image_23042025_15_47_03_9631.jpg
/home/nano/Desktop/images/23042025/15/46/image_23042025_15_46_54_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353074960","1353074962","1353074950","1353074952","1353074955","1353074957"],"photo_ids_order":["1353074950","1353074952","1353074955","1353074957","1353074960","1353074962"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69a57cfd639a1b873f610a8b2f5de5d8.jpg","text":"TemporaryFile(/tmp/multipartBody7313762862286366862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416143874,"filename":"image_23042025_15_47_03_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/503945b9be2b95a84bae1598c36f23a2.jpg","text":"TemporaryFile(/tmp/multipartBody8065683133547525040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416143874,"filename":"image_23042025_15_46_54_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c2ebaeddc974102d0fb949c0246d135.jpg","text":"TemporaryFile(/tmp/multipartBody8047441915995700944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416143874,"filename":"image_23042025_15_47_44_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34b45a392ba45e31c8b0365a922239a4.jpg","text":"TemporaryFile(/tmp/multipartBody7433111155949577745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416143874,"filename":"image_23042025_15_47_33_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9081017acb0b769db0e549ec40d03784.jpg","text":"TemporaryFile(/tmp/multipartBody359642780161653264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416143874,"filename":"image_23042025_15_47_24_9617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/493c159bb33e079c118556028737f3bb.jpg","text":"TemporaryFile(/tmp/multipartBody878044979263829559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416143874,"filename":"image_23042025_15_47_14_10649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353074955","file1":"1353074952","file0":"1353074950","file4":"1353074960","file5":"1353074962","file3":"1353074957"},"map_files_photo_id_array":[{"photo_id":"1353074962","filename":"file5"},{"photo_id":"1353074955","filename":"file2"},{"photo_id":"1353074960","filename":"file4"},{"photo_id":"1353074952","filename":"file1"},{"photo_id":"1353074950","filename":"file0"},{"photo_id":"1353074957","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353074960":["hashtag1","hashtag2"]},{"1353074962":["hashtag1","hashtag2"]},{"1353074950":["hashtag1","hashtag2"]},{"1353074952":["hashtag1","hashtag2"]},{"1353074955":["hashtag1","hashtag2"]},{"1353074957":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353074960, 1353074962, 1353074950, 1353074952, 1353074955, 1353074957)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.1138277053833 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:49:03.216172
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_44_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_24_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_14_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/15/47/image_23042025_15_48_04_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_54_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_34_9577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_44_9663.jpg', '/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_24_9669.jpg', '/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_14_9650.jpg', '/home/nano/Desktop/images/23042025/15/47/image_23042025_15_48_04_10677.jpg', '/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_54_9639.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_34_9577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_44_9663.jpg
/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_24_9669.jpg
/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_14_9650.jpg
/home/nano/Desktop/images/23042025/15/47/image_23042025_15_48_04_10677.jpg
/home/nano/Desktop/images/23042025/15/47/image_23042025_15_47_54_9639.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_34_9577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075005","1353075010","1353075007","1353075001","1353074997","1353075003"],"photo_ids_order":["1353074997","1353075001","1353075003","1353075005","1353075007","1353075010"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02d3d5a0ea8044b555804f962200fedf.jpg","text":"TemporaryFile(/tmp/multipartBody3569842762159515559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416204285,"filename":"image_23042025_15_48_04_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa93e8ab83a4b57f6cbb3dc81673c256.jpg","text":"TemporaryFile(/tmp/multipartBody2108446972240838395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416204285,"filename":"image_23042025_15_35_34_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3b12c288743728fcc12765b818be8f2.jpg","text":"TemporaryFile(/tmp/multipartBody5417749285917440814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416204285,"filename":"image_23042025_15_47_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c756c74a3e83841ffd36c4b992d5c89.jpg","text":"TemporaryFile(/tmp/multipartBody2493957520643350542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416204285,"filename":"image_23042025_15_48_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d09d8256a0e131b3a16a63bd0bf2ca6d.jpg","text":"TemporaryFile(/tmp/multipartBody1504385836885011071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416204285,"filename":"image_23042025_15_48_44_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/623b2ce3497964c6408f18e56ef904ed.jpg","text":"TemporaryFile(/tmp/multipartBody5106498559384059305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416204285,"filename":"image_23042025_15_48_14_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075003","file1":"1353075001","file0":"1353074997","file4":"1353075007","file5":"1353075010","file3":"1353075005"},"map_files_photo_id_array":[{"photo_id":"1353075010","filename":"file5"},{"photo_id":"1353075003","filename":"file2"},{"photo_id":"1353075007","filename":"file4"},{"photo_id":"1353075001","filename":"file1"},{"photo_id":"1353074997","filename":"file0"},{"photo_id":"1353075005","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075005":["hashtag1","hashtag2"]},{"1353075010":["hashtag1","hashtag2"]},{"1353075007":["hashtag1","hashtag2"]},{"1353075001":["hashtag1","hashtag2"]},{"1353074997":["hashtag1","hashtag2"]},{"1353075003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075005, 1353075010, 1353075007, 1353075001, 1353074997, 1353075003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.483585357666016 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:50:02.955738
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_44_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_34_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_24_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_14_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/15/48/image_23042025_15_49_04_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_54_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_44_9665.jpg', '/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_34_10656.jpg', '/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_24_9661.jpg', '/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_14_9713.jpg', '/home/nano/Desktop/images/23042025/15/48/image_23042025_15_49_04_10680.jpg', '/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_54_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_44_9665.jpg
/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_34_10656.jpg
/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_24_9661.jpg
/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_14_9713.jpg
/home/nano/Desktop/images/23042025/15/48/image_23042025_15_49_04_10680.jpg
/home/nano/Desktop/images/23042025/15/48/image_23042025_15_48_54_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075116","1353075112","1353075109","1353075066","1353075062","1353075059"],"photo_ids_order":["1353075059","1353075062","1353075066","1353075109","1353075112","1353075116"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90602639f2ea53010fdf5da2789b778b.jpg","text":"TemporaryFile(/tmp/multipartBody6846178192258410570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416264344,"filename":"image_23042025_15_48_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c87cc7f8143c3026283448c717ed6d9.jpg","text":"TemporaryFile(/tmp/multipartBody844065850971293894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416264344,"filename":"image_23042025_15_49_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd7c4ff742d7dcc76147921faae5cbf8.jpg","text":"TemporaryFile(/tmp/multipartBody6286316229081703925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416264344,"filename":"image_23042025_15_49_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c43daf206712859b2aad77b185019d68.jpg","text":"TemporaryFile(/tmp/multipartBody7905282634697040361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416264344,"filename":"image_23042025_15_49_24_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a02a0cf5af8d9f5e2db7cae8aa469a1c.jpg","text":"TemporaryFile(/tmp/multipartBody4850531730767746535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416264344,"filename":"image_23042025_15_49_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d72f20e5221abfc5a025185982c5e26.jpg","text":"TemporaryFile(/tmp/multipartBody1501177701647713258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416264344,"filename":"image_23042025_15_49_44_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075066","file1":"1353075062","file0":"1353075059","file4":"1353075112","file5":"1353075116","file3":"1353075109"},"map_files_photo_id_array":[{"photo_id":"1353075116","filename":"file5"},{"photo_id":"1353075066","filename":"file2"},{"photo_id":"1353075112","filename":"file4"},{"photo_id":"1353075062","filename":"file1"},{"photo_id":"1353075059","filename":"file0"},{"photo_id":"1353075109","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075116":["hashtag1","hashtag2"]},{"1353075112":["hashtag1","hashtag2"]},{"1353075109":["hashtag1","hashtag2"]},{"1353075066":["hashtag1","hashtag2"]},{"1353075062":["hashtag1","hashtag2"]},{"1353075059":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075116, 1353075112, 1353075109, 1353075066, 1353075062, 1353075059)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81673860549927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:51:03.054214
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_44_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_34_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_23_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_14_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/15/49/image_23042025_15_50_04_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_54_9656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_44_9661.jpg', '/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_34_10662.jpg', '/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_23_9649.jpg', '/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_14_9641.jpg', '/home/nano/Desktop/images/23042025/15/49/image_23042025_15_50_04_10653.jpg', '/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_54_9656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_44_9661.jpg
/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_34_10662.jpg
/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_23_9649.jpg
/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_14_9641.jpg
/home/nano/Desktop/images/23042025/15/49/image_23042025_15_50_04_10653.jpg
/home/nano/Desktop/images/23042025/15/49/image_23042025_15_49_54_9656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075148","1353075145","1353075150","1353075147","1353075141","1353075143"],"photo_ids_order":["1353075141","1353075143","1353075145","1353075147","1353075148","1353075150"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dfd5cd7bc03b1be8a2e042e617c8994e.jpg","text":"TemporaryFile(/tmp/multipartBody9049508209304018651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416324261,"filename":"image_23042025_15_50_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e2e19ad00d876af598d8734c896295b.jpg","text":"TemporaryFile(/tmp/multipartBody8257045167588557684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416324261,"filename":"image_23042025_15_50_23_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4526713421427f0bb7d975a472a1bb3b.jpg","text":"TemporaryFile(/tmp/multipartBody6231876678017969804asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416324261,"filename":"image_23042025_15_49_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee2d519fd96dd2c71059b0bdffd00fb5.jpg","text":"TemporaryFile(/tmp/multipartBody6524784993760128366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416324261,"filename":"image_23042025_15_50_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9fa0faf56816971687672d937597cda.jpg","text":"TemporaryFile(/tmp/multipartBody3337873907405325130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416324261,"filename":"image_23042025_15_50_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3627054b75aa15782485dcf002f9e3e7.jpg","text":"TemporaryFile(/tmp/multipartBody3148440719894526326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416324261,"filename":"image_23042025_15_50_34_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075145","file1":"1353075143","file0":"1353075141","file4":"1353075148","file5":"1353075150","file3":"1353075147"},"map_files_photo_id_array":[{"photo_id":"1353075150","filename":"file5"},{"photo_id":"1353075145","filename":"file2"},{"photo_id":"1353075148","filename":"file4"},{"photo_id":"1353075143","filename":"file1"},{"photo_id":"1353075141","filename":"file0"},{"photo_id":"1353075147","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075148":["hashtag1","hashtag2"]},{"1353075145":["hashtag1","hashtag2"]},{"1353075150":["hashtag1","hashtag2"]},{"1353075147":["hashtag1","hashtag2"]},{"1353075141":["hashtag1","hashtag2"]},{"1353075143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075148, 1353075145, 1353075150, 1353075147, 1353075141, 1353075143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.089170694351196 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:52:03.115488
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_44_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_34_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_23_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_14_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/15/50/image_23042025_15_51_04_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_53_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_44_9642.jpg', '/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_34_10634.jpg', '/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_23_9654.jpg', '/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_14_9658.jpg', '/home/nano/Desktop/images/23042025/15/50/image_23042025_15_51_04_10655.jpg', '/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_53_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_44_9642.jpg
/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_34_10634.jpg
/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_23_9654.jpg
/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_14_9658.jpg
/home/nano/Desktop/images/23042025/15/50/image_23042025_15_51_04_10655.jpg
/home/nano/Desktop/images/23042025/15/50/image_23042025_15_50_53_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075325","1353075330","1353075324","1353075321","1353075323","1353075326"],"photo_ids_order":["1353075321","1353075323","1353075324","1353075325","1353075326","1353075330"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/173da5575e20b5a35d5113751bc5956b.jpg","text":"TemporaryFile(/tmp/multipartBody1185695623689706458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416384266,"filename":"image_23042025_15_51_14_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3cb11c70167e6a639dce987c47ef4701.jpg","text":"TemporaryFile(/tmp/multipartBody1363273142853467619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416384266,"filename":"image_23042025_15_50_53_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c69566a5b25d47741644541bb9fe2f3b.jpg","text":"TemporaryFile(/tmp/multipartBody901159157837893002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416384266,"filename":"image_23042025_15_51_23_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c63df8fa954056fd4f3ea4fe029a0a4.jpg","text":"TemporaryFile(/tmp/multipartBody1554069821199988453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416384266,"filename":"image_23042025_15_51_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/807317335f3cb94dab8ebc470ac8772a.jpg","text":"TemporaryFile(/tmp/multipartBody8149782712412916854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416384266,"filename":"image_23042025_15_51_34_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84f9f09695e29f44ced0aa1c225d1fd6.jpg","text":"TemporaryFile(/tmp/multipartBody8762796050494154723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416384266,"filename":"image_23042025_15_51_04_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075324","file1":"1353075323","file0":"1353075321","file4":"1353075326","file5":"1353075330","file3":"1353075325"},"map_files_photo_id_array":[{"photo_id":"1353075330","filename":"file5"},{"photo_id":"1353075324","filename":"file2"},{"photo_id":"1353075326","filename":"file4"},{"photo_id":"1353075323","filename":"file1"},{"photo_id":"1353075321","filename":"file0"},{"photo_id":"1353075325","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075325":["hashtag1","hashtag2"]},{"1353075330":["hashtag1","hashtag2"]},{"1353075324":["hashtag1","hashtag2"]},{"1353075321":["hashtag1","hashtag2"]},{"1353075323":["hashtag1","hashtag2"]},{"1353075326":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075325, 1353075330, 1353075324, 1353075321, 1353075323, 1353075326)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.979256629943848 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:53:03.290971
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_44_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_34_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_23_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_14_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/15/51/image_23042025_15_52_04_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_44_9692.jpg', '/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_34_10668.jpg', '/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_23_9697.jpg', '/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_14_9671.jpg', '/home/nano/Desktop/images/23042025/15/51/image_23042025_15_52_04_9672.jpg', '/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_44_9692.jpg
/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_34_10668.jpg
/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_23_9697.jpg
/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_14_9671.jpg
/home/nano/Desktop/images/23042025/15/51/image_23042025_15_52_04_9672.jpg
/home/nano/Desktop/images/23042025/15/51/image_23042025_15_51_54_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075463","1353075472","1353075460","1353075468","1353075465","1353075458"],"photo_ids_order":["1353075458","1353075460","1353075463","1353075465","1353075468","1353075472"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93882dd50a1aed64bdb29d1782d91032.jpg","text":"TemporaryFile(/tmp/multipartBody1063163421122493594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416444896,"filename":"image_23042025_15_52_23_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/769410a026c449be3f59b7f7892a98d0.jpg","text":"TemporaryFile(/tmp/multipartBody7463011236346828884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416444896,"filename":"image_23042025_15_51_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1e3516d89439366541af032511f5b32.jpg","text":"TemporaryFile(/tmp/multipartBody11757695387829562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416444896,"filename":"image_23042025_15_52_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71d8015383bcfa84ca314c2f66bf4c17.jpg","text":"TemporaryFile(/tmp/multipartBody722723219387102693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416444896,"filename":"image_23042025_15_52_04_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c82dc08948f8a2bf69e94996dcfd2496.jpg","text":"TemporaryFile(/tmp/multipartBody8999244831993130617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416444896,"filename":"image_23042025_15_52_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a2abd6ed33d3e9e84f5bbaa87f478a9.jpg","text":"TemporaryFile(/tmp/multipartBody2868468032613997364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416444896,"filename":"image_23042025_15_52_44_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075463","file1":"1353075460","file0":"1353075458","file4":"1353075468","file5":"1353075472","file3":"1353075465"},"map_files_photo_id_array":[{"photo_id":"1353075472","filename":"file5"},{"photo_id":"1353075463","filename":"file2"},{"photo_id":"1353075468","filename":"file4"},{"photo_id":"1353075460","filename":"file1"},{"photo_id":"1353075458","filename":"file0"},{"photo_id":"1353075465","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075463":["hashtag1","hashtag2"]},{"1353075472":["hashtag1","hashtag2"]},{"1353075460":["hashtag1","hashtag2"]},{"1353075468":["hashtag1","hashtag2"]},{"1353075465":["hashtag1","hashtag2"]},{"1353075458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075463, 1353075472, 1353075460, 1353075468, 1353075465, 1353075458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26233530044556 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:54:02.714047
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_44_9771.jpg', 2), ('/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_34_10686.jpg', 2), ('/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_24_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_14_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/15/52/image_23042025_15_53_04_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_53_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_44_9771.jpg', '/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_34_10686.jpg', '/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_24_9705.jpg', '/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_14_9726.jpg', '/home/nano/Desktop/images/23042025/15/52/image_23042025_15_53_04_10708.jpg', '/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_53_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_44_9771.jpg
/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_34_10686.jpg
/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_24_9705.jpg
/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_14_9726.jpg
/home/nano/Desktop/images/23042025/15/52/image_23042025_15_53_04_10708.jpg
/home/nano/Desktop/images/23042025/15/52/image_23042025_15_52_53_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075511","1353075508","1353075505","1353075507","1353075501","1353075503"],"photo_ids_order":["1353075501","1353075503","1353075505","1353075507","1353075508","1353075511"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9065b9f6f1d7bdb6c25aea060309e141.jpg","text":"TemporaryFile(/tmp/multipartBody6974781424768140263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416504385,"filename":"image_23042025_15_52_53_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d02b8764b5b591fadc975f55fb6e09b5.jpg","text":"TemporaryFile(/tmp/multipartBody1515600948404410722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416504385,"filename":"image_23042025_15_53_04_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0579b5f83fa4714f67f6205ebe4ee82.jpg","text":"TemporaryFile(/tmp/multipartBody5774092569237337965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416504385,"filename":"image_23042025_15_53_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23cf2511e41d69ef2813f314c5830999.jpg","text":"TemporaryFile(/tmp/multipartBody6384820129985479990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416504385,"filename":"image_23042025_15_53_14_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fa127c7ed15387ccf6d7b7844fda8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2045585799459867662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416504385,"filename":"image_23042025_15_53_44_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00d7c5772e842908d427abffd15e37f1.jpg","text":"TemporaryFile(/tmp/multipartBody20520219402074424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416504385,"filename":"image_23042025_15_53_34_10686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075505","file1":"1353075503","file0":"1353075501","file4":"1353075508","file5":"1353075511","file3":"1353075507"},"map_files_photo_id_array":[{"photo_id":"1353075511","filename":"file5"},{"photo_id":"1353075505","filename":"file2"},{"photo_id":"1353075508","filename":"file4"},{"photo_id":"1353075503","filename":"file1"},{"photo_id":"1353075501","filename":"file0"},{"photo_id":"1353075507","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075511":["hashtag1","hashtag2"]},{"1353075508":["hashtag1","hashtag2"]},{"1353075505":["hashtag1","hashtag2"]},{"1353075507":["hashtag1","hashtag2"]},{"1353075501":["hashtag1","hashtag2"]},{"1353075503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075511, 1353075508, 1353075505, 1353075507, 1353075501, 1353075503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68377423286438 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:55:02.405715
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_44_9945.jpg', 2), ('/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_34_10094.jpg', 2), ('/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_24_9894.jpg', 2), ('/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_14_10048.jpg', 2), ('/home/nano/Desktop/images/23042025/15/53/image_23042025_15_54_04_9896.jpg', 2), ('/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_54_9784.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_44_9945.jpg', '/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_34_10094.jpg', '/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_24_9894.jpg', '/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_14_10048.jpg', '/home/nano/Desktop/images/23042025/15/53/image_23042025_15_54_04_9896.jpg', '/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_54_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_44_9945.jpg
/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_34_10094.jpg
/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_24_9894.jpg
/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_14_10048.jpg
/home/nano/Desktop/images/23042025/15/53/image_23042025_15_54_04_9896.jpg
/home/nano/Desktop/images/23042025/15/53/image_23042025_15_53_54_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075553","1353075549","1353075540","1353075543","1353075575","1353075557"],"photo_ids_order":["1353075540","1353075543","1353075549","1353075553","1353075557","1353075575"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09b774a885f0720b506e4086a0afd89e.jpg","text":"TemporaryFile(/tmp/multipartBody7537519611331060939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416564871,"filename":"image_23042025_15_54_14_10048.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b3c14b1756f7b8ef6ab9836597c7ffc.jpg","text":"TemporaryFile(/tmp/multipartBody8456932025147441365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416564871,"filename":"image_23042025_15_54_24_9894.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/798587d5ed5060a8629739fdaca24e75.jpg","text":"TemporaryFile(/tmp/multipartBody9100737037113544317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416564871,"filename":"image_23042025_15_54_44_9945.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09d24948841fad084b3305e5cbec0d82.jpg","text":"TemporaryFile(/tmp/multipartBody4627796375561529756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416564871,"filename":"image_23042025_15_54_34_10094.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/424344aee526845e5823fef5e09ac744.jpg","text":"TemporaryFile(/tmp/multipartBody455246776659298164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416564871,"filename":"image_23042025_15_53_54_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a609d49baa2febd5c7b0b1805f2ecd5.jpg","text":"TemporaryFile(/tmp/multipartBody6074972658435715060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416564871,"filename":"image_23042025_15_54_04_9896.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075549","file1":"1353075543","file0":"1353075540","file4":"1353075557","file5":"1353075575","file3":"1353075553"},"map_files_photo_id_array":[{"photo_id":"1353075575","filename":"file5"},{"photo_id":"1353075549","filename":"file2"},{"photo_id":"1353075557","filename":"file4"},{"photo_id":"1353075543","filename":"file1"},{"photo_id":"1353075540","filename":"file0"},{"photo_id":"1353075553","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075553":["hashtag1","hashtag2"]},{"1353075549":["hashtag1","hashtag2"]},{"1353075540":["hashtag1","hashtag2"]},{"1353075543":["hashtag1","hashtag2"]},{"1353075575":["hashtag1","hashtag2"]},{"1353075557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075553, 1353075549, 1353075540, 1353075543, 1353075575, 1353075557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.78045845031738 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:56:02.477651
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_44_9814.jpg', 2), ('/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_34_9810.jpg', 2), ('/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_24_10818.jpg', 2), ('/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_13_9829.jpg', 2), ('/home/nano/Desktop/images/23042025/15/54/image_23042025_15_55_04_9924.jpg', 2), ('/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_54_9914.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_44_9814.jpg', '/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_34_9810.jpg', '/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_24_10818.jpg', '/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_13_9829.jpg', '/home/nano/Desktop/images/23042025/15/54/image_23042025_15_55_04_9924.jpg', '/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_54_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_44_9814.jpg
/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_34_9810.jpg
/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_24_10818.jpg
/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_13_9829.jpg
/home/nano/Desktop/images/23042025/15/54/image_23042025_15_55_04_9924.jpg
/home/nano/Desktop/images/23042025/15/54/image_23042025_15_54_54_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075661","1353075649","1353075658","1353075643","1353075645","1353075653"],"photo_ids_order":["1353075643","1353075645","1353075649","1353075653","1353075658","1353075661"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd4569d528b35c55a752d93c43bc41cc.jpg","text":"TemporaryFile(/tmp/multipartBody8028582217118504778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416624130,"filename":"image_23042025_15_54_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1603dfa6e44370827c79175c30399e21.jpg","text":"TemporaryFile(/tmp/multipartBody3412550629519555615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416624130,"filename":"image_23042025_15_55_24_10818.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7acffa80fefd3076ec2b277a533af50e.jpg","text":"TemporaryFile(/tmp/multipartBody6245819805541497006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416624130,"filename":"image_23042025_15_55_04_9924.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/148ccfdb58c53a04a391ffe5d7751be8.jpg","text":"TemporaryFile(/tmp/multipartBody3083356311523751491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416624130,"filename":"image_23042025_15_55_44_9814.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acbc15a67d69121fbe29a6aa65fc982a.jpg","text":"TemporaryFile(/tmp/multipartBody1720191669045206249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416624130,"filename":"image_23042025_15_55_34_9810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c20c1b0c3a4c684eccc3dd7d6b95bdc8.jpg","text":"TemporaryFile(/tmp/multipartBody7186644357047100496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416624130,"filename":"image_23042025_15_55_13_9829.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075649","file1":"1353075645","file0":"1353075643","file4":"1353075658","file5":"1353075661","file3":"1353075653"},"map_files_photo_id_array":[{"photo_id":"1353075661","filename":"file5"},{"photo_id":"1353075649","filename":"file2"},{"photo_id":"1353075658","filename":"file4"},{"photo_id":"1353075645","filename":"file1"},{"photo_id":"1353075643","filename":"file0"},{"photo_id":"1353075653","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075661":["hashtag1","hashtag2"]},{"1353075649":["hashtag1","hashtag2"]},{"1353075658":["hashtag1","hashtag2"]},{"1353075643":["hashtag1","hashtag2"]},{"1353075645":["hashtag1","hashtag2"]},{"1353075653":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075661, 1353075649, 1353075658, 1353075643, 1353075645, 1353075653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.59766745567322 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:57:02.831030
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_44_9822.jpg', 2), ('/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_34_9843.jpg', 2), ('/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_24_9847.jpg', 2), ('/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_14_10841.jpg', 2), ('/home/nano/Desktop/images/23042025/15/55/image_23042025_15_56_03_9813.jpg', 2), ('/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_54_9811.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_44_9822.jpg', '/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_34_9843.jpg', '/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_24_9847.jpg', '/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_14_10841.jpg', '/home/nano/Desktop/images/23042025/15/55/image_23042025_15_56_03_9813.jpg', '/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_54_9811.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_44_9822.jpg
/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_34_9843.jpg
/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_24_9847.jpg
/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_14_10841.jpg
/home/nano/Desktop/images/23042025/15/55/image_23042025_15_56_03_9813.jpg
/home/nano/Desktop/images/23042025/15/55/image_23042025_15_55_54_9811.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075732","1353075735","1353075738","1353075731","1353075725","1353075728"],"photo_ids_order":["1353075725","1353075728","1353075731","1353075732","1353075735","1353075738"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/518550589fbbb25540d3f16880972630.jpg","text":"TemporaryFile(/tmp/multipartBody982655126244879510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416684523,"filename":"image_23042025_15_56_14_10841.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a5b467f436f961ac6a58e434f21ccef.jpg","text":"TemporaryFile(/tmp/multipartBody5417116419687374205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416684523,"filename":"image_23042025_15_56_03_9813.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/493295f2a38c9b56e19efea22ddda780.jpg","text":"TemporaryFile(/tmp/multipartBody1996366221920684030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416684523,"filename":"image_23042025_15_55_54_9811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/084d671d1934f922f742e53f71311ebf.jpg","text":"TemporaryFile(/tmp/multipartBody7535530365792919488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416684523,"filename":"image_23042025_15_56_24_9847.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21e4a4a81bf77de33c991be70193a0a9.jpg","text":"TemporaryFile(/tmp/multipartBody6185008968500247896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416684523,"filename":"image_23042025_15_56_44_9822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f338f46a33fbff50c9162b0e2dc80fd7.jpg","text":"TemporaryFile(/tmp/multipartBody6053480773870169124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416684523,"filename":"image_23042025_15_56_34_9843.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075731","file1":"1353075728","file0":"1353075725","file4":"1353075735","file5":"1353075738","file3":"1353075732"},"map_files_photo_id_array":[{"photo_id":"1353075738","filename":"file5"},{"photo_id":"1353075731","filename":"file2"},{"photo_id":"1353075735","filename":"file4"},{"photo_id":"1353075728","filename":"file1"},{"photo_id":"1353075725","filename":"file0"},{"photo_id":"1353075732","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075732":["hashtag1","hashtag2"]},{"1353075735":["hashtag1","hashtag2"]},{"1353075738":["hashtag1","hashtag2"]},{"1353075731":["hashtag1","hashtag2"]},{"1353075725":["hashtag1","hashtag2"]},{"1353075728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075732, 1353075735, 1353075738, 1353075731, 1353075725, 1353075728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76645755767822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:58:02.693658
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_44_9927.jpg', 2), ('/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_34_9919.jpg', 2), ('/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_24_9932.jpg', 2), ('/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_14_10856.jpg', 2), ('/home/nano/Desktop/images/23042025/15/56/image_23042025_15_57_03_9881.jpg', 2), ('/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_54_9815.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_44_9927.jpg', '/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_34_9919.jpg', '/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_24_9932.jpg', '/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_14_10856.jpg', '/home/nano/Desktop/images/23042025/15/56/image_23042025_15_57_03_9881.jpg', '/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_54_9815.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_44_9927.jpg
/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_34_9919.jpg
/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_24_9932.jpg
/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_14_10856.jpg
/home/nano/Desktop/images/23042025/15/56/image_23042025_15_57_03_9881.jpg
/home/nano/Desktop/images/23042025/15/56/image_23042025_15_56_54_9815.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075783","1353075777","1353075780","1353075782","1353075779","1353075784"],"photo_ids_order":["1353075777","1353075779","1353075780","1353075782","1353075783","1353075784"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bfef312db0dcd7e3a6ba0a31950b766b.jpg","text":"TemporaryFile(/tmp/multipartBody1312482444768844552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416744635,"filename":"image_23042025_15_57_03_9881.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f282ffbf7660244885b5f12af7531d0.jpg","text":"TemporaryFile(/tmp/multipartBody7663958216970500543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416744635,"filename":"image_23042025_15_57_44_9927.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e5b8c1fd5d8ce4bda3ce44c28a0216f.jpg","text":"TemporaryFile(/tmp/multipartBody996408490720280133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416744635,"filename":"image_23042025_15_57_24_9932.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe6c169aef8ec49b646935053d26c74d.jpg","text":"TemporaryFile(/tmp/multipartBody6118901587603782551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416744635,"filename":"image_23042025_15_57_14_10856.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/812bad1bbc4cf5d8ee296cc445f68bee.jpg","text":"TemporaryFile(/tmp/multipartBody6774391243413579302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416744635,"filename":"image_23042025_15_57_34_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ec21b16f4816b4bf788f82c4ea3cbf5.jpg","text":"TemporaryFile(/tmp/multipartBody8419645833453089536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416744635,"filename":"image_23042025_15_56_54_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353075780","file1":"1353075779","file0":"1353075777","file4":"1353075783","file5":"1353075784","file3":"1353075782"},"map_files_photo_id_array":[{"photo_id":"1353075784","filename":"file5"},{"photo_id":"1353075780","filename":"file2"},{"photo_id":"1353075783","filename":"file4"},{"photo_id":"1353075779","filename":"file1"},{"photo_id":"1353075777","filename":"file0"},{"photo_id":"1353075782","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075783":["hashtag1","hashtag2"]},{"1353075777":["hashtag1","hashtag2"]},{"1353075780":["hashtag1","hashtag2"]},{"1353075782":["hashtag1","hashtag2"]},{"1353075779":["hashtag1","hashtag2"]},{"1353075784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075783, 1353075777, 1353075780, 1353075782, 1353075779, 1353075784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.586464643478394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 15:59:03.487068
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_34_9941.jpg', 2), ('/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_24_9938.jpg', 2), ('/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_54_9933.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_24_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_14_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_35_04_10590.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_34_9941.jpg', '/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_24_9938.jpg', '/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_54_9933.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_24_10570.jpg', '/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_14_9581.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_35_04_10590.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_34_9941.jpg
/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_24_9938.jpg
/home/nano/Desktop/images/23042025/15/57/image_23042025_15_57_54_9933.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_24_10570.jpg
/home/nano/Desktop/images/23042025/15/35/image_23042025_15_35_14_9581.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_35_04_10590.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353075925","1353075980","1353076112","1353076013","1353076078","1353076045"],"photo_ids_order":["1353075925","1353075980","1353076013","1353076045","1353076078","1353076112"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25504272b1087b033d360b07bbf77619.jpg","text":"TemporaryFile(/tmp/multipartBody1630007605706201537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416805455,"filename":"image_23042025_15_58_34_9941.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c127703434342e89f28f38d0f4153dc6.jpg","text":"TemporaryFile(/tmp/multipartBody4470758403952689951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416805455,"filename":"image_23042025_15_58_24_9938.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8854717f47cd474705bd07147fa4e2a0.jpg","text":"TemporaryFile(/tmp/multipartBody4499861541245026408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416805455,"filename":"image_23042025_15_35_04_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ef4b6787540cfb592f6c464ae2015a0.jpg","text":"TemporaryFile(/tmp/multipartBody3646583266572517288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416805455,"filename":"image_23042025_15_57_54_9933.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60204d3c2381807e65c9d43f3b78822d.jpg","text":"TemporaryFile(/tmp/multipartBody1457596363073386828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416805455,"filename":"image_23042025_15_35_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c51ea6d14f0488f6261ec5c35f105f0.jpg","text":"TemporaryFile(/tmp/multipartBody43376473256918038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416805455,"filename":"image_23042025_15_35_24_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353076013","file1":"1353075980","file0":"1353075925","file4":"1353076078","file5":"1353076112","file3":"1353076045"},"map_files_photo_id_array":[{"photo_id":"1353076112","filename":"file5"},{"photo_id":"1353076013","filename":"file2"},{"photo_id":"1353076078","filename":"file4"},{"photo_id":"1353075980","filename":"file1"},{"photo_id":"1353075925","filename":"file0"},{"photo_id":"1353076045","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353075925":["hashtag1","hashtag2"]},{"1353075980":["hashtag1","hashtag2"]},{"1353076112":["hashtag1","hashtag2"]},{"1353076013":["hashtag1","hashtag2"]},{"1353076078":["hashtag1","hashtag2"]},{"1353076045":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353075925, 1353075980, 1353076112, 1353076013, 1353076078, 1353076045)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.49621605873108 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:00:03.065682
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_24_9940.jpg', 2), ('/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_14_9969.jpg', 2), ('/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_54_9949.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_24_9940.jpg', '/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_14_9969.jpg', '/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_54_9949.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_24_9940.jpg
/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_14_9969.jpg
/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_54_9949.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.5906782150268555 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:00:32.572003
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_43_9142.jpg', 2), ('/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_24_10954.jpg', 2), ('/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_13_8998.jpg', 2), ('/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_53_9944.jpg', 2), ('/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_24_9940.jpg', 2), ('/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_14_9969.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_43_9142.jpg', '/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_24_10954.jpg', '/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_13_8998.jpg', '/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_53_9944.jpg', '/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_24_9940.jpg', '/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_14_9969.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_43_9142.jpg
/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_24_10954.jpg
/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_13_8998.jpg
/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_53_9944.jpg
/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_24_9940.jpg
/home/nano/Desktop/images/23042025/15/59/image_23042025_15_59_14_9969.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353077094","1353077154","1353077058","1353077124","1353077025","1353076973"],"photo_ids_order":["1353076973","1353077025","1353077058","1353077094","1353077124","1353077154"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83baa212121c90efefb9efd4fd701062.jpg","text":"TemporaryFile(/tmp/multipartBody733291819313086448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416894765,"filename":"image_23042025_15_59_53_9944.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/191e3bfd3947048734ee40d83ceb1b2a.jpg","text":"TemporaryFile(/tmp/multipartBody6978063790840476497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416894765,"filename":"image_23042025_15_59_14_9969.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc89694faab7da3762eac120fce66c73.jpg","text":"TemporaryFile(/tmp/multipartBody4552391475434525932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416894765,"filename":"image_23042025_16_00_13_8998.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d06ce1adf7b23118397c316d36d559b.jpg","text":"TemporaryFile(/tmp/multipartBody5639581383891010843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416894765,"filename":"image_23042025_15_59_24_9940.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a8b9f9c0b05cb851368ece938789b42.jpg","text":"TemporaryFile(/tmp/multipartBody2075780964420479650asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416894765,"filename":"image_23042025_16_00_24_10954.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e00aaa91d6c3c50bfe214c32e781811.jpg","text":"TemporaryFile(/tmp/multipartBody3916474917839070643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416894765,"filename":"image_23042025_16_00_43_9142.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353077058","file1":"1353077025","file0":"1353076973","file4":"1353077124","file5":"1353077154","file3":"1353077094"},"map_files_photo_id_array":[{"photo_id":"1353077154","filename":"file5"},{"photo_id":"1353077058","filename":"file2"},{"photo_id":"1353077124","filename":"file4"},{"photo_id":"1353077025","filename":"file1"},{"photo_id":"1353076973","filename":"file0"},{"photo_id":"1353077094","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353077094":["hashtag1","hashtag2"]},{"1353077154":["hashtag1","hashtag2"]},{"1353077058":["hashtag1","hashtag2"]},{"1353077124":["hashtag1","hashtag2"]},{"1353077025":["hashtag1","hashtag2"]},{"1353076973":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353077094, 1353077154, 1353077058, 1353077124, 1353077025, 1353076973)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.79255700111389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:01:32.691789
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_44_9919.jpg', 2), ('/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_34_9930.jpg', 2), ('/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_24_9934.jpg', 2), ('/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_14_9986.jpg', 2), ('/home/nano/Desktop/images/23042025/16/00/image_23042025_16_01_04_10960.jpg', 2), ('/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_53_9965.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_44_9919.jpg', '/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_34_9930.jpg', '/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_24_9934.jpg', '/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_14_9986.jpg', '/home/nano/Desktop/images/23042025/16/00/image_23042025_16_01_04_10960.jpg', '/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_53_9965.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_44_9919.jpg
/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_34_9930.jpg
/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_24_9934.jpg
/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_14_9986.jpg
/home/nano/Desktop/images/23042025/16/00/image_23042025_16_01_04_10960.jpg
/home/nano/Desktop/images/23042025/16/00/image_23042025_16_00_53_9965.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353077292","1353077259","1353077610","1353077357","1353077531","1353077447"],"photo_ids_order":["1353077259","1353077292","1353077357","1353077447","1353077531","1353077610"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94faacc3585c4c32f55a4315cce3fa6a.jpg","text":"TemporaryFile(/tmp/multipartBody8784803851964676615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416956772,"filename":"image_23042025_16_01_34_9930.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68255b502907ff73305da8a14e692fd8.jpg","text":"TemporaryFile(/tmp/multipartBody8071250812241580855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416956772,"filename":"image_23042025_16_01_44_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06a9b18f57ff079b4f4a1d1a2bc4c213.jpg","text":"TemporaryFile(/tmp/multipartBody8183330221002854360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416956772,"filename":"image_23042025_16_00_53_9965.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/642abb0674f0cd9e863d623faf943548.jpg","text":"TemporaryFile(/tmp/multipartBody5379647782563883224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416956772,"filename":"image_23042025_16_01_24_9934.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e9e136eddc04bc5382910acdfd7cdbc.jpg","text":"TemporaryFile(/tmp/multipartBody8290782933523350457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416956772,"filename":"image_23042025_16_01_04_10960.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9645d3fe1f0fc4db3b2e57bc3005857.jpg","text":"TemporaryFile(/tmp/multipartBody2348965068142060488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745416956772,"filename":"image_23042025_16_01_14_9986.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353077357","file1":"1353077292","file0":"1353077259","file4":"1353077531","file5":"1353077610","file3":"1353077447"},"map_files_photo_id_array":[{"photo_id":"1353077610","filename":"file5"},{"photo_id":"1353077357","filename":"file2"},{"photo_id":"1353077531","filename":"file4"},{"photo_id":"1353077292","filename":"file1"},{"photo_id":"1353077259","filename":"file0"},{"photo_id":"1353077447","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353077292":["hashtag1","hashtag2"]},{"1353077259":["hashtag1","hashtag2"]},{"1353077610":["hashtag1","hashtag2"]},{"1353077357":["hashtag1","hashtag2"]},{"1353077531":["hashtag1","hashtag2"]},{"1353077447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353077292, 1353077259, 1353077610, 1353077357, 1353077531, 1353077447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.4556086063385 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:02:31.768972
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_44_9907.jpg', 2), ('/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_34_9921.jpg', 2), ('/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_24_9873.jpg', 2), ('/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_14_9936.jpg', 2), ('/home/nano/Desktop/images/23042025/16/01/image_23042025_16_02_04_9926.jpg', 2), ('/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_54_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_44_9907.jpg', '/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_34_9921.jpg', '/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_24_9873.jpg', '/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_14_9936.jpg', '/home/nano/Desktop/images/23042025/16/01/image_23042025_16_02_04_9926.jpg', '/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_54_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_44_9907.jpg
/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_34_9921.jpg
/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_24_9873.jpg
/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_14_9936.jpg
/home/nano/Desktop/images/23042025/16/01/image_23042025_16_02_04_9926.jpg
/home/nano/Desktop/images/23042025/16/01/image_23042025_16_01_54_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353078080","1353078352","1353078022","1353078226","1353078285","1353078138"],"photo_ids_order":["1353078022","1353078080","1353078138","1353078226","1353078285","1353078352"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c08079ac1f9d736abbea491fdd493adb.jpg","text":"TemporaryFile(/tmp/multipartBody3428943856018889257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417013960,"filename":"image_23042025_16_02_34_9921.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/513da9a36438dd003ac5ea79771bc1fc.jpg","text":"TemporaryFile(/tmp/multipartBody1344848487490506874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417013960,"filename":"image_23042025_16_01_54_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d9206c977d8e6662efd821648254c93.jpg","text":"TemporaryFile(/tmp/multipartBody2915147744230164544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417013960,"filename":"image_23042025_16_02_44_9907.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/444250e51093da9485d81b835b1316f2.jpg","text":"TemporaryFile(/tmp/multipartBody3714800146630824427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417013960,"filename":"image_23042025_16_02_14_9936.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d877f4cdb2e57c4e1eac1a5a19786ad1.jpg","text":"TemporaryFile(/tmp/multipartBody8750682489387653272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417013960,"filename":"image_23042025_16_02_04_9926.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/923ca18f7951120c0c5535bb23d0b2c5.jpg","text":"TemporaryFile(/tmp/multipartBody5965669553338585618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417013960,"filename":"image_23042025_16_02_24_9873.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353078138","file1":"1353078080","file0":"1353078022","file4":"1353078285","file5":"1353078352","file3":"1353078226"},"map_files_photo_id_array":[{"photo_id":"1353078352","filename":"file5"},{"photo_id":"1353078138","filename":"file2"},{"photo_id":"1353078285","filename":"file4"},{"photo_id":"1353078080","filename":"file1"},{"photo_id":"1353078022","filename":"file0"},{"photo_id":"1353078226","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353078080":["hashtag1","hashtag2"]},{"1353078352":["hashtag1","hashtag2"]},{"1353078022":["hashtag1","hashtag2"]},{"1353078226":["hashtag1","hashtag2"]},{"1353078285":["hashtag1","hashtag2"]},{"1353078138":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353078080, 1353078352, 1353078022, 1353078226, 1353078285, 1353078138)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.6617648601532 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:03:31.973431
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_44_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_34_9787.jpg', 2), ('/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_24_9806.jpg', 2), ('/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_14_10863.jpg', 2), ('/home/nano/Desktop/images/23042025/16/02/image_23042025_16_03_03_9876.jpg', 2), ('/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_53_9910.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_44_9784.jpg', '/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_34_9787.jpg', '/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_24_9806.jpg', '/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_14_10863.jpg', '/home/nano/Desktop/images/23042025/16/02/image_23042025_16_03_03_9876.jpg', '/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_53_9910.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_44_9784.jpg
/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_34_9787.jpg
/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_24_9806.jpg
/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_14_10863.jpg
/home/nano/Desktop/images/23042025/16/02/image_23042025_16_03_03_9876.jpg
/home/nano/Desktop/images/23042025/16/02/image_23042025_16_02_53_9910.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353078705","1353078815","1353078772","1353078673","1353078742","1353078858"],"photo_ids_order":["1353078673","1353078705","1353078742","1353078772","1353078815","1353078858"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/851d5083c27fae3f24325375a1663882.jpg","text":"TemporaryFile(/tmp/multipartBody3709384066683746502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417074107,"filename":"image_23042025_16_03_34_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/966f3d27749b92197750d17c2f1c9c03.jpg","text":"TemporaryFile(/tmp/multipartBody592235047957881494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417074107,"filename":"image_23042025_16_03_03_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57f63000210e5182309c7dcedd420b88.jpg","text":"TemporaryFile(/tmp/multipartBody4176088565148922298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417074107,"filename":"image_23042025_16_03_14_10863.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9266b38e5f46b178549c79e7d551100.jpg","text":"TemporaryFile(/tmp/multipartBody1106786853022229887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417074107,"filename":"image_23042025_16_03_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/795bfc731b05b836c9e977127955d6a1.jpg","text":"TemporaryFile(/tmp/multipartBody5116875557807327545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417074107,"filename":"image_23042025_16_03_24_9806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e796680eca2da57251b509d632aed30.jpg","text":"TemporaryFile(/tmp/multipartBody5792879035956863386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417074107,"filename":"image_23042025_16_02_53_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353078742","file1":"1353078705","file0":"1353078673","file4":"1353078815","file5":"1353078858","file3":"1353078772"},"map_files_photo_id_array":[{"photo_id":"1353078858","filename":"file5"},{"photo_id":"1353078742","filename":"file2"},{"photo_id":"1353078815","filename":"file4"},{"photo_id":"1353078705","filename":"file1"},{"photo_id":"1353078673","filename":"file0"},{"photo_id":"1353078772","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353078705":["hashtag1","hashtag2"]},{"1353078815":["hashtag1","hashtag2"]},{"1353078772":["hashtag1","hashtag2"]},{"1353078673":["hashtag1","hashtag2"]},{"1353078742":["hashtag1","hashtag2"]},{"1353078858":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353078705, 1353078815, 1353078772, 1353078673, 1353078742, 1353078858)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96169686317444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:04:32.070071
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_44_9820.jpg', 2), ('/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_34_9810.jpg', 2), ('/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_24_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_14_9847.jpg', 2), ('/home/nano/Desktop/images/23042025/16/03/image_23042025_16_04_04_10820.jpg', 2), ('/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_53_9812.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_44_9820.jpg', '/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_34_9810.jpg', '/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_24_9815.jpg', '/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_14_9847.jpg', '/home/nano/Desktop/images/23042025/16/03/image_23042025_16_04_04_10820.jpg', '/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_53_9812.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_44_9820.jpg
/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_34_9810.jpg
/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_24_9815.jpg
/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_14_9847.jpg
/home/nano/Desktop/images/23042025/16/03/image_23042025_16_04_04_10820.jpg
/home/nano/Desktop/images/23042025/16/03/image_23042025_16_03_53_9812.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353079190","1353079148","1353079195","1353079180","1353079201","1353079185"],"photo_ids_order":["1353079148","1353079180","1353079185","1353079190","1353079195","1353079201"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1af6e5ef3b1cba1646a22850d05e1ffa.jpg","text":"TemporaryFile(/tmp/multipartBody1412107337042055406asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417133830,"filename":"image_23042025_16_04_14_9847.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fa7d4b9c74aed15ceccf8623b1db818.jpg","text":"TemporaryFile(/tmp/multipartBody1498348844448097582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417133830,"filename":"image_23042025_16_04_44_9820.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7d6aadfbd91f8da5e2db3d25a02ec84.jpg","text":"TemporaryFile(/tmp/multipartBody4109423623544715739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417133830,"filename":"image_23042025_16_04_04_10820.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34213ee8f86d89268124e43619d57a52.jpg","text":"TemporaryFile(/tmp/multipartBody555179489384016160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417133830,"filename":"image_23042025_16_04_34_9810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8dcb98fc764436eac5c67519829518e9.jpg","text":"TemporaryFile(/tmp/multipartBody2128931111402050975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417133830,"filename":"image_23042025_16_03_53_9812.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edc15c843c35e0b0f4a1ce20aac3dd7c.jpg","text":"TemporaryFile(/tmp/multipartBody725973440441648158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417133830,"filename":"image_23042025_16_04_24_9815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353079185","file1":"1353079180","file0":"1353079148","file4":"1353079195","file5":"1353079201","file3":"1353079190"},"map_files_photo_id_array":[{"photo_id":"1353079201","filename":"file5"},{"photo_id":"1353079185","filename":"file2"},{"photo_id":"1353079195","filename":"file4"},{"photo_id":"1353079180","filename":"file1"},{"photo_id":"1353079148","filename":"file0"},{"photo_id":"1353079190","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353079190":["hashtag1","hashtag2"]},{"1353079148":["hashtag1","hashtag2"]},{"1353079195":["hashtag1","hashtag2"]},{"1353079180":["hashtag1","hashtag2"]},{"1353079201":["hashtag1","hashtag2"]},{"1353079185":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353079190, 1353079148, 1353079195, 1353079180, 1353079201, 1353079185)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90197277069092 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:05:32.155797
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_34_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_24_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_14_9869.jpg', 2), ('/home/nano/Desktop/images/23042025/16/04/image_23042025_16_05_04_10853.jpg', 2), ('/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_53_9827.jpg', 2), ('/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_54_9949.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_34_9795.jpg', '/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_24_9795.jpg', '/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_14_9869.jpg', '/home/nano/Desktop/images/23042025/16/04/image_23042025_16_05_04_10853.jpg', '/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_53_9827.jpg', '/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_54_9949.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_34_9795.jpg
/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_24_9795.jpg
/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_14_9869.jpg
/home/nano/Desktop/images/23042025/16/04/image_23042025_16_05_04_10853.jpg
/home/nano/Desktop/images/23042025/16/04/image_23042025_16_04_53_9827.jpg
/home/nano/Desktop/images/23042025/15/58/image_23042025_15_58_54_9949.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353079276","1353079290","1353079284","1353079303","1353079287","1353079280"],"photo_ids_order":["1353079276","1353079280","1353079284","1353079287","1353079290","1353079303"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64bc3e72c0ef06b51a054e960da33c34.jpg","text":"TemporaryFile(/tmp/multipartBody8710314221841873198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417193944,"filename":"image_23042025_16_05_34_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5e3c189983848bcefd13332ea93b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody2305173794030886294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417193944,"filename":"image_23042025_16_04_53_9827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3cd789eec17d33cc64474a5201d7a077.jpg","text":"TemporaryFile(/tmp/multipartBody2764172810027004109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417193944,"filename":"image_23042025_16_05_14_9869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed6c753fdb54e0fd78bc5c240da86dea.jpg","text":"TemporaryFile(/tmp/multipartBody8063019974097418612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417193944,"filename":"image_23042025_15_58_54_9949.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96575a56c524a925af680fc4bac02d87.jpg","text":"TemporaryFile(/tmp/multipartBody7200886197488595079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417193944,"filename":"image_23042025_16_05_04_10853.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f404cfd1f0e9c0fbb07f3282afe21806.jpg","text":"TemporaryFile(/tmp/multipartBody8061566139776896521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417193944,"filename":"image_23042025_16_05_24_9795.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353079284","file1":"1353079280","file0":"1353079276","file4":"1353079290","file5":"1353079303","file3":"1353079287"},"map_files_photo_id_array":[{"photo_id":"1353079303","filename":"file5"},{"photo_id":"1353079284","filename":"file2"},{"photo_id":"1353079290","filename":"file4"},{"photo_id":"1353079280","filename":"file1"},{"photo_id":"1353079276","filename":"file0"},{"photo_id":"1353079287","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353079276":["hashtag1","hashtag2"]},{"1353079290":["hashtag1","hashtag2"]},{"1353079284":["hashtag1","hashtag2"]},{"1353079303":["hashtag1","hashtag2"]},{"1353079287":["hashtag1","hashtag2"]},{"1353079280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353079276, 1353079290, 1353079284, 1353079303, 1353079287, 1353079280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.40101099014282 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:06:32.266448
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_44_9789.jpg', 2), ('/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_34_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_24_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_14_9843.jpg', 2), ('/home/nano/Desktop/images/23042025/16/05/image_23042025_16_06_04_10907.jpg', 2), ('/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_44_9882.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_44_9789.jpg', '/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_34_9781.jpg', '/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_24_9800.jpg', '/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_14_9843.jpg', '/home/nano/Desktop/images/23042025/16/05/image_23042025_16_06_04_10907.jpg', '/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_44_9882.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_44_9789.jpg
/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_34_9781.jpg
/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_24_9800.jpg
/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_14_9843.jpg
/home/nano/Desktop/images/23042025/16/05/image_23042025_16_06_04_10907.jpg
/home/nano/Desktop/images/23042025/16/05/image_23042025_16_05_44_9882.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353079667","1353079570","1353079702","1353079603","1353079680","1353079635"],"photo_ids_order":["1353079570","1353079603","1353079635","1353079667","1353079680","1353079702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ea28f97238bea50dc547ce943d99e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5756351254870538335asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417254241,"filename":"image_23042025_16_06_14_9843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79de96452f22e4604116e457188fa40e.jpg","text":"TemporaryFile(/tmp/multipartBody5085226245332200818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417254241,"filename":"image_23042025_16_06_44_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/620aa8ea4aa50937b514e276445fa67c.jpg","text":"TemporaryFile(/tmp/multipartBody555762853108483028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417254241,"filename":"image_23042025_16_05_44_9882.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bda06903fbf93bea3b032130005ce87f.jpg","text":"TemporaryFile(/tmp/multipartBody6327518721547997304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417254241,"filename":"image_23042025_16_06_34_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c854b5926689493bf7269528d191852c.jpg","text":"TemporaryFile(/tmp/multipartBody6596881284463109547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417254241,"filename":"image_23042025_16_06_04_10907.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47a3be28e51c3fbcfbd7e45ac565b514.jpg","text":"TemporaryFile(/tmp/multipartBody5810325248089692124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417254241,"filename":"image_23042025_16_06_24_9800.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353079635","file1":"1353079603","file0":"1353079570","file4":"1353079680","file5":"1353079702","file3":"1353079667"},"map_files_photo_id_array":[{"photo_id":"1353079702","filename":"file5"},{"photo_id":"1353079635","filename":"file2"},{"photo_id":"1353079680","filename":"file4"},{"photo_id":"1353079603","filename":"file1"},{"photo_id":"1353079570","filename":"file0"},{"photo_id":"1353079667","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353079667":["hashtag1","hashtag2"]},{"1353079570":["hashtag1","hashtag2"]},{"1353079702":["hashtag1","hashtag2"]},{"1353079603":["hashtag1","hashtag2"]},{"1353079680":["hashtag1","hashtag2"]},{"1353079635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353079667, 1353079570, 1353079702, 1353079603, 1353079680, 1353079635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85420107841492 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:07:32.381415
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_44_10795.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_34_9791.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_24_9831.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_14_9803.jpg', 2), ('/home/nano/Desktop/images/23042025/16/06/image_23042025_16_07_04_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_54_10782.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_44_10795.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_34_9791.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_24_9831.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_14_9803.jpg', '/home/nano/Desktop/images/23042025/16/06/image_23042025_16_07_04_9778.jpg', '/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_54_10782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_44_10795.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_34_9791.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_24_9831.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_14_9803.jpg
/home/nano/Desktop/images/23042025/16/06/image_23042025_16_07_04_9778.jpg
/home/nano/Desktop/images/23042025/16/06/image_23042025_16_06_54_10782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353079874","1353079835","1353079846","1353079804","1353079884","1353079839"],"photo_ids_order":["1353079804","1353079835","1353079839","1353079846","1353079874","1353079884"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/241a12cdd643660b949e2b84e6164dbd.jpg","text":"TemporaryFile(/tmp/multipartBody5901246819463483471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417314443,"filename":"image_23042025_16_07_04_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aeeef875ef2bdb834cf2967c3695fd98.jpg","text":"TemporaryFile(/tmp/multipartBody7532364871863309297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417314443,"filename":"image_23042025_16_07_34_9791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65a0a4ef758d3222c6435f3c1f07f12b.jpg","text":"TemporaryFile(/tmp/multipartBody8712098625625655601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417314443,"filename":"image_23042025_16_07_14_9803.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f303d157f3fc59bef1fe8a588d227009.jpg","text":"TemporaryFile(/tmp/multipartBody6671765558258940151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417314443,"filename":"image_23042025_16_07_44_10795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fca9c0d42d3709e3bd4c139f52f6536.jpg","text":"TemporaryFile(/tmp/multipartBody4719231918670029162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417314443,"filename":"image_23042025_16_06_54_10782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8130768dc1aee2f4252fac7b17ee67be.jpg","text":"TemporaryFile(/tmp/multipartBody1768833782025499258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417314443,"filename":"image_23042025_16_07_24_9831.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353079839","file1":"1353079835","file0":"1353079804","file4":"1353079874","file5":"1353079884","file3":"1353079846"},"map_files_photo_id_array":[{"photo_id":"1353079884","filename":"file5"},{"photo_id":"1353079839","filename":"file2"},{"photo_id":"1353079874","filename":"file4"},{"photo_id":"1353079835","filename":"file1"},{"photo_id":"1353079804","filename":"file0"},{"photo_id":"1353079846","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353079874":["hashtag1","hashtag2"]},{"1353079835":["hashtag1","hashtag2"]},{"1353079846":["hashtag1","hashtag2"]},{"1353079804":["hashtag1","hashtag2"]},{"1353079884":["hashtag1","hashtag2"]},{"1353079839":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353079874, 1353079835, 1353079846, 1353079804, 1353079884, 1353079839)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.75510382652283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:08:32.458536
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_44_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_34_10804.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_24_9803.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_14_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_08_04_9793.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_54_9771.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_44_9795.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_34_10804.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_24_9803.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_14_9815.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_08_04_9793.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_44_9795.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_34_10804.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_24_9803.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_14_9815.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_08_04_9793.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_54_9771.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7955241203308105 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:09:03.445939
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_44_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_34_10804.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_24_9803.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_14_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_08_04_9793.jpg', 2), ('/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_54_9771.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_44_9795.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_34_10804.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_24_9803.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_14_9815.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_08_04_9793.jpg', '/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_54_9771.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_44_9795.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_34_10804.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_24_9803.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_14_9815.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_08_04_9793.jpg
/home/nano/Desktop/images/23042025/16/07/image_23042025_16_07_54_9771.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080004","1353079988","1353080009","1353080000","1353079984","1353079994"],"photo_ids_order":["1353079984","1353079988","1353079994","1353080000","1353080004","1353080009"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e98cd86555ad2c28a1951ca96fcc120.jpg","text":"TemporaryFile(/tmp/multipartBody6938856213681298981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417405196,"filename":"image_23042025_16_08_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/693907eba0260df58c4b34c17e3563c2.jpg","text":"TemporaryFile(/tmp/multipartBody8015821516699918450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417405196,"filename":"image_23042025_16_08_34_10804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d530955d93b3c61d24ff5711247f9621.jpg","text":"TemporaryFile(/tmp/multipartBody2443792036779027163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417405196,"filename":"image_23042025_16_07_54_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e672d0687c0e3e5640041cdbf6d71de7.jpg","text":"TemporaryFile(/tmp/multipartBody8503650428642993212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417405196,"filename":"image_23042025_16_08_14_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3be6821a23ccfd2bc15a95003ed8e189.jpg","text":"TemporaryFile(/tmp/multipartBody3292652471847916690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417405196,"filename":"image_23042025_16_08_44_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26970865bed3ea155c250c7bec304a73.jpg","text":"TemporaryFile(/tmp/multipartBody6216757018434752482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417405196,"filename":"image_23042025_16_08_24_9803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353079994","file1":"1353079988","file0":"1353079984","file4":"1353080004","file5":"1353080009","file3":"1353080000"},"map_files_photo_id_array":[{"photo_id":"1353080009","filename":"file5"},{"photo_id":"1353079994","filename":"file2"},{"photo_id":"1353080004","filename":"file4"},{"photo_id":"1353079988","filename":"file1"},{"photo_id":"1353079984","filename":"file0"},{"photo_id":"1353080000","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080004":["hashtag1","hashtag2"]},{"1353079988":["hashtag1","hashtag2"]},{"1353080009":["hashtag1","hashtag2"]},{"1353080000":["hashtag1","hashtag2"]},{"1353079984":["hashtag1","hashtag2"]},{"1353079994":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080004, 1353079988, 1353080009, 1353080000, 1353079984, 1353079994)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 52.93438172340393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:10:03.231347
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_44_9804.jpg', 2), ('/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_34_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_24_10781.jpg', 2), ('/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_13_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_09_04_9793.jpg', 2), ('/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_54_9794.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_44_9804.jpg', '/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_34_9738.jpg', '/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_24_10781.jpg', '/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_13_9795.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_09_04_9793.jpg', '/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_54_9794.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_44_9804.jpg
/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_34_9738.jpg
/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_24_10781.jpg
/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_13_9795.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_09_04_9793.jpg
/home/nano/Desktop/images/23042025/16/08/image_23042025_16_08_54_9794.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080063","1353080051","1353080045","1353080056","1353080059","1353080035"],"photo_ids_order":["1353080035","1353080045","1353080051","1353080056","1353080059","1353080063"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80a39879c0dd7e6c106dd1dff39e49e1.jpg","text":"TemporaryFile(/tmp/multipartBody3884896001163326774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417465045,"filename":"image_23042025_16_08_54_9794.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ffb99423003118bbc010ef6fdbc03a7.jpg","text":"TemporaryFile(/tmp/multipartBody6148581399154974048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417465045,"filename":"image_23042025_16_09_24_10781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b41c3d537bfc355a4471b454a7bb4a5c.jpg","text":"TemporaryFile(/tmp/multipartBody1276197433262182285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417465045,"filename":"image_23042025_16_09_34_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbdf1b0bea1677449e549ddd66fd862b.jpg","text":"TemporaryFile(/tmp/multipartBody88326657558866577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417465045,"filename":"image_23042025_16_09_13_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c2de093e4c47bdaddb7c0631144a04c.jpg","text":"TemporaryFile(/tmp/multipartBody5939501141931960870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417465045,"filename":"image_23042025_16_09_04_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/011ab96fae6b09640e10b04f59dc6f43.jpg","text":"TemporaryFile(/tmp/multipartBody4267907390932533156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417465045,"filename":"image_23042025_16_09_44_9804.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080051","file1":"1353080045","file0":"1353080035","file4":"1353080059","file5":"1353080063","file3":"1353080056"},"map_files_photo_id_array":[{"photo_id":"1353080063","filename":"file5"},{"photo_id":"1353080051","filename":"file2"},{"photo_id":"1353080059","filename":"file4"},{"photo_id":"1353080045","filename":"file1"},{"photo_id":"1353080035","filename":"file0"},{"photo_id":"1353080056","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080063":["hashtag1","hashtag2"]},{"1353080051":["hashtag1","hashtag2"]},{"1353080045":["hashtag1","hashtag2"]},{"1353080056":["hashtag1","hashtag2"]},{"1353080059":["hashtag1","hashtag2"]},{"1353080035":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080063, 1353080051, 1353080045, 1353080056, 1353080059, 1353080035)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.67719650268555 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:11:02.521379
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_44_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_34_9786.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_24_9805.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_14_10861.jpg', 2), ('/home/nano/Desktop/images/23042025/16/09/image_23042025_16_10_03_9834.jpg', 2), ('/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_54_9831.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_44_9784.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_34_9786.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_24_9805.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_14_10861.jpg', '/home/nano/Desktop/images/23042025/16/09/image_23042025_16_10_03_9834.jpg', '/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_54_9831.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_44_9784.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_34_9786.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_24_9805.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_14_10861.jpg
/home/nano/Desktop/images/23042025/16/09/image_23042025_16_10_03_9834.jpg
/home/nano/Desktop/images/23042025/16/09/image_23042025_16_09_54_9831.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080127","1353080109","1353080099","1353080114","1353080105","1353080119"],"photo_ids_order":["1353080099","1353080105","1353080109","1353080114","1353080119","1353080127"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22f7844ae880a312810065f188262030.jpg","text":"TemporaryFile(/tmp/multipartBody1863195212004847245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417524587,"filename":"image_23042025_16_09_54_9831.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a6b2a16c98e9585d35310a0edd4cf41.jpg","text":"TemporaryFile(/tmp/multipartBody6355520182391642868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417524587,"filename":"image_23042025_16_10_24_9805.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d63b27c3b1a0c688d0337db0c6c72ae.jpg","text":"TemporaryFile(/tmp/multipartBody2379880504609474442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417524587,"filename":"image_23042025_16_10_44_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3c3234c13feec2d7dccb83290ef7abf.jpg","text":"TemporaryFile(/tmp/multipartBody2337024134609150127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417524587,"filename":"image_23042025_16_10_14_10861.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f1a9c72d31944f9884d5f058f67bb42.jpg","text":"TemporaryFile(/tmp/multipartBody4828139667949075833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417524587,"filename":"image_23042025_16_10_34_9786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3414cd437074c7e6747febfae6be3f70.jpg","text":"TemporaryFile(/tmp/multipartBody3832397036847345386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417524587,"filename":"image_23042025_16_10_03_9834.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080109","file1":"1353080105","file0":"1353080099","file4":"1353080119","file5":"1353080127","file3":"1353080114"},"map_files_photo_id_array":[{"photo_id":"1353080127","filename":"file5"},{"photo_id":"1353080109","filename":"file2"},{"photo_id":"1353080119","filename":"file4"},{"photo_id":"1353080105","filename":"file1"},{"photo_id":"1353080099","filename":"file0"},{"photo_id":"1353080114","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080127":["hashtag1","hashtag2"]},{"1353080109":["hashtag1","hashtag2"]},{"1353080099":["hashtag1","hashtag2"]},{"1353080114":["hashtag1","hashtag2"]},{"1353080105":["hashtag1","hashtag2"]},{"1353080119":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080127, 1353080109, 1353080099, 1353080114, 1353080105, 1353080119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.846928358078 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:12:02.260730
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_44_10945.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_33_9943.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_23_9939.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_13_9962.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_44_10945.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_33_9943.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_23_9939.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_13_9962.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_44_10945.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_33_9943.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_23_9939.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_13_9962.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.463832378387451 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:12:31.861729
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_44_9951.jpg', 2), ('/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_34_9993.jpg', 2), ('/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_24_10030.jpg', 2), ('/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_14_10004.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_12_04_9955.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_54_9943.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_44_9951.jpg', '/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_34_9993.jpg', '/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_24_10030.jpg', '/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_14_10004.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_12_04_9955.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_54_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_44_9951.jpg
/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_34_9993.jpg
/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_24_10030.jpg
/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_14_10004.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_12_04_9955.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_54_9943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080360","1353080342","1353080351","1353080365","1353080356","1353080320"],"photo_ids_order":["1353080320","1353080342","1353080351","1353080356","1353080360","1353080365"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e540b9bc68f9eee4afae4ebf9cf5b2e9.jpg","text":"TemporaryFile(/tmp/multipartBody5951994930189706057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417614996,"filename":"image_23042025_16_12_04_9955.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e878d937a8e3b5483dfeea5d27aa8328.jpg","text":"TemporaryFile(/tmp/multipartBody7289347867048378449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417614996,"filename":"image_23042025_16_12_34_9993.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fd0c2c6650fd3c5170ea963cddd6a06.jpg","text":"TemporaryFile(/tmp/multipartBody52532845496272347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417614996,"filename":"image_23042025_16_12_24_10030.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83f874bcbf516bc62d32877386089be7.jpg","text":"TemporaryFile(/tmp/multipartBody2207262356108606026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417614996,"filename":"image_23042025_16_11_54_9943.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a012b23253c745998b4351c5280987d.jpg","text":"TemporaryFile(/tmp/multipartBody1103710979906572943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417614996,"filename":"image_23042025_16_12_14_10004.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e9c49f032c977bb93a3a18a1e680319.jpg","text":"TemporaryFile(/tmp/multipartBody8189212585138139734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417614996,"filename":"image_23042025_16_12_44_9951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080351","file1":"1353080342","file0":"1353080320","file4":"1353080360","file5":"1353080365","file3":"1353080356"},"map_files_photo_id_array":[{"photo_id":"1353080365","filename":"file5"},{"photo_id":"1353080351","filename":"file2"},{"photo_id":"1353080360","filename":"file4"},{"photo_id":"1353080342","filename":"file1"},{"photo_id":"1353080320","filename":"file0"},{"photo_id":"1353080356","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080360":["hashtag1","hashtag2"]},{"1353080342":["hashtag1","hashtag2"]},{"1353080351":["hashtag1","hashtag2"]},{"1353080365":["hashtag1","hashtag2"]},{"1353080356":["hashtag1","hashtag2"]},{"1353080320":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080360, 1353080342, 1353080351, 1353080365, 1353080356, 1353080320)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.05350160598755 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:13:31.954569
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_44_9910.jpg', 2), ('/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_34_9953.jpg', 2), ('/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_24_9954.jpg', 2), ('/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_14_9981.jpg', 2), ('/home/nano/Desktop/images/23042025/16/12/image_23042025_16_13_04_9962.jpg', 2), ('/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_54_9944.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_44_9910.jpg', '/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_34_9953.jpg', '/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_24_9954.jpg', '/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_14_9981.jpg', '/home/nano/Desktop/images/23042025/16/12/image_23042025_16_13_04_9962.jpg', '/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_54_9944.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_44_9910.jpg
/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_34_9953.jpg
/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_24_9954.jpg
/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_14_9981.jpg
/home/nano/Desktop/images/23042025/16/12/image_23042025_16_13_04_9962.jpg
/home/nano/Desktop/images/23042025/16/12/image_23042025_16_12_54_9944.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080492","1353080479","1353080476","1353080503","1353080484","1353080472"],"photo_ids_order":["1353080472","1353080476","1353080479","1353080484","1353080492","1353080503"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de8292ffdf838ff8a165df6bae6b7b17.jpg","text":"TemporaryFile(/tmp/multipartBody714743321820945720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417675357,"filename":"image_23042025_16_13_04_9962.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b86efb75744917bbd0a3d3a3001a2b9b.jpg","text":"TemporaryFile(/tmp/multipartBody8017955651322686967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417675357,"filename":"image_23042025_16_13_24_9954.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/585eb95776a0acd2825a4a1311929576.jpg","text":"TemporaryFile(/tmp/multipartBody6853500630550516180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417675357,"filename":"image_23042025_16_13_34_9953.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbeef3171c19f20ac8e8e77db5c29d30.jpg","text":"TemporaryFile(/tmp/multipartBody8772742311296682239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417675357,"filename":"image_23042025_16_12_54_9944.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93dec91047d9497ee7d33bd29f15c28d.jpg","text":"TemporaryFile(/tmp/multipartBody1281172703685434218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417675357,"filename":"image_23042025_16_13_14_9981.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f02d23f0179f5a0b0119d79410087325.jpg","text":"TemporaryFile(/tmp/multipartBody3939900576762454603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417675357,"filename":"image_23042025_16_13_44_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080479","file1":"1353080476","file0":"1353080472","file4":"1353080492","file5":"1353080503","file3":"1353080484"},"map_files_photo_id_array":[{"photo_id":"1353080503","filename":"file5"},{"photo_id":"1353080479","filename":"file2"},{"photo_id":"1353080492","filename":"file4"},{"photo_id":"1353080476","filename":"file1"},{"photo_id":"1353080472","filename":"file0"},{"photo_id":"1353080484","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080492":["hashtag1","hashtag2"]},{"1353080479":["hashtag1","hashtag2"]},{"1353080476":["hashtag1","hashtag2"]},{"1353080503":["hashtag1","hashtag2"]},{"1353080484":["hashtag1","hashtag2"]},{"1353080472":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080492, 1353080479, 1353080476, 1353080503, 1353080484, 1353080472)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.758283376693726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:14:32.160552
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_33_9905.jpg', 2), ('/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_24_9882.jpg', 2), ('/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_14_9905.jpg', 2), ('/home/nano/Desktop/images/23042025/16/13/image_23042025_16_14_04_9919.jpg', 2), ('/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_54_9904.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_44_10945.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_33_9905.jpg', '/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_24_9882.jpg', '/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_14_9905.jpg', '/home/nano/Desktop/images/23042025/16/13/image_23042025_16_14_04_9919.jpg', '/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_54_9904.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_44_10945.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_33_9905.jpg
/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_24_9882.jpg
/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_14_9905.jpg
/home/nano/Desktop/images/23042025/16/13/image_23042025_16_14_04_9919.jpg
/home/nano/Desktop/images/23042025/16/13/image_23042025_16_13_54_9904.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_44_10945.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080541","1353080561","1353080531","1353080551","1353080545","1353080557"],"photo_ids_order":["1353080531","1353080541","1353080545","1353080551","1353080557","1353080561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/325872edaffd2676e3b0de0fea3969a1.jpg","text":"TemporaryFile(/tmp/multipartBody2891572564560833223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417735294,"filename":"image_23042025_16_14_24_9882.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f360d0f7e446978010c704f78ff3efbc.jpg","text":"TemporaryFile(/tmp/multipartBody6537201319991090058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417735294,"filename":"image_23042025_16_11_44_10945.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c4953fcf6e295d71fd860cabfb0b949.jpg","text":"TemporaryFile(/tmp/multipartBody666097035414267540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417735294,"filename":"image_23042025_16_14_33_9905.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f01f52544fb67290ed2e8c78ec89c394.jpg","text":"TemporaryFile(/tmp/multipartBody5606800692953680591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417735294,"filename":"image_23042025_16_14_04_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9fcd972aed42ad956c2e7c71fdc4f75.jpg","text":"TemporaryFile(/tmp/multipartBody7372364315768549792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417735294,"filename":"image_23042025_16_14_14_9905.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e15220c9bc3e5dc015f9c8d9d113dc8e.jpg","text":"TemporaryFile(/tmp/multipartBody6779395995270122953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417735294,"filename":"image_23042025_16_13_54_9904.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080545","file1":"1353080541","file0":"1353080531","file4":"1353080557","file5":"1353080561","file3":"1353080551"},"map_files_photo_id_array":[{"photo_id":"1353080561","filename":"file5"},{"photo_id":"1353080545","filename":"file2"},{"photo_id":"1353080557","filename":"file4"},{"photo_id":"1353080541","filename":"file1"},{"photo_id":"1353080531","filename":"file0"},{"photo_id":"1353080551","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080541":["hashtag1","hashtag2"]},{"1353080561":["hashtag1","hashtag2"]},{"1353080531":["hashtag1","hashtag2"]},{"1353080551":["hashtag1","hashtag2"]},{"1353080545":["hashtag1","hashtag2"]},{"1353080557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080541, 1353080561, 1353080531, 1353080551, 1353080545, 1353080557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.14922285079956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:15:32.275963
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_44_9935.jpg', 2), ('/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_34_9928.jpg', 2), ('/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_24_10955.jpg', 2), ('/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_13_9942.jpg', 2), ('/home/nano/Desktop/images/23042025/16/14/image_23042025_16_15_03_9902.jpg', 2), ('/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_54_9208.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_44_9935.jpg', '/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_34_9928.jpg', '/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_24_10955.jpg', '/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_13_9942.jpg', '/home/nano/Desktop/images/23042025/16/14/image_23042025_16_15_03_9902.jpg', '/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_54_9208.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_44_9935.jpg
/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_34_9928.jpg
/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_24_10955.jpg
/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_13_9942.jpg
/home/nano/Desktop/images/23042025/16/14/image_23042025_16_15_03_9902.jpg
/home/nano/Desktop/images/23042025/16/14/image_23042025_16_14_54_9208.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080585","1353080594","1353080581","1353080590","1353080598","1353080577"],"photo_ids_order":["1353080577","1353080581","1353080585","1353080590","1353080594","1353080598"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c8fc9d115ac3099819365f4912a9139.jpg","text":"TemporaryFile(/tmp/multipartBody6387974418771503391asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417794708,"filename":"image_23042025_16_15_24_10955.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c718946d06a46ce9b6a79266522f6f5.jpg","text":"TemporaryFile(/tmp/multipartBody3354924141009213442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417794708,"filename":"image_23042025_16_15_03_9902.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcf40325409b588dd4cbe294ef1c267f.jpg","text":"TemporaryFile(/tmp/multipartBody3024519805811093703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417794708,"filename":"image_23042025_16_15_34_9928.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/623864be47005118a0a2b6072a4d1d9e.jpg","text":"TemporaryFile(/tmp/multipartBody575500327233374405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417794708,"filename":"image_23042025_16_15_13_9942.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0494293049ab2ac7c708183e4f6ad4e.jpg","text":"TemporaryFile(/tmp/multipartBody5977623976146168238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417794708,"filename":"image_23042025_16_14_54_9208.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1044f6709152fe689355f8b9f8a60692.jpg","text":"TemporaryFile(/tmp/multipartBody8781911689946078501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417794708,"filename":"image_23042025_16_15_44_9935.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080585","file1":"1353080581","file0":"1353080577","file4":"1353080594","file5":"1353080598","file3":"1353080590"},"map_files_photo_id_array":[{"photo_id":"1353080598","filename":"file5"},{"photo_id":"1353080585","filename":"file2"},{"photo_id":"1353080594","filename":"file4"},{"photo_id":"1353080581","filename":"file1"},{"photo_id":"1353080577","filename":"file0"},{"photo_id":"1353080590","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080585":["hashtag1","hashtag2"]},{"1353080594":["hashtag1","hashtag2"]},{"1353080581":["hashtag1","hashtag2"]},{"1353080590":["hashtag1","hashtag2"]},{"1353080598":["hashtag1","hashtag2"]},{"1353080577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080585, 1353080594, 1353080581, 1353080590, 1353080598, 1353080577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75976228713989 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:16:32.402783
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_44_9934.jpg', 2), ('/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_34_9938.jpg', 2), ('/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_24_9954.jpg', 2), ('/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_14_9959.jpg', 2), ('/home/nano/Desktop/images/23042025/16/15/image_23042025_16_16_04_9946.jpg', 2), ('/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_54_9964.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_44_9934.jpg', '/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_34_9938.jpg', '/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_24_9954.jpg', '/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_14_9959.jpg', '/home/nano/Desktop/images/23042025/16/15/image_23042025_16_16_04_9946.jpg', '/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_54_9964.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_44_9934.jpg
/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_34_9938.jpg
/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_24_9954.jpg
/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_14_9959.jpg
/home/nano/Desktop/images/23042025/16/15/image_23042025_16_16_04_9946.jpg
/home/nano/Desktop/images/23042025/16/15/image_23042025_16_15_54_9964.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080659","1353080653","1353080635","1353080629","1353080640","1353080622"],"photo_ids_order":["1353080622","1353080629","1353080635","1353080640","1353080653","1353080659"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/410b222f543bc0ece3dc9e3aca098e21.jpg","text":"TemporaryFile(/tmp/multipartBody7841831475263540255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417854649,"filename":"image_23042025_16_15_54_9964.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2327c5606c019f7a3d999c3f350d1ef.jpg","text":"TemporaryFile(/tmp/multipartBody4449456840744487893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417854649,"filename":"image_23042025_16_16_04_9946.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5b801387684bd3bc1e4c62b18567f29.jpg","text":"TemporaryFile(/tmp/multipartBody4195069878648588948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417854649,"filename":"image_23042025_16_16_24_9954.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/951199d0204f9e10dbe5268f0b8ed05c.jpg","text":"TemporaryFile(/tmp/multipartBody8856035712824937742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417854649,"filename":"image_23042025_16_16_34_9938.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cb89f4fcd5361adda1b3b7b2f247ec3.jpg","text":"TemporaryFile(/tmp/multipartBody7826262351161559388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417854649,"filename":"image_23042025_16_16_14_9959.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8f7ec9995c39989b7621c670db6f94d.jpg","text":"TemporaryFile(/tmp/multipartBody2316976686970506409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417854649,"filename":"image_23042025_16_16_44_9934.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080635","file1":"1353080629","file0":"1353080622","file4":"1353080653","file5":"1353080659","file3":"1353080640"},"map_files_photo_id_array":[{"photo_id":"1353080659","filename":"file5"},{"photo_id":"1353080635","filename":"file2"},{"photo_id":"1353080653","filename":"file4"},{"photo_id":"1353080629","filename":"file1"},{"photo_id":"1353080622","filename":"file0"},{"photo_id":"1353080640","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080659":["hashtag1","hashtag2"]},{"1353080653":["hashtag1","hashtag2"]},{"1353080635":["hashtag1","hashtag2"]},{"1353080629":["hashtag1","hashtag2"]},{"1353080640":["hashtag1","hashtag2"]},{"1353080622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080659, 1353080653, 1353080635, 1353080629, 1353080640, 1353080622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.534565687179565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:17:32.506309
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_44_9925.jpg', 2), ('/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_34_9929.jpg', 2), ('/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_24_9927.jpg', 2), ('/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_14_9954.jpg', 2), ('/home/nano/Desktop/images/23042025/16/16/image_23042025_16_17_04_9942.jpg', 2), ('/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_54_9941.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_44_9925.jpg', '/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_34_9929.jpg', '/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_24_9927.jpg', '/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_14_9954.jpg', '/home/nano/Desktop/images/23042025/16/16/image_23042025_16_17_04_9942.jpg', '/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_54_9941.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_44_9925.jpg
/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_34_9929.jpg
/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_24_9927.jpg
/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_14_9954.jpg
/home/nano/Desktop/images/23042025/16/16/image_23042025_16_17_04_9942.jpg
/home/nano/Desktop/images/23042025/16/16/image_23042025_16_16_54_9941.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080709","1353080720","1353080705","1353080698","1353080686","1353080691"],"photo_ids_order":["1353080686","1353080691","1353080698","1353080705","1353080709","1353080720"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a73fe29649e2e08f7a5029db2ab780f.jpg","text":"TemporaryFile(/tmp/multipartBody425818031640925248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417914723,"filename":"image_23042025_16_17_04_9942.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71485e75575105a6e727d81f7d30c119.jpg","text":"TemporaryFile(/tmp/multipartBody5830981481977630093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417914723,"filename":"image_23042025_16_16_54_9941.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5917d55386d9d886245d0cef33501954.jpg","text":"TemporaryFile(/tmp/multipartBody2072208491582934793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417914723,"filename":"image_23042025_16_17_14_9954.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29830b3e22ed63dd39348318a0c85c16.jpg","text":"TemporaryFile(/tmp/multipartBody3140632270423222781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417914723,"filename":"image_23042025_16_17_24_9927.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76b97499cef36135101748bd45e1de4e.jpg","text":"TemporaryFile(/tmp/multipartBody6597319938005325666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417914723,"filename":"image_23042025_16_17_44_9925.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4337bfc6f429aff90e54344226d5bdf1.jpg","text":"TemporaryFile(/tmp/multipartBody5427516832564557167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417914723,"filename":"image_23042025_16_17_34_9929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080698","file1":"1353080691","file0":"1353080686","file4":"1353080709","file5":"1353080720","file3":"1353080705"},"map_files_photo_id_array":[{"photo_id":"1353080720","filename":"file5"},{"photo_id":"1353080698","filename":"file2"},{"photo_id":"1353080709","filename":"file4"},{"photo_id":"1353080691","filename":"file1"},{"photo_id":"1353080686","filename":"file0"},{"photo_id":"1353080705","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080709":["hashtag1","hashtag2"]},{"1353080720":["hashtag1","hashtag2"]},{"1353080705":["hashtag1","hashtag2"]},{"1353080698":["hashtag1","hashtag2"]},{"1353080686":["hashtag1","hashtag2"]},{"1353080691":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080709, 1353080720, 1353080705, 1353080698, 1353080686, 1353080691)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.69021797180176 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:18:32.605966
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_44_9927.jpg', 2), ('/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_34_9928.jpg', 2), ('/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_24_10942.jpg', 2), ('/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_13_9954.jpg', 2), ('/home/nano/Desktop/images/23042025/16/17/image_23042025_16_18_03_9949.jpg', 2), ('/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_53_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_44_9927.jpg', '/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_34_9928.jpg', '/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_24_10942.jpg', '/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_13_9954.jpg', '/home/nano/Desktop/images/23042025/16/17/image_23042025_16_18_03_9949.jpg', '/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_53_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_44_9927.jpg
/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_34_9928.jpg
/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_24_10942.jpg
/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_13_9954.jpg
/home/nano/Desktop/images/23042025/16/17/image_23042025_16_18_03_9949.jpg
/home/nano/Desktop/images/23042025/16/17/image_23042025_16_17_53_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080771","1353080762","1353080756","1353080794","1353080767","1353080787"],"photo_ids_order":["1353080756","1353080762","1353080767","1353080771","1353080787","1353080794"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e8742cfb8259ba8abf1b675d8c0bc72.jpg","text":"TemporaryFile(/tmp/multipartBody6250514231125336621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417974857,"filename":"image_23042025_16_18_13_9954.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/241a2c1581e0c0e893006983096a9b5b.jpg","text":"TemporaryFile(/tmp/multipartBody3059366354304750242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417974857,"filename":"image_23042025_16_18_34_9928.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/693270b7d9ceea5df2fbebcc10adc295.jpg","text":"TemporaryFile(/tmp/multipartBody4723133084660194894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417974857,"filename":"image_23042025_16_18_44_9927.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1203fe4cea67dc0924b09a7b16a9b1f3.jpg","text":"TemporaryFile(/tmp/multipartBody4620690807669829495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417974857,"filename":"image_23042025_16_17_53_9922.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43dc62d67f446254ea5e136642af7e8f.jpg","text":"TemporaryFile(/tmp/multipartBody4980104605672475574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417974857,"filename":"image_23042025_16_18_24_10942.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bbb35fa023de9e3b1a97f1b305a09c5.jpg","text":"TemporaryFile(/tmp/multipartBody4674720191165482133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745417974857,"filename":"image_23042025_16_18_03_9949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080767","file1":"1353080762","file0":"1353080756","file4":"1353080787","file5":"1353080794","file3":"1353080771"},"map_files_photo_id_array":[{"photo_id":"1353080794","filename":"file5"},{"photo_id":"1353080767","filename":"file2"},{"photo_id":"1353080787","filename":"file4"},{"photo_id":"1353080762","filename":"file1"},{"photo_id":"1353080756","filename":"file0"},{"photo_id":"1353080771","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080771":["hashtag1","hashtag2"]},{"1353080762":["hashtag1","hashtag2"]},{"1353080756":["hashtag1","hashtag2"]},{"1353080794":["hashtag1","hashtag2"]},{"1353080767":["hashtag1","hashtag2"]},{"1353080787":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080771, 1353080762, 1353080756, 1353080794, 1353080767, 1353080787)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.41694784164429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:19:32.692071
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_44_10056.jpg', 2), ('/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_24_9929.jpg', 2), ('/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_14_9936.jpg', 2), ('/home/nano/Desktop/images/23042025/16/18/image_23042025_16_19_04_9925.jpg', 2), ('/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_54_9952.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_33_9943.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_44_10056.jpg', '/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_24_9929.jpg', '/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_14_9936.jpg', '/home/nano/Desktop/images/23042025/16/18/image_23042025_16_19_04_9925.jpg', '/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_54_9952.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_33_9943.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_44_10056.jpg
/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_24_9929.jpg
/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_14_9936.jpg
/home/nano/Desktop/images/23042025/16/18/image_23042025_16_19_04_9925.jpg
/home/nano/Desktop/images/23042025/16/18/image_23042025_16_18_54_9952.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_33_9943.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080832","1353080858","1353080849","1353080843","1353080827","1353080853"],"photo_ids_order":["1353080827","1353080832","1353080843","1353080849","1353080853","1353080858"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dba1683cf110383b2f6451bbd19b6744.jpg","text":"TemporaryFile(/tmp/multipartBody5000250759794056170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418035109,"filename":"image_23042025_16_19_24_9929.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d774774558621ff96bff32a5815472e.jpg","text":"TemporaryFile(/tmp/multipartBody874695254011674089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418035109,"filename":"image_23042025_16_11_33_9943.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65cd0934c0b4326bba19911f69390333.jpg","text":"TemporaryFile(/tmp/multipartBody9047708690234140196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418035109,"filename":"image_23042025_16_19_04_9925.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55ed92291a8408408194c20da987a642.jpg","text":"TemporaryFile(/tmp/multipartBody456292908147182599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418035109,"filename":"image_23042025_16_19_14_9936.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e35a7b302d457456472b5fa470494f83.jpg","text":"TemporaryFile(/tmp/multipartBody2071596317468041139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418035109,"filename":"image_23042025_16_19_44_10056.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c53a089d5b95336e24c021f47a281ec4.jpg","text":"TemporaryFile(/tmp/multipartBody582120556778049615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418035109,"filename":"image_23042025_16_18_54_9952.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080843","file1":"1353080832","file0":"1353080827","file4":"1353080853","file5":"1353080858","file3":"1353080849"},"map_files_photo_id_array":[{"photo_id":"1353080858","filename":"file5"},{"photo_id":"1353080843","filename":"file2"},{"photo_id":"1353080853","filename":"file4"},{"photo_id":"1353080832","filename":"file1"},{"photo_id":"1353080827","filename":"file0"},{"photo_id":"1353080849","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080832":["hashtag1","hashtag2"]},{"1353080858":["hashtag1","hashtag2"]},{"1353080849":["hashtag1","hashtag2"]},{"1353080843":["hashtag1","hashtag2"]},{"1353080827":["hashtag1","hashtag2"]},{"1353080853":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080832, 1353080858, 1353080849, 1353080843, 1353080827, 1353080853)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.773707151412964 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:20:31.797724
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_44_9911.jpg', 2), ('/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_34_9940.jpg', 2), ('/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_24_9984.jpg', 2), ('/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_14_9983.jpg', 2), ('/home/nano/Desktop/images/23042025/16/19/image_23042025_16_20_04_9953.jpg', 2), ('/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_54_9938.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_44_9911.jpg', '/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_34_9940.jpg', '/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_24_9984.jpg', '/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_14_9983.jpg', '/home/nano/Desktop/images/23042025/16/19/image_23042025_16_20_04_9953.jpg', '/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_54_9938.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_44_9911.jpg
/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_34_9940.jpg
/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_24_9984.jpg
/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_14_9983.jpg
/home/nano/Desktop/images/23042025/16/19/image_23042025_16_20_04_9953.jpg
/home/nano/Desktop/images/23042025/16/19/image_23042025_16_19_54_9938.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080901","1353080910","1353080912","1353080893","1353080884","1353080889"],"photo_ids_order":["1353080884","1353080889","1353080893","1353080901","1353080910","1353080912"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50fda4691334868e0d8d5c766e710f40.jpg","text":"TemporaryFile(/tmp/multipartBody3150958299236270441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418093641,"filename":"image_23042025_16_20_14_9983.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d25355b8ae6f11f455b164c7a8f61694.jpg","text":"TemporaryFile(/tmp/multipartBody6923074908367639166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418093641,"filename":"image_23042025_16_20_04_9953.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43aa25f6e19461a44f2fad301aa7139f.jpg","text":"TemporaryFile(/tmp/multipartBody8165140521760779634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418093641,"filename":"image_23042025_16_19_54_9938.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6661f4f35e4e2843a02ef499ddd69af.jpg","text":"TemporaryFile(/tmp/multipartBody6525821458484282110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418093641,"filename":"image_23042025_16_20_24_9984.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35b2b199bd8562bb113d90530f5c338c.jpg","text":"TemporaryFile(/tmp/multipartBody5923715616563182249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418093641,"filename":"image_23042025_16_20_44_9911.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c49cd5584b98e6ab2cc7010ab9f556a2.jpg","text":"TemporaryFile(/tmp/multipartBody4648920473587045609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418093641,"filename":"image_23042025_16_20_34_9940.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080893","file1":"1353080889","file0":"1353080884","file4":"1353080910","file5":"1353080912","file3":"1353080901"},"map_files_photo_id_array":[{"photo_id":"1353080912","filename":"file5"},{"photo_id":"1353080893","filename":"file2"},{"photo_id":"1353080910","filename":"file4"},{"photo_id":"1353080889","filename":"file1"},{"photo_id":"1353080884","filename":"file0"},{"photo_id":"1353080901","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080901":["hashtag1","hashtag2"]},{"1353080910":["hashtag1","hashtag2"]},{"1353080912":["hashtag1","hashtag2"]},{"1353080893":["hashtag1","hashtag2"]},{"1353080884":["hashtag1","hashtag2"]},{"1353080889":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080901, 1353080910, 1353080912, 1353080893, 1353080884, 1353080889)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.214903831481934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:21:31.875057
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_44_9925.jpg', 2), ('/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_34_10927.jpg', 2), ('/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_23_9950.jpg', 2), ('/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_13_9955.jpg', 2), ('/home/nano/Desktop/images/23042025/16/20/image_23042025_16_21_03_9938.jpg', 2), ('/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_54_9924.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_44_9925.jpg', '/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_34_10927.jpg', '/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_23_9950.jpg', '/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_13_9955.jpg', '/home/nano/Desktop/images/23042025/16/20/image_23042025_16_21_03_9938.jpg', '/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_54_9924.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_44_9925.jpg
/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_34_10927.jpg
/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_23_9950.jpg
/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_13_9955.jpg
/home/nano/Desktop/images/23042025/16/20/image_23042025_16_21_03_9938.jpg
/home/nano/Desktop/images/23042025/16/20/image_23042025_16_20_54_9924.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353080943","1353080954","1353080959","1353080950","1353080938","1353080964"],"photo_ids_order":["1353080938","1353080943","1353080950","1353080954","1353080959","1353080964"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e457860794b9752e2bb050f6743b11d.jpg","text":"TemporaryFile(/tmp/multipartBody493253247927113030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418154099,"filename":"image_23042025_16_21_34_10927.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c25dd56034b353518ba626131a286183.jpg","text":"TemporaryFile(/tmp/multipartBody1507583929500281692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418154099,"filename":"image_23042025_16_21_13_9955.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3eaece8c3790f438b8443066d2bd1c50.jpg","text":"TemporaryFile(/tmp/multipartBody1856171942771294249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418154099,"filename":"image_23042025_16_21_03_9938.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91c564cb3b40b87e2e15034b28412942.jpg","text":"TemporaryFile(/tmp/multipartBody4958066053008347759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418154099,"filename":"image_23042025_16_21_23_9950.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/195c5dea0dabcd226970da4e12f098a4.jpg","text":"TemporaryFile(/tmp/multipartBody4977081447876397461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418154099,"filename":"image_23042025_16_21_44_9925.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcd3c9889d11095e92c5bf4e1ff0d387.jpg","text":"TemporaryFile(/tmp/multipartBody7322335183987296562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418154099,"filename":"image_23042025_16_20_54_9924.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353080950","file1":"1353080943","file0":"1353080938","file4":"1353080959","file5":"1353080964","file3":"1353080954"},"map_files_photo_id_array":[{"photo_id":"1353080964","filename":"file5"},{"photo_id":"1353080950","filename":"file2"},{"photo_id":"1353080959","filename":"file4"},{"photo_id":"1353080943","filename":"file1"},{"photo_id":"1353080938","filename":"file0"},{"photo_id":"1353080954","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353080943":["hashtag1","hashtag2"]},{"1353080954":["hashtag1","hashtag2"]},{"1353080959":["hashtag1","hashtag2"]},{"1353080950":["hashtag1","hashtag2"]},{"1353080938":["hashtag1","hashtag2"]},{"1353080964":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353080943, 1353080954, 1353080959, 1353080950, 1353080938, 1353080964)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.5548255443573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:22:31.973006
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_44_9914.jpg', 2), ('/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_34_9912.jpg', 2), ('/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_24_9926.jpg', 2), ('/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_14_9942.jpg', 2), ('/home/nano/Desktop/images/23042025/16/21/image_23042025_16_22_04_9923.jpg', 2), ('/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_54_9922.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_44_9914.jpg', '/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_34_9912.jpg', '/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_24_9926.jpg', '/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_14_9942.jpg', '/home/nano/Desktop/images/23042025/16/21/image_23042025_16_22_04_9923.jpg', '/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_54_9922.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_44_9914.jpg
/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_34_9912.jpg
/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_24_9926.jpg
/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_14_9942.jpg
/home/nano/Desktop/images/23042025/16/21/image_23042025_16_22_04_9923.jpg
/home/nano/Desktop/images/23042025/16/21/image_23042025_16_21_54_9922.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081056","1353081044","1353081032","1353081040","1353081063","1353081060"],"photo_ids_order":["1353081032","1353081040","1353081044","1353081056","1353081060","1353081063"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/571e83ccf1f10884f753c9700671a768.jpg","text":"TemporaryFile(/tmp/multipartBody4714117636702580068asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418214306,"filename":"image_23042025_16_22_14_9942.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b01a96f50c8402eaa96fb71c76e69206.jpg","text":"TemporaryFile(/tmp/multipartBody6839658924805103930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418214306,"filename":"image_23042025_16_22_24_9926.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9f5cfd5564b661d7b48f1904c125d40.jpg","text":"TemporaryFile(/tmp/multipartBody122758938243389467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418214306,"filename":"image_23042025_16_22_44_9914.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c38ed451849902b968908d977d37001.jpg","text":"TemporaryFile(/tmp/multipartBody7364720047113204808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418214306,"filename":"image_23042025_16_22_34_9912.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/399facff502a62ac7eaf0ea3cec13097.jpg","text":"TemporaryFile(/tmp/multipartBody3274799562441740953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418214306,"filename":"image_23042025_16_21_54_9922.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1e9d0e673f974dc28ef148042307afa.jpg","text":"TemporaryFile(/tmp/multipartBody3334008964474011214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418214306,"filename":"image_23042025_16_22_04_9923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081044","file1":"1353081040","file0":"1353081032","file4":"1353081060","file5":"1353081063","file3":"1353081056"},"map_files_photo_id_array":[{"photo_id":"1353081063","filename":"file5"},{"photo_id":"1353081044","filename":"file2"},{"photo_id":"1353081060","filename":"file4"},{"photo_id":"1353081040","filename":"file1"},{"photo_id":"1353081032","filename":"file0"},{"photo_id":"1353081056","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081056":["hashtag1","hashtag2"]},{"1353081044":["hashtag1","hashtag2"]},{"1353081032":["hashtag1","hashtag2"]},{"1353081040":["hashtag1","hashtag2"]},{"1353081063":["hashtag1","hashtag2"]},{"1353081060":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081056, 1353081044, 1353081032, 1353081040, 1353081063, 1353081060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.74763894081116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:23:32.059716
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_44_9854.jpg', 2), ('/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_34_10866.jpg', 2), ('/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_23_9917.jpg', 2), ('/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_14_9945.jpg', 2), ('/home/nano/Desktop/images/23042025/16/22/image_23042025_16_23_04_9921.jpg', 2), ('/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_54_9914.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_44_9854.jpg', '/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_34_10866.jpg', '/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_23_9917.jpg', '/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_14_9945.jpg', '/home/nano/Desktop/images/23042025/16/22/image_23042025_16_23_04_9921.jpg', '/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_54_9914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_44_9854.jpg
/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_34_10866.jpg
/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_23_9917.jpg
/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_14_9945.jpg
/home/nano/Desktop/images/23042025/16/22/image_23042025_16_23_04_9921.jpg
/home/nano/Desktop/images/23042025/16/22/image_23042025_16_22_54_9914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081149","1353081187","1353081175","1353081157","1353081183","1353081165"],"photo_ids_order":["1353081149","1353081157","1353081165","1353081175","1353081183","1353081187"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/339689b332571f7b4d4423df77a0215c.jpg","text":"TemporaryFile(/tmp/multipartBody6346279650505750531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418274135,"filename":"image_23042025_16_23_44_9854.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e33f7985dd4baceb38ead7fa0a2acd6.jpg","text":"TemporaryFile(/tmp/multipartBody4184396747686407160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418274135,"filename":"image_23042025_16_22_54_9914.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/761216c17a114690966b20117a82e7c6.jpg","text":"TemporaryFile(/tmp/multipartBody4101312044202454986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418274135,"filename":"image_23042025_16_23_14_9945.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8a78cc53517432dd78f870426b0b0e4.jpg","text":"TemporaryFile(/tmp/multipartBody8563052870200854219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418274135,"filename":"image_23042025_16_23_34_10866.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f8e2efabf35999e36ad9970fc21476b.jpg","text":"TemporaryFile(/tmp/multipartBody2074681557876825621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418274135,"filename":"image_23042025_16_23_04_9921.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf56ecc87c312c9bde66ffd7805106b9.jpg","text":"TemporaryFile(/tmp/multipartBody584004649619547701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418274135,"filename":"image_23042025_16_23_23_9917.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081165","file1":"1353081157","file0":"1353081149","file4":"1353081183","file5":"1353081187","file3":"1353081175"},"map_files_photo_id_array":[{"photo_id":"1353081187","filename":"file5"},{"photo_id":"1353081165","filename":"file2"},{"photo_id":"1353081183","filename":"file4"},{"photo_id":"1353081157","filename":"file1"},{"photo_id":"1353081149","filename":"file0"},{"photo_id":"1353081175","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081149":["hashtag1","hashtag2"]},{"1353081187":["hashtag1","hashtag2"]},{"1353081175":["hashtag1","hashtag2"]},{"1353081157":["hashtag1","hashtag2"]},{"1353081183":["hashtag1","hashtag2"]},{"1353081165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081149, 1353081187, 1353081175, 1353081157, 1353081183, 1353081165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.42493224143982 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:24:32.205948
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_44_9891.jpg', 2), ('/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_34_9903.jpg', 2), ('/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_24_9924.jpg', 2), ('/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_14_9931.jpg', 2), ('/home/nano/Desktop/images/23042025/16/23/image_23042025_16_24_04_9894.jpg', 2), ('/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_54_9876.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_44_9891.jpg', '/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_34_9903.jpg', '/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_24_9924.jpg', '/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_14_9931.jpg', '/home/nano/Desktop/images/23042025/16/23/image_23042025_16_24_04_9894.jpg', '/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_54_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_44_9891.jpg
/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_34_9903.jpg
/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_24_9924.jpg
/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_14_9931.jpg
/home/nano/Desktop/images/23042025/16/23/image_23042025_16_24_04_9894.jpg
/home/nano/Desktop/images/23042025/16/23/image_23042025_16_23_54_9876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081230","1353081224","1353081218","1353081238","1353081264","1353081243"],"photo_ids_order":["1353081218","1353081224","1353081230","1353081238","1353081243","1353081264"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d40152b60f4324d106f40a5e016c940c.jpg","text":"TemporaryFile(/tmp/multipartBody2665704061717626387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418334004,"filename":"image_23042025_16_24_24_9924.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4a292dfbbcda306f49dff868dea891d.jpg","text":"TemporaryFile(/tmp/multipartBody1938692272500445630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418334004,"filename":"image_23042025_16_24_34_9903.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2b1f999c3e721fc66ea0680ae71e8a3.jpg","text":"TemporaryFile(/tmp/multipartBody8618527250916375316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418334004,"filename":"image_23042025_16_24_44_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dba719910c39f569197d10da4ec5cfda.jpg","text":"TemporaryFile(/tmp/multipartBody5756277315464936733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418334004,"filename":"image_23042025_16_24_14_9931.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92c0e5ca34e2cb255c577e34e4a39f6a.jpg","text":"TemporaryFile(/tmp/multipartBody4127072222101723158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418334004,"filename":"image_23042025_16_23_54_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e57f9a3b84535323ba9a5da1bf303253.jpg","text":"TemporaryFile(/tmp/multipartBody2927357290900015602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418334004,"filename":"image_23042025_16_24_04_9894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081230","file1":"1353081224","file0":"1353081218","file4":"1353081243","file5":"1353081264","file3":"1353081238"},"map_files_photo_id_array":[{"photo_id":"1353081264","filename":"file5"},{"photo_id":"1353081230","filename":"file2"},{"photo_id":"1353081243","filename":"file4"},{"photo_id":"1353081224","filename":"file1"},{"photo_id":"1353081218","filename":"file0"},{"photo_id":"1353081238","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081230":["hashtag1","hashtag2"]},{"1353081224":["hashtag1","hashtag2"]},{"1353081218":["hashtag1","hashtag2"]},{"1353081238":["hashtag1","hashtag2"]},{"1353081264":["hashtag1","hashtag2"]},{"1353081243":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081230, 1353081224, 1353081218, 1353081238, 1353081264, 1353081243)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.307904958724976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:25:32.314004
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_44_9905.jpg', 2), ('/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_34_9905.jpg', 2), ('/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_24_9857.jpg', 2), ('/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_14_10930.jpg', 2), ('/home/nano/Desktop/images/23042025/16/24/image_23042025_16_25_03_9927.jpg', 2), ('/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_53_9891.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_44_9905.jpg', '/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_34_9905.jpg', '/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_24_9857.jpg', '/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_14_10930.jpg', '/home/nano/Desktop/images/23042025/16/24/image_23042025_16_25_03_9927.jpg', '/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_53_9891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_44_9905.jpg
/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_34_9905.jpg
/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_24_9857.jpg
/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_14_10930.jpg
/home/nano/Desktop/images/23042025/16/24/image_23042025_16_25_03_9927.jpg
/home/nano/Desktop/images/23042025/16/24/image_23042025_16_24_53_9891.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081293","1353081311","1353081314","1353081298","1353081288","1353081307"],"photo_ids_order":["1353081288","1353081293","1353081298","1353081307","1353081311","1353081314"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e15ad42e9751f7057c78a926d851590.jpg","text":"TemporaryFile(/tmp/multipartBody6714138689932862062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418394731,"filename":"image_23042025_16_25_34_9905.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64cb538a1d7a934ed5411b98c9df7f0b.jpg","text":"TemporaryFile(/tmp/multipartBody4733259518634906401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418394731,"filename":"image_23042025_16_25_03_9927.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/087160920f3644f86eb34d2845e7ef84.jpg","text":"TemporaryFile(/tmp/multipartBody7225421011129466160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418394731,"filename":"image_23042025_16_24_53_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/781e0db42a72ca64b4bdf596628d3c28.jpg","text":"TemporaryFile(/tmp/multipartBody472788784432333720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418394731,"filename":"image_23042025_16_25_24_9857.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f057d83e74f2a5863979c9c7690623c.jpg","text":"TemporaryFile(/tmp/multipartBody2749278547704441730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418394731,"filename":"image_23042025_16_25_44_9905.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5956e014d107f8db00de60b82f7c4629.jpg","text":"TemporaryFile(/tmp/multipartBody6256606868020334122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418394731,"filename":"image_23042025_16_25_14_10930.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081298","file1":"1353081293","file0":"1353081288","file4":"1353081311","file5":"1353081314","file3":"1353081307"},"map_files_photo_id_array":[{"photo_id":"1353081314","filename":"file5"},{"photo_id":"1353081298","filename":"file2"},{"photo_id":"1353081311","filename":"file4"},{"photo_id":"1353081293","filename":"file1"},{"photo_id":"1353081288","filename":"file0"},{"photo_id":"1353081307","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081293":["hashtag1","hashtag2"]},{"1353081311":["hashtag1","hashtag2"]},{"1353081314":["hashtag1","hashtag2"]},{"1353081298":["hashtag1","hashtag2"]},{"1353081288":["hashtag1","hashtag2"]},{"1353081307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081293, 1353081311, 1353081314, 1353081298, 1353081288, 1353081307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.51456665992737 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:26:32.428110
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_43_9900.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_34_9884.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_24_9881.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_14_9912.jpg', 2), ('/home/nano/Desktop/images/23042025/16/25/image_23042025_16_26_04_9913.jpg', 2), ('/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_54_9908.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_43_9900.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_34_9884.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_24_9881.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_14_9912.jpg', '/home/nano/Desktop/images/23042025/16/25/image_23042025_16_26_04_9913.jpg', '/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_54_9908.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_43_9900.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_34_9884.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_24_9881.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_14_9912.jpg
/home/nano/Desktop/images/23042025/16/25/image_23042025_16_26_04_9913.jpg
/home/nano/Desktop/images/23042025/16/25/image_23042025_16_25_54_9908.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081347","1353081377","1353081350","1353081364","1353081343","1353081357"],"photo_ids_order":["1353081343","1353081347","1353081350","1353081357","1353081364","1353081377"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/386a1064d9aa554de28ac2d99726b319.jpg","text":"TemporaryFile(/tmp/multipartBody3873881488055114706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418454817,"filename":"image_23042025_16_26_34_9884.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d2ee24f726c933fdca1680b66c257a1.jpg","text":"TemporaryFile(/tmp/multipartBody6204545975904286523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418454817,"filename":"image_23042025_16_25_54_9908.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/976d2b7808d5305d32be83a48f15e8d8.jpg","text":"TemporaryFile(/tmp/multipartBody8752312651674233397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418454817,"filename":"image_23042025_16_26_24_9881.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e020c3182749a5966d72bcf1eae839d.jpg","text":"TemporaryFile(/tmp/multipartBody884773155556080959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418454817,"filename":"image_23042025_16_26_04_9913.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a1e06d2d306169714d000ee3fe94e7e.jpg","text":"TemporaryFile(/tmp/multipartBody4586595511569268304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418454817,"filename":"image_23042025_16_26_43_9900.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/578ade213204463fc50060e5db0c8792.jpg","text":"TemporaryFile(/tmp/multipartBody5732466189860706677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418454817,"filename":"image_23042025_16_26_14_9912.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081350","file1":"1353081347","file0":"1353081343","file4":"1353081364","file5":"1353081377","file3":"1353081357"},"map_files_photo_id_array":[{"photo_id":"1353081377","filename":"file5"},{"photo_id":"1353081350","filename":"file2"},{"photo_id":"1353081364","filename":"file4"},{"photo_id":"1353081347","filename":"file1"},{"photo_id":"1353081343","filename":"file0"},{"photo_id":"1353081357","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081347":["hashtag1","hashtag2"]},{"1353081377":["hashtag1","hashtag2"]},{"1353081350":["hashtag1","hashtag2"]},{"1353081364":["hashtag1","hashtag2"]},{"1353081343":["hashtag1","hashtag2"]},{"1353081357":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081347, 1353081377, 1353081350, 1353081364, 1353081343, 1353081357)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.736011266708374 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:27:32.514305
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_44_9890.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_34_9879.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_24_9895.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_14_9910.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_27_04_9923.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_54_10914.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_44_9890.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_34_9879.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_24_9895.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_14_9910.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_27_04_9923.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_54_10914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_44_9890.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_34_9879.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_24_9895.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_14_9910.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_27_04_9923.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_54_10914.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.11004376411438 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:28:03.131488
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_44_9890.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_34_9879.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_24_9895.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_14_9910.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_27_04_9923.jpg', 2), ('/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_54_10914.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_44_9890.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_34_9879.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_24_9895.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_14_9910.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_27_04_9923.jpg', '/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_54_10914.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_44_9890.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_34_9879.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_24_9895.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_14_9910.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_27_04_9923.jpg
/home/nano/Desktop/images/23042025/16/26/image_23042025_16_26_54_10914.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081434","1353081437","1353081457","1353081453","1353081441","1353081447"],"photo_ids_order":["1353081434","1353081437","1353081441","1353081447","1353081453","1353081457"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8397de599fc947854ecf67121095776.jpg","text":"TemporaryFile(/tmp/multipartBody5798387487387910574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418545420,"filename":"image_23042025_16_27_44_9890.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba8db34bd18e7f3bc7fc87ddfe4c58e4.jpg","text":"TemporaryFile(/tmp/multipartBody5552673210438639794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418545420,"filename":"image_23042025_16_27_34_9879.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/369cccf63a74c06da518d60b94f043cf.jpg","text":"TemporaryFile(/tmp/multipartBody236706504231415203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418545420,"filename":"image_23042025_16_26_54_10914.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34bd6d8ebe8ba8db17e62ddcd566f9a1.jpg","text":"TemporaryFile(/tmp/multipartBody7612086481034509153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418545420,"filename":"image_23042025_16_27_04_9923.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2443a51d9a83243007e128179e2661b3.jpg","text":"TemporaryFile(/tmp/multipartBody6553782036338194504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418545420,"filename":"image_23042025_16_27_24_9895.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5345e925c68aa1b0f8cc059cb6543d9.jpg","text":"TemporaryFile(/tmp/multipartBody1966015001728369995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418545420,"filename":"image_23042025_16_27_14_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081441","file1":"1353081437","file0":"1353081434","file4":"1353081453","file5":"1353081457","file3":"1353081447"},"map_files_photo_id_array":[{"photo_id":"1353081457","filename":"file5"},{"photo_id":"1353081441","filename":"file2"},{"photo_id":"1353081453","filename":"file4"},{"photo_id":"1353081437","filename":"file1"},{"photo_id":"1353081434","filename":"file0"},{"photo_id":"1353081447","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081434":["hashtag1","hashtag2"]},{"1353081437":["hashtag1","hashtag2"]},{"1353081457":["hashtag1","hashtag2"]},{"1353081453":["hashtag1","hashtag2"]},{"1353081441":["hashtag1","hashtag2"]},{"1353081447":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081434, 1353081437, 1353081457, 1353081453, 1353081441, 1353081447)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.91013431549072 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:29:03.671062
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_44_10930.jpg', 2), ('/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_33_9908.jpg', 2), ('/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_23_9916.jpg', 2), ('/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_14_9920.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_28_04_9899.jpg', 2), ('/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_54_9902.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_44_10930.jpg', '/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_33_9908.jpg', '/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_23_9916.jpg', '/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_14_9920.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_28_04_9899.jpg', '/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_54_9902.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_44_10930.jpg
/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_33_9908.jpg
/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_23_9916.jpg
/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_14_9920.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_28_04_9899.jpg
/home/nano/Desktop/images/23042025/16/27/image_23042025_16_27_54_9902.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081521","1353081515","1353081512","1353081496","1353081508","1353081502"],"photo_ids_order":["1353081496","1353081502","1353081508","1353081512","1353081515","1353081521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a902b1d0187a56cc3dd1448ff8cee6c6.jpg","text":"TemporaryFile(/tmp/multipartBody54665739075324721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418606427,"filename":"image_23042025_16_27_54_9902.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6cc06a943b588ab64d983012378d4d71.jpg","text":"TemporaryFile(/tmp/multipartBody7821760034665699013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418606427,"filename":"image_23042025_16_28_04_9899.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/316520a8871b293ad34cb241d45f9352.jpg","text":"TemporaryFile(/tmp/multipartBody4846851399022042404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418606427,"filename":"image_23042025_16_28_14_9920.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/194c4a598ba5acd0784399384da39a65.jpg","text":"TemporaryFile(/tmp/multipartBody5059720221378016189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418606427,"filename":"image_23042025_16_28_44_10930.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f7a88b3b7e286d652294c1f3c777e88.jpg","text":"TemporaryFile(/tmp/multipartBody5338923807540378082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418606427,"filename":"image_23042025_16_28_23_9916.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65880276c63a2ea110f18882d0c09071.jpg","text":"TemporaryFile(/tmp/multipartBody1586271825053219805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418606427,"filename":"image_23042025_16_28_33_9908.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081508","file1":"1353081502","file0":"1353081496","file4":"1353081515","file5":"1353081521","file3":"1353081512"},"map_files_photo_id_array":[{"photo_id":"1353081521","filename":"file5"},{"photo_id":"1353081508","filename":"file2"},{"photo_id":"1353081515","filename":"file4"},{"photo_id":"1353081502","filename":"file1"},{"photo_id":"1353081496","filename":"file0"},{"photo_id":"1353081512","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081521":["hashtag1","hashtag2"]},{"1353081515":["hashtag1","hashtag2"]},{"1353081512":["hashtag1","hashtag2"]},{"1353081496":["hashtag1","hashtag2"]},{"1353081508":["hashtag1","hashtag2"]},{"1353081502":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081521, 1353081515, 1353081512, 1353081496, 1353081508, 1353081502)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.19186305999756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:30:02.448975
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_44_9896.jpg', 2), ('/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_34_9885.jpg', 2), ('/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_24_9876.jpg', 2), ('/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_14_9981.jpg', 2), ('/home/nano/Desktop/images/23042025/16/28/image_23042025_16_29_04_9894.jpg', 2), ('/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_54_9909.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_44_9896.jpg', '/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_34_9885.jpg', '/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_24_9876.jpg', '/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_14_9981.jpg', '/home/nano/Desktop/images/23042025/16/28/image_23042025_16_29_04_9894.jpg', '/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_54_9909.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_44_9896.jpg
/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_34_9885.jpg
/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_24_9876.jpg
/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_14_9981.jpg
/home/nano/Desktop/images/23042025/16/28/image_23042025_16_29_04_9894.jpg
/home/nano/Desktop/images/23042025/16/28/image_23042025_16_28_54_9909.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353081599","1353081590","1353081580","1353081585","1353081606","1353081596"],"photo_ids_order":["1353081580","1353081585","1353081590","1353081596","1353081599","1353081606"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12b6ab363f4d1c4e90ce5f544669462b.jpg","text":"TemporaryFile(/tmp/multipartBody7726240129375281986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418664957,"filename":"image_23042025_16_29_04_9894.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5d8907d6cd1ef73f51e3efb992698a4.jpg","text":"TemporaryFile(/tmp/multipartBody3496589534047450940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418664957,"filename":"image_23042025_16_29_24_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/490101e6ea50d0e4f4c3e72e67548439.jpg","text":"TemporaryFile(/tmp/multipartBody8840643300107520714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418664957,"filename":"image_23042025_16_29_44_9896.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/745ac51a58ff34be774b1be5156f34ac.jpg","text":"TemporaryFile(/tmp/multipartBody5806234004708670067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418664957,"filename":"image_23042025_16_29_34_9885.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98c4292ec9f19bb762222b84b71b6aa3.jpg","text":"TemporaryFile(/tmp/multipartBody4410118409984512155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418664957,"filename":"image_23042025_16_28_54_9909.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0039fc7f2b41274c7540eabcdd34bf42.jpg","text":"TemporaryFile(/tmp/multipartBody2072819534205378661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418664957,"filename":"image_23042025_16_29_14_9981.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353081590","file1":"1353081585","file0":"1353081580","file4":"1353081599","file5":"1353081606","file3":"1353081596"},"map_files_photo_id_array":[{"photo_id":"1353081606","filename":"file5"},{"photo_id":"1353081590","filename":"file2"},{"photo_id":"1353081599","filename":"file4"},{"photo_id":"1353081585","filename":"file1"},{"photo_id":"1353081580","filename":"file0"},{"photo_id":"1353081596","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353081599":["hashtag1","hashtag2"]},{"1353081590":["hashtag1","hashtag2"]},{"1353081580":["hashtag1","hashtag2"]},{"1353081585":["hashtag1","hashtag2"]},{"1353081606":["hashtag1","hashtag2"]},{"1353081596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353081599, 1353081590, 1353081580, 1353081585, 1353081606, 1353081596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.94131922721863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:31:02.699728
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_44_9876.jpg', 2), ('/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_34_9857.jpg', 2), ('/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_24_10855.jpg', 2), ('/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_13_9888.jpg', 2), ('/home/nano/Desktop/images/23042025/16/29/image_23042025_16_30_04_9922.jpg', 2), ('/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_54_9907.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_44_9876.jpg', '/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_34_9857.jpg', '/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_24_10855.jpg', '/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_13_9888.jpg', '/home/nano/Desktop/images/23042025/16/29/image_23042025_16_30_04_9922.jpg', '/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_54_9907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_44_9876.jpg
/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_34_9857.jpg
/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_24_10855.jpg
/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_13_9888.jpg
/home/nano/Desktop/images/23042025/16/29/image_23042025_16_30_04_9922.jpg
/home/nano/Desktop/images/23042025/16/29/image_23042025_16_29_54_9907.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353082031","1353082060","1353082033","1353082077","1353082011","1353082073"],"photo_ids_order":["1353082011","1353082031","1353082033","1353082060","1353082073","1353082077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d875ab20d46fd7f6878e36f2e4d00c56.jpg","text":"TemporaryFile(/tmp/multipartBody3180188945558845790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418724964,"filename":"image_23042025_16_30_34_9857.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16ea396ff3683bf64f6a28e5d36e233d.jpg","text":"TemporaryFile(/tmp/multipartBody7691316101312113901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418724964,"filename":"image_23042025_16_30_13_9888.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07642c53d36510471e065b0983dc68f0.jpg","text":"TemporaryFile(/tmp/multipartBody4871150959578810981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418724964,"filename":"image_23042025_16_30_24_10855.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea16a617835466ec3fe5898ad24ba809.jpg","text":"TemporaryFile(/tmp/multipartBody6853588494208862340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418724964,"filename":"image_23042025_16_29_54_9907.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/268b6a8430f517a043230a9f9d3ce855.jpg","text":"TemporaryFile(/tmp/multipartBody4887712666875578275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418724964,"filename":"image_23042025_16_30_44_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e155d09c17d3b2bbbae5abb44e0a3169.jpg","text":"TemporaryFile(/tmp/multipartBody6871161521631991459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418724964,"filename":"image_23042025_16_30_04_9922.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082033","file1":"1353082031","file0":"1353082011","file4":"1353082073","file5":"1353082077","file3":"1353082060"},"map_files_photo_id_array":[{"photo_id":"1353082077","filename":"file5"},{"photo_id":"1353082033","filename":"file2"},{"photo_id":"1353082073","filename":"file4"},{"photo_id":"1353082031","filename":"file1"},{"photo_id":"1353082011","filename":"file0"},{"photo_id":"1353082060","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353082031":["hashtag1","hashtag2"]},{"1353082060":["hashtag1","hashtag2"]},{"1353082033":["hashtag1","hashtag2"]},{"1353082077":["hashtag1","hashtag2"]},{"1353082011":["hashtag1","hashtag2"]},{"1353082073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353082031, 1353082060, 1353082033, 1353082077, 1353082011, 1353082073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.36057472229004 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:32:02.544040
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_44_9862.jpg', 2), ('/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_34_10851.jpg', 2), ('/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_23_9837.jpg', 2), ('/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_14_9851.jpg', 2), ('/home/nano/Desktop/images/23042025/16/30/image_23042025_16_31_04_9820.jpg', 2), ('/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_54_9847.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_44_9862.jpg', '/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_34_10851.jpg', '/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_23_9837.jpg', '/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_14_9851.jpg', '/home/nano/Desktop/images/23042025/16/30/image_23042025_16_31_04_9820.jpg', '/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_54_9847.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_44_9862.jpg
/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_34_10851.jpg
/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_23_9837.jpg
/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_14_9851.jpg
/home/nano/Desktop/images/23042025/16/30/image_23042025_16_31_04_9820.jpg
/home/nano/Desktop/images/23042025/16/30/image_23042025_16_30_54_9847.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353082145","1353082155","1353082143","1353082128","1353082151","1353082148"],"photo_ids_order":["1353082128","1353082143","1353082145","1353082148","1353082151","1353082155"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9a6c14f7a2aadd2027587d797cfc2ea.jpg","text":"TemporaryFile(/tmp/multipartBody3122588215474440200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418784481,"filename":"image_23042025_16_31_23_9837.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8a2ceec14f99b7325ac49bc3a3b3be7.jpg","text":"TemporaryFile(/tmp/multipartBody2075342380665693363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418784481,"filename":"image_23042025_16_30_54_9847.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f0ec5b39dc7836874c0f8a36bcbaf803.jpg","text":"TemporaryFile(/tmp/multipartBody7229946747860261044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418784481,"filename":"image_23042025_16_31_34_10851.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f59840129fbfe1fb8e47429434bfe500.jpg","text":"TemporaryFile(/tmp/multipartBody1204495684946287409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418784481,"filename":"image_23042025_16_31_44_9862.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8ae79b8033ecda44ac1a3b79dc36a95.jpg","text":"TemporaryFile(/tmp/multipartBody4202426508642249855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418784481,"filename":"image_23042025_16_31_04_9820.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e5ec270daad5750f69a2380ad935f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1994861111405435048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418784481,"filename":"image_23042025_16_31_14_9851.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082145","file1":"1353082143","file0":"1353082128","file4":"1353082151","file5":"1353082155","file3":"1353082148"},"map_files_photo_id_array":[{"photo_id":"1353082155","filename":"file5"},{"photo_id":"1353082145","filename":"file2"},{"photo_id":"1353082151","filename":"file4"},{"photo_id":"1353082143","filename":"file1"},{"photo_id":"1353082128","filename":"file0"},{"photo_id":"1353082148","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353082145":["hashtag1","hashtag2"]},{"1353082155":["hashtag1","hashtag2"]},{"1353082143":["hashtag1","hashtag2"]},{"1353082128":["hashtag1","hashtag2"]},{"1353082151":["hashtag1","hashtag2"]},{"1353082148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353082145, 1353082155, 1353082143, 1353082128, 1353082151, 1353082148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6264910697937 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:33:02.857277
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_44_10851.jpg', 2), ('/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_33_9867.jpg', 2), ('/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_24_9845.jpg', 2), ('/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_14_9869.jpg', 2), ('/home/nano/Desktop/images/23042025/16/31/image_23042025_16_32_04_9849.jpg', 2), ('/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_54_9844.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_44_10851.jpg', '/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_33_9867.jpg', '/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_24_9845.jpg', '/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_14_9869.jpg', '/home/nano/Desktop/images/23042025/16/31/image_23042025_16_32_04_9849.jpg', '/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_54_9844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_44_10851.jpg
/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_33_9867.jpg
/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_24_9845.jpg
/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_14_9869.jpg
/home/nano/Desktop/images/23042025/16/31/image_23042025_16_32_04_9849.jpg
/home/nano/Desktop/images/23042025/16/31/image_23042025_16_31_54_9844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353082211","1353082219","1353082207","1353082222","1353082224","1353082215"],"photo_ids_order":["1353082207","1353082211","1353082215","1353082219","1353082222","1353082224"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0163b2a6d0a1192e825b7e9ac124178b.jpg","text":"TemporaryFile(/tmp/multipartBody7532876126061886522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418845217,"filename":"image_23042025_16_32_33_9867.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1809d37c2cc03fe99c1b5616ae0b66f5.jpg","text":"TemporaryFile(/tmp/multipartBody8143437000884524133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418845217,"filename":"image_23042025_16_32_14_9869.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e59f8500fcf11c2ddc4d5d301be50faf.jpg","text":"TemporaryFile(/tmp/multipartBody3159745038192950172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418845217,"filename":"image_23042025_16_32_44_10851.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10eabdbbb23f100de032a60152a14e63.jpg","text":"TemporaryFile(/tmp/multipartBody8341860924105548707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418845217,"filename":"image_23042025_16_32_04_9849.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cd2a771d690b348be599b8b3ba1fd99.jpg","text":"TemporaryFile(/tmp/multipartBody5511514282288710607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418845217,"filename":"image_23042025_16_31_54_9844.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01d25d249b1c39cf56b189c03a694da8.jpg","text":"TemporaryFile(/tmp/multipartBody4717347744420348914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418845217,"filename":"image_23042025_16_32_24_9845.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082215","file1":"1353082211","file0":"1353082207","file4":"1353082222","file5":"1353082224","file3":"1353082219"},"map_files_photo_id_array":[{"photo_id":"1353082224","filename":"file5"},{"photo_id":"1353082215","filename":"file2"},{"photo_id":"1353082222","filename":"file4"},{"photo_id":"1353082211","filename":"file1"},{"photo_id":"1353082207","filename":"file0"},{"photo_id":"1353082219","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353082211":["hashtag1","hashtag2"]},{"1353082219":["hashtag1","hashtag2"]},{"1353082207":["hashtag1","hashtag2"]},{"1353082222":["hashtag1","hashtag2"]},{"1353082224":["hashtag1","hashtag2"]},{"1353082215":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353082211, 1353082219, 1353082207, 1353082222, 1353082224, 1353082215)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35009956359863 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:34:03.180289
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_43_9855.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_33_9842.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_24_9866.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_14_9852.jpg', 2), ('/home/nano/Desktop/images/23042025/16/32/image_23042025_16_33_04_9835.jpg', 2), ('/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_54_9839.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_43_9855.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_33_9842.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_24_9866.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_14_9852.jpg', '/home/nano/Desktop/images/23042025/16/32/image_23042025_16_33_04_9835.jpg', '/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_54_9839.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_43_9855.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_33_9842.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_24_9866.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_14_9852.jpg
/home/nano/Desktop/images/23042025/16/32/image_23042025_16_33_04_9835.jpg
/home/nano/Desktop/images/23042025/16/32/image_23042025_16_32_54_9839.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353082256","1353082264","1353082272","1353082269","1353082259","1353082280"],"photo_ids_order":["1353082256","1353082259","1353082264","1353082269","1353082272","1353082280"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1527798618f9a2419871b023dccbd9f.jpg","text":"TemporaryFile(/tmp/multipartBody4733451620864843257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418905779,"filename":"image_23042025_16_33_43_9855.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0278bf7f6f0fda630e32c8d5dbd3b1cf.jpg","text":"TemporaryFile(/tmp/multipartBody6761697377826956381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418905779,"filename":"image_23042025_16_33_24_9866.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e961fe1b85520087dc5edcd30a8db6b5.jpg","text":"TemporaryFile(/tmp/multipartBody7342007908487119869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418905779,"filename":"image_23042025_16_33_04_9835.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ab3c12cc05430bd6a0f1474038c18f4.jpg","text":"TemporaryFile(/tmp/multipartBody5495343103999180976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418905779,"filename":"image_23042025_16_33_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2653a2a8d1b91fe30779428ac7a749db.jpg","text":"TemporaryFile(/tmp/multipartBody2111505798796800484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418905779,"filename":"image_23042025_16_33_33_9842.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8275eb7a215751cff18ba1bb82597ee2.jpg","text":"TemporaryFile(/tmp/multipartBody5055546767063373558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418905779,"filename":"image_23042025_16_32_54_9839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082264","file1":"1353082259","file0":"1353082256","file4":"1353082272","file5":"1353082280","file3":"1353082269"},"map_files_photo_id_array":[{"photo_id":"1353082280","filename":"file5"},{"photo_id":"1353082264","filename":"file2"},{"photo_id":"1353082272","filename":"file4"},{"photo_id":"1353082259","filename":"file1"},{"photo_id":"1353082256","filename":"file0"},{"photo_id":"1353082269","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353082256":["hashtag1","hashtag2"]},{"1353082264":["hashtag1","hashtag2"]},{"1353082272":["hashtag1","hashtag2"]},{"1353082269":["hashtag1","hashtag2"]},{"1353082259":["hashtag1","hashtag2"]},{"1353082280":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353082256, 1353082264, 1353082272, 1353082269, 1353082259, 1353082280)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.50428533554077 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:35:03.179006
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_43_9864.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_34_9863.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_24_9850.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_14_9849.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_34_04_9837.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_54_10846.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_43_9864.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_34_9863.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_24_9850.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_14_9849.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_34_04_9837.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_54_10846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_43_9864.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_34_9863.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_24_9850.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_14_9849.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_34_04_9837.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_54_10846.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.536886692047119 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:35:32.450655
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_44_9827.jpg', 2), ('/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_34_9804.jpg', 2), ('/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_24_9804.jpg', 2), ('/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_14_9888.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_35_04_9892.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_54_10872.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_44_9827.jpg', '/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_34_9804.jpg', '/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_24_9804.jpg', '/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_14_9888.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_35_04_9892.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_54_10872.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_44_9827.jpg
/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_34_9804.jpg
/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_24_9804.jpg
/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_14_9888.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_35_04_9892.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_54_10872.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353082601","1353082573","1353082564","1353082557","1353082560","1353082568"],"photo_ids_order":["1353082557","1353082560","1353082564","1353082568","1353082573","1353082601"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0ea8fe96e0335ebf02d765d8d6bba62.jpg","text":"TemporaryFile(/tmp/multipartBody3174346411619777504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418995199,"filename":"image_23042025_16_34_54_10872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5283399d914a657faf2d4430fca4940.jpg","text":"TemporaryFile(/tmp/multipartBody6775679570688046196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418995199,"filename":"image_23042025_16_35_04_9892.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13f967f46db4d13f494f9621a725c061.jpg","text":"TemporaryFile(/tmp/multipartBody669911833914346510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418995199,"filename":"image_23042025_16_35_24_9804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c08c8cdb952c853cb80db47f33c4a62b.jpg","text":"TemporaryFile(/tmp/multipartBody2426989503887674975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418995199,"filename":"image_23042025_16_35_44_9827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b4e5e3f93d30f88f94c9deb5363b20d.jpg","text":"TemporaryFile(/tmp/multipartBody3337321138414015364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418995199,"filename":"image_23042025_16_35_34_9804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41bdb6849567a19732f408afc284273d.jpg","text":"TemporaryFile(/tmp/multipartBody1847015494042458443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745418995199,"filename":"image_23042025_16_35_14_9888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082564","file1":"1353082560","file0":"1353082557","file4":"1353082573","file5":"1353082601","file3":"1353082568"},"map_files_photo_id_array":[{"photo_id":"1353082601","filename":"file5"},{"photo_id":"1353082564","filename":"file2"},{"photo_id":"1353082573","filename":"file4"},{"photo_id":"1353082560","filename":"file1"},{"photo_id":"1353082557","filename":"file0"},{"photo_id":"1353082568","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353082601":["hashtag1","hashtag2"]},{"1353082573":["hashtag1","hashtag2"]},{"1353082564":["hashtag1","hashtag2"]},{"1353082557":["hashtag1","hashtag2"]},{"1353082560":["hashtag1","hashtag2"]},{"1353082568":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353082601, 1353082573, 1353082564, 1353082557, 1353082560, 1353082568)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39035177230835 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:36:32.569357
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_44_9799.jpg', 2), ('/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_34_9807.jpg', 2), ('/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_24_9813.jpg', 2), ('/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_14_9877.jpg', 2), ('/home/nano/Desktop/images/23042025/16/35/image_23042025_16_36_04_10848.jpg', 2), ('/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_53_9809.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_44_9799.jpg', '/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_34_9807.jpg', '/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_24_9813.jpg', '/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_14_9877.jpg', '/home/nano/Desktop/images/23042025/16/35/image_23042025_16_36_04_10848.jpg', '/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_53_9809.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_44_9799.jpg
/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_34_9807.jpg
/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_24_9813.jpg
/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_14_9877.jpg
/home/nano/Desktop/images/23042025/16/35/image_23042025_16_36_04_10848.jpg
/home/nano/Desktop/images/23042025/16/35/image_23042025_16_35_53_9809.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353082805","1353082780","1353082776","1353082851","1353082833","1353082800"],"photo_ids_order":["1353082776","1353082780","1353082800","1353082805","1353082833","1353082851"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e40ed0903f9b4ddea95a2d74a3fcb21.jpg","text":"TemporaryFile(/tmp/multipartBody174839714641862572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419054744,"filename":"image_23042025_16_36_14_9877.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05e08ea9bf610b4da1ffd9f53515c93a.jpg","text":"TemporaryFile(/tmp/multipartBody6875046118975601371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419054744,"filename":"image_23042025_16_36_34_9807.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/448920d60e97fd615bdf0f80499beb4d.jpg","text":"TemporaryFile(/tmp/multipartBody6228936510504657047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419054744,"filename":"image_23042025_16_36_44_9799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18b98fe4303f4d186da1d60958a98150.jpg","text":"TemporaryFile(/tmp/multipartBody3613119617354190116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419054744,"filename":"image_23042025_16_35_53_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ef46ef55d0489ff312accc660f99199.jpg","text":"TemporaryFile(/tmp/multipartBody7697869308165933729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419054744,"filename":"image_23042025_16_36_04_10848.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e28fed0cf5de50097548e0dc42c98d8.jpg","text":"TemporaryFile(/tmp/multipartBody5837744193562672740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419054744,"filename":"image_23042025_16_36_24_9813.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082800","file1":"1353082780","file0":"1353082776","file4":"1353082833","file5":"1353082851","file3":"1353082805"},"map_files_photo_id_array":[{"photo_id":"1353082851","filename":"file5"},{"photo_id":"1353082800","filename":"file2"},{"photo_id":"1353082833","filename":"file4"},{"photo_id":"1353082780","filename":"file1"},{"photo_id":"1353082776","filename":"file0"},{"photo_id":"1353082805","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353082805":["hashtag1","hashtag2"]},{"1353082780":["hashtag1","hashtag2"]},{"1353082776":["hashtag1","hashtag2"]},{"1353082851":["hashtag1","hashtag2"]},{"1353082833":["hashtag1","hashtag2"]},{"1353082800":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353082805, 1353082780, 1353082776, 1353082851, 1353082833, 1353082800)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47067642211914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:37:32.687933
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_43_9807.jpg', 2), ('/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_34_9808.jpg', 2), ('/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_24_9844.jpg', 2), ('/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_14_9864.jpg', 2), ('/home/nano/Desktop/images/23042025/16/36/image_23042025_16_37_04_9824.jpg', 2), ('/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_54_10814.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_43_9807.jpg', '/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_34_9808.jpg', '/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_24_9844.jpg', '/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_14_9864.jpg', '/home/nano/Desktop/images/23042025/16/36/image_23042025_16_37_04_9824.jpg', '/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_54_10814.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_43_9807.jpg
/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_34_9808.jpg
/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_24_9844.jpg
/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_14_9864.jpg
/home/nano/Desktop/images/23042025/16/36/image_23042025_16_37_04_9824.jpg
/home/nano/Desktop/images/23042025/16/36/image_23042025_16_36_54_10814.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353083035","1353083014","1353082951","1353082956","1353083021","1353082946"],"photo_ids_order":["1353082946","1353082951","1353082956","1353083014","1353083021","1353083035"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e54101dd9b6cc1c15d373a7e7c1d3132.jpg","text":"TemporaryFile(/tmp/multipartBody316299891057691913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419114981,"filename":"image_23042025_16_36_54_10814.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38e2fb7ced3dfaf4125b0d0d51ace20d.jpg","text":"TemporaryFile(/tmp/multipartBody5789263488280953471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419114981,"filename":"image_23042025_16_37_14_9864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e18c9c6b80b55d0001bf07ad0c62af2f.jpg","text":"TemporaryFile(/tmp/multipartBody1292611961124704097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419114981,"filename":"image_23042025_16_37_34_9808.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52ab1b6a1200184de902dfe5a158f801.jpg","text":"TemporaryFile(/tmp/multipartBody3621808405207828158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419114981,"filename":"image_23042025_16_37_24_9844.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9114741ee558906f75d05fe08920a80f.jpg","text":"TemporaryFile(/tmp/multipartBody3492758093626249664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419114981,"filename":"image_23042025_16_37_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17a1bce5bf86c7ad4662edeca0651809.jpg","text":"TemporaryFile(/tmp/multipartBody7987504929245214961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419114981,"filename":"image_23042025_16_37_43_9807.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353082956","file1":"1353082951","file0":"1353082946","file4":"1353083021","file5":"1353083035","file3":"1353083014"},"map_files_photo_id_array":[{"photo_id":"1353083035","filename":"file5"},{"photo_id":"1353082956","filename":"file2"},{"photo_id":"1353083021","filename":"file4"},{"photo_id":"1353082951","filename":"file1"},{"photo_id":"1353082946","filename":"file0"},{"photo_id":"1353083014","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353083035":["hashtag1","hashtag2"]},{"1353083014":["hashtag1","hashtag2"]},{"1353082951":["hashtag1","hashtag2"]},{"1353082956":["hashtag1","hashtag2"]},{"1353083021":["hashtag1","hashtag2"]},{"1353082946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353083035, 1353083014, 1353082951, 1353082956, 1353083021, 1353082946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98778438568115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:38:31.793782
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_43_9802.jpg', 2), ('/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_34_9809.jpg', 2), ('/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_24_9828.jpg', 2), ('/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_14_9826.jpg', 2), ('/home/nano/Desktop/images/23042025/16/37/image_23042025_16_38_04_9822.jpg', 2), ('/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_54_10808.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_43_9802.jpg', '/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_34_9809.jpg', '/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_24_9828.jpg', '/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_14_9826.jpg', '/home/nano/Desktop/images/23042025/16/37/image_23042025_16_38_04_9822.jpg', '/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_54_10808.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_43_9802.jpg
/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_34_9809.jpg
/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_24_9828.jpg
/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_14_9826.jpg
/home/nano/Desktop/images/23042025/16/37/image_23042025_16_38_04_9822.jpg
/home/nano/Desktop/images/23042025/16/37/image_23042025_16_37_54_10808.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353083404","1353083305","1353083206","1353083417","1353083395","1353083234"],"photo_ids_order":["1353083206","1353083234","1353083305","1353083395","1353083404","1353083417"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6ff41120270721ad336bb7d83faa807.jpg","text":"TemporaryFile(/tmp/multipartBody7137564708035788663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419173671,"filename":"image_23042025_16_38_04_9822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c65c6e438bb7775e161e4689793f775.jpg","text":"TemporaryFile(/tmp/multipartBody5783511234300039998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419173671,"filename":"image_23042025_16_38_24_9828.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8004e96d5d1dfcf0cbe20a66ff60b43f.jpg","text":"TemporaryFile(/tmp/multipartBody6737642828979818092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419173671,"filename":"image_23042025_16_38_43_9802.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb7bd728d0d2b1011d1eb94254bcc0e9.jpg","text":"TemporaryFile(/tmp/multipartBody516097344460349101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419173671,"filename":"image_23042025_16_37_54_10808.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dc9bf76f9b41227de6cb0c484e33723.jpg","text":"TemporaryFile(/tmp/multipartBody3019246051194532200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419173671,"filename":"image_23042025_16_38_14_9826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33ab041cbbe911ea4d7f14b799bc7bbe.jpg","text":"TemporaryFile(/tmp/multipartBody38288412323908445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419173671,"filename":"image_23042025_16_38_34_9809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353083305","file1":"1353083234","file0":"1353083206","file4":"1353083404","file5":"1353083417","file3":"1353083395"},"map_files_photo_id_array":[{"photo_id":"1353083417","filename":"file5"},{"photo_id":"1353083305","filename":"file2"},{"photo_id":"1353083404","filename":"file4"},{"photo_id":"1353083234","filename":"file1"},{"photo_id":"1353083206","filename":"file0"},{"photo_id":"1353083395","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353083404":["hashtag1","hashtag2"]},{"1353083305":["hashtag1","hashtag2"]},{"1353083206":["hashtag1","hashtag2"]},{"1353083417":["hashtag1","hashtag2"]},{"1353083395":["hashtag1","hashtag2"]},{"1353083234":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353083404, 1353083305, 1353083206, 1353083417, 1353083395, 1353083234)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.849198818206787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:39:31.888544
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_44_10864.jpg', 2), ('/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_33_9809.jpg', 2), ('/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_24_9807.jpg', 2), ('/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_14_9834.jpg', 2), ('/home/nano/Desktop/images/23042025/16/38/image_23042025_16_39_04_9811.jpg', 2), ('/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_54_10816.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_44_10864.jpg', '/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_33_9809.jpg', '/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_24_9807.jpg', '/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_14_9834.jpg', '/home/nano/Desktop/images/23042025/16/38/image_23042025_16_39_04_9811.jpg', '/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_54_10816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_44_10864.jpg
/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_33_9809.jpg
/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_24_9807.jpg
/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_14_9834.jpg
/home/nano/Desktop/images/23042025/16/38/image_23042025_16_39_04_9811.jpg
/home/nano/Desktop/images/23042025/16/38/image_23042025_16_38_54_10816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353083584","1353083578","1353083574","1353083556","1353083565","1353083581"],"photo_ids_order":["1353083556","1353083565","1353083574","1353083578","1353083581","1353083584"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcc747d801b65bb36a5e8fb377acdbb8.jpg","text":"TemporaryFile(/tmp/multipartBody4997969593412013378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419233465,"filename":"image_23042025_16_38_54_10816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d3e0210b8f2c368dad85d1f9df9255b.jpg","text":"TemporaryFile(/tmp/multipartBody2281424847561359364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419233465,"filename":"image_23042025_16_39_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5674d116c3d380ed51b568f8a7044ff3.jpg","text":"TemporaryFile(/tmp/multipartBody4923038102989918786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419233465,"filename":"image_23042025_16_39_24_9807.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21782e6cc456c912d892f67f92b2840a.jpg","text":"TemporaryFile(/tmp/multipartBody1300095329408584250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419233465,"filename":"image_23042025_16_39_44_10864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03c862d328439ec2065150194736aeb9.jpg","text":"TemporaryFile(/tmp/multipartBody6284740788522564128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419233465,"filename":"image_23042025_16_39_33_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/151925fa768ccc4457f3c7c94fe9c4c8.jpg","text":"TemporaryFile(/tmp/multipartBody3801637927214873898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419233465,"filename":"image_23042025_16_39_04_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353083574","file1":"1353083565","file0":"1353083556","file4":"1353083581","file5":"1353083584","file3":"1353083578"},"map_files_photo_id_array":[{"photo_id":"1353083584","filename":"file5"},{"photo_id":"1353083574","filename":"file2"},{"photo_id":"1353083581","filename":"file4"},{"photo_id":"1353083565","filename":"file1"},{"photo_id":"1353083556","filename":"file0"},{"photo_id":"1353083578","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353083584":["hashtag1","hashtag2"]},{"1353083578":["hashtag1","hashtag2"]},{"1353083574":["hashtag1","hashtag2"]},{"1353083556":["hashtag1","hashtag2"]},{"1353083565":["hashtag1","hashtag2"]},{"1353083581":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353083584, 1353083578, 1353083574, 1353083556, 1353083565, 1353083581)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.49988341331482 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:40:32.014851
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_44_9813.jpg', 2), ('/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_34_10786.jpg', 2), ('/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_24_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_14_9819.jpg', 2), ('/home/nano/Desktop/images/23042025/16/39/image_23042025_16_40_04_9811.jpg', 2), ('/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_54_9801.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_44_9813.jpg', '/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_34_10786.jpg', '/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_24_9815.jpg', '/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_14_9819.jpg', '/home/nano/Desktop/images/23042025/16/39/image_23042025_16_40_04_9811.jpg', '/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_54_9801.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_44_9813.jpg
/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_34_10786.jpg
/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_24_9815.jpg
/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_14_9819.jpg
/home/nano/Desktop/images/23042025/16/39/image_23042025_16_40_04_9811.jpg
/home/nano/Desktop/images/23042025/16/39/image_23042025_16_39_54_9801.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353083662","1353083614","1353083655","1353083658","1353083645","1353083630"],"photo_ids_order":["1353083614","1353083630","1353083645","1353083655","1353083658","1353083662"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0354772c4f261137c826cc49e6ba1f39.jpg","text":"TemporaryFile(/tmp/multipartBody2205749971195310142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419294064,"filename":"image_23042025_16_39_54_9801.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e64abba243e2f6b9c79d0edf7ec19860.jpg","text":"TemporaryFile(/tmp/multipartBody3485470412973768453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419294064,"filename":"image_23042025_16_40_44_9813.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b79806175bd6715a702460593aa7c6fe.jpg","text":"TemporaryFile(/tmp/multipartBody4766988469459881673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419294064,"filename":"image_23042025_16_40_14_9819.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2371cce905e900491d6a322e68668d4a.jpg","text":"TemporaryFile(/tmp/multipartBody2788786968827877019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419294064,"filename":"image_23042025_16_40_04_9811.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab6f350d27d7742eed65c07b5fb225f1.jpg","text":"TemporaryFile(/tmp/multipartBody9077652755965606156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419294064,"filename":"image_23042025_16_40_24_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6ce5fe3c2917f8b2be4b43b0bae31c0.jpg","text":"TemporaryFile(/tmp/multipartBody6979507121890274192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419294064,"filename":"image_23042025_16_40_34_10786.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353083645","file1":"1353083630","file0":"1353083614","file4":"1353083658","file5":"1353083662","file3":"1353083655"},"map_files_photo_id_array":[{"photo_id":"1353083662","filename":"file5"},{"photo_id":"1353083645","filename":"file2"},{"photo_id":"1353083658","filename":"file4"},{"photo_id":"1353083630","filename":"file1"},{"photo_id":"1353083614","filename":"file0"},{"photo_id":"1353083655","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353083662":["hashtag1","hashtag2"]},{"1353083614":["hashtag1","hashtag2"]},{"1353083655":["hashtag1","hashtag2"]},{"1353083658":["hashtag1","hashtag2"]},{"1353083645":["hashtag1","hashtag2"]},{"1353083630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353083662, 1353083614, 1353083655, 1353083658, 1353083645, 1353083630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.137980699539185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:41:32.121736
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_44_9796.jpg', 2), ('/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_34_9834.jpg', 2), ('/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_24_10806.jpg', 2), ('/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_14_9816.jpg', 2), ('/home/nano/Desktop/images/23042025/16/40/image_23042025_16_41_04_9762.jpg', 2), ('/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_54_9783.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_44_9796.jpg', '/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_34_9834.jpg', '/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_24_10806.jpg', '/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_14_9816.jpg', '/home/nano/Desktop/images/23042025/16/40/image_23042025_16_41_04_9762.jpg', '/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_54_9783.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_44_9796.jpg
/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_34_9834.jpg
/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_24_10806.jpg
/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_14_9816.jpg
/home/nano/Desktop/images/23042025/16/40/image_23042025_16_41_04_9762.jpg
/home/nano/Desktop/images/23042025/16/40/image_23042025_16_40_54_9783.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353083809","1353083787","1353083783","1353083747","1353083756","1353083900"],"photo_ids_order":["1353083747","1353083756","1353083783","1353083787","1353083809","1353083900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4655c37348ce70991368fd75589f9aaa.jpg","text":"TemporaryFile(/tmp/multipartBody2443387729088227658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419354479,"filename":"image_23042025_16_41_04_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97b4a0e946b6add77dddcc270704a37e.jpg","text":"TemporaryFile(/tmp/multipartBody4905899037691510221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419354479,"filename":"image_23042025_16_41_14_9816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ece4d3ddd74f200d67cd927cba3f2ccc.jpg","text":"TemporaryFile(/tmp/multipartBody6674888529897390153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419354479,"filename":"image_23042025_16_41_24_10806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0ff983ffd9a60c478d44551aa6ea0e2.jpg","text":"TemporaryFile(/tmp/multipartBody7474093289033732328asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419354479,"filename":"image_23042025_16_41_44_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fc5c72a414fe7bd4ba7db60da9010a9.jpg","text":"TemporaryFile(/tmp/multipartBody7167824994584969365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419354479,"filename":"image_23042025_16_41_34_9834.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9e1f612133d8edfd1faa8632c04b0dd.jpg","text":"TemporaryFile(/tmp/multipartBody4145119563405066149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419354479,"filename":"image_23042025_16_40_54_9783.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353083783","file1":"1353083756","file0":"1353083747","file4":"1353083809","file5":"1353083900","file3":"1353083787"},"map_files_photo_id_array":[{"photo_id":"1353083900","filename":"file5"},{"photo_id":"1353083783","filename":"file2"},{"photo_id":"1353083809","filename":"file4"},{"photo_id":"1353083756","filename":"file1"},{"photo_id":"1353083747","filename":"file0"},{"photo_id":"1353083787","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353083809":["hashtag1","hashtag2"]},{"1353083787":["hashtag1","hashtag2"]},{"1353083783":["hashtag1","hashtag2"]},{"1353083747":["hashtag1","hashtag2"]},{"1353083756":["hashtag1","hashtag2"]},{"1353083900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353083809, 1353083787, 1353083783, 1353083747, 1353083756, 1353083900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.793155670166016 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:42:32.200647
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_44_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_34_9800.jpg', 2), ('/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_24_10826.jpg', 2), ('/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_13_9828.jpg', 2), ('/home/nano/Desktop/images/23042025/16/41/image_23042025_16_42_04_9828.jpg', 2), ('/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_54_9800.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_44_9780.jpg', '/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_34_9800.jpg', '/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_24_10826.jpg', '/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_13_9828.jpg', '/home/nano/Desktop/images/23042025/16/41/image_23042025_16_42_04_9828.jpg', '/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_54_9800.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_44_9780.jpg
/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_34_9800.jpg
/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_24_10826.jpg
/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_13_9828.jpg
/home/nano/Desktop/images/23042025/16/41/image_23042025_16_42_04_9828.jpg
/home/nano/Desktop/images/23042025/16/41/image_23042025_16_41_54_9800.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353084267","1353084281","1353084203","1353084308","1353084262","1353084178"],"photo_ids_order":["1353084178","1353084203","1353084262","1353084267","1353084281","1353084308"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ab15482be490a924c1ed136f1be8d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7216613212097639985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419414385,"filename":"image_23042025_16_42_13_9828.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6a6b1cbb3c8f9aaa8c75f3107ca7f20.jpg","text":"TemporaryFile(/tmp/multipartBody4101230677527090122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419414385,"filename":"image_23042025_16_42_04_9828.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/950df2dbb9deeb6bf2a85d663175922b.jpg","text":"TemporaryFile(/tmp/multipartBody3506743973643109529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419414385,"filename":"image_23042025_16_42_34_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8cc5d3f3c989162f65a730d0416b1e9.jpg","text":"TemporaryFile(/tmp/multipartBody7726999047000571035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419414385,"filename":"image_23042025_16_41_54_9800.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da350bd0f338b96648b151fcd6c11b5e.jpg","text":"TemporaryFile(/tmp/multipartBody231047502808737592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419414385,"filename":"image_23042025_16_42_24_10826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53755d838da763cd24bd178b58b47e89.jpg","text":"TemporaryFile(/tmp/multipartBody8254043307335717049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419414385,"filename":"image_23042025_16_42_44_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353084262","file1":"1353084203","file0":"1353084178","file4":"1353084281","file5":"1353084308","file3":"1353084267"},"map_files_photo_id_array":[{"photo_id":"1353084308","filename":"file5"},{"photo_id":"1353084262","filename":"file2"},{"photo_id":"1353084281","filename":"file4"},{"photo_id":"1353084203","filename":"file1"},{"photo_id":"1353084178","filename":"file0"},{"photo_id":"1353084267","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353084267":["hashtag1","hashtag2"]},{"1353084281":["hashtag1","hashtag2"]},{"1353084203":["hashtag1","hashtag2"]},{"1353084308":["hashtag1","hashtag2"]},{"1353084262":["hashtag1","hashtag2"]},{"1353084178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353084267, 1353084281, 1353084203, 1353084308, 1353084262, 1353084178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.85318732261658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:43:32.278367
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_44_9802.jpg', 2), ('/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_34_9803.jpg', 2), ('/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_24_9803.jpg', 2), ('/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_14_10805.jpg', 2), ('/home/nano/Desktop/images/23042025/16/42/image_23042025_16_43_03_9810.jpg', 2), ('/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_54_9789.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_44_9802.jpg', '/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_34_9803.jpg', '/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_24_9803.jpg', '/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_14_10805.jpg', '/home/nano/Desktop/images/23042025/16/42/image_23042025_16_43_03_9810.jpg', '/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_54_9789.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_44_9802.jpg
/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_34_9803.jpg
/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_24_9803.jpg
/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_14_10805.jpg
/home/nano/Desktop/images/23042025/16/42/image_23042025_16_43_03_9810.jpg
/home/nano/Desktop/images/23042025/16/42/image_23042025_16_42_54_9789.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353084604","1353084648","1353084686","1353084402","1353084493","1353084721"],"photo_ids_order":["1353084402","1353084493","1353084604","1353084648","1353084686","1353084721"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a1366a8e2999931b276d8372a4f6ebd.jpg","text":"TemporaryFile(/tmp/multipartBody732099173553637455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419474380,"filename":"image_23042025_16_43_24_9803.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1cb34a761348963237879f26ff53575.jpg","text":"TemporaryFile(/tmp/multipartBody3642390742270239239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419474380,"filename":"image_23042025_16_43_14_10805.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/802be69eae5b7cf5b204fab1478f85e2.jpg","text":"TemporaryFile(/tmp/multipartBody2702124314184287172asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419474380,"filename":"image_23042025_16_43_03_9810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aaacc2f8dc5565b9b3d34752c5437af3.jpg","text":"TemporaryFile(/tmp/multipartBody5225781001238920856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419474380,"filename":"image_23042025_16_43_44_9802.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07ce0aa7c4aad0f8c8600a1c1e9eaa85.jpg","text":"TemporaryFile(/tmp/multipartBody1342941724446034192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419474380,"filename":"image_23042025_16_43_34_9803.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1b7846c607629e393487ed00cb15a6c.jpg","text":"TemporaryFile(/tmp/multipartBody393472461291371504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419474380,"filename":"image_23042025_16_42_54_9789.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353084604","file1":"1353084493","file0":"1353084402","file4":"1353084686","file5":"1353084721","file3":"1353084648"},"map_files_photo_id_array":[{"photo_id":"1353084721","filename":"file5"},{"photo_id":"1353084604","filename":"file2"},{"photo_id":"1353084686","filename":"file4"},{"photo_id":"1353084493","filename":"file1"},{"photo_id":"1353084402","filename":"file0"},{"photo_id":"1353084648","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353084604":["hashtag1","hashtag2"]},{"1353084648":["hashtag1","hashtag2"]},{"1353084686":["hashtag1","hashtag2"]},{"1353084402":["hashtag1","hashtag2"]},{"1353084493":["hashtag1","hashtag2"]},{"1353084721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353084604, 1353084648, 1353084686, 1353084402, 1353084493, 1353084721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.20680356025696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:44:32.367546
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_44_9859.jpg', 2), ('/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_34_9861.jpg', 2), ('/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_24_9802.jpg', 2), ('/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_14_9791.jpg', 2), ('/home/nano/Desktop/images/23042025/16/43/image_23042025_16_44_04_10772.jpg', 2), ('/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_53_9806.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_44_9859.jpg', '/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_34_9861.jpg', '/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_24_9802.jpg', '/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_14_9791.jpg', '/home/nano/Desktop/images/23042025/16/43/image_23042025_16_44_04_10772.jpg', '/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_53_9806.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_44_9859.jpg
/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_34_9861.jpg
/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_24_9802.jpg
/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_14_9791.jpg
/home/nano/Desktop/images/23042025/16/43/image_23042025_16_44_04_10772.jpg
/home/nano/Desktop/images/23042025/16/43/image_23042025_16_43_53_9806.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353085563","1353085152","1353085379","1353085505","1353085267","1353085078"],"photo_ids_order":["1353085078","1353085152","1353085267","1353085379","1353085505","1353085563"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38b390dc28023bfa161fce72dacb7b32.jpg","text":"TemporaryFile(/tmp/multipartBody459594885456602660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419534213,"filename":"image_23042025_16_43_53_9806.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c62c6921364a0a4a0f3cd1a627c2fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody6243320746788747098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419534213,"filename":"image_23042025_16_44_34_9861.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71ada2ab1d826a617376d95e1430e041.jpg","text":"TemporaryFile(/tmp/multipartBody6269371232824546901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419534213,"filename":"image_23042025_16_44_14_9791.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbc74d0c34e8399a7b29db2fa996c94a.jpg","text":"TemporaryFile(/tmp/multipartBody9041711792690893200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419534213,"filename":"image_23042025_16_44_04_10772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ca194796ea9f19e1254dd4ec2d4f7332.jpg","text":"TemporaryFile(/tmp/multipartBody2749548099045343251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419534213,"filename":"image_23042025_16_44_24_9802.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43f7e46dd9b774b14489ebb27eca81ba.jpg","text":"TemporaryFile(/tmp/multipartBody304788617811935373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419534213,"filename":"image_23042025_16_44_44_9859.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353085267","file1":"1353085152","file0":"1353085078","file4":"1353085505","file5":"1353085563","file3":"1353085379"},"map_files_photo_id_array":[{"photo_id":"1353085563","filename":"file5"},{"photo_id":"1353085267","filename":"file2"},{"photo_id":"1353085505","filename":"file4"},{"photo_id":"1353085152","filename":"file1"},{"photo_id":"1353085078","filename":"file0"},{"photo_id":"1353085379","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353085563":["hashtag1","hashtag2"]},{"1353085152":["hashtag1","hashtag2"]},{"1353085379":["hashtag1","hashtag2"]},{"1353085505":["hashtag1","hashtag2"]},{"1353085267":["hashtag1","hashtag2"]},{"1353085078":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353085563, 1353085152, 1353085379, 1353085505, 1353085267, 1353085078)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.37090516090393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:45:32.480084
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_44_10780.jpg', 2), ('/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_34_9796.jpg', 2), ('/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_24_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_14_9838.jpg', 2), ('/home/nano/Desktop/images/23042025/16/44/image_23042025_16_45_04_10790.jpg', 2), ('/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_53_9824.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_44_10780.jpg', '/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_34_9796.jpg', '/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_24_9772.jpg', '/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_14_9838.jpg', '/home/nano/Desktop/images/23042025/16/44/image_23042025_16_45_04_10790.jpg', '/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_53_9824.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_44_10780.jpg
/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_34_9796.jpg
/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_24_9772.jpg
/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_14_9838.jpg
/home/nano/Desktop/images/23042025/16/44/image_23042025_16_45_04_10790.jpg
/home/nano/Desktop/images/23042025/16/44/image_23042025_16_44_53_9824.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353085878","1353085839","1353086009","1353085937","1353086050","1353085834"],"photo_ids_order":["1353085834","1353085839","1353085878","1353085937","1353086009","1353086050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fe7cbe6c3eecb0f6e33c839b24a5ff8.jpg","text":"TemporaryFile(/tmp/multipartBody8646043875872816744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419594203,"filename":"image_23042025_16_45_24_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ea6ef71b5efd3e62abad60646e9dea8.jpg","text":"TemporaryFile(/tmp/multipartBody7203922734052370426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419594203,"filename":"image_23042025_16_45_34_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2304beaf55a66a8e13ada396758fd77.jpg","text":"TemporaryFile(/tmp/multipartBody8812342735209737429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419594203,"filename":"image_23042025_16_45_04_10790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8502535dfe734513ddf2c4fe1e53366f.jpg","text":"TemporaryFile(/tmp/multipartBody8709416099532817016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419594203,"filename":"image_23042025_16_45_14_9838.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d1561ae89faf517c2fc5ea2c28b9b73.jpg","text":"TemporaryFile(/tmp/multipartBody1506722769718449111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419594203,"filename":"image_23042025_16_44_53_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ab7f216f519de3e83be16ea71f79ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3977926915290340539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419594203,"filename":"image_23042025_16_45_44_10780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353085878","file1":"1353085839","file0":"1353085834","file4":"1353086009","file5":"1353086050","file3":"1353085937"},"map_files_photo_id_array":[{"photo_id":"1353086050","filename":"file5"},{"photo_id":"1353085878","filename":"file2"},{"photo_id":"1353086009","filename":"file4"},{"photo_id":"1353085839","filename":"file1"},{"photo_id":"1353085834","filename":"file0"},{"photo_id":"1353085937","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353085878":["hashtag1","hashtag2"]},{"1353085839":["hashtag1","hashtag2"]},{"1353086009":["hashtag1","hashtag2"]},{"1353085937":["hashtag1","hashtag2"]},{"1353086050":["hashtag1","hashtag2"]},{"1353085834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353085878, 1353085839, 1353086009, 1353085937, 1353086050, 1353085834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58146023750305 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:46:32.556769
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_44_9769.jpg', 2), ('/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_34_10775.jpg', 2), ('/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_23_9773.jpg', 2), ('/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_14_9796.jpg', 2), ('/home/nano/Desktop/images/23042025/16/45/image_23042025_16_46_04_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_54_9770.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_44_9769.jpg', '/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_34_10775.jpg', '/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_23_9773.jpg', '/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_14_9796.jpg', '/home/nano/Desktop/images/23042025/16/45/image_23042025_16_46_04_9777.jpg', '/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_54_9770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_44_9769.jpg
/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_34_10775.jpg
/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_23_9773.jpg
/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_14_9796.jpg
/home/nano/Desktop/images/23042025/16/45/image_23042025_16_46_04_9777.jpg
/home/nano/Desktop/images/23042025/16/45/image_23042025_16_45_54_9770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353086208","1353086489","1353086264","1353086405","1353086317","1353086550"],"photo_ids_order":["1353086208","1353086264","1353086317","1353086405","1353086489","1353086550"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd59c3d238af5971c3cd271be41bb7bd.jpg","text":"TemporaryFile(/tmp/multipartBody2813919853960910988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419654216,"filename":"image_23042025_16_46_44_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b1c6cb61b896a15c4a7581b0c888d24.jpg","text":"TemporaryFile(/tmp/multipartBody6896428556870427935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419654216,"filename":"image_23042025_16_46_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02668670779f81b10ef3078114231409.jpg","text":"TemporaryFile(/tmp/multipartBody7014471921138087161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419654216,"filename":"image_23042025_16_46_34_10775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/913495b017505b82960c4e17feab5f48.jpg","text":"TemporaryFile(/tmp/multipartBody2639554179437481168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419654216,"filename":"image_23042025_16_46_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/681217f717026f069b2df147bb695d7d.jpg","text":"TemporaryFile(/tmp/multipartBody2934050381453576072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419654216,"filename":"image_23042025_16_46_23_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/844e7b24594a036e5bf8c2564232f76b.jpg","text":"TemporaryFile(/tmp/multipartBody6513602795252374922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419654216,"filename":"image_23042025_16_45_54_9770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353086317","file1":"1353086264","file0":"1353086208","file4":"1353086489","file5":"1353086550","file3":"1353086405"},"map_files_photo_id_array":[{"photo_id":"1353086550","filename":"file5"},{"photo_id":"1353086317","filename":"file2"},{"photo_id":"1353086489","filename":"file4"},{"photo_id":"1353086264","filename":"file1"},{"photo_id":"1353086208","filename":"file0"},{"photo_id":"1353086405","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353086208":["hashtag1","hashtag2"]},{"1353086489":["hashtag1","hashtag2"]},{"1353086264":["hashtag1","hashtag2"]},{"1353086405":["hashtag1","hashtag2"]},{"1353086317":["hashtag1","hashtag2"]},{"1353086550":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353086208, 1353086489, 1353086264, 1353086405, 1353086317, 1353086550)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.29425930976868 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:47:32.657809
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_44_9852.jpg', 2), ('/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_34_9848.jpg', 2), ('/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_24_9873.jpg', 2), ('/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_14_10799.jpg', 2), ('/home/nano/Desktop/images/23042025/16/46/image_23042025_16_47_04_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_54_9768.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_44_9852.jpg', '/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_34_9848.jpg', '/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_24_9873.jpg', '/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_14_10799.jpg', '/home/nano/Desktop/images/23042025/16/46/image_23042025_16_47_04_9772.jpg', '/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_54_9768.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_44_9852.jpg
/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_34_9848.jpg
/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_24_9873.jpg
/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_14_10799.jpg
/home/nano/Desktop/images/23042025/16/46/image_23042025_16_47_04_9772.jpg
/home/nano/Desktop/images/23042025/16/46/image_23042025_16_46_54_9768.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353086805","1353086867","1353086770","1353086839","1353086800","1353086784"],"photo_ids_order":["1353086770","1353086784","1353086800","1353086805","1353086839","1353086867"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddb3db0d51a48f894698b93fdddbb355.jpg","text":"TemporaryFile(/tmp/multipartBody921785373838670221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419714720,"filename":"image_23042025_16_47_14_10799.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cdf795d8ab48f298c2c15f505d1c1d29.jpg","text":"TemporaryFile(/tmp/multipartBody3563349354699081929asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419714720,"filename":"image_23042025_16_46_54_9768.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d7d6c25fd6cfc484528e7da4feb058f.jpg","text":"TemporaryFile(/tmp/multipartBody1295685113839509415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419714720,"filename":"image_23042025_16_47_44_9852.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b2721b3b77028bb2eca4bfb9c4305b0.jpg","text":"TemporaryFile(/tmp/multipartBody7907314243313114505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419714720,"filename":"image_23042025_16_47_04_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84b9e980f058859b5779f88f93489dfe.jpg","text":"TemporaryFile(/tmp/multipartBody4265119072224172158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419714720,"filename":"image_23042025_16_47_24_9873.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97b43ac5ebf371e2b5388d65fe3c86fc.jpg","text":"TemporaryFile(/tmp/multipartBody1224554266090212445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419714720,"filename":"image_23042025_16_47_34_9848.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353086800","file1":"1353086784","file0":"1353086770","file4":"1353086839","file5":"1353086867","file3":"1353086805"},"map_files_photo_id_array":[{"photo_id":"1353086867","filename":"file5"},{"photo_id":"1353086800","filename":"file2"},{"photo_id":"1353086839","filename":"file4"},{"photo_id":"1353086784","filename":"file1"},{"photo_id":"1353086770","filename":"file0"},{"photo_id":"1353086805","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353086805":["hashtag1","hashtag2"]},{"1353086867":["hashtag1","hashtag2"]},{"1353086770":["hashtag1","hashtag2"]},{"1353086839":["hashtag1","hashtag2"]},{"1353086800":["hashtag1","hashtag2"]},{"1353086784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353086805, 1353086867, 1353086770, 1353086839, 1353086800, 1353086784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.89445161819458 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:48:31.798833
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_44_9840.jpg', 2), ('/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_34_9851.jpg', 2), ('/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_24_9835.jpg', 2), ('/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_14_10817.jpg', 2), ('/home/nano/Desktop/images/23042025/16/47/image_23042025_16_48_03_9804.jpg', 2), ('/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_54_9760.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_44_9840.jpg', '/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_34_9851.jpg', '/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_24_9835.jpg', '/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_14_10817.jpg', '/home/nano/Desktop/images/23042025/16/47/image_23042025_16_48_03_9804.jpg', '/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_54_9760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_44_9840.jpg
/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_34_9851.jpg
/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_24_9835.jpg
/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_14_10817.jpg
/home/nano/Desktop/images/23042025/16/47/image_23042025_16_48_03_9804.jpg
/home/nano/Desktop/images/23042025/16/47/image_23042025_16_47_54_9760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353087125","1353087119","1353087109","1353087105","1353087129","1353087114"],"photo_ids_order":["1353087105","1353087109","1353087114","1353087119","1353087125","1353087129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d317ff79591385b692c1f6c3a5043ebf.jpg","text":"TemporaryFile(/tmp/multipartBody3965482525716500155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419773650,"filename":"image_23042025_16_48_03_9804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b16528ca9873665a4c81c76ad6797bec.jpg","text":"TemporaryFile(/tmp/multipartBody4023582886811438022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419773650,"filename":"image_23042025_16_48_14_10817.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb81a5d5a6fd0817bb6fe681b005923e.jpg","text":"TemporaryFile(/tmp/multipartBody8672816910165541279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419773650,"filename":"image_23042025_16_48_34_9851.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59a0a90227c283d0a898e29f85097e23.jpg","text":"TemporaryFile(/tmp/multipartBody6293742040977724696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419773650,"filename":"image_23042025_16_48_44_9840.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60b27c268c160e49119e43113b6eff8c.jpg","text":"TemporaryFile(/tmp/multipartBody8810930758175549958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419773650,"filename":"image_23042025_16_47_54_9760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec32f4200bb68531901143eff554fec5.jpg","text":"TemporaryFile(/tmp/multipartBody6083867904690818780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419773650,"filename":"image_23042025_16_48_24_9835.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353087114","file1":"1353087109","file0":"1353087105","file4":"1353087125","file5":"1353087129","file3":"1353087119"},"map_files_photo_id_array":[{"photo_id":"1353087129","filename":"file5"},{"photo_id":"1353087114","filename":"file2"},{"photo_id":"1353087125","filename":"file4"},{"photo_id":"1353087109","filename":"file1"},{"photo_id":"1353087105","filename":"file0"},{"photo_id":"1353087119","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353087125":["hashtag1","hashtag2"]},{"1353087119":["hashtag1","hashtag2"]},{"1353087109":["hashtag1","hashtag2"]},{"1353087105":["hashtag1","hashtag2"]},{"1353087129":["hashtag1","hashtag2"]},{"1353087114":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353087125, 1353087119, 1353087109, 1353087105, 1353087129, 1353087114)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.87990427017212 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:49:31.879874
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_44_9891.jpg', 2), ('/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_34_10880.jpg', 2), ('/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_23_9868.jpg', 2), ('/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_13_9904.jpg', 2), ('/home/nano/Desktop/images/23042025/16/48/image_23042025_16_49_04_9884.jpg', 2), ('/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_54_9876.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_44_9891.jpg', '/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_34_10880.jpg', '/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_23_9868.jpg', '/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_13_9904.jpg', '/home/nano/Desktop/images/23042025/16/48/image_23042025_16_49_04_9884.jpg', '/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_54_9876.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_44_9891.jpg
/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_34_10880.jpg
/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_23_9868.jpg
/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_13_9904.jpg
/home/nano/Desktop/images/23042025/16/48/image_23042025_16_49_04_9884.jpg
/home/nano/Desktop/images/23042025/16/48/image_23042025_16_48_54_9876.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353087263","1353087323","1353087292","1353087230","1353087199","1353087192"],"photo_ids_order":["1353087192","1353087199","1353087230","1353087263","1353087292","1353087323"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f6e2eeff76df0d7cd1999b1a36060d1.jpg","text":"TemporaryFile(/tmp/multipartBody3240743863304948582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419833806,"filename":"image_23042025_16_49_13_9904.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ae11948133b61b405e99efd926b9de2.jpg","text":"TemporaryFile(/tmp/multipartBody6867208299237362660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419833806,"filename":"image_23042025_16_48_54_9876.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0d0020c840728e2d45e0f21ffcc219d.jpg","text":"TemporaryFile(/tmp/multipartBody4383326471428319033asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419833806,"filename":"image_23042025_16_49_04_9884.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e47ab2223aa3a313884d3b85bb86947.jpg","text":"TemporaryFile(/tmp/multipartBody4038188329424027025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419833806,"filename":"image_23042025_16_49_23_9868.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db6b9e1a7472b8ca7f1b84807b352e61.jpg","text":"TemporaryFile(/tmp/multipartBody3847620853884921596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419833806,"filename":"image_23042025_16_49_34_10880.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4dbf7893785072095df3dda5b458cf93.jpg","text":"TemporaryFile(/tmp/multipartBody1935754471950749189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419833806,"filename":"image_23042025_16_49_44_9891.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353087230","file1":"1353087199","file0":"1353087192","file4":"1353087292","file5":"1353087323","file3":"1353087263"},"map_files_photo_id_array":[{"photo_id":"1353087323","filename":"file5"},{"photo_id":"1353087230","filename":"file2"},{"photo_id":"1353087292","filename":"file4"},{"photo_id":"1353087199","filename":"file1"},{"photo_id":"1353087192","filename":"file0"},{"photo_id":"1353087263","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353087263":["hashtag1","hashtag2"]},{"1353087323":["hashtag1","hashtag2"]},{"1353087292":["hashtag1","hashtag2"]},{"1353087230":["hashtag1","hashtag2"]},{"1353087199":["hashtag1","hashtag2"]},{"1353087192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353087263, 1353087323, 1353087292, 1353087230, 1353087199, 1353087192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.53981280326843 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:50:31.994890
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_44_9898.jpg', 2), ('/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_34_9891.jpg', 2), ('/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_24_9918.jpg', 2), ('/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_14_9915.jpg', 2), ('/home/nano/Desktop/images/23042025/16/49/image_23042025_16_50_04_9902.jpg', 2), ('/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_54_9883.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_44_9898.jpg', '/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_34_9891.jpg', '/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_24_9918.jpg', '/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_14_9915.jpg', '/home/nano/Desktop/images/23042025/16/49/image_23042025_16_50_04_9902.jpg', '/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_54_9883.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_44_9898.jpg
/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_34_9891.jpg
/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_24_9918.jpg
/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_14_9915.jpg
/home/nano/Desktop/images/23042025/16/49/image_23042025_16_50_04_9902.jpg
/home/nano/Desktop/images/23042025/16/49/image_23042025_16_49_54_9883.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353087479","1353087458","1353087484","1353087433","1353087471","1353087465"],"photo_ids_order":["1353087433","1353087458","1353087465","1353087471","1353087479","1353087484"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7931efdd076b6f3dba679ef859a4370f.jpg","text":"TemporaryFile(/tmp/multipartBody1941113095147137578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419894307,"filename":"image_23042025_16_50_04_9902.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d0317796e36dfcd03ec5536829e3aa4.jpg","text":"TemporaryFile(/tmp/multipartBody8188610899305898010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419894307,"filename":"image_23042025_16_50_34_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d32a2fda7a8308777e7302a1835dcd67.jpg","text":"TemporaryFile(/tmp/multipartBody2369798291017654770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419894307,"filename":"image_23042025_16_49_54_9883.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a52abe6a772ac1b3f17944cf2b8970e.jpg","text":"TemporaryFile(/tmp/multipartBody8384285470067439133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419894307,"filename":"image_23042025_16_50_44_9898.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1991812ae724c46b94349e0f1d346874.jpg","text":"TemporaryFile(/tmp/multipartBody8863990999471767800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419894307,"filename":"image_23042025_16_50_14_9915.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82097bb78dd172335980b4d7511720ca.jpg","text":"TemporaryFile(/tmp/multipartBody9122507729431170738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419894307,"filename":"image_23042025_16_50_24_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353087465","file1":"1353087458","file0":"1353087433","file4":"1353087479","file5":"1353087484","file3":"1353087471"},"map_files_photo_id_array":[{"photo_id":"1353087484","filename":"file5"},{"photo_id":"1353087465","filename":"file2"},{"photo_id":"1353087479","filename":"file4"},{"photo_id":"1353087458","filename":"file1"},{"photo_id":"1353087433","filename":"file0"},{"photo_id":"1353087471","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353087479":["hashtag1","hashtag2"]},{"1353087458":["hashtag1","hashtag2"]},{"1353087484":["hashtag1","hashtag2"]},{"1353087433":["hashtag1","hashtag2"]},{"1353087471":["hashtag1","hashtag2"]},{"1353087465":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353087479, 1353087458, 1353087484, 1353087433, 1353087471, 1353087465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.09753775596619 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:51:32.069472
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_44_9913.jpg', 2), ('/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_34_9910.jpg', 2), ('/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_24_9908.jpg', 2), ('/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_14_10938.jpg', 2), ('/home/nano/Desktop/images/23042025/16/50/image_23042025_16_51_03_9910.jpg', 2), ('/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_53_9900.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_44_9913.jpg', '/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_34_9910.jpg', '/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_24_9908.jpg', '/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_14_10938.jpg', '/home/nano/Desktop/images/23042025/16/50/image_23042025_16_51_03_9910.jpg', '/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_53_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_44_9913.jpg
/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_34_9910.jpg
/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_24_9908.jpg
/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_14_10938.jpg
/home/nano/Desktop/images/23042025/16/50/image_23042025_16_51_03_9910.jpg
/home/nano/Desktop/images/23042025/16/50/image_23042025_16_50_53_9900.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353087656","1353087716","1353087706","1353087700","1353087711","1353087689"],"photo_ids_order":["1353087656","1353087689","1353087700","1353087706","1353087711","1353087716"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6e43c3a9e79053ca24928896f8a8560.jpg","text":"TemporaryFile(/tmp/multipartBody7176984358573099607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419954344,"filename":"image_23042025_16_51_44_9913.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecf5692b668ccee636e512b9b200e32c.jpg","text":"TemporaryFile(/tmp/multipartBody8830661609651923455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419954344,"filename":"image_23042025_16_50_53_9900.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc7c1a0626280ee24124015926ffb2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1616944247418532694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419954344,"filename":"image_23042025_16_51_14_10938.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/102fdfab6157e9e3c9e48f948a83ec02.jpg","text":"TemporaryFile(/tmp/multipartBody6426003168404287700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419954344,"filename":"image_23042025_16_51_24_9908.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8240b70254af8b7ec2ae28d330241720.jpg","text":"TemporaryFile(/tmp/multipartBody7970947777284536951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419954344,"filename":"image_23042025_16_51_03_9910.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd5ec86f93bf2b54cc1816c42eccbe3c.jpg","text":"TemporaryFile(/tmp/multipartBody1302808451006505963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745419954344,"filename":"image_23042025_16_51_34_9910.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353087700","file1":"1353087689","file0":"1353087656","file4":"1353087711","file5":"1353087716","file3":"1353087706"},"map_files_photo_id_array":[{"photo_id":"1353087716","filename":"file5"},{"photo_id":"1353087700","filename":"file2"},{"photo_id":"1353087711","filename":"file4"},{"photo_id":"1353087689","filename":"file1"},{"photo_id":"1353087656","filename":"file0"},{"photo_id":"1353087706","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353087656":["hashtag1","hashtag2"]},{"1353087716":["hashtag1","hashtag2"]},{"1353087706":["hashtag1","hashtag2"]},{"1353087700":["hashtag1","hashtag2"]},{"1353087711":["hashtag1","hashtag2"]},{"1353087689":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353087656, 1353087716, 1353087706, 1353087700, 1353087711, 1353087689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.35605001449585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:52:32.164094
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_44_9971.jpg', 2), ('/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_34_9961.jpg', 2), ('/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_24_9919.jpg', 2), ('/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_14_9948.jpg', 2), ('/home/nano/Desktop/images/23042025/16/51/image_23042025_16_52_04_9918.jpg', 2), ('/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_54_9918.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_44_9971.jpg', '/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_34_9961.jpg', '/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_24_9919.jpg', '/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_14_9948.jpg', '/home/nano/Desktop/images/23042025/16/51/image_23042025_16_52_04_9918.jpg', '/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_54_9918.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_44_9971.jpg
/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_34_9961.jpg
/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_24_9919.jpg
/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_14_9948.jpg
/home/nano/Desktop/images/23042025/16/51/image_23042025_16_52_04_9918.jpg
/home/nano/Desktop/images/23042025/16/51/image_23042025_16_51_54_9918.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353087799","1353087784","1353087793","1353087789","1353087780","1353087804"],"photo_ids_order":["1353087780","1353087784","1353087789","1353087793","1353087799","1353087804"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac08b47ec4e5c2b5544fe77c258c458a.jpg","text":"TemporaryFile(/tmp/multipartBody6618815801450657918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420014933,"filename":"image_23042025_16_52_04_9918.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82f7bda575837307cce67be5424358e1.jpg","text":"TemporaryFile(/tmp/multipartBody1211434370801302887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420014933,"filename":"image_23042025_16_52_34_9961.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c86da992cefdfdd794f95129b1fe554.jpg","text":"TemporaryFile(/tmp/multipartBody3568380690465067658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420014933,"filename":"image_23042025_16_52_14_9948.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1e2ab0536a5b710384947ae2f6383b5.jpg","text":"TemporaryFile(/tmp/multipartBody9011656793506610071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420014933,"filename":"image_23042025_16_52_24_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d176c3f91fad8d49167b0a25e3b99969.jpg","text":"TemporaryFile(/tmp/multipartBody7573374478558862078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420014933,"filename":"image_23042025_16_52_44_9971.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1ee9d42b1d99a715f4b0862346bda89.jpg","text":"TemporaryFile(/tmp/multipartBody961093255209054126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420014933,"filename":"image_23042025_16_51_54_9918.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353087789","file1":"1353087784","file0":"1353087780","file4":"1353087799","file5":"1353087804","file3":"1353087793"},"map_files_photo_id_array":[{"photo_id":"1353087804","filename":"file5"},{"photo_id":"1353087789","filename":"file2"},{"photo_id":"1353087799","filename":"file4"},{"photo_id":"1353087784","filename":"file1"},{"photo_id":"1353087780","filename":"file0"},{"photo_id":"1353087793","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353087799":["hashtag1","hashtag2"]},{"1353087784":["hashtag1","hashtag2"]},{"1353087793":["hashtag1","hashtag2"]},{"1353087789":["hashtag1","hashtag2"]},{"1353087780":["hashtag1","hashtag2"]},{"1353087804":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353087799, 1353087784, 1353087793, 1353087789, 1353087780, 1353087804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.39368486404419 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:53:32.268591
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_44_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_34_9826.jpg', 2), ('/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_24_10203.jpg', 2), ('/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_14_10106.jpg', 2), ('/home/nano/Desktop/images/23042025/16/52/image_23042025_16_53_04_10011.jpg', 2), ('/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_54_9919.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_44_9778.jpg', '/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_34_9826.jpg', '/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_24_10203.jpg', '/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_14_10106.jpg', '/home/nano/Desktop/images/23042025/16/52/image_23042025_16_53_04_10011.jpg', '/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_54_9919.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_44_9778.jpg
/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_34_9826.jpg
/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_24_10203.jpg
/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_14_10106.jpg
/home/nano/Desktop/images/23042025/16/52/image_23042025_16_53_04_10011.jpg
/home/nano/Desktop/images/23042025/16/52/image_23042025_16_52_54_9919.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353088004","1353088063","1353087972","1353088059","1353088067","1353088034"],"photo_ids_order":["1353087972","1353088004","1353088034","1353088059","1353088063","1353088067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e4d0d0b68b36c2693c814091d46dd48.jpg","text":"TemporaryFile(/tmp/multipartBody7721203058741704722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420075108,"filename":"image_23042025_16_53_34_9826.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be02a60986b01e8254e5263a7b37b2f0.jpg","text":"TemporaryFile(/tmp/multipartBody2116520295937665522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420075108,"filename":"image_23042025_16_53_04_10011.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96d16d852e853e8c6f0deaf9d66f6535.jpg","text":"TemporaryFile(/tmp/multipartBody1639963651260949759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420075108,"filename":"image_23042025_16_53_44_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd94e2bca29c827059708ab175ddd6ca.jpg","text":"TemporaryFile(/tmp/multipartBody2492733900968224773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420075108,"filename":"image_23042025_16_53_14_10106.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03c20a25079b3880ef2ca87e5ed6c830.jpg","text":"TemporaryFile(/tmp/multipartBody5289466513158992652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420075108,"filename":"image_23042025_16_52_54_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb0a592bbee0c90c399b72a165da0ef5.jpg","text":"TemporaryFile(/tmp/multipartBody5440024558484873671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420075108,"filename":"image_23042025_16_53_24_10203.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353088034","file1":"1353088004","file0":"1353087972","file4":"1353088063","file5":"1353088067","file3":"1353088059"},"map_files_photo_id_array":[{"photo_id":"1353088067","filename":"file5"},{"photo_id":"1353088034","filename":"file2"},{"photo_id":"1353088063","filename":"file4"},{"photo_id":"1353088004","filename":"file1"},{"photo_id":"1353087972","filename":"file0"},{"photo_id":"1353088059","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353088004":["hashtag1","hashtag2"]},{"1353088063":["hashtag1","hashtag2"]},{"1353087972":["hashtag1","hashtag2"]},{"1353088059":["hashtag1","hashtag2"]},{"1353088067":["hashtag1","hashtag2"]},{"1353088034":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353088004, 1353088063, 1353087972, 1353088059, 1353088067, 1353088034)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.96339416503906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:54:32.358267
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_54_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_34_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_24_9750.jpg', 2), ('/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_14_9879.jpg', 2), ('/home/nano/Desktop/images/23042025/16/53/image_23042025_16_54_04_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_54_10739.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_54_9697.jpg', '/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_34_10728.jpg', '/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_24_9750.jpg', '/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_14_9879.jpg', '/home/nano/Desktop/images/23042025/16/53/image_23042025_16_54_04_9729.jpg', '/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_54_10739.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_54_9697.jpg
/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_34_10728.jpg
/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_24_9750.jpg
/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_14_9879.jpg
/home/nano/Desktop/images/23042025/16/53/image_23042025_16_54_04_9729.jpg
/home/nano/Desktop/images/23042025/16/53/image_23042025_16_53_54_10739.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353088192","1353088261","1353088251","1353088257","1353088230","1353088172"],"photo_ids_order":["1353088172","1353088192","1353088230","1353088251","1353088257","1353088261"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b1a6d2327d6e4fa6fb2b5708b71043f.jpg","text":"TemporaryFile(/tmp/multipartBody7299164507050981392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420134689,"filename":"image_23042025_16_54_34_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9eed0587db26e1217dca3a26e6c287d7.jpg","text":"TemporaryFile(/tmp/multipartBody2386099298470227603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420134689,"filename":"image_23042025_16_53_54_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e67fca1131a33c2e0b25e6ac2d6c1e2e.jpg","text":"TemporaryFile(/tmp/multipartBody3503503599156625564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420134689,"filename":"image_23042025_16_54_14_9879.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c1ae613012e58600341a350b852ffb2.jpg","text":"TemporaryFile(/tmp/multipartBody4196728279472797534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420134689,"filename":"image_23042025_16_54_04_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d68594a09af0345178b302d8f19a2f16.jpg","text":"TemporaryFile(/tmp/multipartBody7345696929846386790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420134689,"filename":"image_23042025_16_54_24_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4dcc3609e66e3dca772e7fe2dcbe58cc.jpg","text":"TemporaryFile(/tmp/multipartBody4258028921292744702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420134689,"filename":"image_23042025_16_54_54_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353088230","file1":"1353088192","file0":"1353088172","file4":"1353088257","file5":"1353088261","file3":"1353088251"},"map_files_photo_id_array":[{"photo_id":"1353088261","filename":"file5"},{"photo_id":"1353088230","filename":"file2"},{"photo_id":"1353088257","filename":"file4"},{"photo_id":"1353088192","filename":"file1"},{"photo_id":"1353088172","filename":"file0"},{"photo_id":"1353088251","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353088192":["hashtag1","hashtag2"]},{"1353088261":["hashtag1","hashtag2"]},{"1353088251":["hashtag1","hashtag2"]},{"1353088257":["hashtag1","hashtag2"]},{"1353088230":["hashtag1","hashtag2"]},{"1353088172":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353088192, 1353088261, 1353088251, 1353088257, 1353088230, 1353088172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.109721422195435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:55:32.506606
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_43_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_34_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_24_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_14_10783.jpg', 2), ('/home/nano/Desktop/images/23042025/16/54/image_23042025_16_55_04_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_44_9743.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_43_9672.jpg', '/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_34_9745.jpg', '/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_24_9725.jpg', '/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_14_10783.jpg', '/home/nano/Desktop/images/23042025/16/54/image_23042025_16_55_04_9728.jpg', '/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_44_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_43_9672.jpg
/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_34_9745.jpg
/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_24_9725.jpg
/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_14_10783.jpg
/home/nano/Desktop/images/23042025/16/54/image_23042025_16_55_04_9728.jpg
/home/nano/Desktop/images/23042025/16/54/image_23042025_16_54_44_9743.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353088380","1353088362","1353088374","1353088373","1353088376","1353088370"],"photo_ids_order":["1353088362","1353088370","1353088373","1353088374","1353088376","1353088380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/276d51450c8da7bf6126c4c94a57e6e0.jpg","text":"TemporaryFile(/tmp/multipartBody6856432162729345733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420194241,"filename":"image_23042025_16_54_44_9743.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/020fbb24eaf3a334b2add7a6eb92b25a.jpg","text":"TemporaryFile(/tmp/multipartBody112325914700853091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420194241,"filename":"image_23042025_16_55_43_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a2dfec6400ea39ed403a70cf09ef6d0.jpg","text":"TemporaryFile(/tmp/multipartBody833784679883752855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420194241,"filename":"image_23042025_16_55_14_10783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ecd13c4ea0a9e3a5c4b371af03e47b15.jpg","text":"TemporaryFile(/tmp/multipartBody1495621854067264069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420194241,"filename":"image_23042025_16_55_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66dc58f1c5425f323c01d5b5514fc451.jpg","text":"TemporaryFile(/tmp/multipartBody6000998652647400165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420194241,"filename":"image_23042025_16_55_04_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b5d8e2dedd0a3d2237c2d2dbe15d4f8.jpg","text":"TemporaryFile(/tmp/multipartBody8748075945105609904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420194241,"filename":"image_23042025_16_55_34_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353088373","file1":"1353088370","file0":"1353088362","file4":"1353088376","file5":"1353088380","file3":"1353088374"},"map_files_photo_id_array":[{"photo_id":"1353088380","filename":"file5"},{"photo_id":"1353088373","filename":"file2"},{"photo_id":"1353088376","filename":"file4"},{"photo_id":"1353088370","filename":"file1"},{"photo_id":"1353088362","filename":"file0"},{"photo_id":"1353088374","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353088380":["hashtag1","hashtag2"]},{"1353088362":["hashtag1","hashtag2"]},{"1353088374":["hashtag1","hashtag2"]},{"1353088373":["hashtag1","hashtag2"]},{"1353088376":["hashtag1","hashtag2"]},{"1353088370":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353088380, 1353088362, 1353088374, 1353088373, 1353088376, 1353088370)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 46.89035773277283 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:56:32.585176
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_43_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_34_9775.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_24_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_13_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/16/55/image_23042025_16_56_04_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_54_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_43_9706.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_34_9775.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_24_10643.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_13_9651.jpg', '/home/nano/Desktop/images/23042025/16/55/image_23042025_16_56_04_9625.jpg', '/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_54_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_43_9706.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_34_9775.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_24_10643.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_13_9651.jpg
/home/nano/Desktop/images/23042025/16/55/image_23042025_16_56_04_9625.jpg
/home/nano/Desktop/images/23042025/16/55/image_23042025_16_55_54_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353088406","1353088461","1353088449","1353088416","1353088410","1353088457"],"photo_ids_order":["1353088406","1353088410","1353088416","1353088449","1353088457","1353088461"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff87b51b282e233760585f4574e098bb.jpg","text":"TemporaryFile(/tmp/multipartBody5553021654117637200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420254667,"filename":"image_23042025_16_56_43_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5ea1a7fb497e867b22e495029505313.jpg","text":"TemporaryFile(/tmp/multipartBody4365332023079086514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420254667,"filename":"image_23042025_16_55_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48d74bf1f40a0aa226d50be5200fd23c.jpg","text":"TemporaryFile(/tmp/multipartBody3400780090345931447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420254667,"filename":"image_23042025_16_56_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92683ebd0ff2f4b9785995a5631acb9c.jpg","text":"TemporaryFile(/tmp/multipartBody1265226989091371874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420254667,"filename":"image_23042025_16_56_24_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9f50645a3092ae9dcdff8b03f3e0c47.jpg","text":"TemporaryFile(/tmp/multipartBody2147770754269883924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420254667,"filename":"image_23042025_16_56_34_9775.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a36e6928b25053e8321f94cd2832845.jpg","text":"TemporaryFile(/tmp/multipartBody5528276724056846626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420254667,"filename":"image_23042025_16_56_04_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353088416","file1":"1353088410","file0":"1353088406","file4":"1353088457","file5":"1353088461","file3":"1353088449"},"map_files_photo_id_array":[{"photo_id":"1353088461","filename":"file5"},{"photo_id":"1353088416","filename":"file2"},{"photo_id":"1353088457","filename":"file4"},{"photo_id":"1353088410","filename":"file1"},{"photo_id":"1353088406","filename":"file0"},{"photo_id":"1353088449","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353088406":["hashtag1","hashtag2"]},{"1353088461":["hashtag1","hashtag2"]},{"1353088449":["hashtag1","hashtag2"]},{"1353088416":["hashtag1","hashtag2"]},{"1353088410":["hashtag1","hashtag2"]},{"1353088457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353088406, 1353088461, 1353088449, 1353088416, 1353088410, 1353088457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.33995461463928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:57:32.673510
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_44_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_34_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_23_9752.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_14_9746.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_57_04_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_54_10717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_44_9722.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_34_10693.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_23_9752.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_14_9746.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_57_04_9724.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_54_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_44_9722.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_34_10693.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_23_9752.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_14_9746.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_57_04_9724.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_54_10717.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:58:02.184681
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_44_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_34_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_23_9752.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_14_9746.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_57_04_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_54_10717.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_44_9722.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_34_10693.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_23_9752.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_14_9746.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_57_04_9724.jpg', '/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_54_10717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_44_9722.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_34_10693.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_23_9752.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_14_9746.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_57_04_9724.jpg
/home/nano/Desktop/images/23042025/16/56/image_23042025_16_56_54_10717.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353088879","1353088741","1353088851","1353088929","1353088770","1353089009"],"photo_ids_order":["1353088741","1353088770","1353088851","1353088879","1353088929","1353089009"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5eb3dc9b7fa706848e519af27b0e624c.jpg","text":"TemporaryFile(/tmp/multipartBody3644498325797570143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420344166,"filename":"image_23042025_16_57_14_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/955462d139324110d524e15491d7b6d0.jpg","text":"TemporaryFile(/tmp/multipartBody826468525054677718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420344166,"filename":"image_23042025_16_57_44_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/046bf7677c5d8ac105a5addbe04f04a0.jpg","text":"TemporaryFile(/tmp/multipartBody210369127171036035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420344166,"filename":"image_23042025_16_57_23_9752.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bfadf55be036db8564580c4e0417eb0b.jpg","text":"TemporaryFile(/tmp/multipartBody4320613918246536842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420344166,"filename":"image_23042025_16_57_04_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/593b6e56839f8cdaa8a584b92a317a98.jpg","text":"TemporaryFile(/tmp/multipartBody5784257688506453079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420344166,"filename":"image_23042025_16_57_34_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c109c84eacae1f96bc871b9f6296d95.jpg","text":"TemporaryFile(/tmp/multipartBody3636113786224818572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420344166,"filename":"image_23042025_16_56_54_10717.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353088851","file1":"1353088770","file0":"1353088741","file4":"1353088929","file5":"1353089009","file3":"1353088879"},"map_files_photo_id_array":[{"photo_id":"1353089009","filename":"file5"},{"photo_id":"1353088851","filename":"file2"},{"photo_id":"1353088929","filename":"file4"},{"photo_id":"1353088770","filename":"file1"},{"photo_id":"1353088741","filename":"file0"},{"photo_id":"1353088879","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353088879":["hashtag1","hashtag2"]},{"1353088741":["hashtag1","hashtag2"]},{"1353088851":["hashtag1","hashtag2"]},{"1353088929":["hashtag1","hashtag2"]},{"1353088770":["hashtag1","hashtag2"]},{"1353089009":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353088879, 1353088741, 1353088851, 1353088929, 1353088770, 1353089009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.092071294784546 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 16:59:03.117393
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_44_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_34_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_24_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_14_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_58_04_10797.jpg', 2), ('/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_54_9639.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_44_9627.jpg', '/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_34_10628.jpg', '/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_24_9653.jpg', '/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_14_9691.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_58_04_10797.jpg', '/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_54_9639.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_44_9627.jpg
/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_34_10628.jpg
/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_24_9653.jpg
/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_14_9691.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_58_04_10797.jpg
/home/nano/Desktop/images/23042025/16/57/image_23042025_16_57_54_9639.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353089691","1353089396","1353089520","1353089558","1353089468","1353089593"],"photo_ids_order":["1353089396","1353089468","1353089520","1353089558","1353089593","1353089691"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/828b7486c92aa5262d9c466be424e4ae.jpg","text":"TemporaryFile(/tmp/multipartBody33970826077449803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420404834,"filename":"image_23042025_16_57_54_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f83bc3b092cad4d6be1bcfc597fdcbec.jpg","text":"TemporaryFile(/tmp/multipartBody4181822904226336480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420404834,"filename":"image_23042025_16_58_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba2ca7dff2496b2ca8998305ab1f4694.jpg","text":"TemporaryFile(/tmp/multipartBody7347191324990062886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420404834,"filename":"image_23042025_16_58_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4b448b74d75ad95952c5797d41a9fc7.jpg","text":"TemporaryFile(/tmp/multipartBody1738207979277105223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420404834,"filename":"image_23042025_16_58_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c636f38622e66a56f44c56e9277bdaa.jpg","text":"TemporaryFile(/tmp/multipartBody819201417386505169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420404834,"filename":"image_23042025_16_58_34_10628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/456b47896bd2dcb8ed291dda11475cbb.jpg","text":"TemporaryFile(/tmp/multipartBody5992296310418256093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420404834,"filename":"image_23042025_16_58_04_10797.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353089520","file1":"1353089468","file0":"1353089396","file4":"1353089593","file5":"1353089691","file3":"1353089558"},"map_files_photo_id_array":[{"photo_id":"1353089691","filename":"file5"},{"photo_id":"1353089520","filename":"file2"},{"photo_id":"1353089593","filename":"file4"},{"photo_id":"1353089468","filename":"file1"},{"photo_id":"1353089396","filename":"file0"},{"photo_id":"1353089558","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353089691":["hashtag1","hashtag2"]},{"1353089396":["hashtag1","hashtag2"]},{"1353089520":["hashtag1","hashtag2"]},{"1353089558":["hashtag1","hashtag2"]},{"1353089468":["hashtag1","hashtag2"]},{"1353089593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353089691, 1353089396, 1353089520, 1353089558, 1353089468, 1353089593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.96646428108215 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:00:02.799272
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_44_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_33_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_24_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_14_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/16/58/image_23042025_16_59_04_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_54_9713.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_44_10708.jpg', '/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_33_9692.jpg', '/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_24_9702.jpg', '/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_14_9703.jpg', '/home/nano/Desktop/images/23042025/16/58/image_23042025_16_59_04_10730.jpg', '/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_54_9713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_44_10708.jpg
/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_33_9692.jpg
/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_24_9702.jpg
/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_14_9703.jpg
/home/nano/Desktop/images/23042025/16/58/image_23042025_16_59_04_10730.jpg
/home/nano/Desktop/images/23042025/16/58/image_23042025_16_58_54_9713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353090020","1353090052","1353090025","1353089990","1353090030","1353090044"],"photo_ids_order":["1353089990","1353090020","1353090025","1353090030","1353090044","1353090052"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9eb1fd1b18e60353439c797709babf7b.jpg","text":"TemporaryFile(/tmp/multipartBody522554093735469257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420465632,"filename":"image_23042025_16_59_33_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cda421b2c3862eb8d217d9d4b860fc71.jpg","text":"TemporaryFile(/tmp/multipartBody3314833033496936690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420465632,"filename":"image_23042025_16_58_54_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e5284d43ea836e1d1f63684526420b2.jpg","text":"TemporaryFile(/tmp/multipartBody9111308408766425151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420465632,"filename":"image_23042025_16_59_24_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ff7676b36574bfd30558f355d796fe2.jpg","text":"TemporaryFile(/tmp/multipartBody9140612370022802428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420465632,"filename":"image_23042025_16_59_44_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac6fea44063d9278ef024b6ab5f242c8.jpg","text":"TemporaryFile(/tmp/multipartBody3130723871812130506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420465632,"filename":"image_23042025_16_59_14_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1684d35cf119433d1d0922d47237820.jpg","text":"TemporaryFile(/tmp/multipartBody644290600292905124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420465632,"filename":"image_23042025_16_59_04_10730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353090025","file1":"1353090020","file0":"1353089990","file4":"1353090044","file5":"1353090052","file3":"1353090030"},"map_files_photo_id_array":[{"photo_id":"1353090052","filename":"file5"},{"photo_id":"1353090025","filename":"file2"},{"photo_id":"1353090044","filename":"file4"},{"photo_id":"1353090020","filename":"file1"},{"photo_id":"1353089990","filename":"file0"},{"photo_id":"1353090030","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353090020":["hashtag1","hashtag2"]},{"1353090052":["hashtag1","hashtag2"]},{"1353090025":["hashtag1","hashtag2"]},{"1353089990":["hashtag1","hashtag2"]},{"1353090030":["hashtag1","hashtag2"]},{"1353090044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353090020, 1353090052, 1353090025, 1353089990, 1353090030, 1353090044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.164358377456665 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:01:02.904857
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_43_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_34_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_24_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_14_10864.jpg', 2), ('/home/nano/Desktop/images/23042025/16/59/image_23042025_17_00_03_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_43_9714.jpg', '/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_34_9722.jpg', '/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_24_9655.jpg', '/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_14_10864.jpg', '/home/nano/Desktop/images/23042025/16/59/image_23042025_17_00_03_9677.jpg', '/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_43_9714.jpg
/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_34_9722.jpg
/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_24_9655.jpg
/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_14_10864.jpg
/home/nano/Desktop/images/23042025/16/59/image_23042025_17_00_03_9677.jpg
/home/nano/Desktop/images/23042025/16/59/image_23042025_16_59_54_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353090499","1353090397","1353090427","1353090465","1353090458","1353090446"],"photo_ids_order":["1353090397","1353090427","1353090446","1353090458","1353090465","1353090499"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9719a1c155ae47118160be6d57a9be2e.jpg","text":"TemporaryFile(/tmp/multipartBody8335269162323653022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420524911,"filename":"image_23042025_16_59_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/60caf410971c6444540915b0d46551b6.jpg","text":"TemporaryFile(/tmp/multipartBody274154880015147446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420524911,"filename":"image_23042025_17_00_43_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62b2ffc4a942a34ae603e7821d53239d.jpg","text":"TemporaryFile(/tmp/multipartBody6704791510064423089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420524911,"filename":"image_23042025_17_00_34_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abff3ae44bb87fd79c9ccbec9d11764e.jpg","text":"TemporaryFile(/tmp/multipartBody3714272806667596967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420524911,"filename":"image_23042025_17_00_03_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d5597b9fee124ec89a34b85ff927acc.jpg","text":"TemporaryFile(/tmp/multipartBody4377024229131759599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420524911,"filename":"image_23042025_17_00_14_10864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2abe1b2821822554e0f97da58167c94.jpg","text":"TemporaryFile(/tmp/multipartBody9058063442689604581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420524911,"filename":"image_23042025_17_00_24_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353090446","file1":"1353090427","file0":"1353090397","file4":"1353090465","file5":"1353090499","file3":"1353090458"},"map_files_photo_id_array":[{"photo_id":"1353090499","filename":"file5"},{"photo_id":"1353090446","filename":"file2"},{"photo_id":"1353090465","filename":"file4"},{"photo_id":"1353090427","filename":"file1"},{"photo_id":"1353090397","filename":"file0"},{"photo_id":"1353090458","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353090499":["hashtag1","hashtag2"]},{"1353090397":["hashtag1","hashtag2"]},{"1353090427":["hashtag1","hashtag2"]},{"1353090465":["hashtag1","hashtag2"]},{"1353090458":["hashtag1","hashtag2"]},{"1353090446":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353090499, 1353090397, 1353090427, 1353090465, 1353090458, 1353090446)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.11872386932373 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:02:02.926286
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_44_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_34_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_24_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_14_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/17/00/image_23042025_17_01_04_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_54_10686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_44_9728.jpg', '/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_34_9698.jpg', '/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_24_10712.jpg', '/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_14_9702.jpg', '/home/nano/Desktop/images/23042025/17/00/image_23042025_17_01_04_9731.jpg', '/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_54_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_44_9728.jpg
/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_34_9698.jpg
/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_24_10712.jpg
/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_14_9702.jpg
/home/nano/Desktop/images/23042025/17/00/image_23042025_17_01_04_9731.jpg
/home/nano/Desktop/images/23042025/17/00/image_23042025_17_00_54_10686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353090895","1353091033","1353090985","1353090925","1353090954","1353091011"],"photo_ids_order":["1353090895","1353090925","1353090954","1353090985","1353091011","1353091033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08abdb8d34e138b49fe1ad0ed5ef76c5.jpg","text":"TemporaryFile(/tmp/multipartBody1774118340665612420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420584712,"filename":"image_23042025_17_01_44_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fc8a0211d11682819dad1297357175c.jpg","text":"TemporaryFile(/tmp/multipartBody8498278825135197102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420584712,"filename":"image_23042025_17_00_54_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6b35f802cd8ce53e7ad4a47d08918c2.jpg","text":"TemporaryFile(/tmp/multipartBody3612722589701745254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420584712,"filename":"image_23042025_17_01_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08932d75b880d6b5eef2911959a67e89.jpg","text":"TemporaryFile(/tmp/multipartBody5563095197765347315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420584712,"filename":"image_23042025_17_01_34_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a477fe1070d1c5377bcbd57a7a67b0be.jpg","text":"TemporaryFile(/tmp/multipartBody320358007200566736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420584712,"filename":"image_23042025_17_01_24_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b06038a8eae8abec866edf2dc0420c6.jpg","text":"TemporaryFile(/tmp/multipartBody9222910038369906163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420584712,"filename":"image_23042025_17_01_04_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353090954","file1":"1353090925","file0":"1353090895","file4":"1353091011","file5":"1353091033","file3":"1353090985"},"map_files_photo_id_array":[{"photo_id":"1353091033","filename":"file5"},{"photo_id":"1353090954","filename":"file2"},{"photo_id":"1353091011","filename":"file4"},{"photo_id":"1353090925","filename":"file1"},{"photo_id":"1353090895","filename":"file0"},{"photo_id":"1353090985","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353090895":["hashtag1","hashtag2"]},{"1353091033":["hashtag1","hashtag2"]},{"1353090985":["hashtag1","hashtag2"]},{"1353090925":["hashtag1","hashtag2"]},{"1353090954":["hashtag1","hashtag2"]},{"1353091011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353090895, 1353091033, 1353090985, 1353090925, 1353090954, 1353091011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36627531051636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:03:03.289426
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_44_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_34_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_23_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_14_9740.jpg', 2), ('/home/nano/Desktop/images/23042025/17/01/image_23042025_17_02_04_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_54_10652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_44_9688.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_34_10719.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_23_9739.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_14_9740.jpg', '/home/nano/Desktop/images/23042025/17/01/image_23042025_17_02_04_9637.jpg', '/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_54_10652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_44_9688.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_34_10719.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_23_9739.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_14_9740.jpg
/home/nano/Desktop/images/23042025/17/01/image_23042025_17_02_04_9637.jpg
/home/nano/Desktop/images/23042025/17/01/image_23042025_17_01_54_10652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353091123","1353091111","1353091129","1353091098","1353091119","1353091115"],"photo_ids_order":["1353091098","1353091111","1353091115","1353091119","1353091123","1353091129"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dffd036a605555612dec4dfac1450e4b.jpg","text":"TemporaryFile(/tmp/multipartBody2871225821779688098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420644925,"filename":"image_23042025_17_02_04_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4cc18c9196c7b67d4f9006032d865065.jpg","text":"TemporaryFile(/tmp/multipartBody6167238610420581362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420644925,"filename":"image_23042025_17_02_34_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5834d794070a7cfb0c0d89c4bdcbd31.jpg","text":"TemporaryFile(/tmp/multipartBody4531283317135370691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420644925,"filename":"image_23042025_17_01_54_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34ee0f3262dd7b9838b89d3a920268dd.jpg","text":"TemporaryFile(/tmp/multipartBody9069378146210398347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420644925,"filename":"image_23042025_17_02_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4205d8f774dc8091d065cb5d8c1a0d4c.jpg","text":"TemporaryFile(/tmp/multipartBody8475776478566888621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420644925,"filename":"image_23042025_17_02_14_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7994aacc8c526a41511526cfaa8628ed.jpg","text":"TemporaryFile(/tmp/multipartBody1014027963618136717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420644925,"filename":"image_23042025_17_02_23_9739.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353091115","file1":"1353091111","file0":"1353091098","file4":"1353091123","file5":"1353091129","file3":"1353091119"},"map_files_photo_id_array":[{"photo_id":"1353091129","filename":"file5"},{"photo_id":"1353091115","filename":"file2"},{"photo_id":"1353091123","filename":"file4"},{"photo_id":"1353091111","filename":"file1"},{"photo_id":"1353091098","filename":"file0"},{"photo_id":"1353091119","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353091123":["hashtag1","hashtag2"]},{"1353091111":["hashtag1","hashtag2"]},{"1353091129":["hashtag1","hashtag2"]},{"1353091098":["hashtag1","hashtag2"]},{"1353091119":["hashtag1","hashtag2"]},{"1353091115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353091123, 1353091111, 1353091129, 1353091098, 1353091119, 1353091115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.075682401657104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:04:03.158626
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_44_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_34_10763.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_24_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_14_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_03_04_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_53_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_44_9667.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_34_10763.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_24_9699.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_14_9710.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_03_04_10659.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_53_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_44_9667.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_34_10763.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_24_9699.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_14_9710.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_03_04_10659.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_53_9653.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.7660465240478516 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:04:32.644752
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_44_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_33_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_24_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_14_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_04_04_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_54_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_44_10651.jpg', '/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_33_9668.jpg', '/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_24_9739.jpg', '/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_14_9705.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_04_04_10662.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_54_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_44_10651.jpg
/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_33_9668.jpg
/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_24_9739.jpg
/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_14_9705.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_04_04_10662.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_54_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353091282","1353091357","1353091299","1353091326","1353091254","1353091340"],"photo_ids_order":["1353091254","1353091282","1353091299","1353091326","1353091340","1353091357"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/990246c76c4ee5952d7fe9826c5363b4.jpg","text":"TemporaryFile(/tmp/multipartBody4603870748695550723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420734720,"filename":"image_23042025_17_04_33_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c711440efa34b07375fd95b1047056b.jpg","text":"TemporaryFile(/tmp/multipartBody8896929308848471713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420734720,"filename":"image_23042025_17_03_54_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54734f6cf00c25b205141c7ac15784c7.jpg","text":"TemporaryFile(/tmp/multipartBody4048013273175599842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420734720,"filename":"image_23042025_17_04_24_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcf3904db18de55c8c3178504a8bb843.jpg","text":"TemporaryFile(/tmp/multipartBody5962415239361773518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420734720,"filename":"image_23042025_17_04_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54d14e521ab703e8a80477b4a502d08a.jpg","text":"TemporaryFile(/tmp/multipartBody3190594080402504471asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420734720,"filename":"image_23042025_17_04_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d88887b81d40ed0a1f7f937590a2994c.jpg","text":"TemporaryFile(/tmp/multipartBody3231218034398323028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420734720,"filename":"image_23042025_17_04_04_10662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353091299","file1":"1353091282","file0":"1353091254","file4":"1353091340","file5":"1353091357","file3":"1353091326"},"map_files_photo_id_array":[{"photo_id":"1353091357","filename":"file5"},{"photo_id":"1353091299","filename":"file2"},{"photo_id":"1353091340","filename":"file4"},{"photo_id":"1353091282","filename":"file1"},{"photo_id":"1353091254","filename":"file0"},{"photo_id":"1353091326","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353091282":["hashtag1","hashtag2"]},{"1353091357":["hashtag1","hashtag2"]},{"1353091299":["hashtag1","hashtag2"]},{"1353091326":["hashtag1","hashtag2"]},{"1353091254":["hashtag1","hashtag2"]},{"1353091340":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353091282, 1353091357, 1353091299, 1353091326, 1353091254, 1353091340)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.36353921890259 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:05:32.739069
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_44_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_33_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_24_9700.jpg', 2), ('/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_14_10585.jpg', 2), ('/home/nano/Desktop/images/23042025/17/04/image_23042025_17_05_03_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_54_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_44_10663.jpg', '/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_33_9715.jpg', '/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_24_9700.jpg', '/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_14_10585.jpg', '/home/nano/Desktop/images/23042025/17/04/image_23042025_17_05_03_9650.jpg', '/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_54_9640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_44_10663.jpg
/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_33_9715.jpg
/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_24_9700.jpg
/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_14_10585.jpg
/home/nano/Desktop/images/23042025/17/04/image_23042025_17_05_03_9650.jpg
/home/nano/Desktop/images/23042025/17/04/image_23042025_17_04_54_9640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353091426","1353091431","1353091422","1353091442","1353091436","1353091439"],"photo_ids_order":["1353091422","1353091426","1353091431","1353091436","1353091439","1353091442"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d1f953d53284ed1880673f55cb52e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7057628750170875197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420794653,"filename":"image_23042025_17_05_33_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09841661b8bc2545382d746dabd4a942.jpg","text":"TemporaryFile(/tmp/multipartBody3663911869779699767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420794653,"filename":"image_23042025_17_05_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89a3756b915fe0cdfc2024cc3c6ec6cb.jpg","text":"TemporaryFile(/tmp/multipartBody4755111856681378066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420794653,"filename":"image_23042025_17_05_44_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fc72527c1dc54e4c891a5f6f8f6dcc3.jpg","text":"TemporaryFile(/tmp/multipartBody6362252949006278523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420794653,"filename":"image_23042025_17_04_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a36495c0de7ace8435aa0b35e9ad8d5e.jpg","text":"TemporaryFile(/tmp/multipartBody7645258955726452962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420794653,"filename":"image_23042025_17_05_14_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/764897b760da31f6ad78ca6b1b40aea6.jpg","text":"TemporaryFile(/tmp/multipartBody4509896770986699848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420794653,"filename":"image_23042025_17_05_03_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353091431","file1":"1353091426","file0":"1353091422","file4":"1353091439","file5":"1353091442","file3":"1353091436"},"map_files_photo_id_array":[{"photo_id":"1353091442","filename":"file5"},{"photo_id":"1353091431","filename":"file2"},{"photo_id":"1353091439","filename":"file4"},{"photo_id":"1353091426","filename":"file1"},{"photo_id":"1353091422","filename":"file0"},{"photo_id":"1353091436","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353091426":["hashtag1","hashtag2"]},{"1353091431":["hashtag1","hashtag2"]},{"1353091422":["hashtag1","hashtag2"]},{"1353091442":["hashtag1","hashtag2"]},{"1353091436":["hashtag1","hashtag2"]},{"1353091439":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353091426, 1353091431, 1353091422, 1353091442, 1353091436, 1353091439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.176318645477295 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:06:31.859409
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_44_10738.jpg', 2), ('/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_33_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_24_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_14_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/17/05/image_23042025_17_06_03_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_54_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_44_10738.jpg', '/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_33_9689.jpg', '/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_24_9655.jpg', '/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_14_10704.jpg', '/home/nano/Desktop/images/23042025/17/05/image_23042025_17_06_03_9666.jpg', '/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_54_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_44_10738.jpg
/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_33_9689.jpg
/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_24_9655.jpg
/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_14_10704.jpg
/home/nano/Desktop/images/23042025/17/05/image_23042025_17_06_03_9666.jpg
/home/nano/Desktop/images/23042025/17/05/image_23042025_17_05_54_9694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353091494","1353091476","1353091467","1353091472","1353091505","1353091483"],"photo_ids_order":["1353091467","1353091472","1353091476","1353091483","1353091494","1353091505"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e570df162777fb61ec55242d23369301.jpg","text":"TemporaryFile(/tmp/multipartBody6100681338385468716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420853888,"filename":"image_23042025_17_06_03_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3059b77b9f8229d998afe05dacbe3b8b.jpg","text":"TemporaryFile(/tmp/multipartBody2324454594841193707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420853888,"filename":"image_23042025_17_06_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b751b9e3cf31b5b10379b1411f4c2c9.jpg","text":"TemporaryFile(/tmp/multipartBody2681718834175843765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420853888,"filename":"image_23042025_17_06_44_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b61b4477a6e125543812f33b4f808706.jpg","text":"TemporaryFile(/tmp/multipartBody8380859216968318769asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420853888,"filename":"image_23042025_17_06_33_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/249a5dc9e3429863d1a9b509d61b356b.jpg","text":"TemporaryFile(/tmp/multipartBody3585421955663407681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420853888,"filename":"image_23042025_17_05_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e32f15b1da8d7ee35bd6efe4ef4de055.jpg","text":"TemporaryFile(/tmp/multipartBody9102510060476361128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420853888,"filename":"image_23042025_17_06_14_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353091476","file1":"1353091472","file0":"1353091467","file4":"1353091494","file5":"1353091505","file3":"1353091483"},"map_files_photo_id_array":[{"photo_id":"1353091505","filename":"file5"},{"photo_id":"1353091476","filename":"file2"},{"photo_id":"1353091494","filename":"file4"},{"photo_id":"1353091472","filename":"file1"},{"photo_id":"1353091467","filename":"file0"},{"photo_id":"1353091483","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353091494":["hashtag1","hashtag2"]},{"1353091476":["hashtag1","hashtag2"]},{"1353091467":["hashtag1","hashtag2"]},{"1353091472":["hashtag1","hashtag2"]},{"1353091505":["hashtag1","hashtag2"]},{"1353091483":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353091494, 1353091476, 1353091467, 1353091472, 1353091505, 1353091483)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.916344165802002 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:07:31.929975
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_44_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_34_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_24_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_14_10709.jpg', 2), ('/home/nano/Desktop/images/23042025/17/06/image_23042025_17_07_04_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_54_9708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_44_10677.jpg', '/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_34_9650.jpg', '/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_24_9685.jpg', '/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_14_10709.jpg', '/home/nano/Desktop/images/23042025/17/06/image_23042025_17_07_04_9685.jpg', '/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_54_9708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_44_10677.jpg
/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_34_9650.jpg
/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_24_9685.jpg
/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_14_10709.jpg
/home/nano/Desktop/images/23042025/17/06/image_23042025_17_07_04_9685.jpg
/home/nano/Desktop/images/23042025/17/06/image_23042025_17_06_54_9708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353092032","1353092154","1353092124","1353092096","1353091999","1353092065"],"photo_ids_order":["1353091999","1353092032","1353092065","1353092096","1353092124","1353092154"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5afb3d32b822804b7fd6ac080de61670.jpg","text":"TemporaryFile(/tmp/multipartBody3205296838837204307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420913587,"filename":"image_23042025_17_07_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a99a668eb0dcf5e97c5f33de82a86750.jpg","text":"TemporaryFile(/tmp/multipartBody7079299455205720764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420913587,"filename":"image_23042025_17_06_54_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54b6cbd07301b4eed63fe70e68c7a775.jpg","text":"TemporaryFile(/tmp/multipartBody1847582257252018940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420913587,"filename":"image_23042025_17_07_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1179fe5057197a87ef4a7b79e81d4843.jpg","text":"TemporaryFile(/tmp/multipartBody8082152967768456233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420913587,"filename":"image_23042025_17_07_14_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3852190dfad62cd01710b6b49987a9bd.jpg","text":"TemporaryFile(/tmp/multipartBody2521336846418324334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420913587,"filename":"image_23042025_17_07_44_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dce1f4b8bda935d0a99be47b1b34ff71.jpg","text":"TemporaryFile(/tmp/multipartBody7985274842508206899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420913587,"filename":"image_23042025_17_07_24_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353092065","file1":"1353092032","file0":"1353091999","file4":"1353092124","file5":"1353092154","file3":"1353092096"},"map_files_photo_id_array":[{"photo_id":"1353092154","filename":"file5"},{"photo_id":"1353092065","filename":"file2"},{"photo_id":"1353092124","filename":"file4"},{"photo_id":"1353092032","filename":"file1"},{"photo_id":"1353091999","filename":"file0"},{"photo_id":"1353092096","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353092032":["hashtag1","hashtag2"]},{"1353092154":["hashtag1","hashtag2"]},{"1353092124":["hashtag1","hashtag2"]},{"1353092096":["hashtag1","hashtag2"]},{"1353091999":["hashtag1","hashtag2"]},{"1353092065":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353092032, 1353092154, 1353092124, 1353092096, 1353091999, 1353092065)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07735013961792 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:08:32.022731
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_44_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_34_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_24_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_14_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/17/07/image_23042025_17_08_04_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_54_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_44_10665.jpg', '/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_34_9652.jpg', '/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_24_9652.jpg', '/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_14_10687.jpg', '/home/nano/Desktop/images/23042025/17/07/image_23042025_17_08_04_9671.jpg', '/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_54_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_44_10665.jpg
/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_34_9652.jpg
/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_24_9652.jpg
/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_14_10687.jpg
/home/nano/Desktop/images/23042025/17/07/image_23042025_17_08_04_9671.jpg
/home/nano/Desktop/images/23042025/17/07/image_23042025_17_07_54_9677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353092614","1353092685","1353092810","1353092729","1353092537","1353092773"],"photo_ids_order":["1353092537","1353092614","1353092685","1353092729","1353092773","1353092810"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/030a992aa70c69afbcb3fe800e208802.jpg","text":"TemporaryFile(/tmp/multipartBody3708405546941140975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420973620,"filename":"image_23042025_17_08_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76626d980c9a4fb4fa9fac5f5b771a04.jpg","text":"TemporaryFile(/tmp/multipartBody430583140378135825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420973620,"filename":"image_23042025_17_08_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf9928e2c53ffab5ba71447e14867d31.jpg","text":"TemporaryFile(/tmp/multipartBody6647595116636050784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420973620,"filename":"image_23042025_17_07_54_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af2c0261cd329ebb45a8c173ce12b1cd.jpg","text":"TemporaryFile(/tmp/multipartBody4363842989771674315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420973620,"filename":"image_23042025_17_08_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d652de3490f4c81373b1007d593cd57.jpg","text":"TemporaryFile(/tmp/multipartBody6999716386616604058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420973620,"filename":"image_23042025_17_08_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1905b8a2d5d3925f6bec671d6e9092d0.jpg","text":"TemporaryFile(/tmp/multipartBody5676400002351814755asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745420973620,"filename":"image_23042025_17_08_04_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353092685","file1":"1353092614","file0":"1353092537","file4":"1353092773","file5":"1353092810","file3":"1353092729"},"map_files_photo_id_array":[{"photo_id":"1353092810","filename":"file5"},{"photo_id":"1353092685","filename":"file2"},{"photo_id":"1353092773","filename":"file4"},{"photo_id":"1353092614","filename":"file1"},{"photo_id":"1353092537","filename":"file0"},{"photo_id":"1353092729","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353092614":["hashtag1","hashtag2"]},{"1353092685":["hashtag1","hashtag2"]},{"1353092810":["hashtag1","hashtag2"]},{"1353092729":["hashtag1","hashtag2"]},{"1353092537":["hashtag1","hashtag2"]},{"1353092773":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353092614, 1353092685, 1353092810, 1353092729, 1353092537, 1353092773)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.442009925842285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:09:32.180490
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_44_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_34_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_24_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_14_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/17/08/image_23042025_17_09_04_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_54_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_44_10665.jpg', '/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_34_9676.jpg', '/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_24_9644.jpg', '/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_14_10674.jpg', '/home/nano/Desktop/images/23042025/17/08/image_23042025_17_09_04_9664.jpg', '/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_54_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_44_10665.jpg
/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_34_9676.jpg
/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_24_9644.jpg
/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_14_10674.jpg
/home/nano/Desktop/images/23042025/17/08/image_23042025_17_09_04_9664.jpg
/home/nano/Desktop/images/23042025/17/08/image_23042025_17_08_54_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353093225","1353093380","1353093350","1353093293","1353093254","1353093323"],"photo_ids_order":["1353093225","1353093254","1353093293","1353093323","1353093350","1353093380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc11e67779e61231ece1997b012ee2cb.jpg","text":"TemporaryFile(/tmp/multipartBody149467374344067618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421034520,"filename":"image_23042025_17_09_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eab5ee07a9586c130391c8d3739bcc76.jpg","text":"TemporaryFile(/tmp/multipartBody5367734102493292232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421034520,"filename":"image_23042025_17_08_54_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84d73ac3f8588fe6a0a046ec09a72013.jpg","text":"TemporaryFile(/tmp/multipartBody8920579734011146764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421034520,"filename":"image_23042025_17_09_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36892d4b37d2f95048edd821f5db7155.jpg","text":"TemporaryFile(/tmp/multipartBody7313835686721987728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421034520,"filename":"image_23042025_17_09_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4ecda16ff3888791bf2e15e2722bcb0.jpg","text":"TemporaryFile(/tmp/multipartBody775337514944753206asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421034520,"filename":"image_23042025_17_09_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fc5feebbd71593eb0cec72c20d99522.jpg","text":"TemporaryFile(/tmp/multipartBody3802806331242273988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421034520,"filename":"image_23042025_17_09_14_10674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353093293","file1":"1353093254","file0":"1353093225","file4":"1353093350","file5":"1353093380","file3":"1353093323"},"map_files_photo_id_array":[{"photo_id":"1353093380","filename":"file5"},{"photo_id":"1353093293","filename":"file2"},{"photo_id":"1353093350","filename":"file4"},{"photo_id":"1353093254","filename":"file1"},{"photo_id":"1353093225","filename":"file0"},{"photo_id":"1353093323","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353093225":["hashtag1","hashtag2"]},{"1353093380":["hashtag1","hashtag2"]},{"1353093350":["hashtag1","hashtag2"]},{"1353093293":["hashtag1","hashtag2"]},{"1353093254":["hashtag1","hashtag2"]},{"1353093323":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353093225, 1353093380, 1353093350, 1353093293, 1353093254, 1353093323)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.23151421546936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:10:32.271830
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_43_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_34_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_24_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_13_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/17/09/image_23042025_17_10_04_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_54_9776.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_43_9651.jpg', '/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_34_9670.jpg', '/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_24_10667.jpg', '/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_13_9681.jpg', '/home/nano/Desktop/images/23042025/17/09/image_23042025_17_10_04_9704.jpg', '/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_54_9776.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_43_9651.jpg
/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_34_9670.jpg
/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_24_10667.jpg
/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_13_9681.jpg
/home/nano/Desktop/images/23042025/17/09/image_23042025_17_10_04_9704.jpg
/home/nano/Desktop/images/23042025/17/09/image_23042025_17_09_54_9776.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353093447","1353093534","1353093441","1353093519","1353093455","1353093487"],"photo_ids_order":["1353093441","1353093447","1353093455","1353093487","1353093519","1353093534"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9afe213444c8dc4945d8803b98f7eb9b.jpg","text":"TemporaryFile(/tmp/multipartBody5191158562726194081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421093809,"filename":"image_23042025_17_10_34_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/926c221c7901d95a76f19f5ed29ff8d8.jpg","text":"TemporaryFile(/tmp/multipartBody3678707672164799905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421093809,"filename":"image_23042025_17_09_54_9776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d9fa28ff2f29a2576a34a71c6778a13.jpg","text":"TemporaryFile(/tmp/multipartBody6748270607844447169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421093809,"filename":"image_23042025_17_10_43_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5db271b1310d30526502913d8b119c51.jpg","text":"TemporaryFile(/tmp/multipartBody1723665455402946625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421093809,"filename":"image_23042025_17_10_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25d88a971564c968a42ebe4b9c098b2a.jpg","text":"TemporaryFile(/tmp/multipartBody5624967281205298032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421093809,"filename":"image_23042025_17_10_24_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57f3b70014fb67532d125bcdb0339976.jpg","text":"TemporaryFile(/tmp/multipartBody1825157510131970802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421093809,"filename":"image_23042025_17_10_13_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353093455","file1":"1353093447","file0":"1353093441","file4":"1353093519","file5":"1353093534","file3":"1353093487"},"map_files_photo_id_array":[{"photo_id":"1353093534","filename":"file5"},{"photo_id":"1353093455","filename":"file2"},{"photo_id":"1353093519","filename":"file4"},{"photo_id":"1353093447","filename":"file1"},{"photo_id":"1353093441","filename":"file0"},{"photo_id":"1353093487","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353093447":["hashtag1","hashtag2"]},{"1353093534":["hashtag1","hashtag2"]},{"1353093441":["hashtag1","hashtag2"]},{"1353093519":["hashtag1","hashtag2"]},{"1353093455":["hashtag1","hashtag2"]},{"1353093487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353093447, 1353093534, 1353093441, 1353093519, 1353093455, 1353093487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.835935831069946 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:11:32.444924
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_44_9757.jpg', 2), ('/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_34_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_23_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_14_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/17/10/image_23042025_17_11_04_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_54_10733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_44_9757.jpg', '/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_34_10667.jpg', '/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_23_9781.jpg', '/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_14_9772.jpg', '/home/nano/Desktop/images/23042025/17/10/image_23042025_17_11_04_9687.jpg', '/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_54_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_44_9757.jpg
/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_34_10667.jpg
/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_23_9781.jpg
/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_14_9772.jpg
/home/nano/Desktop/images/23042025/17/10/image_23042025_17_11_04_9687.jpg
/home/nano/Desktop/images/23042025/17/10/image_23042025_17_10_54_10733.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353093645","1353093656","1353093641","1353093635","1353093691","1353093631"],"photo_ids_order":["1353093631","1353093635","1353093641","1353093645","1353093656","1353093691"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f94a2303fc9e801134ef034596588e1.jpg","text":"TemporaryFile(/tmp/multipartBody4690419234962290231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421154213,"filename":"image_23042025_17_11_14_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ec9b40268f0461a1d7f1ab1a2386d63.jpg","text":"TemporaryFile(/tmp/multipartBody8944737556689172162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421154213,"filename":"image_23042025_17_11_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6f956cbc36e763169018543a6d1ff58.jpg","text":"TemporaryFile(/tmp/multipartBody5863206481462704371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421154213,"filename":"image_23042025_17_11_23_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01961b7432ed00b664b99102151f49e8.jpg","text":"TemporaryFile(/tmp/multipartBody2863549366557721058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421154213,"filename":"image_23042025_17_11_34_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/419e0078af4098869a24dffe89f6f0d4.jpg","text":"TemporaryFile(/tmp/multipartBody3397852953022032091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421154213,"filename":"image_23042025_17_10_54_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85aa3f9c95c17d19e2ec8fd0ac6621fa.jpg","text":"TemporaryFile(/tmp/multipartBody736089661163378062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421154213,"filename":"image_23042025_17_11_44_9757.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353093641","file1":"1353093635","file0":"1353093631","file4":"1353093656","file5":"1353093691","file3":"1353093645"},"map_files_photo_id_array":[{"photo_id":"1353093691","filename":"file5"},{"photo_id":"1353093641","filename":"file2"},{"photo_id":"1353093656","filename":"file4"},{"photo_id":"1353093635","filename":"file1"},{"photo_id":"1353093631","filename":"file0"},{"photo_id":"1353093645","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353093645":["hashtag1","hashtag2"]},{"1353093656":["hashtag1","hashtag2"]},{"1353093641":["hashtag1","hashtag2"]},{"1353093635":["hashtag1","hashtag2"]},{"1353093691":["hashtag1","hashtag2"]},{"1353093631":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353093645, 1353093656, 1353093641, 1353093635, 1353093691, 1353093631)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.179309129714966 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:12:32.525384
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_44_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_33_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_24_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_14_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/17/11/image_23042025_17_12_04_10764.jpg', 2), ('/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_54_9721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_44_10669.jpg', '/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_33_9691.jpg', '/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_24_9718.jpg', '/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_14_9684.jpg', '/home/nano/Desktop/images/23042025/17/11/image_23042025_17_12_04_10764.jpg', '/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_54_9721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_44_10669.jpg
/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_33_9691.jpg
/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_24_9718.jpg
/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_14_9684.jpg
/home/nano/Desktop/images/23042025/17/11/image_23042025_17_12_04_10764.jpg
/home/nano/Desktop/images/23042025/17/11/image_23042025_17_11_54_9721.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353094391","1353094427","1353094208","1353094315","1353094264","1353094345"],"photo_ids_order":["1353094208","1353094264","1353094315","1353094345","1353094391","1353094427"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/943d1ebfbbf9a2b2a85acf505905bbb0.jpg","text":"TemporaryFile(/tmp/multipartBody4451661723053268701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421214154,"filename":"image_23042025_17_12_04_10764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d91b0913a7937fd76f2208abde5d1b5.jpg","text":"TemporaryFile(/tmp/multipartBody2014367767946024696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421214154,"filename":"image_23042025_17_11_54_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd80b2c6538816df14b107a080f9b022.jpg","text":"TemporaryFile(/tmp/multipartBody6375143718796442761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421214154,"filename":"image_23042025_17_12_44_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06079e1543a26e759be42659759388f3.jpg","text":"TemporaryFile(/tmp/multipartBody5992381214309299017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421214154,"filename":"image_23042025_17_12_24_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8adf7ef5ec01084b544d4f491ebb98dd.jpg","text":"TemporaryFile(/tmp/multipartBody3448686287114249214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421214154,"filename":"image_23042025_17_12_33_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/609c0935e24b3ab53a188f4afcd2aad9.jpg","text":"TemporaryFile(/tmp/multipartBody1917455411013259366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421214154,"filename":"image_23042025_17_12_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353094315","file1":"1353094264","file0":"1353094208","file4":"1353094391","file5":"1353094427","file3":"1353094345"},"map_files_photo_id_array":[{"photo_id":"1353094427","filename":"file5"},{"photo_id":"1353094315","filename":"file2"},{"photo_id":"1353094391","filename":"file4"},{"photo_id":"1353094264","filename":"file1"},{"photo_id":"1353094208","filename":"file0"},{"photo_id":"1353094345","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353094391":["hashtag1","hashtag2"]},{"1353094427":["hashtag1","hashtag2"]},{"1353094208":["hashtag1","hashtag2"]},{"1353094315":["hashtag1","hashtag2"]},{"1353094264":["hashtag1","hashtag2"]},{"1353094345":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353094391, 1353094427, 1353094208, 1353094315, 1353094264, 1353094345)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.97802114486694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:13:32.618808
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_44_9779.jpg', 2), ('/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_34_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_24_10781.jpg', 2), ('/home/nano/Desktop/images/23042025/17/12/image_23042025_17_13_04_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_54_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_44_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_44_9779.jpg', '/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_34_9784.jpg', '/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_24_10781.jpg', '/home/nano/Desktop/images/23042025/17/12/image_23042025_17_13_04_9780.jpg', '/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_54_9709.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_44_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_44_9779.jpg
/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_34_9784.jpg
/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_24_10781.jpg
/home/nano/Desktop/images/23042025/17/12/image_23042025_17_13_04_9780.jpg
/home/nano/Desktop/images/23042025/17/12/image_23042025_17_12_54_9709.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_44_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353095039","1353094982","1353094703","1353094897","1353094734","1353094929"],"photo_ids_order":["1353094703","1353094734","1353094897","1353094929","1353094982","1353095039"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ddac3eb1b2b2c28d81a862b5cb4904b.jpg","text":"TemporaryFile(/tmp/multipartBody600830829893824240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421274508,"filename":"image_23042025_17_03_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/600ed1acbeaaa90a0425a8c862f64b32.jpg","text":"TemporaryFile(/tmp/multipartBody5687107106505229806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421274508,"filename":"image_23042025_17_12_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8186c6a1ebbd36617e1f0180af321285.jpg","text":"TemporaryFile(/tmp/multipartBody6595023390376745684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421274508,"filename":"image_23042025_17_13_44_9779.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f15aea52c95a20e5aaced70b2b9e216.jpg","text":"TemporaryFile(/tmp/multipartBody1843711056030786859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421274508,"filename":"image_23042025_17_13_24_10781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/700368a34ce8621fd95e84495919ddcd.jpg","text":"TemporaryFile(/tmp/multipartBody1907941783285759274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421274508,"filename":"image_23042025_17_13_34_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78f37960543f87f79c0e96b6bb2a9651.jpg","text":"TemporaryFile(/tmp/multipartBody2576360481871013627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421274508,"filename":"image_23042025_17_13_04_9780.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353094897","file1":"1353094734","file0":"1353094703","file4":"1353094982","file5":"1353095039","file3":"1353094929"},"map_files_photo_id_array":[{"photo_id":"1353095039","filename":"file5"},{"photo_id":"1353094897","filename":"file2"},{"photo_id":"1353094982","filename":"file4"},{"photo_id":"1353094734","filename":"file1"},{"photo_id":"1353094703","filename":"file0"},{"photo_id":"1353094929","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353095039":["hashtag1","hashtag2"]},{"1353094982":["hashtag1","hashtag2"]},{"1353094703":["hashtag1","hashtag2"]},{"1353094897":["hashtag1","hashtag2"]},{"1353094734":["hashtag1","hashtag2"]},{"1353094929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353095039, 1353094982, 1353094703, 1353094897, 1353094734, 1353094929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.07516527175903 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:14:32.748859
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_44_10728.jpg', 2), ('/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_33_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_24_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_14_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/17/13/image_23042025_17_14_04_10737.jpg', 2), ('/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_53_9784.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_44_10728.jpg', '/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_33_9722.jpg', '/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_24_9738.jpg', '/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_14_9738.jpg', '/home/nano/Desktop/images/23042025/17/13/image_23042025_17_14_04_10737.jpg', '/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_53_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_44_10728.jpg
/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_33_9722.jpg
/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_24_9738.jpg
/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_14_9738.jpg
/home/nano/Desktop/images/23042025/17/13/image_23042025_17_14_04_10737.jpg
/home/nano/Desktop/images/23042025/17/13/image_23042025_17_13_53_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353095513","1353095476","1353095487","1353095496","1353095502","1353095492"],"photo_ids_order":["1353095476","1353095487","1353095492","1353095496","1353095502","1353095513"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f84715c0ce8e5e4bc7e8e408b6d83d21.jpg","text":"TemporaryFile(/tmp/multipartBody8109989389197814543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421334537,"filename":"image_23042025_17_13_53_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57ef5f7bbe1b276179eff0e893f2f8c2.jpg","text":"TemporaryFile(/tmp/multipartBody424561478225208861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421334537,"filename":"image_23042025_17_14_44_10728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbf16fe69f546b6ab169e91621dd5cf3.jpg","text":"TemporaryFile(/tmp/multipartBody2264624124089826362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421334537,"filename":"image_23042025_17_14_33_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18ef642497290461d55e572a8ce5a239.jpg","text":"TemporaryFile(/tmp/multipartBody1425626907263420530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421334537,"filename":"image_23042025_17_14_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/019b797bc3922b9a5a7c0bbddc887a86.jpg","text":"TemporaryFile(/tmp/multipartBody7674072372815621317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421334537,"filename":"image_23042025_17_14_04_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1e87312616514fc7e7067e7c57ec788.jpg","text":"TemporaryFile(/tmp/multipartBody5421020627285319687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421334537,"filename":"image_23042025_17_14_24_9738.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353095492","file1":"1353095487","file0":"1353095476","file4":"1353095502","file5":"1353095513","file3":"1353095496"},"map_files_photo_id_array":[{"photo_id":"1353095513","filename":"file5"},{"photo_id":"1353095492","filename":"file2"},{"photo_id":"1353095502","filename":"file4"},{"photo_id":"1353095487","filename":"file1"},{"photo_id":"1353095476","filename":"file0"},{"photo_id":"1353095496","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353095513":["hashtag1","hashtag2"]},{"1353095476":["hashtag1","hashtag2"]},{"1353095487":["hashtag1","hashtag2"]},{"1353095496":["hashtag1","hashtag2"]},{"1353095502":["hashtag1","hashtag2"]},{"1353095492":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353095513, 1353095476, 1353095487, 1353095496, 1353095502, 1353095492)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44524335861206 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:15:31.820400
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_44_9779.jpg', 2), ('/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_34_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_24_10804.jpg', 2), ('/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_13_9783.jpg', 2), ('/home/nano/Desktop/images/23042025/17/14/image_23042025_17_15_04_9764.jpg', 2), ('/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_54_9780.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_44_9779.jpg', '/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_34_9778.jpg', '/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_24_10804.jpg', '/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_13_9783.jpg', '/home/nano/Desktop/images/23042025/17/14/image_23042025_17_15_04_9764.jpg', '/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_54_9780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_44_9779.jpg
/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_34_9778.jpg
/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_24_10804.jpg
/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_13_9783.jpg
/home/nano/Desktop/images/23042025/17/14/image_23042025_17_15_04_9764.jpg
/home/nano/Desktop/images/23042025/17/14/image_23042025_17_14_54_9780.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353095747","1353095743","1353095716","1353095739","1353095724","1353095712"],"photo_ids_order":["1353095712","1353095716","1353095724","1353095739","1353095743","1353095747"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de4b3bf6c6ce166cebf472b3448c7d9c.jpg","text":"TemporaryFile(/tmp/multipartBody7877894693142363164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421393781,"filename":"image_23042025_17_14_54_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23383215c33a0a3cc5c7538f7f596afa.jpg","text":"TemporaryFile(/tmp/multipartBody8561684111780431978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421393781,"filename":"image_23042025_17_15_04_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22a1ac0ebb9ee98cf4f1d9f7b8662f5f.jpg","text":"TemporaryFile(/tmp/multipartBody5014301766629982476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421393781,"filename":"image_23042025_17_15_34_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c08cdd75456c4c0c250bd0f9aa0668e.jpg","text":"TemporaryFile(/tmp/multipartBody4940108639329651571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421393781,"filename":"image_23042025_17_15_13_9783.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7ea74a8d7eb79f902ca5bb09508696b.jpg","text":"TemporaryFile(/tmp/multipartBody6712563377016974065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421393781,"filename":"image_23042025_17_15_24_10804.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6b6cfd82771f1a41efd7ad1c10976e6.jpg","text":"TemporaryFile(/tmp/multipartBody603277251312672197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421393781,"filename":"image_23042025_17_15_44_9779.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353095724","file1":"1353095716","file0":"1353095712","file4":"1353095743","file5":"1353095747","file3":"1353095739"},"map_files_photo_id_array":[{"photo_id":"1353095747","filename":"file5"},{"photo_id":"1353095724","filename":"file2"},{"photo_id":"1353095743","filename":"file4"},{"photo_id":"1353095716","filename":"file1"},{"photo_id":"1353095712","filename":"file0"},{"photo_id":"1353095739","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353095747":["hashtag1","hashtag2"]},{"1353095743":["hashtag1","hashtag2"]},{"1353095716":["hashtag1","hashtag2"]},{"1353095739":["hashtag1","hashtag2"]},{"1353095724":["hashtag1","hashtag2"]},{"1353095712":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353095747, 1353095743, 1353095716, 1353095739, 1353095724, 1353095712)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.75680994987488 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:16:31.916629
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_44_9798.jpg', 2), ('/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_34_9771.jpg', 2), ('/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_24_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_14_10808.jpg', 2), ('/home/nano/Desktop/images/23042025/17/15/image_23042025_17_16_03_9787.jpg', 2), ('/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_54_9778.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_44_9798.jpg', '/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_34_9771.jpg', '/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_24_9778.jpg', '/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_14_10808.jpg', '/home/nano/Desktop/images/23042025/17/15/image_23042025_17_16_03_9787.jpg', '/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_54_9778.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_44_9798.jpg
/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_34_9771.jpg
/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_24_9778.jpg
/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_14_10808.jpg
/home/nano/Desktop/images/23042025/17/15/image_23042025_17_16_03_9787.jpg
/home/nano/Desktop/images/23042025/17/15/image_23042025_17_15_54_9778.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353096589","1353096634","1353096379","1353096550","1353096435","1353096680"],"photo_ids_order":["1353096379","1353096435","1353096550","1353096589","1353096634","1353096680"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef1703ba47c987ca79d8bcd4822760b5.jpg","text":"TemporaryFile(/tmp/multipartBody4981212419210083928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421454071,"filename":"image_23042025_17_16_14_10808.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8016d875add7a7f3e10e165cc69bb67e.jpg","text":"TemporaryFile(/tmp/multipartBody2397528356043188831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421454071,"filename":"image_23042025_17_16_03_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/303f7734ff78f9bb14522a7ed14cbc46.jpg","text":"TemporaryFile(/tmp/multipartBody3270817156396713413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421454071,"filename":"image_23042025_17_16_44_9798.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af4a38836d9e8109acf1e5b8c7722573.jpg","text":"TemporaryFile(/tmp/multipartBody2215972734760102996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421454071,"filename":"image_23042025_17_16_24_9778.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47fb3ff591c28c5f59196f9af984af0a.jpg","text":"TemporaryFile(/tmp/multipartBody4919979793698909041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421454071,"filename":"image_23042025_17_16_34_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9afbccb997748b844be071cb1c7cb9b7.jpg","text":"TemporaryFile(/tmp/multipartBody455962624017088611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421454071,"filename":"image_23042025_17_15_54_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353096550","file1":"1353096435","file0":"1353096379","file4":"1353096634","file5":"1353096680","file3":"1353096589"},"map_files_photo_id_array":[{"photo_id":"1353096680","filename":"file5"},{"photo_id":"1353096550","filename":"file2"},{"photo_id":"1353096634","filename":"file4"},{"photo_id":"1353096435","filename":"file1"},{"photo_id":"1353096379","filename":"file0"},{"photo_id":"1353096589","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353096589":["hashtag1","hashtag2"]},{"1353096634":["hashtag1","hashtag2"]},{"1353096379":["hashtag1","hashtag2"]},{"1353096550":["hashtag1","hashtag2"]},{"1353096435":["hashtag1","hashtag2"]},{"1353096680":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353096589, 1353096634, 1353096379, 1353096550, 1353096435, 1353096680)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.549097299575806 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:17:32.012348
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_34_10740.jpg', 2), ('/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_24_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_14_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/17/16/image_23042025_17_17_04_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_54_10727.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_34_10763.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_34_10740.jpg', '/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_24_9726.jpg', '/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_14_9742.jpg', '/home/nano/Desktop/images/23042025/17/16/image_23042025_17_17_04_9739.jpg', '/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_54_10727.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_34_10763.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_34_10740.jpg
/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_24_9726.jpg
/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_14_9742.jpg
/home/nano/Desktop/images/23042025/17/16/image_23042025_17_17_04_9739.jpg
/home/nano/Desktop/images/23042025/17/16/image_23042025_17_16_54_10727.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_34_10763.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353096911","1353097065","1353097050","1353097076","1353097061","1353097070"],"photo_ids_order":["1353096911","1353097050","1353097061","1353097065","1353097070","1353097076"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53190e407db2a3d5354336c50a7bcc7e.jpg","text":"TemporaryFile(/tmp/multipartBody6414202781048583896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421513922,"filename":"image_23042025_17_17_34_10740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/461a457bebc15d75fde0a5c9393534c1.jpg","text":"TemporaryFile(/tmp/multipartBody755205069380142546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421513922,"filename":"image_23042025_17_17_04_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e427269bf92603ef2da8c20a92786060.jpg","text":"TemporaryFile(/tmp/multipartBody9094915246460605248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421513922,"filename":"image_23042025_17_17_24_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b08e97d2e458ccb5d8eec9e860351df1.jpg","text":"TemporaryFile(/tmp/multipartBody8948458103235488045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421513922,"filename":"image_23042025_17_03_34_10763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/adb6b8033ce37a81a886619ec2212dd8.jpg","text":"TemporaryFile(/tmp/multipartBody4976507430674082827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421513922,"filename":"image_23042025_17_17_14_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa67e02a94ff8dff58ccd352bab98d1d.jpg","text":"TemporaryFile(/tmp/multipartBody5740813705781776856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421513922,"filename":"image_23042025_17_16_54_10727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353097061","file1":"1353097050","file0":"1353096911","file4":"1353097070","file5":"1353097076","file3":"1353097065"},"map_files_photo_id_array":[{"photo_id":"1353097076","filename":"file5"},{"photo_id":"1353097061","filename":"file2"},{"photo_id":"1353097070","filename":"file4"},{"photo_id":"1353097050","filename":"file1"},{"photo_id":"1353096911","filename":"file0"},{"photo_id":"1353097065","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353096911":["hashtag1","hashtag2"]},{"1353097065":["hashtag1","hashtag2"]},{"1353097050":["hashtag1","hashtag2"]},{"1353097076":["hashtag1","hashtag2"]},{"1353097061":["hashtag1","hashtag2"]},{"1353097070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353096911, 1353097065, 1353097050, 1353097076, 1353097061, 1353097070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.211889028549194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:18:32.100695
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_34_9740.jpg', 2), ('/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_24_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_14_10780.jpg', 2), ('/home/nano/Desktop/images/23042025/17/17/image_23042025_17_18_03_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_54_9722.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_24_9699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_34_9740.jpg', '/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_24_9725.jpg', '/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_14_10780.jpg', '/home/nano/Desktop/images/23042025/17/17/image_23042025_17_18_03_9741.jpg', '/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_54_9722.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_24_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_34_9740.jpg
/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_24_9725.jpg
/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_14_10780.jpg
/home/nano/Desktop/images/23042025/17/17/image_23042025_17_18_03_9741.jpg
/home/nano/Desktop/images/23042025/17/17/image_23042025_17_17_54_9722.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_24_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353097531","1353097231","1353097257","1353097437","1353097496","1353097469"],"photo_ids_order":["1353097231","1353097257","1353097437","1353097469","1353097496","1353097531"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44690247f24fd2971ab1a7c337d574c8.jpg","text":"TemporaryFile(/tmp/multipartBody565073176441466887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421574084,"filename":"image_23042025_17_03_24_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7bbebbd29b2916ec6ee16f459eeec27.jpg","text":"TemporaryFile(/tmp/multipartBody6035927814687084295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421574084,"filename":"image_23042025_17_18_34_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cea1bc527234adbd4e59b9183f9d8cda.jpg","text":"TemporaryFile(/tmp/multipartBody6079464045266276075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421574084,"filename":"image_23042025_17_18_24_9725.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1445ef435fe281357047901c54d2325c.jpg","text":"TemporaryFile(/tmp/multipartBody1339179647304896457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421574084,"filename":"image_23042025_17_18_14_10780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6dfc635b74e85c2b2694aa53809f7f0.jpg","text":"TemporaryFile(/tmp/multipartBody2395531358261724383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421574084,"filename":"image_23042025_17_17_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20bee0c2849dba984f501f3714b6e1f1.jpg","text":"TemporaryFile(/tmp/multipartBody6489469302754421694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421574084,"filename":"image_23042025_17_18_03_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353097437","file1":"1353097257","file0":"1353097231","file4":"1353097496","file5":"1353097531","file3":"1353097469"},"map_files_photo_id_array":[{"photo_id":"1353097531","filename":"file5"},{"photo_id":"1353097437","filename":"file2"},{"photo_id":"1353097496","filename":"file4"},{"photo_id":"1353097257","filename":"file1"},{"photo_id":"1353097231","filename":"file0"},{"photo_id":"1353097469","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353097531":["hashtag1","hashtag2"]},{"1353097231":["hashtag1","hashtag2"]},{"1353097257":["hashtag1","hashtag2"]},{"1353097437":["hashtag1","hashtag2"]},{"1353097496":["hashtag1","hashtag2"]},{"1353097469":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353097531, 1353097231, 1353097257, 1353097437, 1353097496, 1353097469)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.95278978347778 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:19:32.198259
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_44_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_34_10735.jpg', 2), ('/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_23_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/17/18/image_23042025_17_19_04_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_43_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_14_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_44_9721.jpg', '/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_34_10735.jpg', '/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_23_9741.jpg', '/home/nano/Desktop/images/23042025/17/18/image_23042025_17_19_04_9754.jpg', '/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_43_9723.jpg', '/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_14_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_44_9721.jpg
/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_34_10735.jpg
/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_23_9741.jpg
/home/nano/Desktop/images/23042025/17/18/image_23042025_17_19_04_9754.jpg
/home/nano/Desktop/images/23042025/17/18/image_23042025_17_18_43_9723.jpg
/home/nano/Desktop/images/23042025/17/03/image_23042025_17_03_14_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353097803","1353097868","1353097856","1353097871","1353097769","1353097724"],"photo_ids_order":["1353097724","1353097769","1353097803","1353097856","1353097868","1353097871"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21e0521b7d4333a08fccfcccc2462929.jpg","text":"TemporaryFile(/tmp/multipartBody5805045926014086109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421634323,"filename":"image_23042025_17_19_23_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b14b13b0b38e5c49534c234897b0f870.jpg","text":"TemporaryFile(/tmp/multipartBody6458070456325411295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421634323,"filename":"image_23042025_17_18_43_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95c5dbe9e6ec8f38c201757f8e24cda0.jpg","text":"TemporaryFile(/tmp/multipartBody7442021389180769895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421634323,"filename":"image_23042025_17_19_04_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d585d6eea6ab0ef9b92ab7c2ad6a81f0.jpg","text":"TemporaryFile(/tmp/multipartBody1850560409909103733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421634323,"filename":"image_23042025_17_03_14_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5b1ba75534c1b6708b169832a7b1d0a.jpg","text":"TemporaryFile(/tmp/multipartBody282829547497261255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421634323,"filename":"image_23042025_17_19_34_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71631ef2bff1c929f73d2bd88314753d.jpg","text":"TemporaryFile(/tmp/multipartBody7388212593985397839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421634323,"filename":"image_23042025_17_19_44_9721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353097803","file1":"1353097769","file0":"1353097724","file4":"1353097868","file5":"1353097871","file3":"1353097856"},"map_files_photo_id_array":[{"photo_id":"1353097871","filename":"file5"},{"photo_id":"1353097803","filename":"file2"},{"photo_id":"1353097868","filename":"file4"},{"photo_id":"1353097769","filename":"file1"},{"photo_id":"1353097724","filename":"file0"},{"photo_id":"1353097856","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353097803":["hashtag1","hashtag2"]},{"1353097868":["hashtag1","hashtag2"]},{"1353097856":["hashtag1","hashtag2"]},{"1353097871":["hashtag1","hashtag2"]},{"1353097769":["hashtag1","hashtag2"]},{"1353097724":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353097803, 1353097868, 1353097856, 1353097871, 1353097769, 1353097724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.815292835235596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:20:32.302044
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_44_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_34_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_24_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_14_9712.jpg', 2), ('/home/nano/Desktop/images/23042025/17/19/image_23042025_17_20_04_10744.jpg', 2), ('/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_54_9700.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_44_9629.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_34_10666.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_24_9652.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_14_9712.jpg', '/home/nano/Desktop/images/23042025/17/19/image_23042025_17_20_04_10744.jpg', '/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_54_9700.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_44_9629.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_34_10666.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_24_9652.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_14_9712.jpg
/home/nano/Desktop/images/23042025/17/19/image_23042025_17_20_04_10744.jpg
/home/nano/Desktop/images/23042025/17/19/image_23042025_17_19_54_9700.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353098067","1353097902","1353097970","1353098015","1353097934","1353097897"],"photo_ids_order":["1353097897","1353097902","1353097934","1353097970","1353098015","1353098067"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae42ea3583e0b8acad3703c3568ff4c7.jpg","text":"TemporaryFile(/tmp/multipartBody8708863575423864794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421693819,"filename":"image_23042025_17_19_54_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f12fbd7d37455331e45c71236b1a554.jpg","text":"TemporaryFile(/tmp/multipartBody1225507610117695141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421693819,"filename":"image_23042025_17_20_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/994c0f2e472d3a55c6de41dc80e98b8d.jpg","text":"TemporaryFile(/tmp/multipartBody6805130309319775129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421693819,"filename":"image_23042025_17_20_14_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad3a0b92f791109989516eb95b8ae0ad.jpg","text":"TemporaryFile(/tmp/multipartBody5053847135582825278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421693819,"filename":"image_23042025_17_20_04_10744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4fad9ce06945cf5dcc16b59923bcb49.jpg","text":"TemporaryFile(/tmp/multipartBody1600801435539612157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421693819,"filename":"image_23042025_17_20_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2d28528c89a3b5cf8bed8752cca06d6.jpg","text":"TemporaryFile(/tmp/multipartBody6087214406162946791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421693819,"filename":"image_23042025_17_20_44_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353097934","file1":"1353097902","file0":"1353097897","file4":"1353098015","file5":"1353098067","file3":"1353097970"},"map_files_photo_id_array":[{"photo_id":"1353098067","filename":"file5"},{"photo_id":"1353097934","filename":"file2"},{"photo_id":"1353098015","filename":"file4"},{"photo_id":"1353097902","filename":"file1"},{"photo_id":"1353097897","filename":"file0"},{"photo_id":"1353097970","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353098067":["hashtag1","hashtag2"]},{"1353097902":["hashtag1","hashtag2"]},{"1353097970":["hashtag1","hashtag2"]},{"1353098015":["hashtag1","hashtag2"]},{"1353097934":["hashtag1","hashtag2"]},{"1353097897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353098067, 1353097902, 1353097970, 1353098015, 1353097934, 1353097897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.315234422683716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:21:32.393474
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_44_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_34_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_23_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_14_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_21_04_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_54_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_44_9659.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_34_10674.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_23_9632.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_14_9691.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_21_04_10589.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_54_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_44_9659.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_34_10674.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_23_9632.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_14_9691.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_21_04_10589.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_54_9565.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.2981898784637451 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:22:02.977139
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_44_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_34_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_23_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_14_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_21_04_10589.jpg', 2), ('/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_54_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_44_9659.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_34_10674.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_23_9632.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_14_9691.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_21_04_10589.jpg', '/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_54_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_44_9659.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_34_10674.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_23_9632.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_14_9691.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_21_04_10589.jpg
/home/nano/Desktop/images/23042025/17/20/image_23042025_17_20_54_9565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353098649","1353098619","1353098762","1353098609","1353098722","1353098793"],"photo_ids_order":["1353098609","1353098619","1353098649","1353098722","1353098762","1353098793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa6e1d7d06bb5a7e426602f70e840843.jpg","text":"TemporaryFile(/tmp/multipartBody3701339859841446591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421784587,"filename":"image_23042025_17_21_23_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c997f6f471504911a38dcaabc4bb595.jpg","text":"TemporaryFile(/tmp/multipartBody127366790333833185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421784587,"filename":"image_23042025_17_21_34_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f9fc492ba9799735c19cb542ac94f52.jpg","text":"TemporaryFile(/tmp/multipartBody4776063209423043515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421784587,"filename":"image_23042025_17_21_04_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8b0ac2922bf1395839a4b1e7a31af01.jpg","text":"TemporaryFile(/tmp/multipartBody1671510346728671258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421784587,"filename":"image_23042025_17_21_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04cf77131dc083e3d662302714fe47a0.jpg","text":"TemporaryFile(/tmp/multipartBody2786991658797583825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421784587,"filename":"image_23042025_17_21_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/753bcb7e46a9d8cae44952ec74884876.jpg","text":"TemporaryFile(/tmp/multipartBody5255211425369407292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421784587,"filename":"image_23042025_17_20_54_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353098649","file1":"1353098619","file0":"1353098609","file4":"1353098762","file5":"1353098793","file3":"1353098722"},"map_files_photo_id_array":[{"photo_id":"1353098793","filename":"file5"},{"photo_id":"1353098649","filename":"file2"},{"photo_id":"1353098762","filename":"file4"},{"photo_id":"1353098619","filename":"file1"},{"photo_id":"1353098609","filename":"file0"},{"photo_id":"1353098722","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353098649":["hashtag1","hashtag2"]},{"1353098619":["hashtag1","hashtag2"]},{"1353098762":["hashtag1","hashtag2"]},{"1353098609":["hashtag1","hashtag2"]},{"1353098722":["hashtag1","hashtag2"]},{"1353098793":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353098649, 1353098619, 1353098762, 1353098609, 1353098722, 1353098793)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.38489079475403 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:23:03.272134
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_44_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_34_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_23_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_14_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_22_04_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_53_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_44_9636.jpg', '/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_34_10662.jpg', '/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_23_9658.jpg', '/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_14_9681.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_22_04_10665.jpg', '/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_53_9667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_44_9636.jpg
/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_34_10662.jpg
/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_23_9658.jpg
/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_14_9681.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_22_04_10665.jpg
/home/nano/Desktop/images/23042025/17/21/image_23042025_17_21_53_9667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353098970","1353099009","1353099003","1353098975","1353098989","1353098965"],"photo_ids_order":["1353098965","1353098970","1353098975","1353098989","1353099003","1353099009"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53800ce0d69ff8c25033705c7d92d2aa.jpg","text":"TemporaryFile(/tmp/multipartBody5848218126281921367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421844923,"filename":"image_23042025_17_22_34_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dcbf9ab816149768511864cdfdbe7b9c.jpg","text":"TemporaryFile(/tmp/multipartBody4037307627588728664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421844923,"filename":"image_23042025_17_21_53_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02ca3ef669d65add712da5d961fea001.jpg","text":"TemporaryFile(/tmp/multipartBody3528058575981975614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421844923,"filename":"image_23042025_17_22_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c299c68cddb6368db5d8783ce238122.jpg","text":"TemporaryFile(/tmp/multipartBody8168304153127469889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421844923,"filename":"image_23042025_17_22_23_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f287cfad2a8076dc625969ee6cddb42.jpg","text":"TemporaryFile(/tmp/multipartBody1857451017594525778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421844923,"filename":"image_23042025_17_22_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc612ddbf53d836feced09df5ad40592.jpg","text":"TemporaryFile(/tmp/multipartBody6176686060697481134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421844923,"filename":"image_23042025_17_22_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353098975","file1":"1353098970","file0":"1353098965","file4":"1353099003","file5":"1353099009","file3":"1353098989"},"map_files_photo_id_array":[{"photo_id":"1353099009","filename":"file5"},{"photo_id":"1353098975","filename":"file2"},{"photo_id":"1353099003","filename":"file4"},{"photo_id":"1353098970","filename":"file1"},{"photo_id":"1353098965","filename":"file0"},{"photo_id":"1353098989","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353098970":["hashtag1","hashtag2"]},{"1353099009":["hashtag1","hashtag2"]},{"1353099003":["hashtag1","hashtag2"]},{"1353098975":["hashtag1","hashtag2"]},{"1353098989":["hashtag1","hashtag2"]},{"1353098965":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353098970, 1353099009, 1353099003, 1353098975, 1353098989, 1353098965)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.29319429397583 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:24:03.331212
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_44_9726.jpg', 2), ('/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_34_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_23_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_14_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/17/22/image_23042025_17_23_04_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_53_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_44_9726.jpg', '/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_34_10693.jpg', '/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_23_9687.jpg', '/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_14_9663.jpg', '/home/nano/Desktop/images/23042025/17/22/image_23042025_17_23_04_10671.jpg', '/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_53_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_44_9726.jpg
/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_34_10693.jpg
/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_23_9687.jpg
/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_14_9663.jpg
/home/nano/Desktop/images/23042025/17/22/image_23042025_17_23_04_10671.jpg
/home/nano/Desktop/images/23042025/17/22/image_23042025_17_22_53_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353099240","1353099135","1353099194","1353099164","1353099103","1353099273"],"photo_ids_order":["1353099103","1353099135","1353099164","1353099194","1353099240","1353099273"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12c4c19359deff51dff72bc5d6adb4a6.jpg","text":"TemporaryFile(/tmp/multipartBody9090895823883689020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421905098,"filename":"image_23042025_17_23_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1fce397d66da350f9ef181a79e9ea09.jpg","text":"TemporaryFile(/tmp/multipartBody8370859731469991089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421905098,"filename":"image_23042025_17_23_34_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a387a64a59e93e8ba1b818684a07b2fd.jpg","text":"TemporaryFile(/tmp/multipartBody1196989247840592296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421905098,"filename":"image_23042025_17_23_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/355d75b080af9a758b63abe1b76c6fb9.jpg","text":"TemporaryFile(/tmp/multipartBody8363589767768475137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421905098,"filename":"image_23042025_17_23_23_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba581fe985dcc6ab9a62fc76064413eb.jpg","text":"TemporaryFile(/tmp/multipartBody812061258648727105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421905098,"filename":"image_23042025_17_23_44_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad13407d10846e7b9123e613d3acb1f5.jpg","text":"TemporaryFile(/tmp/multipartBody5432304719241581568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421905098,"filename":"image_23042025_17_22_53_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353099164","file1":"1353099135","file0":"1353099103","file4":"1353099240","file5":"1353099273","file3":"1353099194"},"map_files_photo_id_array":[{"photo_id":"1353099273","filename":"file5"},{"photo_id":"1353099164","filename":"file2"},{"photo_id":"1353099240","filename":"file4"},{"photo_id":"1353099135","filename":"file1"},{"photo_id":"1353099103","filename":"file0"},{"photo_id":"1353099194","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353099240":["hashtag1","hashtag2"]},{"1353099135":["hashtag1","hashtag2"]},{"1353099194":["hashtag1","hashtag2"]},{"1353099164":["hashtag1","hashtag2"]},{"1353099103":["hashtag1","hashtag2"]},{"1353099273":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353099240, 1353099135, 1353099194, 1353099164, 1353099103, 1353099273)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.456594467163086 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:25:02.409164
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_44_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_33_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_24_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_14_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/17/23/image_23042025_17_24_04_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_54_9681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_44_10708.jpg', '/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_33_9731.jpg', '/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_24_9687.jpg', '/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_14_9729.jpg', '/home/nano/Desktop/images/23042025/17/23/image_23042025_17_24_04_10688.jpg', '/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_54_9681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_44_10708.jpg
/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_33_9731.jpg
/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_24_9687.jpg
/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_14_9729.jpg
/home/nano/Desktop/images/23042025/17/23/image_23042025_17_24_04_10688.jpg
/home/nano/Desktop/images/23042025/17/23/image_23042025_17_23_54_9681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353099779","1353099770","1353099740","1353099707","1353099685","1353099789"],"photo_ids_order":["1353099685","1353099707","1353099740","1353099770","1353099779","1353099789"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f20720ecb63c4027d00e521274fa0cc6.jpg","text":"TemporaryFile(/tmp/multipartBody6949114396284858240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421964253,"filename":"image_23042025_17_24_04_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52e2e8ce1ff9eabf0f7bd86e170d3885.jpg","text":"TemporaryFile(/tmp/multipartBody2940070731543494372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421964253,"filename":"image_23042025_17_24_14_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa5e3046c3efc9d3356d6544c657f5ba.jpg","text":"TemporaryFile(/tmp/multipartBody8784221850341341816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421964253,"filename":"image_23042025_17_24_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/628f9604f6065c32b7c64881da0344c8.jpg","text":"TemporaryFile(/tmp/multipartBody5345381972306410204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421964253,"filename":"image_23042025_17_24_33_9731.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d8fbbf300450858f4dc953a483f96db.jpg","text":"TemporaryFile(/tmp/multipartBody1954919560126424342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421964253,"filename":"image_23042025_17_24_44_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c10393c7916e49668f99af5ca76ddd0.jpg","text":"TemporaryFile(/tmp/multipartBody1817322773695519922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745421964253,"filename":"image_23042025_17_23_54_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353099740","file1":"1353099707","file0":"1353099685","file4":"1353099779","file5":"1353099789","file3":"1353099770"},"map_files_photo_id_array":[{"photo_id":"1353099789","filename":"file5"},{"photo_id":"1353099740","filename":"file2"},{"photo_id":"1353099779","filename":"file4"},{"photo_id":"1353099707","filename":"file1"},{"photo_id":"1353099685","filename":"file0"},{"photo_id":"1353099770","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353099779":["hashtag1","hashtag2"]},{"1353099770":["hashtag1","hashtag2"]},{"1353099740":["hashtag1","hashtag2"]},{"1353099707":["hashtag1","hashtag2"]},{"1353099685":["hashtag1","hashtag2"]},{"1353099789":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353099779, 1353099770, 1353099740, 1353099707, 1353099685, 1353099789)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83108067512512 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:26:02.418070
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_44_10697.jpg', 2), ('/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_34_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_24_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_14_10786.jpg', 2), ('/home/nano/Desktop/images/23042025/17/24/image_23042025_17_25_03_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_54_9670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_44_10697.jpg', '/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_34_9682.jpg', '/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_24_9695.jpg', '/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_14_10786.jpg', '/home/nano/Desktop/images/23042025/17/24/image_23042025_17_25_03_9724.jpg', '/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_54_9670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_44_10697.jpg
/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_34_9682.jpg
/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_24_9695.jpg
/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_14_10786.jpg
/home/nano/Desktop/images/23042025/17/24/image_23042025_17_25_03_9724.jpg
/home/nano/Desktop/images/23042025/17/24/image_23042025_17_24_54_9670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353100148","1353100066","1353100138","1353100092","1353100062","1353100143"],"photo_ids_order":["1353100062","1353100066","1353100092","1353100138","1353100143","1353100148"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57da18e0d76c9ddaa0afd1fae58170cb.jpg","text":"TemporaryFile(/tmp/multipartBody2794396887257892635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422023968,"filename":"image_23042025_17_24_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbc68387e821b94c100cb87aa84dd4f0.jpg","text":"TemporaryFile(/tmp/multipartBody6696871426007712802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422023968,"filename":"image_23042025_17_25_34_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0362166d815b342b3a454ed31570128.jpg","text":"TemporaryFile(/tmp/multipartBody7744791211575392363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422023968,"filename":"image_23042025_17_25_14_10786.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/229314711add5c3f5904c8f57a540fb3.jpg","text":"TemporaryFile(/tmp/multipartBody8225288896850679981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422023968,"filename":"image_23042025_17_25_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d93f491cc765ac97b22155cb0192015.jpg","text":"TemporaryFile(/tmp/multipartBody8607552180904776630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422023968,"filename":"image_23042025_17_25_44_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a9cf49c518ddc4a347b8721be0dacad.jpg","text":"TemporaryFile(/tmp/multipartBody470454267246876114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422023968,"filename":"image_23042025_17_25_03_9724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353100092","file1":"1353100066","file0":"1353100062","file4":"1353100143","file5":"1353100148","file3":"1353100138"},"map_files_photo_id_array":[{"photo_id":"1353100148","filename":"file5"},{"photo_id":"1353100092","filename":"file2"},{"photo_id":"1353100143","filename":"file4"},{"photo_id":"1353100066","filename":"file1"},{"photo_id":"1353100062","filename":"file0"},{"photo_id":"1353100138","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353100148":["hashtag1","hashtag2"]},{"1353100066":["hashtag1","hashtag2"]},{"1353100138":["hashtag1","hashtag2"]},{"1353100092":["hashtag1","hashtag2"]},{"1353100062":["hashtag1","hashtag2"]},{"1353100143":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353100148, 1353100066, 1353100138, 1353100092, 1353100062, 1353100143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05107045173645 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:27:02.664944
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_44_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_34_10875.jpg', 2), ('/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_23_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_14_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/17/25/image_23042025_17_26_04_9837.jpg', 2), ('/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_54_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_44_9716.jpg', '/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_34_10875.jpg', '/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_23_9780.jpg', '/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_14_9721.jpg', '/home/nano/Desktop/images/23042025/17/25/image_23042025_17_26_04_9837.jpg', '/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_54_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_44_9716.jpg
/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_34_10875.jpg
/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_23_9780.jpg
/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_14_9721.jpg
/home/nano/Desktop/images/23042025/17/25/image_23042025_17_26_04_9837.jpg
/home/nano/Desktop/images/23042025/17/25/image_23042025_17_25_54_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353100460","1353100483","1353100383","1353100437","1353100410","1353100478"],"photo_ids_order":["1353100383","1353100410","1353100437","1353100460","1353100478","1353100483"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56d39e49ffda5b2ab71d969bd74e4dcf.jpg","text":"TemporaryFile(/tmp/multipartBody6031765507864581604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422085196,"filename":"image_23042025_17_26_14_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/227dbae6b32209b96c00daf56fdfa16d.jpg","text":"TemporaryFile(/tmp/multipartBody1897467504180830868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422085196,"filename":"image_23042025_17_25_54_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c6768787c3fc4bb4816ef56650778ba.jpg","text":"TemporaryFile(/tmp/multipartBody7967119662950858007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422085196,"filename":"image_23042025_17_26_44_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/833f5c9f8f59b7a9cc01fd5f94523d9f.jpg","text":"TemporaryFile(/tmp/multipartBody4229612914123578999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422085196,"filename":"image_23042025_17_26_23_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d5d8558c582e2d9d5aa86d689ea4072.jpg","text":"TemporaryFile(/tmp/multipartBody8912794670628848832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422085196,"filename":"image_23042025_17_26_34_10875.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11cfac30f9531e05c0f11a9dd757a7f4.jpg","text":"TemporaryFile(/tmp/multipartBody7843757673899645488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422085196,"filename":"image_23042025_17_26_04_9837.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353100437","file1":"1353100410","file0":"1353100383","file4":"1353100478","file5":"1353100483","file3":"1353100460"},"map_files_photo_id_array":[{"photo_id":"1353100483","filename":"file5"},{"photo_id":"1353100437","filename":"file2"},{"photo_id":"1353100478","filename":"file4"},{"photo_id":"1353100410","filename":"file1"},{"photo_id":"1353100383","filename":"file0"},{"photo_id":"1353100460","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353100460":["hashtag1","hashtag2"]},{"1353100483":["hashtag1","hashtag2"]},{"1353100383":["hashtag1","hashtag2"]},{"1353100437":["hashtag1","hashtag2"]},{"1353100410":["hashtag1","hashtag2"]},{"1353100478":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353100460, 1353100483, 1353100383, 1353100437, 1353100410, 1353100478)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.891857862472534 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:28:02.562537
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_44_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_34_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_24_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_14_9852.jpg', 2), ('/home/nano/Desktop/images/23042025/17/26/image_23042025_17_27_04_9843.jpg', 2), ('/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_54_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_44_9738.jpg', '/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_34_9678.jpg', '/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_24_10668.jpg', '/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_14_9852.jpg', '/home/nano/Desktop/images/23042025/17/26/image_23042025_17_27_04_9843.jpg', '/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_54_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_44_9738.jpg
/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_34_9678.jpg
/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_24_10668.jpg
/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_14_9852.jpg
/home/nano/Desktop/images/23042025/17/26/image_23042025_17_27_04_9843.jpg
/home/nano/Desktop/images/23042025/17/26/image_23042025_17_26_54_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353100532","1353100541","1353100514","1353100552","1353100522","1353100528"],"photo_ids_order":["1353100514","1353100522","1353100528","1353100532","1353100541","1353100552"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a9f912cff0e6c8a6edf7c9114291c3f.jpg","text":"TemporaryFile(/tmp/multipartBody2418329905990021972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422145079,"filename":"image_23042025_17_27_14_9852.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02e7dd801be43ca411f16191abf93acd.jpg","text":"TemporaryFile(/tmp/multipartBody8221192445778266477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422145079,"filename":"image_23042025_17_27_04_9843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bb01c9c1f6e8a7b23df4bfb3b70c879.jpg","text":"TemporaryFile(/tmp/multipartBody3326554376233987740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422145079,"filename":"image_23042025_17_27_44_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bbe77b3f520df78a3b8a529e0a7d7d4.jpg","text":"TemporaryFile(/tmp/multipartBody1264846516624199585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422145079,"filename":"image_23042025_17_26_54_9864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c305a0b2e19f535358ae0ca7b8b80078.jpg","text":"TemporaryFile(/tmp/multipartBody8611286640655058614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422145079,"filename":"image_23042025_17_27_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a319faf2e7d84f7b5926040fd4c3919.jpg","text":"TemporaryFile(/tmp/multipartBody7474613202482479373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422145079,"filename":"image_23042025_17_27_24_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353100528","file1":"1353100522","file0":"1353100514","file4":"1353100541","file5":"1353100552","file3":"1353100532"},"map_files_photo_id_array":[{"photo_id":"1353100552","filename":"file5"},{"photo_id":"1353100528","filename":"file2"},{"photo_id":"1353100541","filename":"file4"},{"photo_id":"1353100522","filename":"file1"},{"photo_id":"1353100514","filename":"file0"},{"photo_id":"1353100532","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353100532":["hashtag1","hashtag2"]},{"1353100541":["hashtag1","hashtag2"]},{"1353100514":["hashtag1","hashtag2"]},{"1353100552":["hashtag1","hashtag2"]},{"1353100522":["hashtag1","hashtag2"]},{"1353100528":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353100532, 1353100541, 1353100514, 1353100552, 1353100522, 1353100528)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.68739891052246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:29:03.433286
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_44_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_34_10682.jpg', 2), ('/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_24_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_14_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/17/27/image_23042025_17_28_04_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_53_9748.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_44_9723.jpg', '/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_34_10682.jpg', '/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_24_9795.jpg', '/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_14_9739.jpg', '/home/nano/Desktop/images/23042025/17/27/image_23042025_17_28_04_10656.jpg', '/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_53_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_44_9723.jpg
/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_34_10682.jpg
/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_24_9795.jpg
/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_14_9739.jpg
/home/nano/Desktop/images/23042025/17/27/image_23042025_17_28_04_10656.jpg
/home/nano/Desktop/images/23042025/17/27/image_23042025_17_27_53_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353100670","1353100646","1353100672","1353100654","1353100650","1353100641"],"photo_ids_order":["1353100641","1353100646","1353100650","1353100654","1353100670","1353100672"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba8f80d2a3f1727d96ec7b7288b40713.jpg","text":"TemporaryFile(/tmp/multipartBody5970515550986386105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422205649,"filename":"image_23042025_17_28_04_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/558c7cac34fe46ae9951fc83dd64a5aa.jpg","text":"TemporaryFile(/tmp/multipartBody6606650678660272398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422205649,"filename":"image_23042025_17_28_34_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e501ea518d28fefe49651108ffb1dfc.jpg","text":"TemporaryFile(/tmp/multipartBody539195680874696212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422205649,"filename":"image_23042025_17_27_53_9748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99004d209d47bc84c3417ca6050bfcd8.jpg","text":"TemporaryFile(/tmp/multipartBody5708341983813744031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422205649,"filename":"image_23042025_17_28_14_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92dc0fbfcb5820504e6afee0af59e025.jpg","text":"TemporaryFile(/tmp/multipartBody5185726529183120006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422205649,"filename":"image_23042025_17_28_24_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f63e57f0c6b5d547c2de3328a6723d1e.jpg","text":"TemporaryFile(/tmp/multipartBody4718210271450517672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422205649,"filename":"image_23042025_17_28_44_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353100650","file1":"1353100646","file0":"1353100641","file4":"1353100670","file5":"1353100672","file3":"1353100654"},"map_files_photo_id_array":[{"photo_id":"1353100672","filename":"file5"},{"photo_id":"1353100650","filename":"file2"},{"photo_id":"1353100670","filename":"file4"},{"photo_id":"1353100646","filename":"file1"},{"photo_id":"1353100641","filename":"file0"},{"photo_id":"1353100654","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353100670":["hashtag1","hashtag2"]},{"1353100646":["hashtag1","hashtag2"]},{"1353100672":["hashtag1","hashtag2"]},{"1353100654":["hashtag1","hashtag2"]},{"1353100650":["hashtag1","hashtag2"]},{"1353100641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353100670, 1353100646, 1353100672, 1353100654, 1353100650, 1353100641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.65017342567444 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:30:02.911271
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_44_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_34_9706.jpg', 2), ('/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_24_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_14_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/17/28/image_23042025_17_29_04_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_54_9680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_44_10687.jpg', '/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_34_9706.jpg', '/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_24_9755.jpg', '/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_14_9738.jpg', '/home/nano/Desktop/images/23042025/17/28/image_23042025_17_29_04_10708.jpg', '/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_54_9680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_44_10687.jpg
/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_34_9706.jpg
/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_24_9755.jpg
/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_14_9738.jpg
/home/nano/Desktop/images/23042025/17/28/image_23042025_17_29_04_10708.jpg
/home/nano/Desktop/images/23042025/17/28/image_23042025_17_28_54_9680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353100768","1353100723","1353100726","1353100728","1353100701","1353100704"],"photo_ids_order":["1353100701","1353100704","1353100723","1353100726","1353100728","1353100768"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14422ee61ee9833dfbcfeeb3f4880a22.jpg","text":"TemporaryFile(/tmp/multipartBody8200617746214087530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422265091,"filename":"image_23042025_17_28_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bccc82898376574871b45b343cd98e5e.jpg","text":"TemporaryFile(/tmp/multipartBody7847792355420657237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422265091,"filename":"image_23042025_17_29_24_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28a55ca8967486f504ff8b3171439609.jpg","text":"TemporaryFile(/tmp/multipartBody8561053918773143397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422265091,"filename":"image_23042025_17_29_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c993a6b07afa315b3b2ec485afbfaaf.jpg","text":"TemporaryFile(/tmp/multipartBody7078934912799472343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422265091,"filename":"image_23042025_17_29_04_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1008d763ef847d5438732d0a49dbf4f7.jpg","text":"TemporaryFile(/tmp/multipartBody5617301248895102458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422265091,"filename":"image_23042025_17_29_44_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5e32012e371b90cf733580d6f432dc7.jpg","text":"TemporaryFile(/tmp/multipartBody4808957978556105439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422265091,"filename":"image_23042025_17_29_34_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353100723","file1":"1353100704","file0":"1353100701","file4":"1353100728","file5":"1353100768","file3":"1353100726"},"map_files_photo_id_array":[{"photo_id":"1353100768","filename":"file5"},{"photo_id":"1353100723","filename":"file2"},{"photo_id":"1353100728","filename":"file4"},{"photo_id":"1353100704","filename":"file1"},{"photo_id":"1353100701","filename":"file0"},{"photo_id":"1353100726","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353100768":["hashtag1","hashtag2"]},{"1353100723":["hashtag1","hashtag2"]},{"1353100726":["hashtag1","hashtag2"]},{"1353100728":["hashtag1","hashtag2"]},{"1353100701":["hashtag1","hashtag2"]},{"1353100704":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353100768, 1353100723, 1353100726, 1353100728, 1353100701, 1353100704)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.119908571243286 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:31:03.181033
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_43_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_34_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_24_10695.jpg', 2), ('/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_13_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/17/29/image_23042025_17_30_04_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_54_9807.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_43_9671.jpg', '/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_34_9680.jpg', '/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_24_10695.jpg', '/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_13_9693.jpg', '/home/nano/Desktop/images/23042025/17/29/image_23042025_17_30_04_9705.jpg', '/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_54_9807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_43_9671.jpg
/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_34_9680.jpg
/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_24_10695.jpg
/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_13_9693.jpg
/home/nano/Desktop/images/23042025/17/29/image_23042025_17_30_04_9705.jpg
/home/nano/Desktop/images/23042025/17/29/image_23042025_17_29_54_9807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353101414","1353101485","1353101704","1353101611","1353101549","1353101348"],"photo_ids_order":["1353101348","1353101414","1353101485","1353101549","1353101611","1353101704"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51177b33141b462f902ded90156c2200.jpg","text":"TemporaryFile(/tmp/multipartBody3250694547387115823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422324981,"filename":"image_23042025_17_30_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa93e4c636aadd146febbf1353843cd8.jpg","text":"TemporaryFile(/tmp/multipartBody3865051200572766370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422324981,"filename":"image_23042025_17_30_24_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7595e1517a22e1773b9053ce8472c999.jpg","text":"TemporaryFile(/tmp/multipartBody7383633027880408994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422324981,"filename":"image_23042025_17_29_54_9807.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/051fe3f9a7ed1b56e1864fa5a0a98e38.jpg","text":"TemporaryFile(/tmp/multipartBody7387329673436510313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422324981,"filename":"image_23042025_17_30_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7409875385e48c66b78126a0b46cf1cc.jpg","text":"TemporaryFile(/tmp/multipartBody1018205560693385688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422324981,"filename":"image_23042025_17_30_13_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbdb392f912e6e56df42ed1d5f41ff1a.jpg","text":"TemporaryFile(/tmp/multipartBody7277317331817544899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422324981,"filename":"image_23042025_17_30_43_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353101485","file1":"1353101414","file0":"1353101348","file4":"1353101611","file5":"1353101704","file3":"1353101549"},"map_files_photo_id_array":[{"photo_id":"1353101704","filename":"file5"},{"photo_id":"1353101485","filename":"file2"},{"photo_id":"1353101611","filename":"file4"},{"photo_id":"1353101414","filename":"file1"},{"photo_id":"1353101348","filename":"file0"},{"photo_id":"1353101549","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353101414":["hashtag1","hashtag2"]},{"1353101485":["hashtag1","hashtag2"]},{"1353101704":["hashtag1","hashtag2"]},{"1353101611":["hashtag1","hashtag2"]},{"1353101549":["hashtag1","hashtag2"]},{"1353101348":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353101414, 1353101485, 1353101704, 1353101611, 1353101549, 1353101348)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.090364933013916 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:32:03.114371
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_44_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_34_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_24_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_14_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/17/30/image_23042025_17_31_04_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_54_10705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_44_9660.jpg', '/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_34_9663.jpg', '/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_24_10688.jpg', '/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_14_9704.jpg', '/home/nano/Desktop/images/23042025/17/30/image_23042025_17_31_04_9673.jpg', '/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_54_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_44_9660.jpg
/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_34_9663.jpg
/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_24_10688.jpg
/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_14_9704.jpg
/home/nano/Desktop/images/23042025/17/30/image_23042025_17_31_04_9673.jpg
/home/nano/Desktop/images/23042025/17/30/image_23042025_17_30_54_10705.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353102316","1353102406","1353102633","1353102531","1353102581","1353102482"],"photo_ids_order":["1353102316","1353102406","1353102482","1353102531","1353102581","1353102633"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d045411c0b7490148d89dcd9655a053.jpg","text":"TemporaryFile(/tmp/multipartBody8591392696056394683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422384938,"filename":"image_23042025_17_31_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa6f774b392cd59da1319b5b4020f5d0.jpg","text":"TemporaryFile(/tmp/multipartBody2306385255366631448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422384938,"filename":"image_23042025_17_31_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/620dfbcae8b37f86bbbf47cb7bcdf8fd.jpg","text":"TemporaryFile(/tmp/multipartBody1382159985191862520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422384938,"filename":"image_23042025_17_30_54_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe89ca79fc4d7e4741b1537ca723f328.jpg","text":"TemporaryFile(/tmp/multipartBody8263242879530292395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422384938,"filename":"image_23042025_17_31_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9873fa3e35c8b6bbdc05bc4dd2df95d9.jpg","text":"TemporaryFile(/tmp/multipartBody5611448442186469097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422384938,"filename":"image_23042025_17_31_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0bbf84e1ba157e8c5746233c4fc6a3c4.jpg","text":"TemporaryFile(/tmp/multipartBody1793235584472123322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422384938,"filename":"image_23042025_17_31_24_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353102482","file1":"1353102406","file0":"1353102316","file4":"1353102581","file5":"1353102633","file3":"1353102531"},"map_files_photo_id_array":[{"photo_id":"1353102633","filename":"file5"},{"photo_id":"1353102482","filename":"file2"},{"photo_id":"1353102581","filename":"file4"},{"photo_id":"1353102406","filename":"file1"},{"photo_id":"1353102316","filename":"file0"},{"photo_id":"1353102531","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353102316":["hashtag1","hashtag2"]},{"1353102406":["hashtag1","hashtag2"]},{"1353102633":["hashtag1","hashtag2"]},{"1353102531":["hashtag1","hashtag2"]},{"1353102581":["hashtag1","hashtag2"]},{"1353102482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353102316, 1353102406, 1353102633, 1353102531, 1353102581, 1353102482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.02472519874573 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:33:02.548001
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_44_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_34_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_24_10709.jpg', 2), ('/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_14_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/17/31/image_23042025_17_32_04_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_54_10689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_44_9669.jpg', '/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_34_9653.jpg', '/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_24_10709.jpg', '/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_14_9673.jpg', '/home/nano/Desktop/images/23042025/17/31/image_23042025_17_32_04_9665.jpg', '/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_54_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_44_9669.jpg
/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_34_9653.jpg
/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_24_10709.jpg
/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_14_9673.jpg
/home/nano/Desktop/images/23042025/17/31/image_23042025_17_32_04_9665.jpg
/home/nano/Desktop/images/23042025/17/31/image_23042025_17_31_54_10689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353102862","1353102864","1353102869","1353102860","1353102857","1353102866"],"photo_ids_order":["1353102857","1353102860","1353102862","1353102864","1353102866","1353102869"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cdc561d5f5f77d9ca75cb08d62f64b2.jpg","text":"TemporaryFile(/tmp/multipartBody3548305738922934595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422444004,"filename":"image_23042025_17_32_24_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a38757b8225ff254f1f149d3b6b1511.jpg","text":"TemporaryFile(/tmp/multipartBody656737977671728867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422444004,"filename":"image_23042025_17_32_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7103a82e33e42fb4c2c0265df42d33f1.jpg","text":"TemporaryFile(/tmp/multipartBody1387936201779815890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422444004,"filename":"image_23042025_17_31_54_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2321e2864bdfef236cf10caefa13a305.jpg","text":"TemporaryFile(/tmp/multipartBody1076745759135402284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422444004,"filename":"image_23042025_17_32_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8445ceb78ab045eb1fab359e470b2f02.jpg","text":"TemporaryFile(/tmp/multipartBody8400627244183300482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422444004,"filename":"image_23042025_17_32_44_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb47ad66c62d18159170fcf15a5f421f.jpg","text":"TemporaryFile(/tmp/multipartBody751587353578022534asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422444004,"filename":"image_23042025_17_32_04_9665.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353102862","file1":"1353102860","file0":"1353102857","file4":"1353102866","file5":"1353102869","file3":"1353102864"},"map_files_photo_id_array":[{"photo_id":"1353102869","filename":"file5"},{"photo_id":"1353102862","filename":"file2"},{"photo_id":"1353102866","filename":"file4"},{"photo_id":"1353102860","filename":"file1"},{"photo_id":"1353102857","filename":"file0"},{"photo_id":"1353102864","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353102862":["hashtag1","hashtag2"]},{"1353102864":["hashtag1","hashtag2"]},{"1353102869":["hashtag1","hashtag2"]},{"1353102860":["hashtag1","hashtag2"]},{"1353102857":["hashtag1","hashtag2"]},{"1353102866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353102862, 1353102864, 1353102869, 1353102860, 1353102857, 1353102866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.222766637802124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:34:02.626492
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_44_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_34_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_24_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_14_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/17/32/image_23042025_17_33_04_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_54_10684.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_44_9644.jpg', '/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_34_9703.jpg', '/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_24_10670.jpg', '/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_14_9673.jpg', '/home/nano/Desktop/images/23042025/17/32/image_23042025_17_33_04_9652.jpg', '/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_54_10684.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_44_9644.jpg
/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_34_9703.jpg
/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_24_10670.jpg
/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_14_9673.jpg
/home/nano/Desktop/images/23042025/17/32/image_23042025_17_33_04_9652.jpg
/home/nano/Desktop/images/23042025/17/32/image_23042025_17_32_54_10684.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353103173","1353103111","1353103296","1353103097","1353103144","1353103249"],"photo_ids_order":["1353103097","1353103111","1353103144","1353103173","1353103249","1353103296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0256a1d01dacd7f85da80838ed58716.jpg","text":"TemporaryFile(/tmp/multipartBody7590776483691858816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422504461,"filename":"image_23042025_17_33_14_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b7cc6d4a03c5777aaa14470c49868e2.jpg","text":"TemporaryFile(/tmp/multipartBody1280045762791166145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422504461,"filename":"image_23042025_17_33_34_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e19a974832bf5d0132c264adcb5116c.jpg","text":"TemporaryFile(/tmp/multipartBody4612271102263919333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422504461,"filename":"image_23042025_17_32_54_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4efdaba858014178ba067cc6c7c76267.jpg","text":"TemporaryFile(/tmp/multipartBody5344421732580131298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422504461,"filename":"image_23042025_17_33_44_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0418b9eb2d49061f424f6ad847a015d3.jpg","text":"TemporaryFile(/tmp/multipartBody7972595893966793415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422504461,"filename":"image_23042025_17_33_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84d073d07289aad7d985a4b41f8cf203.jpg","text":"TemporaryFile(/tmp/multipartBody3184213049370699688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422504461,"filename":"image_23042025_17_33_04_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353103144","file1":"1353103111","file0":"1353103097","file4":"1353103249","file5":"1353103296","file3":"1353103173"},"map_files_photo_id_array":[{"photo_id":"1353103296","filename":"file5"},{"photo_id":"1353103144","filename":"file2"},{"photo_id":"1353103249","filename":"file4"},{"photo_id":"1353103111","filename":"file1"},{"photo_id":"1353103097","filename":"file0"},{"photo_id":"1353103173","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353103173":["hashtag1","hashtag2"]},{"1353103111":["hashtag1","hashtag2"]},{"1353103296":["hashtag1","hashtag2"]},{"1353103097":["hashtag1","hashtag2"]},{"1353103144":["hashtag1","hashtag2"]},{"1353103249":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353103173, 1353103111, 1353103296, 1353103097, 1353103144, 1353103249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21227669715881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:35:02.579288
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_44_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_34_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_24_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_14_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/17/33/image_23042025_17_34_04_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_54_10680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_44_9711.jpg', '/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_34_9648.jpg', '/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_24_10676.jpg', '/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_14_9675.jpg', '/home/nano/Desktop/images/23042025/17/33/image_23042025_17_34_04_9639.jpg', '/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_54_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_44_9711.jpg
/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_34_9648.jpg
/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_24_10676.jpg
/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_14_9675.jpg
/home/nano/Desktop/images/23042025/17/33/image_23042025_17_34_04_9639.jpg
/home/nano/Desktop/images/23042025/17/33/image_23042025_17_33_54_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353104192","1353104060","1353104249","1353104006","1353104295","1353104382"],"photo_ids_order":["1353104006","1353104060","1353104192","1353104249","1353104295","1353104382"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abf49502570683d745bfc707985b677b.jpg","text":"TemporaryFile(/tmp/multipartBody1070481733663069307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422564140,"filename":"image_23042025_17_34_24_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aef75efe3619a4c2cb8b7e0c995adaf7.jpg","text":"TemporaryFile(/tmp/multipartBody6552153865260199849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422564140,"filename":"image_23042025_17_34_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/138a93c4f598a945cefde5d5cab10bb6.jpg","text":"TemporaryFile(/tmp/multipartBody6601302119727715848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422564140,"filename":"image_23042025_17_34_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a3b1dd7da5d924399e70211f3246eea.jpg","text":"TemporaryFile(/tmp/multipartBody5053751241701346405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422564140,"filename":"image_23042025_17_34_44_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45635213d65d7fcee4e2a671f73f2c5b.jpg","text":"TemporaryFile(/tmp/multipartBody5072833562941259602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422564140,"filename":"image_23042025_17_34_04_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03747e94407b0ad20f7ef996f7f406ba.jpg","text":"TemporaryFile(/tmp/multipartBody1511996824681967543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422564140,"filename":"image_23042025_17_33_54_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353104192","file1":"1353104060","file0":"1353104006","file4":"1353104295","file5":"1353104382","file3":"1353104249"},"map_files_photo_id_array":[{"photo_id":"1353104382","filename":"file5"},{"photo_id":"1353104192","filename":"file2"},{"photo_id":"1353104295","filename":"file4"},{"photo_id":"1353104060","filename":"file1"},{"photo_id":"1353104006","filename":"file0"},{"photo_id":"1353104249","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353104192":["hashtag1","hashtag2"]},{"1353104060":["hashtag1","hashtag2"]},{"1353104249":["hashtag1","hashtag2"]},{"1353104006":["hashtag1","hashtag2"]},{"1353104295":["hashtag1","hashtag2"]},{"1353104382":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353104192, 1353104060, 1353104249, 1353104006, 1353104295, 1353104382)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.09143805503845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:36:02.654765
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_44_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_34_10714.jpg', 2), ('/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_23_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_14_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/17/34/image_23042025_17_35_04_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_53_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_44_9659.jpg', '/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_34_10714.jpg', '/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_23_9656.jpg', '/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_14_9689.jpg', '/home/nano/Desktop/images/23042025/17/34/image_23042025_17_35_04_10693.jpg', '/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_53_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_44_9659.jpg
/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_34_10714.jpg
/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_23_9656.jpg
/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_14_9689.jpg
/home/nano/Desktop/images/23042025/17/34/image_23042025_17_35_04_10693.jpg
/home/nano/Desktop/images/23042025/17/34/image_23042025_17_34_53_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353104742","1353104670","1353104642","1353104698","1353104737","1353104725"],"photo_ids_order":["1353104642","1353104670","1353104698","1353104725","1353104737","1353104742"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/259c38d56e652f75363301dd1f46b6ab.jpg","text":"TemporaryFile(/tmp/multipartBody4065199856184799826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422623619,"filename":"image_23042025_17_34_53_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6c9d023e4056f7fd767375d6e072345.jpg","text":"TemporaryFile(/tmp/multipartBody1305478298473408570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422623619,"filename":"image_23042025_17_35_34_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/938cb2222105c93696e510b1ff80c6e1.jpg","text":"TemporaryFile(/tmp/multipartBody7220272180679149141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422623619,"filename":"image_23042025_17_35_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fff8acc46603b9cf666afa63a863f37.jpg","text":"TemporaryFile(/tmp/multipartBody2160740850327553055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422623619,"filename":"image_23042025_17_35_23_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56b3a714f7be5be4c958ce49630c3440.jpg","text":"TemporaryFile(/tmp/multipartBody5677305407625410889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422623619,"filename":"image_23042025_17_35_04_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c30d0f041017307fef45960a8724bce.jpg","text":"TemporaryFile(/tmp/multipartBody3516651591074739155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422623619,"filename":"image_23042025_17_35_14_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353104698","file1":"1353104670","file0":"1353104642","file4":"1353104737","file5":"1353104742","file3":"1353104725"},"map_files_photo_id_array":[{"photo_id":"1353104742","filename":"file5"},{"photo_id":"1353104698","filename":"file2"},{"photo_id":"1353104737","filename":"file4"},{"photo_id":"1353104670","filename":"file1"},{"photo_id":"1353104642","filename":"file0"},{"photo_id":"1353104725","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353104742":["hashtag1","hashtag2"]},{"1353104670":["hashtag1","hashtag2"]},{"1353104642":["hashtag1","hashtag2"]},{"1353104698":["hashtag1","hashtag2"]},{"1353104737":["hashtag1","hashtag2"]},{"1353104725":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353104742, 1353104670, 1353104642, 1353104698, 1353104737, 1353104725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.228904962539673 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:37:02.698953
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_44_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_34_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_24_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_14_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/17/35/image_23042025_17_36_04_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_53_9662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_44_9634.jpg', '/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_34_10653.jpg', '/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_24_9674.jpg', '/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_14_9697.jpg', '/home/nano/Desktop/images/23042025/17/35/image_23042025_17_36_04_10696.jpg', '/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_53_9662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_44_9634.jpg
/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_34_10653.jpg
/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_24_9674.jpg
/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_14_9697.jpg
/home/nano/Desktop/images/23042025/17/35/image_23042025_17_36_04_10696.jpg
/home/nano/Desktop/images/23042025/17/35/image_23042025_17_35_53_9662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353104907","1353105271","1353105192","1353105124","1353104964","1353105021"],"photo_ids_order":["1353104907","1353104964","1353105021","1353105124","1353105192","1353105271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25f458ebd5477685fe7eda3a8ffb06e1.jpg","text":"TemporaryFile(/tmp/multipartBody8284088520704867960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422684317,"filename":"image_23042025_17_36_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfd955af6642aba1b3a90514abb7e472.jpg","text":"TemporaryFile(/tmp/multipartBody6749695950776974551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422684317,"filename":"image_23042025_17_35_53_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96b6f8b2934be4da22a216c3c0d070af.jpg","text":"TemporaryFile(/tmp/multipartBody530442693612948603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422684317,"filename":"image_23042025_17_36_04_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a28a38218603c830b71fb786cc1b59fb.jpg","text":"TemporaryFile(/tmp/multipartBody709425647843180711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422684317,"filename":"image_23042025_17_36_14_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e45ee66f05c2eacff8037b13f93f7242.jpg","text":"TemporaryFile(/tmp/multipartBody8889936487391331814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422684317,"filename":"image_23042025_17_36_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e4387badeef4c8f5a383b0a06db1a2d.jpg","text":"TemporaryFile(/tmp/multipartBody2494110816803204660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422684317,"filename":"image_23042025_17_36_24_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353105021","file1":"1353104964","file0":"1353104907","file4":"1353105192","file5":"1353105271","file3":"1353105124"},"map_files_photo_id_array":[{"photo_id":"1353105271","filename":"file5"},{"photo_id":"1353105021","filename":"file2"},{"photo_id":"1353105192","filename":"file4"},{"photo_id":"1353104964","filename":"file1"},{"photo_id":"1353104907","filename":"file0"},{"photo_id":"1353105124","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353104907":["hashtag1","hashtag2"]},{"1353105271":["hashtag1","hashtag2"]},{"1353105192":["hashtag1","hashtag2"]},{"1353105124":["hashtag1","hashtag2"]},{"1353104964":["hashtag1","hashtag2"]},{"1353105021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353104907, 1353105271, 1353105192, 1353105124, 1353104964, 1353105021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63211154937744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:38:02.798211
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_44_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_34_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_23_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_14_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/17/36/image_23042025_17_37_04_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_53_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_44_9627.jpg', '/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_34_10645.jpg', '/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_23_9647.jpg', '/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_14_9674.jpg', '/home/nano/Desktop/images/23042025/17/36/image_23042025_17_37_04_10668.jpg', '/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_53_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_44_9627.jpg
/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_34_10645.jpg
/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_23_9647.jpg
/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_14_9674.jpg
/home/nano/Desktop/images/23042025/17/36/image_23042025_17_37_04_10668.jpg
/home/nano/Desktop/images/23042025/17/36/image_23042025_17_36_53_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353105971","1353106098","1353105916","1353106029","1353106070","1353106145"],"photo_ids_order":["1353105916","1353105971","1353106029","1353106070","1353106098","1353106145"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc656d7ef18fee7fbffbfcb6bc41dcf8.jpg","text":"TemporaryFile(/tmp/multipartBody9114181045814160879asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422744547,"filename":"image_23042025_17_37_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10fc5dc470990e6595fb0d9190548e3f.jpg","text":"TemporaryFile(/tmp/multipartBody7869589340005509251asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422744547,"filename":"image_23042025_17_37_04_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b26999927b28a0d1632e69a991c1ff0f.jpg","text":"TemporaryFile(/tmp/multipartBody5781576510883007235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422744547,"filename":"image_23042025_17_37_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b97e25f73c6fc231638b7d6fe7a3709b.jpg","text":"TemporaryFile(/tmp/multipartBody6923857409886615571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422744547,"filename":"image_23042025_17_37_23_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa86d089bc00bdd46c361fffbd2755d6.jpg","text":"TemporaryFile(/tmp/multipartBody4619449204877316492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422744547,"filename":"image_23042025_17_37_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b647e6de6ddf387f3edd1468f38f1e18.jpg","text":"TemporaryFile(/tmp/multipartBody4365421087748849574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422744547,"filename":"image_23042025_17_36_53_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353106029","file1":"1353105971","file0":"1353105916","file4":"1353106098","file5":"1353106145","file3":"1353106070"},"map_files_photo_id_array":[{"photo_id":"1353106145","filename":"file5"},{"photo_id":"1353106029","filename":"file2"},{"photo_id":"1353106098","filename":"file4"},{"photo_id":"1353105971","filename":"file1"},{"photo_id":"1353105916","filename":"file0"},{"photo_id":"1353106070","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353105971":["hashtag1","hashtag2"]},{"1353106098":["hashtag1","hashtag2"]},{"1353105916":["hashtag1","hashtag2"]},{"1353106029":["hashtag1","hashtag2"]},{"1353106070":["hashtag1","hashtag2"]},{"1353106145":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353105971, 1353106098, 1353105916, 1353106029, 1353106070, 1353106145)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.285576820373535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:39:03.260914
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_44_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_34_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_24_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_14_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/37/image_23042025_17_38_04_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_53_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_44_9697.jpg', '/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_34_9642.jpg', '/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_24_10644.jpg', '/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_14_9659.jpg', '/home/nano/Desktop/images/23042025/17/37/image_23042025_17_38_04_10672.jpg', '/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_53_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_44_9697.jpg
/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_34_9642.jpg
/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_24_10644.jpg
/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_14_9659.jpg
/home/nano/Desktop/images/23042025/17/37/image_23042025_17_38_04_10672.jpg
/home/nano/Desktop/images/23042025/17/37/image_23042025_17_37_53_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353106373","1353106349","1353106354","1353106351","1353106345","1353106353"],"photo_ids_order":["1353106345","1353106349","1353106351","1353106353","1353106354","1353106373"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55456e533d65ed07a817cd9ab19ce823.jpg","text":"TemporaryFile(/tmp/multipartBody649833602236106087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422805076,"filename":"image_23042025_17_37_53_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5faa1ceb901ee146087c1002e1be5179.jpg","text":"TemporaryFile(/tmp/multipartBody6825296397944193229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422805076,"filename":"image_23042025_17_38_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02693a1bacd7819cf329d5542151cb2f.jpg","text":"TemporaryFile(/tmp/multipartBody5058247944910815467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422805076,"filename":"image_23042025_17_38_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f681300fbf38cf7310522f95706c169.jpg","text":"TemporaryFile(/tmp/multipartBody999613569270590446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422805076,"filename":"image_23042025_17_38_24_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2953fda50f1d30198ca1b1db2ff2cf41.jpg","text":"TemporaryFile(/tmp/multipartBody2096306926203129209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422805076,"filename":"image_23042025_17_38_44_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2d9fd6147506fd81a5097ca367c9bfb.jpg","text":"TemporaryFile(/tmp/multipartBody212628206094915241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422805076,"filename":"image_23042025_17_38_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353106351","file1":"1353106349","file0":"1353106345","file4":"1353106354","file5":"1353106373","file3":"1353106353"},"map_files_photo_id_array":[{"photo_id":"1353106373","filename":"file5"},{"photo_id":"1353106351","filename":"file2"},{"photo_id":"1353106354","filename":"file4"},{"photo_id":"1353106349","filename":"file1"},{"photo_id":"1353106345","filename":"file0"},{"photo_id":"1353106353","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353106373":["hashtag1","hashtag2"]},{"1353106349":["hashtag1","hashtag2"]},{"1353106354":["hashtag1","hashtag2"]},{"1353106351":["hashtag1","hashtag2"]},{"1353106345":["hashtag1","hashtag2"]},{"1353106353":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353106373, 1353106349, 1353106354, 1353106351, 1353106345, 1353106353)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.733590602874756 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:40:02.858375
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_44_10820.jpg', 2), ('/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_33_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_24_9886.jpg', 2), ('/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_14_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/17/38/image_23042025_17_39_04_10758.jpg', 2), ('/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_53_9732.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_44_10820.jpg', '/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_33_9674.jpg', '/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_24_9886.jpg', '/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_14_9744.jpg', '/home/nano/Desktop/images/23042025/17/38/image_23042025_17_39_04_10758.jpg', '/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_53_9732.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_44_10820.jpg
/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_33_9674.jpg
/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_24_9886.jpg
/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_14_9744.jpg
/home/nano/Desktop/images/23042025/17/38/image_23042025_17_39_04_10758.jpg
/home/nano/Desktop/images/23042025/17/38/image_23042025_17_38_53_9732.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353106466","1353106462","1353106420","1353106485","1353106488","1353106457"],"photo_ids_order":["1353106420","1353106457","1353106462","1353106466","1353106485","1353106488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74dfcf22b7f1bf8f1a2c0c05d037528d.jpg","text":"TemporaryFile(/tmp/multipartBody8471429666867795641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422865579,"filename":"image_23042025_17_39_14_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79b0d2779e2fe68babe87b097df1278b.jpg","text":"TemporaryFile(/tmp/multipartBody7821490732159767640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422865579,"filename":"image_23042025_17_39_24_9886.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3925380637dba5887cf7bda47c944c22.jpg","text":"TemporaryFile(/tmp/multipartBody489101114105710134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422865579,"filename":"image_23042025_17_39_44_10820.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/395cf9a6ed7359772b1a74ffaf9a5bd0.jpg","text":"TemporaryFile(/tmp/multipartBody7362235225801913412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422865579,"filename":"image_23042025_17_39_04_10758.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06fd40e1bb841b7b78798eb79b2d7af1.jpg","text":"TemporaryFile(/tmp/multipartBody1030413258859825669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422865579,"filename":"image_23042025_17_38_53_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd9ea958533bcad39e75d86c8fc4103a.jpg","text":"TemporaryFile(/tmp/multipartBody2505741797196570442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422865579,"filename":"image_23042025_17_39_33_9674.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353106462","file1":"1353106457","file0":"1353106420","file4":"1353106485","file5":"1353106488","file3":"1353106466"},"map_files_photo_id_array":[{"photo_id":"1353106488","filename":"file5"},{"photo_id":"1353106462","filename":"file2"},{"photo_id":"1353106485","filename":"file4"},{"photo_id":"1353106457","filename":"file1"},{"photo_id":"1353106420","filename":"file0"},{"photo_id":"1353106466","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353106466":["hashtag1","hashtag2"]},{"1353106462":["hashtag1","hashtag2"]},{"1353106420":["hashtag1","hashtag2"]},{"1353106485":["hashtag1","hashtag2"]},{"1353106488":["hashtag1","hashtag2"]},{"1353106457":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353106466, 1353106462, 1353106420, 1353106485, 1353106488, 1353106457)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.18495559692383 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:41:03.072832
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_44_10756.jpg', 2), ('/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_33_9846.jpg', 2), ('/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_24_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_14_9919.jpg', 2), ('/home/nano/Desktop/images/23042025/17/39/image_23042025_17_40_04_9891.jpg', 2), ('/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_54_9726.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_44_10756.jpg', '/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_33_9846.jpg', '/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_24_9723.jpg', '/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_14_9919.jpg', '/home/nano/Desktop/images/23042025/17/39/image_23042025_17_40_04_9891.jpg', '/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_54_9726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_44_10756.jpg
/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_33_9846.jpg
/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_24_9723.jpg
/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_14_9919.jpg
/home/nano/Desktop/images/23042025/17/39/image_23042025_17_40_04_9891.jpg
/home/nano/Desktop/images/23042025/17/39/image_23042025_17_39_54_9726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353106913","1353106965","1353106995","1353106980","1353106941","1353106880"],"photo_ids_order":["1353106880","1353106913","1353106941","1353106965","1353106980","1353106995"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/83875e805874afaa30ad0f113e6d5510.jpg","text":"TemporaryFile(/tmp/multipartBody7837922976251192321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422925753,"filename":"image_23042025_17_40_33_9846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1357e4e8839998a3d2d9aece3aaab174.jpg","text":"TemporaryFile(/tmp/multipartBody1255485125254341750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422925753,"filename":"image_23042025_17_40_14_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cc30287b5baabc6a95240bc39590c03.jpg","text":"TemporaryFile(/tmp/multipartBody7241907072646147342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422925753,"filename":"image_23042025_17_39_54_9726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f8b3c09d9682b52bf93c38bf5bf5862.jpg","text":"TemporaryFile(/tmp/multipartBody3607251466638460462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422925753,"filename":"image_23042025_17_40_04_9891.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17111c6ffb74350ed1a6fd50fc6efee4.jpg","text":"TemporaryFile(/tmp/multipartBody8612850017303094774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422925753,"filename":"image_23042025_17_40_24_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee093c97f6e7a378ac49004efe4ec7bb.jpg","text":"TemporaryFile(/tmp/multipartBody5622745823263249581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422925753,"filename":"image_23042025_17_40_44_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353106941","file1":"1353106913","file0":"1353106880","file4":"1353106980","file5":"1353106995","file3":"1353106965"},"map_files_photo_id_array":[{"photo_id":"1353106995","filename":"file5"},{"photo_id":"1353106941","filename":"file2"},{"photo_id":"1353106980","filename":"file4"},{"photo_id":"1353106913","filename":"file1"},{"photo_id":"1353106880","filename":"file0"},{"photo_id":"1353106965","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353106913":["hashtag1","hashtag2"]},{"1353106965":["hashtag1","hashtag2"]},{"1353106995":["hashtag1","hashtag2"]},{"1353106980":["hashtag1","hashtag2"]},{"1353106941":["hashtag1","hashtag2"]},{"1353106880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353106913, 1353106965, 1353106995, 1353106980, 1353106941, 1353106880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.767308950424194 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:42:03.271132
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_44_9919.jpg', 2), ('/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_34_10870.jpg', 2), ('/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_23_9920.jpg', 2), ('/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_13_9792.jpg', 2), ('/home/nano/Desktop/images/23042025/17/40/image_23042025_17_41_04_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_54_9816.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_44_9919.jpg', '/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_34_10870.jpg', '/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_23_9920.jpg', '/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_13_9792.jpg', '/home/nano/Desktop/images/23042025/17/40/image_23042025_17_41_04_9673.jpg', '/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_54_9816.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_44_9919.jpg
/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_34_10870.jpg
/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_23_9920.jpg
/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_13_9792.jpg
/home/nano/Desktop/images/23042025/17/40/image_23042025_17_41_04_9673.jpg
/home/nano/Desktop/images/23042025/17/40/image_23042025_17_40_54_9816.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353107201","1353107146","1353107196","1353107049","1353107180","1353107099"],"photo_ids_order":["1353107049","1353107099","1353107146","1353107180","1353107196","1353107201"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f472044b7fa896958a9549143804a8f.jpg","text":"TemporaryFile(/tmp/multipartBody305229682773356581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422985651,"filename":"image_23042025_17_40_54_9816.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/516bf780da4fdcd17ea58b1545cf86d4.jpg","text":"TemporaryFile(/tmp/multipartBody6786342488632980307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422985651,"filename":"image_23042025_17_41_23_9920.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18e4fce8035103c8a2aa80385e53fe81.jpg","text":"TemporaryFile(/tmp/multipartBody6227910144508484555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422985651,"filename":"image_23042025_17_41_04_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b17b98ab79bf1783f200877903420d9c.jpg","text":"TemporaryFile(/tmp/multipartBody4626340769484222647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422985651,"filename":"image_23042025_17_41_44_9919.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e98cfaf57aaca89b8e8af9d69d1f3a5.jpg","text":"TemporaryFile(/tmp/multipartBody1648720508106184015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422985651,"filename":"image_23042025_17_41_13_9792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d2292ef235b7927ef0929cd9979d11f.jpg","text":"TemporaryFile(/tmp/multipartBody2708194155389499321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745422985651,"filename":"image_23042025_17_41_34_10870.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353107146","file1":"1353107099","file0":"1353107049","file4":"1353107196","file5":"1353107201","file3":"1353107180"},"map_files_photo_id_array":[{"photo_id":"1353107201","filename":"file5"},{"photo_id":"1353107146","filename":"file2"},{"photo_id":"1353107196","filename":"file4"},{"photo_id":"1353107099","filename":"file1"},{"photo_id":"1353107049","filename":"file0"},{"photo_id":"1353107180","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353107201":["hashtag1","hashtag2"]},{"1353107146":["hashtag1","hashtag2"]},{"1353107196":["hashtag1","hashtag2"]},{"1353107049":["hashtag1","hashtag2"]},{"1353107180":["hashtag1","hashtag2"]},{"1353107099":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353107201, 1353107146, 1353107196, 1353107049, 1353107180, 1353107099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.766982316970825 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:43:02.393584
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_44_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_34_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_24_10739.jpg', 2), ('/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_14_9820.jpg', 2), ('/home/nano/Desktop/images/23042025/17/41/image_23042025_17_42_04_9847.jpg', 2), ('/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_54_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_44_9664.jpg', '/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_34_9645.jpg', '/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_24_10739.jpg', '/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_14_9820.jpg', '/home/nano/Desktop/images/23042025/17/41/image_23042025_17_42_04_9847.jpg', '/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_54_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_44_9664.jpg
/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_34_9645.jpg
/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_24_10739.jpg
/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_14_9820.jpg
/home/nano/Desktop/images/23042025/17/41/image_23042025_17_42_04_9847.jpg
/home/nano/Desktop/images/23042025/17/41/image_23042025_17_41_54_9710.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353107408","1353107404","1353107397","1353107376","1353107400","1353107402"],"photo_ids_order":["1353107376","1353107397","1353107400","1353107402","1353107404","1353107408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41797f3d3d63e912f51b492847a16896.jpg","text":"TemporaryFile(/tmp/multipartBody1702292494359289188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423044715,"filename":"image_23042025_17_41_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7867fba239088a7fc700cec1320f164e.jpg","text":"TemporaryFile(/tmp/multipartBody1307106393608573165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423044715,"filename":"image_23042025_17_42_04_9847.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bfbd744b9ecd778db1f643ff02ad0501.jpg","text":"TemporaryFile(/tmp/multipartBody102419269729777591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423044715,"filename":"image_23042025_17_42_34_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a132f8b8d7f7294d6173c84bb798e29.jpg","text":"TemporaryFile(/tmp/multipartBody4250970672522934495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423044715,"filename":"image_23042025_17_42_44_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bdb87d88aa1c3cbe25aad672ce8090f.jpg","text":"TemporaryFile(/tmp/multipartBody2798694332053059132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423044715,"filename":"image_23042025_17_42_24_10739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66f0d73f2fd7b0efd184cd5684ebbf75.jpg","text":"TemporaryFile(/tmp/multipartBody5769872151603694346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423044715,"filename":"image_23042025_17_42_14_9820.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353107400","file1":"1353107397","file0":"1353107376","file4":"1353107404","file5":"1353107408","file3":"1353107402"},"map_files_photo_id_array":[{"photo_id":"1353107408","filename":"file5"},{"photo_id":"1353107400","filename":"file2"},{"photo_id":"1353107404","filename":"file4"},{"photo_id":"1353107397","filename":"file1"},{"photo_id":"1353107376","filename":"file0"},{"photo_id":"1353107402","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353107408":["hashtag1","hashtag2"]},{"1353107404":["hashtag1","hashtag2"]},{"1353107397":["hashtag1","hashtag2"]},{"1353107376":["hashtag1","hashtag2"]},{"1353107400":["hashtag1","hashtag2"]},{"1353107402":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353107408, 1353107404, 1353107397, 1353107376, 1353107400, 1353107402)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.363208055496216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:44:02.702382
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_43_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_34_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_14_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/17/42/image_23042025_17_43_04_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_54_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_03_04_10659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_43_9653.jpg', '/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_34_9646.jpg', '/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_14_9657.jpg', '/home/nano/Desktop/images/23042025/17/42/image_23042025_17_43_04_9663.jpg', '/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_54_10650.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_03_04_10659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_43_9653.jpg
/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_34_9646.jpg
/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_14_9657.jpg
/home/nano/Desktop/images/23042025/17/42/image_23042025_17_43_04_9663.jpg
/home/nano/Desktop/images/23042025/17/42/image_23042025_17_42_54_10650.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_03_04_10659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353107473","1353107467","1353107481","1353107469","1353107495","1353107501"],"photo_ids_order":["1353107467","1353107469","1353107473","1353107481","1353107495","1353107501"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9943415278d01562aacb4a1532abe9b.jpg","text":"TemporaryFile(/tmp/multipartBody5315514573161862222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423104532,"filename":"image_23042025_17_43_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/358b385e417131a7d42d4d70920f13ef.jpg","text":"TemporaryFile(/tmp/multipartBody7826694891298451982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423104532,"filename":"image_23042025_17_43_43_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab7035e444713d3f48e45f168036f5b8.jpg","text":"TemporaryFile(/tmp/multipartBody8383232657728268167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423104532,"filename":"image_23042025_17_43_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0dda97f5f0df033ce8f62c9c845d67ad.jpg","text":"TemporaryFile(/tmp/multipartBody8816112427546338321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423104532,"filename":"image_23042025_17_43_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8425d3aef4f9dc8df991395c1816e532.jpg","text":"TemporaryFile(/tmp/multipartBody4267994406594798651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423104532,"filename":"image_23042025_17_42_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79aaaddbdcbed7178e99572286d89613.jpg","text":"TemporaryFile(/tmp/multipartBody7398233646772291591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423104532,"filename":"image_23042025_17_03_04_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353107473","file1":"1353107469","file0":"1353107467","file4":"1353107495","file5":"1353107501","file3":"1353107481"},"map_files_photo_id_array":[{"photo_id":"1353107501","filename":"file5"},{"photo_id":"1353107473","filename":"file2"},{"photo_id":"1353107495","filename":"file4"},{"photo_id":"1353107469","filename":"file1"},{"photo_id":"1353107467","filename":"file0"},{"photo_id":"1353107481","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353107473":["hashtag1","hashtag2"]},{"1353107467":["hashtag1","hashtag2"]},{"1353107481":["hashtag1","hashtag2"]},{"1353107469":["hashtag1","hashtag2"]},{"1353107495":["hashtag1","hashtag2"]},{"1353107501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353107473, 1353107467, 1353107481, 1353107469, 1353107495, 1353107501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.66978669166565 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:45:02.400128
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_43_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_34_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_24_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_14_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/17/43/image_23042025_17_44_04_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_54_10678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_43_9636.jpg', '/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_34_9642.jpg', '/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_24_10677.jpg', '/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_14_9667.jpg', '/home/nano/Desktop/images/23042025/17/43/image_23042025_17_44_04_9678.jpg', '/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_54_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_43_9636.jpg
/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_34_9642.jpg
/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_24_10677.jpg
/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_14_9667.jpg
/home/nano/Desktop/images/23042025/17/43/image_23042025_17_44_04_9678.jpg
/home/nano/Desktop/images/23042025/17/43/image_23042025_17_43_54_10678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353107641","1353107632","1353107622","1353107628","1353107639","1353107636"],"photo_ids_order":["1353107622","1353107628","1353107632","1353107636","1353107639","1353107641"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f268d71062b1b1f4e116e58236e9bd25.jpg","text":"TemporaryFile(/tmp/multipartBody2159511252932532524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423163657,"filename":"image_23042025_17_43_54_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbf97160ce4136a7516b336a310b661e.jpg","text":"TemporaryFile(/tmp/multipartBody3145391589490938212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423163657,"filename":"image_23042025_17_44_24_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1d68051e0b33fe3cd11fdaf531f1d3d.jpg","text":"TemporaryFile(/tmp/multipartBody4164552072898742293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423163657,"filename":"image_23042025_17_44_43_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/774d3cb71e729da444ca313982e4cff6.jpg","text":"TemporaryFile(/tmp/multipartBody6923939117550912951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423163657,"filename":"image_23042025_17_44_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a255479f482fc9cef05f7412b924158.jpg","text":"TemporaryFile(/tmp/multipartBody5271040424212651298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423163657,"filename":"image_23042025_17_44_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77e12d3d0bfc09171a4951fe6869b2d7.jpg","text":"TemporaryFile(/tmp/multipartBody7149188757900924008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423163657,"filename":"image_23042025_17_44_14_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353107632","file1":"1353107628","file0":"1353107622","file4":"1353107639","file5":"1353107641","file3":"1353107636"},"map_files_photo_id_array":[{"photo_id":"1353107641","filename":"file5"},{"photo_id":"1353107632","filename":"file2"},{"photo_id":"1353107639","filename":"file4"},{"photo_id":"1353107628","filename":"file1"},{"photo_id":"1353107622","filename":"file0"},{"photo_id":"1353107636","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353107641":["hashtag1","hashtag2"]},{"1353107632":["hashtag1","hashtag2"]},{"1353107622":["hashtag1","hashtag2"]},{"1353107628":["hashtag1","hashtag2"]},{"1353107639":["hashtag1","hashtag2"]},{"1353107636":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353107641, 1353107632, 1353107622, 1353107628, 1353107639, 1353107636)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.899170875549316 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:46:02.582410
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_43_9708.jpg', 2), ('/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_34_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_24_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_13_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/17/44/image_23042025_17_45_04_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_43_9708.jpg', '/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_34_9652.jpg', '/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_24_10681.jpg', '/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_13_9651.jpg', '/home/nano/Desktop/images/23042025/17/44/image_23042025_17_45_04_9668.jpg', '/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_43_9708.jpg
/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_34_9652.jpg
/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_24_10681.jpg
/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_13_9651.jpg
/home/nano/Desktop/images/23042025/17/44/image_23042025_17_45_04_9668.jpg
/home/nano/Desktop/images/23042025/17/44/image_23042025_17_44_54_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353108040","1353108016","1353108013","1353108018","1353108017","1353108011"],"photo_ids_order":["1353108011","1353108013","1353108016","1353108017","1353108018","1353108040"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06727446d8196462897689d0dc7601ed.jpg","text":"TemporaryFile(/tmp/multipartBody5358968668434508475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423224140,"filename":"image_23042025_17_44_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/492b229ecdb50da9e3cc45d90bd6239f.jpg","text":"TemporaryFile(/tmp/multipartBody7479347374392860496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423224140,"filename":"image_23042025_17_45_24_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9c852024292585dbb0e96e6d1c2b5b5.jpg","text":"TemporaryFile(/tmp/multipartBody3465144310687719731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423224140,"filename":"image_23042025_17_45_34_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6207d4fe36eaaa90151535227fe99f7c.jpg","text":"TemporaryFile(/tmp/multipartBody8373509846883934888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423224140,"filename":"image_23042025_17_45_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b62137b43d368fa86c89a38da16038e7.jpg","text":"TemporaryFile(/tmp/multipartBody9107930046487864802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423224140,"filename":"image_23042025_17_45_13_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c491648403d344de3c1f9563fb0683eb.jpg","text":"TemporaryFile(/tmp/multipartBody7354642032452835432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423224140,"filename":"image_23042025_17_45_43_9708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353108016","file1":"1353108013","file0":"1353108011","file4":"1353108018","file5":"1353108040","file3":"1353108017"},"map_files_photo_id_array":[{"photo_id":"1353108040","filename":"file5"},{"photo_id":"1353108016","filename":"file2"},{"photo_id":"1353108018","filename":"file4"},{"photo_id":"1353108013","filename":"file1"},{"photo_id":"1353108011","filename":"file0"},{"photo_id":"1353108017","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353108040":["hashtag1","hashtag2"]},{"1353108016":["hashtag1","hashtag2"]},{"1353108013":["hashtag1","hashtag2"]},{"1353108018":["hashtag1","hashtag2"]},{"1353108017":["hashtag1","hashtag2"]},{"1353108011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353108040, 1353108016, 1353108013, 1353108018, 1353108017, 1353108011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.33449459075928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:47:02.886650
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_43_9857.jpg', 2), ('/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_34_9855.jpg', 2), ('/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_24_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_14_9811.jpg', 2), ('/home/nano/Desktop/images/23042025/17/45/image_23042025_17_46_04_10918.jpg', 2), ('/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_53_9871.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_43_9857.jpg', '/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_34_9855.jpg', '/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_24_9681.jpg', '/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_14_9811.jpg', '/home/nano/Desktop/images/23042025/17/45/image_23042025_17_46_04_10918.jpg', '/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_53_9871.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_43_9857.jpg
/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_34_9855.jpg
/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_24_9681.jpg
/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_14_9811.jpg
/home/nano/Desktop/images/23042025/17/45/image_23042025_17_46_04_10918.jpg
/home/nano/Desktop/images/23042025/17/45/image_23042025_17_45_53_9871.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353108217","1353108168","1353108240","1353108171","1353108173","1353108176"],"photo_ids_order":["1353108168","1353108171","1353108173","1353108176","1353108217","1353108240"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40ba98cc71a482b3ebe75cb063ac1b29.jpg","text":"TemporaryFile(/tmp/multipartBody2808821469499057078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423284983,"filename":"image_23042025_17_46_04_10918.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b2c0770a2b5e534c472c7c2fb522c18.jpg","text":"TemporaryFile(/tmp/multipartBody924623240347159565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423284983,"filename":"image_23042025_17_46_43_9857.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67183a26f4f26d891cd7fe5e2b9306f8.jpg","text":"TemporaryFile(/tmp/multipartBody497923784724716443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423284983,"filename":"image_23042025_17_45_53_9871.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c7c144bce1325b4b74aaac7e75efd6b.jpg","text":"TemporaryFile(/tmp/multipartBody2417295182355704191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423284983,"filename":"image_23042025_17_46_34_9855.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7718e5a3f2d50d03916ddebc7c4de06c.jpg","text":"TemporaryFile(/tmp/multipartBody6982023470867517563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423284983,"filename":"image_23042025_17_46_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6606ec1b0918b6707884cd07093e5cc.jpg","text":"TemporaryFile(/tmp/multipartBody3077566594129593219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423284983,"filename":"image_23042025_17_46_14_9811.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353108173","file1":"1353108171","file0":"1353108168","file4":"1353108217","file5":"1353108240","file3":"1353108176"},"map_files_photo_id_array":[{"photo_id":"1353108240","filename":"file5"},{"photo_id":"1353108173","filename":"file2"},{"photo_id":"1353108217","filename":"file4"},{"photo_id":"1353108171","filename":"file1"},{"photo_id":"1353108168","filename":"file0"},{"photo_id":"1353108176","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353108217":["hashtag1","hashtag2"]},{"1353108168":["hashtag1","hashtag2"]},{"1353108240":["hashtag1","hashtag2"]},{"1353108171":["hashtag1","hashtag2"]},{"1353108173":["hashtag1","hashtag2"]},{"1353108176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353108217, 1353108168, 1353108240, 1353108171, 1353108173, 1353108176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.054046630859375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:48:02.834350
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_44_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_34_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_23_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_14_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/17/46/image_23042025_17_47_04_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_54_10827.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_44_9676.jpg', '/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_34_10672.jpg', '/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_23_9644.jpg', '/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_14_9693.jpg', '/home/nano/Desktop/images/23042025/17/46/image_23042025_17_47_04_9777.jpg', '/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_54_10827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_44_9676.jpg
/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_34_10672.jpg
/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_23_9644.jpg
/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_14_9693.jpg
/home/nano/Desktop/images/23042025/17/46/image_23042025_17_47_04_9777.jpg
/home/nano/Desktop/images/23042025/17/46/image_23042025_17_46_54_10827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353108372","1353108396","1353108386","1353108350","1353108353","1353108344"],"photo_ids_order":["1353108344","1353108350","1353108353","1353108372","1353108386","1353108396"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a5ec699300fff9d1273ba6ca413b153.jpg","text":"TemporaryFile(/tmp/multipartBody3325270216793561836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423344545,"filename":"image_23042025_17_47_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/293d86f1e46a8c00a286ae55256c683b.jpg","text":"TemporaryFile(/tmp/multipartBody401271272222509603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423344545,"filename":"image_23042025_17_46_54_10827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec5dd4542b20ce8c4008fd9cc1e707a9.jpg","text":"TemporaryFile(/tmp/multipartBody3798584774205614674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423344545,"filename":"image_23042025_17_47_04_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9afa2b1c85dbfec6d02b375186dd1b99.jpg","text":"TemporaryFile(/tmp/multipartBody5478711035316889020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423344545,"filename":"image_23042025_17_47_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8178445d0f14ad3f35ac4ccfed9df2eb.jpg","text":"TemporaryFile(/tmp/multipartBody9149874486171544684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423344545,"filename":"image_23042025_17_47_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5aa4bad187802b85b6e09a63474106f4.jpg","text":"TemporaryFile(/tmp/multipartBody4398046835654473788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423344545,"filename":"image_23042025_17_47_44_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353108353","file1":"1353108350","file0":"1353108344","file4":"1353108386","file5":"1353108396","file3":"1353108372"},"map_files_photo_id_array":[{"photo_id":"1353108396","filename":"file5"},{"photo_id":"1353108353","filename":"file2"},{"photo_id":"1353108386","filename":"file4"},{"photo_id":"1353108350","filename":"file1"},{"photo_id":"1353108344","filename":"file0"},{"photo_id":"1353108372","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353108372":["hashtag1","hashtag2"]},{"1353108396":["hashtag1","hashtag2"]},{"1353108386":["hashtag1","hashtag2"]},{"1353108350":["hashtag1","hashtag2"]},{"1353108353":["hashtag1","hashtag2"]},{"1353108344":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353108372, 1353108396, 1353108386, 1353108350, 1353108353, 1353108344)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56248354911804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:49:03.523791
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/48/image_23042025_17_49_04_9824.jpg', 2), ('/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_44_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_33_9846.jpg', 2), ('/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_24_9861.jpg', 2), ('/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_14_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/17/47/image_23042025_17_48_04_10669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/48/image_23042025_17_49_04_9824.jpg', '/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_44_10670.jpg', '/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_33_9846.jpg', '/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_24_9861.jpg', '/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_14_9692.jpg', '/home/nano/Desktop/images/23042025/17/47/image_23042025_17_48_04_10669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/48/image_23042025_17_49_04_9824.jpg
/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_44_10670.jpg
/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_33_9846.jpg
/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_24_9861.jpg
/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_14_9692.jpg
/home/nano/Desktop/images/23042025/17/47/image_23042025_17_48_04_10669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353108517","1353108529","1353108486","1353108530","1353108533","1353108527"],"photo_ids_order":["1353108486","1353108517","1353108527","1353108529","1353108530","1353108533"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ad9d6e8624540be07724357c57de136.jpg","text":"TemporaryFile(/tmp/multipartBody5060651401133347786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423405664,"filename":"image_23042025_17_48_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68c4511d5709d00d104fbc2c4ce6d065.jpg","text":"TemporaryFile(/tmp/multipartBody692502630970926852asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423405664,"filename":"image_23042025_17_48_24_9861.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb44ff3a85d5a97058b527e4e2e2ef95.jpg","text":"TemporaryFile(/tmp/multipartBody3308319946444592454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423405664,"filename":"image_23042025_17_49_04_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2da7111c5e9318746e538a7e01632cc.jpg","text":"TemporaryFile(/tmp/multipartBody9135756040896304227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423405664,"filename":"image_23042025_17_48_14_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a0d1333e74229e10c87954fb7cc7ebd.jpg","text":"TemporaryFile(/tmp/multipartBody5166485802565540500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423405664,"filename":"image_23042025_17_48_04_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d909c24a385aefebc58459d18e49bb23.jpg","text":"TemporaryFile(/tmp/multipartBody925747798463568465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423405664,"filename":"image_23042025_17_48_33_9846.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353108527","file1":"1353108517","file0":"1353108486","file4":"1353108530","file5":"1353108533","file3":"1353108529"},"map_files_photo_id_array":[{"photo_id":"1353108533","filename":"file5"},{"photo_id":"1353108527","filename":"file2"},{"photo_id":"1353108530","filename":"file4"},{"photo_id":"1353108517","filename":"file1"},{"photo_id":"1353108486","filename":"file0"},{"photo_id":"1353108529","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353108517":["hashtag1","hashtag2"]},{"1353108529":["hashtag1","hashtag2"]},{"1353108486":["hashtag1","hashtag2"]},{"1353108530":["hashtag1","hashtag2"]},{"1353108533":["hashtag1","hashtag2"]},{"1353108527":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353108517, 1353108529, 1353108486, 1353108530, 1353108533, 1353108527)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.02482461929321 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:50:02.899260
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_43_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_34_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_24_10764.jpg', 2), ('/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_13_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_54_9773.jpg', 2), ('/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_53_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_43_9641.jpg', '/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_34_9620.jpg', '/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_24_10764.jpg', '/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_13_9646.jpg', '/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_54_9773.jpg', '/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_53_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_43_9641.jpg
/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_34_9620.jpg
/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_24_10764.jpg
/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_13_9646.jpg
/home/nano/Desktop/images/23042025/17/48/image_23042025_17_48_54_9773.jpg
/home/nano/Desktop/images/23042025/17/47/image_23042025_17_47_53_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353108984","1353108872","1353108935","1353108908","1353108958","1353109021"],"photo_ids_order":["1353108872","1353108908","1353108935","1353108958","1353108984","1353109021"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d319dc9b6e2175ea4a3211c832e368a.jpg","text":"TemporaryFile(/tmp/multipartBody6276865381863592041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423464570,"filename":"image_23042025_17_48_54_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/553032e3217e8c8367d38c6b564872e8.jpg","text":"TemporaryFile(/tmp/multipartBody1654469688049597278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423464570,"filename":"image_23042025_17_49_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7744b2d2fe6d23a39dae2c6c1abded1c.jpg","text":"TemporaryFile(/tmp/multipartBody241496956512102057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423464570,"filename":"image_23042025_17_49_24_10764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e8b75154f3a24cb2bdd972ef69da071.jpg","text":"TemporaryFile(/tmp/multipartBody8241874696954460353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423464570,"filename":"image_23042025_17_49_34_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58daf9941cdabfd4c2e9de73e7f67011.jpg","text":"TemporaryFile(/tmp/multipartBody8648951420880023855asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423464570,"filename":"image_23042025_17_49_13_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a187fbcadb38adadf3566e3a7eb2da83.jpg","text":"TemporaryFile(/tmp/multipartBody186000299226991141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423464570,"filename":"image_23042025_17_47_53_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353108935","file1":"1353108908","file0":"1353108872","file4":"1353108984","file5":"1353109021","file3":"1353108958"},"map_files_photo_id_array":[{"photo_id":"1353109021","filename":"file5"},{"photo_id":"1353108935","filename":"file2"},{"photo_id":"1353108984","filename":"file4"},{"photo_id":"1353108908","filename":"file1"},{"photo_id":"1353108872","filename":"file0"},{"photo_id":"1353108958","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353108984":["hashtag1","hashtag2"]},{"1353108872":["hashtag1","hashtag2"]},{"1353108935":["hashtag1","hashtag2"]},{"1353108908":["hashtag1","hashtag2"]},{"1353108958":["hashtag1","hashtag2"]},{"1353109021":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353108984, 1353108872, 1353108935, 1353108908, 1353108958, 1353109021)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.52816700935364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:51:03.161990
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_43_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_34_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_24_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_13_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/17/49/image_23042025_17_50_04_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_54_10649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_43_9634.jpg', '/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_34_9654.jpg', '/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_24_10659.jpg', '/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_13_9687.jpg', '/home/nano/Desktop/images/23042025/17/49/image_23042025_17_50_04_9691.jpg', '/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_54_10649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_43_9634.jpg
/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_34_9654.jpg
/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_24_10659.jpg
/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_13_9687.jpg
/home/nano/Desktop/images/23042025/17/49/image_23042025_17_50_04_9691.jpg
/home/nano/Desktop/images/23042025/17/49/image_23042025_17_49_54_10649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353109206","1353109199","1353109192","1353109195","1353109210","1353109204"],"photo_ids_order":["1353109192","1353109195","1353109199","1353109204","1353109206","1353109210"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc954e0ecc0dc0751d5cacedd97a8d79.jpg","text":"TemporaryFile(/tmp/multipartBody8389150654230893777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423524753,"filename":"image_23042025_17_50_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01138372c92dc9f316d99349c5cd0a94.jpg","text":"TemporaryFile(/tmp/multipartBody9117047266610148286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423524753,"filename":"image_23042025_17_50_24_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1656641a3276e6025e9679ed2e6f2255.jpg","text":"TemporaryFile(/tmp/multipartBody1662153459022691185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423524753,"filename":"image_23042025_17_50_43_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e4d2ac10ea9fc0361847fc8aedf984b.jpg","text":"TemporaryFile(/tmp/multipartBody4334065795072953939asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423524753,"filename":"image_23042025_17_50_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23d0bb99c581bb2b9bff036a390284d3.jpg","text":"TemporaryFile(/tmp/multipartBody6511573053743793665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423524753,"filename":"image_23042025_17_49_54_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f418c15bb14de8f56ad353ef5d90ab02.jpg","text":"TemporaryFile(/tmp/multipartBody393698530529617394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423524753,"filename":"image_23042025_17_50_13_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353109199","file1":"1353109195","file0":"1353109192","file4":"1353109206","file5":"1353109210","file3":"1353109204"},"map_files_photo_id_array":[{"photo_id":"1353109210","filename":"file5"},{"photo_id":"1353109199","filename":"file2"},{"photo_id":"1353109206","filename":"file4"},{"photo_id":"1353109195","filename":"file1"},{"photo_id":"1353109192","filename":"file0"},{"photo_id":"1353109204","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353109206":["hashtag1","hashtag2"]},{"1353109199":["hashtag1","hashtag2"]},{"1353109192":["hashtag1","hashtag2"]},{"1353109195":["hashtag1","hashtag2"]},{"1353109210":["hashtag1","hashtag2"]},{"1353109204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353109206, 1353109199, 1353109192, 1353109195, 1353109210, 1353109204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.43454670906067 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:52:03.258063
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_44_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_34_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_24_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_13_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/17/50/image_23042025_17_51_04_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_54_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_44_10651.jpg', '/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_34_9635.jpg', '/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_24_10648.jpg', '/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_13_9662.jpg', '/home/nano/Desktop/images/23042025/17/50/image_23042025_17_51_04_9650.jpg', '/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_44_10651.jpg
/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_34_9635.jpg
/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_24_10648.jpg
/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_13_9662.jpg
/home/nano/Desktop/images/23042025/17/50/image_23042025_17_51_04_9650.jpg
/home/nano/Desktop/images/23042025/17/50/image_23042025_17_50_54_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353109623","1353109626","1353109611","1353109688","1353109652","1353109618"],"photo_ids_order":["1353109611","1353109618","1353109623","1353109626","1353109652","1353109688"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af1ad241d856d0ab8a7d25acf1ddb87f.jpg","text":"TemporaryFile(/tmp/multipartBody4421774217944773523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423585522,"filename":"image_23042025_17_51_24_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a04598f53ff627970d8a993169c8995.jpg","text":"TemporaryFile(/tmp/multipartBody3490022931777995771asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423585522,"filename":"image_23042025_17_51_13_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63f37d94d517cc216997b6c7ad807106.jpg","text":"TemporaryFile(/tmp/multipartBody5619004079990381730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423585522,"filename":"image_23042025_17_51_44_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b100e9ad5934e12a3eaa2913016b665a.jpg","text":"TemporaryFile(/tmp/multipartBody4629678696018351448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423585522,"filename":"image_23042025_17_50_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d9904acf7cecbccb3a04259cfb01134.jpg","text":"TemporaryFile(/tmp/multipartBody6895391592437525238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423585522,"filename":"image_23042025_17_51_04_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6bdb5961803740cc2e9a9f285f7c451.jpg","text":"TemporaryFile(/tmp/multipartBody9122260581150443946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423585522,"filename":"image_23042025_17_51_34_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353109623","file1":"1353109618","file0":"1353109611","file4":"1353109652","file5":"1353109688","file3":"1353109626"},"map_files_photo_id_array":[{"photo_id":"1353109688","filename":"file5"},{"photo_id":"1353109623","filename":"file2"},{"photo_id":"1353109652","filename":"file4"},{"photo_id":"1353109618","filename":"file1"},{"photo_id":"1353109611","filename":"file0"},{"photo_id":"1353109626","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353109623":["hashtag1","hashtag2"]},{"1353109626":["hashtag1","hashtag2"]},{"1353109611":["hashtag1","hashtag2"]},{"1353109688":["hashtag1","hashtag2"]},{"1353109652":["hashtag1","hashtag2"]},{"1353109618":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353109623, 1353109626, 1353109611, 1353109688, 1353109652, 1353109618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.97824692726135 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:53:03.399214
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_44_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_34_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_24_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/17/51/image_23042025_17_52_04_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_54_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_53_9653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_44_10651.jpg', '/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_34_9648.jpg', '/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_24_9643.jpg', '/home/nano/Desktop/images/23042025/17/51/image_23042025_17_52_04_9656.jpg', '/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_54_9643.jpg', '/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_53_9653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_44_10651.jpg
/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_34_9648.jpg
/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_24_9643.jpg
/home/nano/Desktop/images/23042025/17/51/image_23042025_17_52_04_9656.jpg
/home/nano/Desktop/images/23042025/17/51/image_23042025_17_51_54_9643.jpg
/home/nano/Desktop/images/23042025/17/02/image_23042025_17_02_53_9653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353109851","1353109824","1353109811","1353109870","1353109810","1353109807"],"photo_ids_order":["1353109807","1353109810","1353109811","1353109824","1353109851","1353109870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a1178c59f2b2765ed5ee490b6a644fe.jpg","text":"TemporaryFile(/tmp/multipartBody2988098376617194052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423644871,"filename":"image_23042025_17_51_54_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49956e1e7a83e93195db2bfe1e5d95c7.jpg","text":"TemporaryFile(/tmp/multipartBody8156578148007470337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423644871,"filename":"image_23042025_17_52_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04b8727335040b5b7443fcb12488df26.jpg","text":"TemporaryFile(/tmp/multipartBody3127395033900037874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423644871,"filename":"image_23042025_17_52_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/246fd5b576e6b97f587a45a562cb2a25.jpg","text":"TemporaryFile(/tmp/multipartBody6131465693901804058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423644871,"filename":"image_23042025_17_02_53_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1e31c168da61110a94f68588e53a278.jpg","text":"TemporaryFile(/tmp/multipartBody4649235831482069408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423644871,"filename":"image_23042025_17_52_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e01c474e7cfa835fbbfc02aa51af5bd6.jpg","text":"TemporaryFile(/tmp/multipartBody9020001133064975021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423644871,"filename":"image_23042025_17_52_44_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353109811","file1":"1353109810","file0":"1353109807","file4":"1353109851","file5":"1353109870","file3":"1353109824"},"map_files_photo_id_array":[{"photo_id":"1353109870","filename":"file5"},{"photo_id":"1353109811","filename":"file2"},{"photo_id":"1353109851","filename":"file4"},{"photo_id":"1353109810","filename":"file1"},{"photo_id":"1353109807","filename":"file0"},{"photo_id":"1353109824","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353109851":["hashtag1","hashtag2"]},{"1353109824":["hashtag1","hashtag2"]},{"1353109811":["hashtag1","hashtag2"]},{"1353109870":["hashtag1","hashtag2"]},{"1353109810":["hashtag1","hashtag2"]},{"1353109807":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353109851, 1353109824, 1353109811, 1353109870, 1353109810, 1353109807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.020830869674683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:54:02.594938
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_44_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_33_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_24_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_14_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/17/52/image_23042025_17_53_04_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_54_9650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_44_10659.jpg', '/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_33_9561.jpg', '/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_24_9567.jpg', '/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_14_10676.jpg', '/home/nano/Desktop/images/23042025/17/52/image_23042025_17_53_04_9656.jpg', '/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_54_9650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_44_10659.jpg
/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_33_9561.jpg
/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_24_9567.jpg
/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_14_10676.jpg
/home/nano/Desktop/images/23042025/17/52/image_23042025_17_53_04_9656.jpg
/home/nano/Desktop/images/23042025/17/52/image_23042025_17_52_54_9650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353109986","1353109968","1353109997","1353109982","1353109991","1353109979"],"photo_ids_order":["1353109968","1353109979","1353109982","1353109986","1353109991","1353109997"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bde5468a58a32650112b18726327872c.jpg","text":"TemporaryFile(/tmp/multipartBody3613878747956599592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423703757,"filename":"image_23042025_17_53_14_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a94406074a79a106c17bfd87b0aa7ce2.jpg","text":"TemporaryFile(/tmp/multipartBody2048822000691500552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423703757,"filename":"image_23042025_17_53_44_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/261f27e9f3e7e13b238de27703fab592.jpg","text":"TemporaryFile(/tmp/multipartBody4199276991796092670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423703757,"filename":"image_23042025_17_52_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50281c73f0ac5aa2c649865f3615eab7.jpg","text":"TemporaryFile(/tmp/multipartBody4005923729377408701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423703757,"filename":"image_23042025_17_53_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/360c1149763606b9bde66c2dad75a561.jpg","text":"TemporaryFile(/tmp/multipartBody7294619199394411375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423703757,"filename":"image_23042025_17_53_04_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b6bd753c9310ccd357f69a327d14885.jpg","text":"TemporaryFile(/tmp/multipartBody7801222708134977287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423703757,"filename":"image_23042025_17_53_33_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353109982","file1":"1353109979","file0":"1353109968","file4":"1353109991","file5":"1353109997","file3":"1353109986"},"map_files_photo_id_array":[{"photo_id":"1353109997","filename":"file5"},{"photo_id":"1353109982","filename":"file2"},{"photo_id":"1353109991","filename":"file4"},{"photo_id":"1353109979","filename":"file1"},{"photo_id":"1353109968","filename":"file0"},{"photo_id":"1353109986","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353109986":["hashtag1","hashtag2"]},{"1353109968":["hashtag1","hashtag2"]},{"1353109997":["hashtag1","hashtag2"]},{"1353109982":["hashtag1","hashtag2"]},{"1353109991":["hashtag1","hashtag2"]},{"1353109979":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353109986, 1353109968, 1353109997, 1353109982, 1353109991, 1353109979)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.168254137039185 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:55:02.685529
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_44_9571.jpg', 2), ('/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_34_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_23_9594.jpg', 2), ('/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_14_9586.jpg', 2), ('/home/nano/Desktop/images/23042025/17/53/image_23042025_17_54_04_10590.jpg', 2), ('/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_54_9568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_44_9571.jpg', '/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_34_10591.jpg', '/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_23_9594.jpg', '/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_14_9586.jpg', '/home/nano/Desktop/images/23042025/17/53/image_23042025_17_54_04_10590.jpg', '/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_54_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_44_9571.jpg
/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_34_10591.jpg
/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_23_9594.jpg
/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_14_9586.jpg
/home/nano/Desktop/images/23042025/17/53/image_23042025_17_54_04_10590.jpg
/home/nano/Desktop/images/23042025/17/53/image_23042025_17_53_54_9568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353110113","1353110121","1353110118","1353110126","1353110114","1353110123"],"photo_ids_order":["1353110113","1353110114","1353110118","1353110121","1353110123","1353110126"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e8bb739e609940eda1cb82a94ed2228.jpg","text":"TemporaryFile(/tmp/multipartBody5726506366416323544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423763518,"filename":"image_23042025_17_54_44_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29f2feea680ddc03307d1e0b5d1be20a.jpg","text":"TemporaryFile(/tmp/multipartBody123961116983547449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423763518,"filename":"image_23042025_17_54_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a94a12c7651ace188e1699389102a201.jpg","text":"TemporaryFile(/tmp/multipartBody1568788628659105846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423763518,"filename":"image_23042025_17_54_23_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62e5545e54f2b41d55e1bcd937c8ac3b.jpg","text":"TemporaryFile(/tmp/multipartBody6607227927220228850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423763518,"filename":"image_23042025_17_53_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9241857966ca8c5870b50b6fed9f1c25.jpg","text":"TemporaryFile(/tmp/multipartBody6660772207702176414asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423763518,"filename":"image_23042025_17_54_34_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eda3545dd2d545d059cd38018db79ece.jpg","text":"TemporaryFile(/tmp/multipartBody5681112333477451254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423763518,"filename":"image_23042025_17_54_04_10590.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353110118","file1":"1353110114","file0":"1353110113","file4":"1353110123","file5":"1353110126","file3":"1353110121"},"map_files_photo_id_array":[{"photo_id":"1353110126","filename":"file5"},{"photo_id":"1353110118","filename":"file2"},{"photo_id":"1353110123","filename":"file4"},{"photo_id":"1353110114","filename":"file1"},{"photo_id":"1353110113","filename":"file0"},{"photo_id":"1353110121","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353110113":["hashtag1","hashtag2"]},{"1353110121":["hashtag1","hashtag2"]},{"1353110118":["hashtag1","hashtag2"]},{"1353110126":["hashtag1","hashtag2"]},{"1353110114":["hashtag1","hashtag2"]},{"1353110123":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353110113, 1353110121, 1353110118, 1353110126, 1353110114, 1353110123)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.99581742286682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:56:02.653294
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_44_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_33_9570.jpg', 2), ('/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_24_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_14_10588.jpg', 2), ('/home/nano/Desktop/images/23042025/17/54/image_23042025_17_55_04_9591.jpg', 2), ('/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_54_10577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_44_10716.jpg', '/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_33_9570.jpg', '/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_24_9569.jpg', '/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_14_10588.jpg', '/home/nano/Desktop/images/23042025/17/54/image_23042025_17_55_04_9591.jpg', '/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_54_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_44_10716.jpg
/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_33_9570.jpg
/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_24_9569.jpg
/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_14_10588.jpg
/home/nano/Desktop/images/23042025/17/54/image_23042025_17_55_04_9591.jpg
/home/nano/Desktop/images/23042025/17/54/image_23042025_17_54_54_10577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353110158","1353110163","1353110151","1353110154","1353110157","1353110147"],"photo_ids_order":["1353110147","1353110151","1353110154","1353110157","1353110158","1353110163"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0d8c3b8316b0327fcba495f620b2b56.jpg","text":"TemporaryFile(/tmp/multipartBody1397826680350595458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423824164,"filename":"image_23042025_17_55_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c14068665c4b2891e5d39d7c2d946e90.jpg","text":"TemporaryFile(/tmp/multipartBody1221611392627236354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423824164,"filename":"image_23042025_17_54_54_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a32f8bde0c73f5bd9e4b9ad5c8931b8.jpg","text":"TemporaryFile(/tmp/multipartBody55790163704724543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423824164,"filename":"image_23042025_17_55_33_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24962a3ddfc0db2407aa5d2c149f2759.jpg","text":"TemporaryFile(/tmp/multipartBody648483795399492764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423824164,"filename":"image_23042025_17_55_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73b2e71cf14af656dde343a3556f8731.jpg","text":"TemporaryFile(/tmp/multipartBody7232836448264771398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423824164,"filename":"image_23042025_17_55_14_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7f0cebac10a47d28e13fa7fe62c27db.jpg","text":"TemporaryFile(/tmp/multipartBody8570818335863317384asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423824164,"filename":"image_23042025_17_55_44_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353110154","file1":"1353110151","file0":"1353110147","file4":"1353110158","file5":"1353110163","file3":"1353110157"},"map_files_photo_id_array":[{"photo_id":"1353110163","filename":"file5"},{"photo_id":"1353110154","filename":"file2"},{"photo_id":"1353110158","filename":"file4"},{"photo_id":"1353110151","filename":"file1"},{"photo_id":"1353110147","filename":"file0"},{"photo_id":"1353110157","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353110158":["hashtag1","hashtag2"]},{"1353110163":["hashtag1","hashtag2"]},{"1353110151":["hashtag1","hashtag2"]},{"1353110154":["hashtag1","hashtag2"]},{"1353110157":["hashtag1","hashtag2"]},{"1353110147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353110158, 1353110163, 1353110151, 1353110154, 1353110157, 1353110147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.902908325195312 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:57:02.767987
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_43_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_34_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_24_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_14_10772.jpg', 2), ('/home/nano/Desktop/images/23042025/17/55/image_23042025_17_56_04_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_54_9719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_43_9678.jpg', '/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_34_9707.jpg', '/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_24_9715.jpg', '/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_14_10772.jpg', '/home/nano/Desktop/images/23042025/17/55/image_23042025_17_56_04_9716.jpg', '/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_54_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_43_9678.jpg
/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_34_9707.jpg
/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_24_9715.jpg
/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_14_10772.jpg
/home/nano/Desktop/images/23042025/17/55/image_23042025_17_56_04_9716.jpg
/home/nano/Desktop/images/23042025/17/55/image_23042025_17_55_54_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353110263","1353110262","1353110226","1353110261","1353110252","1353110266"],"photo_ids_order":["1353110226","1353110252","1353110261","1353110262","1353110263","1353110266"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6616bee5ea763dc739cf81ceeedb6262.jpg","text":"TemporaryFile(/tmp/multipartBody3888442883538731467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423885110,"filename":"image_23042025_17_56_04_9716.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61c4c431450452cee1eabff5711d619c.jpg","text":"TemporaryFile(/tmp/multipartBody4281171911854322520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423885110,"filename":"image_23042025_17_56_14_10772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6f5a99d38a80524275b1bc96db7456e.jpg","text":"TemporaryFile(/tmp/multipartBody3565210433360280836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423885110,"filename":"image_23042025_17_56_43_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fe8620db2aaed6482790bfa033e63ad.jpg","text":"TemporaryFile(/tmp/multipartBody8492162480566936466asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423885110,"filename":"image_23042025_17_56_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72fdced2eea3ca70301d9dec742af121.jpg","text":"TemporaryFile(/tmp/multipartBody6955331547929921794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423885110,"filename":"image_23042025_17_56_34_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b08bd8b5cf356d1519b0d63f82cf7ab4.jpg","text":"TemporaryFile(/tmp/multipartBody1828148989734326542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423885110,"filename":"image_23042025_17_55_54_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353110261","file1":"1353110252","file0":"1353110226","file4":"1353110263","file5":"1353110266","file3":"1353110262"},"map_files_photo_id_array":[{"photo_id":"1353110266","filename":"file5"},{"photo_id":"1353110261","filename":"file2"},{"photo_id":"1353110263","filename":"file4"},{"photo_id":"1353110252","filename":"file1"},{"photo_id":"1353110226","filename":"file0"},{"photo_id":"1353110262","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353110263":["hashtag1","hashtag2"]},{"1353110262":["hashtag1","hashtag2"]},{"1353110226":["hashtag1","hashtag2"]},{"1353110261":["hashtag1","hashtag2"]},{"1353110252":["hashtag1","hashtag2"]},{"1353110266":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353110263, 1353110262, 1353110226, 1353110261, 1353110252, 1353110266)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18156957626343 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:58:02.670162
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_44_9734.jpg', 2), ('/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_34_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_23_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_14_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/17/56/image_23042025_17_57_04_9872.jpg', 2), ('/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_54_10714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_44_9734.jpg', '/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_34_10678.jpg', '/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_23_9672.jpg', '/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_14_9714.jpg', '/home/nano/Desktop/images/23042025/17/56/image_23042025_17_57_04_9872.jpg', '/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_54_10714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_44_9734.jpg
/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_34_10678.jpg
/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_23_9672.jpg
/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_14_9714.jpg
/home/nano/Desktop/images/23042025/17/56/image_23042025_17_57_04_9872.jpg
/home/nano/Desktop/images/23042025/17/56/image_23042025_17_56_54_10714.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353110302","1353110298","1353110304","1353110303","1353110296","1353110299"],"photo_ids_order":["1353110296","1353110298","1353110299","1353110302","1353110303","1353110304"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b5ee9eb553778705976bb94e49fc9c1.jpg","text":"TemporaryFile(/tmp/multipartBody5817626492109218889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423944744,"filename":"image_23042025_17_57_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccc57877d2c5b6e46e78e3d99cb8f3e8.jpg","text":"TemporaryFile(/tmp/multipartBody403550449660842588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423944744,"filename":"image_23042025_17_57_34_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee2b4d7704e62cf61773469fdfb04142.jpg","text":"TemporaryFile(/tmp/multipartBody4858678737122203483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423944744,"filename":"image_23042025_17_56_54_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/306b906c3f45b36efbfbbe65f91dab9d.jpg","text":"TemporaryFile(/tmp/multipartBody591720864712076617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423944744,"filename":"image_23042025_17_57_04_9872.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6686789dfd651c232b9eebbbcd91ed30.jpg","text":"TemporaryFile(/tmp/multipartBody8149483704797284074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423944744,"filename":"image_23042025_17_57_44_9734.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1057687ebc360ccf264b76c0782fd8bd.jpg","text":"TemporaryFile(/tmp/multipartBody6563545713175840386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745423944744,"filename":"image_23042025_17_57_23_9672.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353110299","file1":"1353110298","file0":"1353110296","file4":"1353110303","file5":"1353110304","file3":"1353110302"},"map_files_photo_id_array":[{"photo_id":"1353110304","filename":"file5"},{"photo_id":"1353110299","filename":"file2"},{"photo_id":"1353110303","filename":"file4"},{"photo_id":"1353110298","filename":"file1"},{"photo_id":"1353110296","filename":"file0"},{"photo_id":"1353110302","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353110302":["hashtag1","hashtag2"]},{"1353110298":["hashtag1","hashtag2"]},{"1353110304":["hashtag1","hashtag2"]},{"1353110303":["hashtag1","hashtag2"]},{"1353110296":["hashtag1","hashtag2"]},{"1353110299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353110302, 1353110298, 1353110304, 1353110303, 1353110296, 1353110299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.925854682922363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 17:59:03.601130
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_44_9822.jpg', 2), ('/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_34_9824.jpg', 2), ('/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_24_9763.jpg', 2), ('/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_14_10901.jpg', 2), ('/home/nano/Desktop/images/23042025/17/57/image_23042025_17_58_03_9898.jpg', 2), ('/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_54_9722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_44_9822.jpg', '/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_34_9824.jpg', '/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_24_9763.jpg', '/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_14_10901.jpg', '/home/nano/Desktop/images/23042025/17/57/image_23042025_17_58_03_9898.jpg', '/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_54_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_44_9822.jpg
/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_34_9824.jpg
/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_24_9763.jpg
/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_14_10901.jpg
/home/nano/Desktop/images/23042025/17/57/image_23042025_17_58_03_9898.jpg
/home/nano/Desktop/images/23042025/17/57/image_23042025_17_57_54_9722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353110871","1353110676","1353110739","1353110876","1353110798","1353110834"],"photo_ids_order":["1353110676","1353110739","1353110798","1353110834","1353110871","1353110876"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/781c1b86c7a271b6bdf1659f42b8ca98.jpg","text":"TemporaryFile(/tmp/multipartBody1654918044339619430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424006414,"filename":"image_23042025_17_58_03_9898.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/837fb295ac0ce9f12160d4df7b61043d.jpg","text":"TemporaryFile(/tmp/multipartBody3573153965062136436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424006414,"filename":"image_23042025_17_58_44_9822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbc99c78dadc00bafc248734664f8bcc.jpg","text":"TemporaryFile(/tmp/multipartBody6651354598927046125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424006414,"filename":"image_23042025_17_58_34_9824.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e94cf93e291d5c43ee4058928ad2641.jpg","text":"TemporaryFile(/tmp/multipartBody8662234374648524150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424006414,"filename":"image_23042025_17_57_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c92a2a01c4dd925ce8908c8b4d6349b.jpg","text":"TemporaryFile(/tmp/multipartBody1341686563760208575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424006414,"filename":"image_23042025_17_58_24_9763.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/714f7a8320d34d351810a4ff9db7ebd7.jpg","text":"TemporaryFile(/tmp/multipartBody6964818594364267273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424006414,"filename":"image_23042025_17_58_14_10901.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353110798","file1":"1353110739","file0":"1353110676","file4":"1353110871","file5":"1353110876","file3":"1353110834"},"map_files_photo_id_array":[{"photo_id":"1353110876","filename":"file5"},{"photo_id":"1353110798","filename":"file2"},{"photo_id":"1353110871","filename":"file4"},{"photo_id":"1353110739","filename":"file1"},{"photo_id":"1353110676","filename":"file0"},{"photo_id":"1353110834","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353110871":["hashtag1","hashtag2"]},{"1353110676":["hashtag1","hashtag2"]},{"1353110739":["hashtag1","hashtag2"]},{"1353110876":["hashtag1","hashtag2"]},{"1353110798":["hashtag1","hashtag2"]},{"1353110834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353110871, 1353110676, 1353110739, 1353110876, 1353110798, 1353110834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.077306270599365 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:00:03.068379
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_43_9854.jpg', 2), ('/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_34_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_24_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_14_9835.jpg', 2), ('/home/nano/Desktop/images/23042025/17/58/image_23042025_17_59_04_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_54_9769.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_43_9854.jpg', '/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_34_9713.jpg', '/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_24_9710.jpg', '/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_14_9835.jpg', '/home/nano/Desktop/images/23042025/17/58/image_23042025_17_59_04_10718.jpg', '/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_54_9769.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_43_9854.jpg
/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_34_9713.jpg
/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_24_9710.jpg
/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_14_9835.jpg
/home/nano/Desktop/images/23042025/17/58/image_23042025_17_59_04_10718.jpg
/home/nano/Desktop/images/23042025/17/58/image_23042025_17_58_54_9769.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353111255","1353111378","1353111324","1353111225","1353111046","1353111424"],"photo_ids_order":["1353111046","1353111225","1353111255","1353111324","1353111378","1353111424"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ac215ef93eca6dbf8badab306071168.jpg","text":"TemporaryFile(/tmp/multipartBody2854417412672658409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424065773,"filename":"image_23042025_17_59_24_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d2a36bf02e172cc721de95276f6eacd.jpg","text":"TemporaryFile(/tmp/multipartBody293711336076279754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424065773,"filename":"image_23042025_17_59_04_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44ecebb37c30e2bcec441b055ee7e07a.jpg","text":"TemporaryFile(/tmp/multipartBody2184297049079510331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424065773,"filename":"image_23042025_17_59_14_9835.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c406cf490330093b2a2255cf1902015a.jpg","text":"TemporaryFile(/tmp/multipartBody5273971135143343488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424065773,"filename":"image_23042025_17_59_34_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d5d19f7488fa4caf24e1231aa9ba9ab.jpg","text":"TemporaryFile(/tmp/multipartBody6343731013348218685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424065773,"filename":"image_23042025_17_59_43_9854.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34237893ac1fc7b567d81ffd7a5d59fa.jpg","text":"TemporaryFile(/tmp/multipartBody5157634562193452567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424065773,"filename":"image_23042025_17_58_54_9769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353111255","file1":"1353111225","file0":"1353111046","file4":"1353111378","file5":"1353111424","file3":"1353111324"},"map_files_photo_id_array":[{"photo_id":"1353111424","filename":"file5"},{"photo_id":"1353111255","filename":"file2"},{"photo_id":"1353111378","filename":"file4"},{"photo_id":"1353111225","filename":"file1"},{"photo_id":"1353111046","filename":"file0"},{"photo_id":"1353111324","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353111255":["hashtag1","hashtag2"]},{"1353111378":["hashtag1","hashtag2"]},{"1353111324":["hashtag1","hashtag2"]},{"1353111225":["hashtag1","hashtag2"]},{"1353111046":["hashtag1","hashtag2"]},{"1353111424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353111255, 1353111378, 1353111324, 1353111225, 1353111046, 1353111424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.4644672870636 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:01:03.467365
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_44_9790.jpg', 2), ('/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_34_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_23_9849.jpg', 2), ('/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_14_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/17/59/image_23042025_18_00_04_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_54_10754.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_44_9790.jpg', '/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_34_10700.jpg', '/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_23_9849.jpg', '/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_14_9685.jpg', '/home/nano/Desktop/images/23042025/17/59/image_23042025_18_00_04_9755.jpg', '/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_54_10754.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_44_9790.jpg
/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_34_10700.jpg
/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_23_9849.jpg
/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_14_9685.jpg
/home/nano/Desktop/images/23042025/17/59/image_23042025_18_00_04_9755.jpg
/home/nano/Desktop/images/23042025/17/59/image_23042025_17_59_54_10754.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353111747","1353111720","1353111816","1353111779","1353111685","1353111847"],"photo_ids_order":["1353111685","1353111720","1353111747","1353111779","1353111816","1353111847"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0a45270cad129b2212ccc9c697e32d8.jpg","text":"TemporaryFile(/tmp/multipartBody6354272659231787377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424128284,"filename":"image_23042025_18_00_23_9849.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b171289a00ad969989d68b8835334381.jpg","text":"TemporaryFile(/tmp/multipartBody1197568244495209637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424128284,"filename":"image_23042025_18_00_34_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d2e8e18fa6fd49191d04eaa10ae2000.jpg","text":"TemporaryFile(/tmp/multipartBody6665740599610559928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424128284,"filename":"image_23042025_18_00_04_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19340b4bdd049a31fe19149a10c05508.jpg","text":"TemporaryFile(/tmp/multipartBody5037623067232981555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424128284,"filename":"image_23042025_18_00_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55b868f68819f727c683c3e283e13cf2.jpg","text":"TemporaryFile(/tmp/multipartBody1017656112147811127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424128284,"filename":"image_23042025_18_00_44_9790.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2aace97c7f4ea5a1effca9ff96ca1c9.jpg","text":"TemporaryFile(/tmp/multipartBody5775702395555345898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424128284,"filename":"image_23042025_17_59_54_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353111747","file1":"1353111720","file0":"1353111685","file4":"1353111816","file5":"1353111847","file3":"1353111779"},"map_files_photo_id_array":[{"photo_id":"1353111847","filename":"file5"},{"photo_id":"1353111747","filename":"file2"},{"photo_id":"1353111816","filename":"file4"},{"photo_id":"1353111720","filename":"file1"},{"photo_id":"1353111685","filename":"file0"},{"photo_id":"1353111779","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353111747":["hashtag1","hashtag2"]},{"1353111720":["hashtag1","hashtag2"]},{"1353111816":["hashtag1","hashtag2"]},{"1353111779":["hashtag1","hashtag2"]},{"1353111685":["hashtag1","hashtag2"]},{"1353111847":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353111747, 1353111720, 1353111816, 1353111779, 1353111685, 1353111847)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62932300567627 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:02:02.185768
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_44_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_33_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_24_9701.jpg', 2), ('/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_14_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/18/00/image_23042025_18_01_04_10699.jpg', 2), ('/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_54_9735.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_44_10574.jpg', '/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_33_9685.jpg', '/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_24_9701.jpg', '/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_14_9702.jpg', '/home/nano/Desktop/images/23042025/18/00/image_23042025_18_01_04_10699.jpg', '/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_54_9735.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_44_10574.jpg
/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_33_9685.jpg
/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_24_9701.jpg
/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_14_9702.jpg
/home/nano/Desktop/images/23042025/18/00/image_23042025_18_01_04_10699.jpg
/home/nano/Desktop/images/23042025/18/00/image_23042025_18_00_54_9735.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353112065","1353112110","1353112052","1353112057","1353112068","1353112062"],"photo_ids_order":["1353112052","1353112057","1353112062","1353112065","1353112068","1353112110"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f24cc6293ab08139e31ffc81bb7abd4.jpg","text":"TemporaryFile(/tmp/multipartBody1230136373772025599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424183611,"filename":"image_23042025_18_01_14_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5df3de866a396163aa333687f07a993.jpg","text":"TemporaryFile(/tmp/multipartBody6876202271332818322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424183611,"filename":"image_23042025_18_00_54_9735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a2d51083a5b8eec34952311017d45c7.jpg","text":"TemporaryFile(/tmp/multipartBody3447209320951303482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424183611,"filename":"image_23042025_18_01_44_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0e8f486c690771003f5c82721fe01fd.jpg","text":"TemporaryFile(/tmp/multipartBody852759094257066992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424183611,"filename":"image_23042025_18_01_33_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7515ea8b89a25ea863cfb13b1ac276f3.jpg","text":"TemporaryFile(/tmp/multipartBody1611054139000296340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424183611,"filename":"image_23042025_18_01_04_10699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be01903a78059b506a467049184ed80e.jpg","text":"TemporaryFile(/tmp/multipartBody6041875023192781290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424183611,"filename":"image_23042025_18_01_24_9701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353112062","file1":"1353112057","file0":"1353112052","file4":"1353112068","file5":"1353112110","file3":"1353112065"},"map_files_photo_id_array":[{"photo_id":"1353112110","filename":"file5"},{"photo_id":"1353112062","filename":"file2"},{"photo_id":"1353112068","filename":"file4"},{"photo_id":"1353112057","filename":"file1"},{"photo_id":"1353112052","filename":"file0"},{"photo_id":"1353112065","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353112065":["hashtag1","hashtag2"]},{"1353112110":["hashtag1","hashtag2"]},{"1353112052":["hashtag1","hashtag2"]},{"1353112057":["hashtag1","hashtag2"]},{"1353112068":["hashtag1","hashtag2"]},{"1353112062":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353112065, 1353112110, 1353112052, 1353112057, 1353112068, 1353112062)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.76560878753662 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:03:02.429482
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_43_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_34_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_24_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_14_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/18/01/image_23042025_18_02_04_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_54_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_43_9583.jpg', '/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_34_9567.jpg', '/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_24_10584.jpg', '/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_14_9577.jpg', '/home/nano/Desktop/images/23042025/18/01/image_23042025_18_02_04_10574.jpg', '/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_54_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_43_9583.jpg
/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_34_9567.jpg
/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_24_10584.jpg
/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_14_9577.jpg
/home/nano/Desktop/images/23042025/18/01/image_23042025_18_02_04_10574.jpg
/home/nano/Desktop/images/23042025/18/01/image_23042025_18_01_54_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353112704","1353112653","1353112553","1353112436","1353112498","1353112601"],"photo_ids_order":["1353112436","1353112498","1353112553","1353112601","1353112653","1353112704"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fec40aecd1ab2a9198c0753a9f11b4a.jpg","text":"TemporaryFile(/tmp/multipartBody4040160378770165942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424243585,"filename":"image_23042025_18_01_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c2d00ab330bbeeb95b16b4dd461d77e.jpg","text":"TemporaryFile(/tmp/multipartBody5631358736059674045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424243585,"filename":"image_23042025_18_02_04_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4eeceeca6105d173f68c247820d7631c.jpg","text":"TemporaryFile(/tmp/multipartBody1791619019664285934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424243585,"filename":"image_23042025_18_02_24_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/265d2da20f02f24c14f1c1545c898001.jpg","text":"TemporaryFile(/tmp/multipartBody3344910537834601350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424243585,"filename":"image_23042025_18_02_43_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/711d95bf5a8731472fe7f4ca3ef1bef4.jpg","text":"TemporaryFile(/tmp/multipartBody8993412101458076462asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424243585,"filename":"image_23042025_18_02_34_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93822117195f25512ffb3c9113bd67aa.jpg","text":"TemporaryFile(/tmp/multipartBody9080666816305294831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424243585,"filename":"image_23042025_18_02_14_9577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353112553","file1":"1353112498","file0":"1353112436","file4":"1353112653","file5":"1353112704","file3":"1353112601"},"map_files_photo_id_array":[{"photo_id":"1353112704","filename":"file5"},{"photo_id":"1353112553","filename":"file2"},{"photo_id":"1353112653","filename":"file4"},{"photo_id":"1353112498","filename":"file1"},{"photo_id":"1353112436","filename":"file0"},{"photo_id":"1353112601","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353112704":["hashtag1","hashtag2"]},{"1353112653":["hashtag1","hashtag2"]},{"1353112553":["hashtag1","hashtag2"]},{"1353112436":["hashtag1","hashtag2"]},{"1353112498":["hashtag1","hashtag2"]},{"1353112601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353112704, 1353112653, 1353112553, 1353112436, 1353112498, 1353112601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.292670965194702 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:04:02.929514
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_44_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_34_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_24_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_14_10584.jpg', 2), ('/home/nano/Desktop/images/23042025/18/02/image_23042025_18_03_04_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_54_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_44_9567.jpg', '/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_34_10573.jpg', '/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_24_9564.jpg', '/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_14_10584.jpg', '/home/nano/Desktop/images/23042025/18/02/image_23042025_18_03_04_9576.jpg', '/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_54_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_44_9567.jpg
/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_34_10573.jpg
/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_24_9564.jpg
/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_14_10584.jpg
/home/nano/Desktop/images/23042025/18/02/image_23042025_18_03_04_9576.jpg
/home/nano/Desktop/images/23042025/18/02/image_23042025_18_02_54_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113081","1353112961","1353113059","1353113032","1353113076","1353112989"],"photo_ids_order":["1353112961","1353112989","1353113032","1353113059","1353113076","1353113081"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2eb16beeacafa4a5b47f636007c493ff.jpg","text":"TemporaryFile(/tmp/multipartBody4190787162424862867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424304042,"filename":"image_23042025_18_02_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61868f7143aba99205e0076bf9ed148e.jpg","text":"TemporaryFile(/tmp/multipartBody3311673608995635621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424304042,"filename":"image_23042025_18_03_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8a5986f1fd19fa634ccf3090c7bf06a.jpg","text":"TemporaryFile(/tmp/multipartBody7289719433626985260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424304042,"filename":"image_23042025_18_03_14_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac681b59fc241539e62b8a0c80e9842c.jpg","text":"TemporaryFile(/tmp/multipartBody590752043872284704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424304042,"filename":"image_23042025_18_03_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aef6cbe727733574c646703f318ca88d.jpg","text":"TemporaryFile(/tmp/multipartBody3332321371619869142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424304042,"filename":"image_23042025_18_03_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07b27ccb06f578175c824167a4db673f.jpg","text":"TemporaryFile(/tmp/multipartBody7678718861727636485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424304042,"filename":"image_23042025_18_03_34_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113032","file1":"1353112989","file0":"1353112961","file4":"1353113076","file5":"1353113081","file3":"1353113059"},"map_files_photo_id_array":[{"photo_id":"1353113081","filename":"file5"},{"photo_id":"1353113032","filename":"file2"},{"photo_id":"1353113076","filename":"file4"},{"photo_id":"1353112989","filename":"file1"},{"photo_id":"1353112961","filename":"file0"},{"photo_id":"1353113059","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113081":["hashtag1","hashtag2"]},{"1353112961":["hashtag1","hashtag2"]},{"1353113059":["hashtag1","hashtag2"]},{"1353113032":["hashtag1","hashtag2"]},{"1353113076":["hashtag1","hashtag2"]},{"1353112989":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113081, 1353112961, 1353113059, 1353113032, 1353113076, 1353112989)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.928189992904663 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:05:02.673199
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_43_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_34_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_24_10596.jpg', 2), ('/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_14_9588.jpg', 2), ('/home/nano/Desktop/images/23042025/18/03/image_23042025_18_04_04_10597.jpg', 2), ('/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_53_9580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_43_9580.jpg', '/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_34_9576.jpg', '/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_24_10596.jpg', '/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_14_9588.jpg', '/home/nano/Desktop/images/23042025/18/03/image_23042025_18_04_04_10597.jpg', '/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_53_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_43_9580.jpg
/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_34_9576.jpg
/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_24_10596.jpg
/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_14_9588.jpg
/home/nano/Desktop/images/23042025/18/03/image_23042025_18_04_04_10597.jpg
/home/nano/Desktop/images/23042025/18/03/image_23042025_18_03_53_9580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113129","1353113117","1353113125","1353113113","1353113133","1353113121"],"photo_ids_order":["1353113113","1353113117","1353113121","1353113125","1353113129","1353113133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73e611dd1ff220e88f494c28b620f8c3.jpg","text":"TemporaryFile(/tmp/multipartBody3591090034831093128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424363951,"filename":"image_23042025_18_04_04_10597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09ca6989d297fcd22a41603976da5cc5.jpg","text":"TemporaryFile(/tmp/multipartBody7541360361638247151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424363951,"filename":"image_23042025_18_04_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6781592ddba2317cb2586f2c79f37ba.jpg","text":"TemporaryFile(/tmp/multipartBody2130440962317348148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424363951,"filename":"image_23042025_18_04_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44b23e9b286d3216e37ee5bc50e4f239.jpg","text":"TemporaryFile(/tmp/multipartBody4480691470529336813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424363951,"filename":"image_23042025_18_04_43_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6055c2aa53a5c100ca15728ac7351a44.jpg","text":"TemporaryFile(/tmp/multipartBody3977626585346220605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424363951,"filename":"image_23042025_18_03_53_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b0918c0179168769fca2ca64385cb4d.jpg","text":"TemporaryFile(/tmp/multipartBody5225204169997672677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424363951,"filename":"image_23042025_18_04_24_10596.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113121","file1":"1353113117","file0":"1353113113","file4":"1353113129","file5":"1353113133","file3":"1353113125"},"map_files_photo_id_array":[{"photo_id":"1353113133","filename":"file5"},{"photo_id":"1353113121","filename":"file2"},{"photo_id":"1353113129","filename":"file4"},{"photo_id":"1353113117","filename":"file1"},{"photo_id":"1353113113","filename":"file0"},{"photo_id":"1353113125","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113129":["hashtag1","hashtag2"]},{"1353113117":["hashtag1","hashtag2"]},{"1353113125":["hashtag1","hashtag2"]},{"1353113113":["hashtag1","hashtag2"]},{"1353113133":["hashtag1","hashtag2"]},{"1353113121":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113129, 1353113117, 1353113125, 1353113113, 1353113133, 1353113121)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.6163649559021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:06:02.726717
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_44_9590.jpg', 2), ('/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_34_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_24_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_14_10603.jpg', 2), ('/home/nano/Desktop/images/23042025/18/04/image_23042025_18_05_04_9591.jpg', 2), ('/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_54_10587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_44_9590.jpg', '/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_34_10575.jpg', '/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_24_9567.jpg', '/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_14_10603.jpg', '/home/nano/Desktop/images/23042025/18/04/image_23042025_18_05_04_9591.jpg', '/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_54_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_44_9590.jpg
/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_34_10575.jpg
/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_24_9567.jpg
/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_14_10603.jpg
/home/nano/Desktop/images/23042025/18/04/image_23042025_18_05_04_9591.jpg
/home/nano/Desktop/images/23042025/18/04/image_23042025_18_04_54_10587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113372","1353113315","1353113290","1353113344","1353113260","1353113466"],"photo_ids_order":["1353113260","1353113290","1353113315","1353113344","1353113372","1353113466"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc11d183dd7adc11f0b9b2a742e1b3a2.jpg","text":"TemporaryFile(/tmp/multipartBody4699217480283091483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424423879,"filename":"image_23042025_18_05_04_9591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/952353a729f4c9720cd86f3058461b99.jpg","text":"TemporaryFile(/tmp/multipartBody999942480544146010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424423879,"filename":"image_23042025_18_05_24_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4439a53157e28143a1286b8c2bc8e21e.jpg","text":"TemporaryFile(/tmp/multipartBody1188164625309139363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424423879,"filename":"image_23042025_18_05_34_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9219e57646702cfe147a8cbb6247e090.jpg","text":"TemporaryFile(/tmp/multipartBody1153193851052555116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424423879,"filename":"image_23042025_18_05_14_10603.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b4db1a300d2d9eb7d9037a273b65533.jpg","text":"TemporaryFile(/tmp/multipartBody5478183237708322822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424423879,"filename":"image_23042025_18_05_44_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e10f20b4976fdbdd87421c07a0db39ea.jpg","text":"TemporaryFile(/tmp/multipartBody3450163064866517589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424423879,"filename":"image_23042025_18_04_54_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113315","file1":"1353113290","file0":"1353113260","file4":"1353113372","file5":"1353113466","file3":"1353113344"},"map_files_photo_id_array":[{"photo_id":"1353113466","filename":"file5"},{"photo_id":"1353113315","filename":"file2"},{"photo_id":"1353113372","filename":"file4"},{"photo_id":"1353113290","filename":"file1"},{"photo_id":"1353113260","filename":"file0"},{"photo_id":"1353113344","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113372":["hashtag1","hashtag2"]},{"1353113315":["hashtag1","hashtag2"]},{"1353113290":["hashtag1","hashtag2"]},{"1353113344":["hashtag1","hashtag2"]},{"1353113260":["hashtag1","hashtag2"]},{"1353113466":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113372, 1353113315, 1353113290, 1353113344, 1353113260, 1353113466)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.184091567993164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:07:02.969755
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_43_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_34_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_24_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_14_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_54_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_43_9864.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_43_9564.jpg', '/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_34_9561.jpg', '/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_24_10580.jpg', '/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_14_9577.jpg', '/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_54_9567.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_43_9864.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_43_9564.jpg
/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_34_9561.jpg
/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_24_10580.jpg
/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_14_9577.jpg
/home/nano/Desktop/images/23042025/18/05/image_23042025_18_05_54_9567.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_43_9864.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113564","1353113558","1353113543","1353113551","1353113554","1353113547"],"photo_ids_order":["1353113543","1353113547","1353113551","1353113554","1353113558","1353113564"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f074df152f1ed9552229316fcabc8c0.jpg","text":"TemporaryFile(/tmp/multipartBody8644253988806099187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424484012,"filename":"image_23042025_16_34_43_9864.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a3f374d6465a67a7c8858169bd0b75c.jpg","text":"TemporaryFile(/tmp/multipartBody5942579595894473171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424484012,"filename":"image_23042025_18_05_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66be1f0ffb07d497a7c60ef90f2b1b7c.jpg","text":"TemporaryFile(/tmp/multipartBody521143306392528955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424484012,"filename":"image_23042025_18_06_43_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71360373283abbced81d7fa7980dfa26.jpg","text":"TemporaryFile(/tmp/multipartBody5551322706017939016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424484012,"filename":"image_23042025_18_06_24_10580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f04119b4da5af986ee1033438b333194.jpg","text":"TemporaryFile(/tmp/multipartBody632566137762135371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424484012,"filename":"image_23042025_18_06_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f4b473f109e4a081de46b01966a2f49.jpg","text":"TemporaryFile(/tmp/multipartBody2657736604115293793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424484012,"filename":"image_23042025_18_06_34_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113551","file1":"1353113547","file0":"1353113543","file4":"1353113558","file5":"1353113564","file3":"1353113554"},"map_files_photo_id_array":[{"photo_id":"1353113564","filename":"file5"},{"photo_id":"1353113551","filename":"file2"},{"photo_id":"1353113558","filename":"file4"},{"photo_id":"1353113547","filename":"file1"},{"photo_id":"1353113543","filename":"file0"},{"photo_id":"1353113554","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113564":["hashtag1","hashtag2"]},{"1353113558":["hashtag1","hashtag2"]},{"1353113543":["hashtag1","hashtag2"]},{"1353113551":["hashtag1","hashtag2"]},{"1353113554":["hashtag1","hashtag2"]},{"1353113547":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113564, 1353113558, 1353113543, 1353113551, 1353113554, 1353113547)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.57973027229309 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:08:02.776244
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_44_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_34_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_24_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_14_10592.jpg', 2), ('/home/nano/Desktop/images/23042025/18/06/image_23042025_18_07_04_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_54_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_44_9566.jpg', '/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_34_10570.jpg', '/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_24_9560.jpg', '/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_14_10592.jpg', '/home/nano/Desktop/images/23042025/18/06/image_23042025_18_07_04_9580.jpg', '/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_54_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_44_9566.jpg
/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_34_10570.jpg
/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_24_9560.jpg
/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_14_10592.jpg
/home/nano/Desktop/images/23042025/18/06/image_23042025_18_07_04_9580.jpg
/home/nano/Desktop/images/23042025/18/06/image_23042025_18_06_54_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113615","1353113605","1353113602","1353113637","1353113622","1353113610"],"photo_ids_order":["1353113602","1353113605","1353113610","1353113615","1353113622","1353113637"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9f2b3e0f5474f5f69da086ce33d8e37.jpg","text":"TemporaryFile(/tmp/multipartBody2148440097365878734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424543939,"filename":"image_23042025_18_07_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9c8d7f5f22ce938c94d49f46f9f11d3.jpg","text":"TemporaryFile(/tmp/multipartBody668411291368307533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424543939,"filename":"image_23042025_18_07_34_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c8d665f20cfd83ac75a9f3fd4d1b440.jpg","text":"TemporaryFile(/tmp/multipartBody4115086477598907316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424543939,"filename":"image_23042025_18_07_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91d94754515f175922c84bcfef3c91e6.jpg","text":"TemporaryFile(/tmp/multipartBody725554489673011546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424543939,"filename":"image_23042025_18_06_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a326bfc69446335e1ed991fba32672b8.jpg","text":"TemporaryFile(/tmp/multipartBody8981044468472103565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424543939,"filename":"image_23042025_18_07_04_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a101bb62d3061258dee0ee62e5e3802e.jpg","text":"TemporaryFile(/tmp/multipartBody5164685711820160097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424543939,"filename":"image_23042025_18_07_24_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113610","file1":"1353113605","file0":"1353113602","file4":"1353113622","file5":"1353113637","file3":"1353113615"},"map_files_photo_id_array":[{"photo_id":"1353113637","filename":"file5"},{"photo_id":"1353113610","filename":"file2"},{"photo_id":"1353113622","filename":"file4"},{"photo_id":"1353113605","filename":"file1"},{"photo_id":"1353113602","filename":"file0"},{"photo_id":"1353113615","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113615":["hashtag1","hashtag2"]},{"1353113605":["hashtag1","hashtag2"]},{"1353113602":["hashtag1","hashtag2"]},{"1353113637":["hashtag1","hashtag2"]},{"1353113622":["hashtag1","hashtag2"]},{"1353113610":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113615, 1353113605, 1353113602, 1353113637, 1353113622, 1353113610)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.222108602523804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:09:03.467659
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_24_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_14_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/18/07/image_23042025_18_08_04_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_53_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_34_9863.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_24_9850.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_24_10570.jpg', '/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_14_9577.jpg', '/home/nano/Desktop/images/23042025/18/07/image_23042025_18_08_04_10574.jpg', '/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_53_9560.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_34_9863.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_24_9850.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_24_10570.jpg
/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_14_9577.jpg
/home/nano/Desktop/images/23042025/18/07/image_23042025_18_08_04_10574.jpg
/home/nano/Desktop/images/23042025/18/07/image_23042025_18_07_53_9560.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_34_9863.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_24_9850.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113711","1353113716","1353113701","1353113693","1353113706","1353113675"],"photo_ids_order":["1353113675","1353113693","1353113701","1353113706","1353113711","1353113716"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb53dd3972b09edcbf3d8abd4be9d28e.jpg","text":"TemporaryFile(/tmp/multipartBody8682832174283292517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424605072,"filename":"image_23042025_16_34_34_9863.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59bb0526635fd63f15aa0fa136aab7b3.jpg","text":"TemporaryFile(/tmp/multipartBody2413827579537113592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424605072,"filename":"image_23042025_16_34_24_9850.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68ea7b495dd5fbd01221182aedd4ca77.jpg","text":"TemporaryFile(/tmp/multipartBody8905067626630967703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424605072,"filename":"image_23042025_18_08_04_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c49252ea678bb37b780a7f220e205c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3546314076824095131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424605072,"filename":"image_23042025_18_08_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34e55c11fb12c5a7841076b435eb37ed.jpg","text":"TemporaryFile(/tmp/multipartBody881551225927673714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424605072,"filename":"image_23042025_18_07_53_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11849d287c20607d54a05a97f16f762e.jpg","text":"TemporaryFile(/tmp/multipartBody1139195629314910884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424605072,"filename":"image_23042025_18_08_24_10570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113701","file1":"1353113693","file0":"1353113675","file4":"1353113711","file5":"1353113716","file3":"1353113706"},"map_files_photo_id_array":[{"photo_id":"1353113716","filename":"file5"},{"photo_id":"1353113701","filename":"file2"},{"photo_id":"1353113711","filename":"file4"},{"photo_id":"1353113693","filename":"file1"},{"photo_id":"1353113675","filename":"file0"},{"photo_id":"1353113706","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113711":["hashtag1","hashtag2"]},{"1353113716":["hashtag1","hashtag2"]},{"1353113701":["hashtag1","hashtag2"]},{"1353113693":["hashtag1","hashtag2"]},{"1353113706":["hashtag1","hashtag2"]},{"1353113675":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113711, 1353113716, 1353113701, 1353113693, 1353113706, 1353113675)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08046531677246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:10:02.939436
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_34_10569.jpg', 2), ('/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_24_9565.jpg', 2), ('/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_14_10608.jpg', 2), ('/home/nano/Desktop/images/23042025/18/08/image_23042025_18_09_03_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_34_9562.jpg', 2), ('/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_14_9849.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_34_10569.jpg', '/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_24_9565.jpg', '/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_14_10608.jpg', '/home/nano/Desktop/images/23042025/18/08/image_23042025_18_09_03_9578.jpg', '/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_34_9562.jpg', '/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_14_9849.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_34_10569.jpg
/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_24_9565.jpg
/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_14_10608.jpg
/home/nano/Desktop/images/23042025/18/08/image_23042025_18_09_03_9578.jpg
/home/nano/Desktop/images/23042025/18/08/image_23042025_18_08_34_9562.jpg
/home/nano/Desktop/images/23042025/16/34/image_23042025_16_34_14_9849.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113765","1353113744","1353113761","1353113751","1353113769","1353113774"],"photo_ids_order":["1353113744","1353113751","1353113761","1353113765","1353113769","1353113774"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26bb0b225b35578b8ff526c1c57a523f.jpg","text":"TemporaryFile(/tmp/multipartBody7053964617634433193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424664450,"filename":"image_23042025_18_09_03_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c653a164b3263cec99380bc15c809e1f.jpg","text":"TemporaryFile(/tmp/multipartBody8121151898679123843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424664450,"filename":"image_23042025_18_09_34_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d0a5f96dc61788bceb566d9e69eea97.jpg","text":"TemporaryFile(/tmp/multipartBody7456109542040925700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424664450,"filename":"image_23042025_18_09_14_10608.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/102838a1eb8a49a5955876335ee1bf1e.jpg","text":"TemporaryFile(/tmp/multipartBody6766875021147382285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424664450,"filename":"image_23042025_18_09_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b07da54e1688998c110558a21eb07d9.jpg","text":"TemporaryFile(/tmp/multipartBody5310641645324867177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424664450,"filename":"image_23042025_18_08_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfd00315fc8b63811721cbaa701ad552.jpg","text":"TemporaryFile(/tmp/multipartBody1293994838462052319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424664450,"filename":"image_23042025_16_34_14_9849.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113761","file1":"1353113751","file0":"1353113744","file4":"1353113769","file5":"1353113774","file3":"1353113765"},"map_files_photo_id_array":[{"photo_id":"1353113774","filename":"file5"},{"photo_id":"1353113761","filename":"file2"},{"photo_id":"1353113769","filename":"file4"},{"photo_id":"1353113751","filename":"file1"},{"photo_id":"1353113744","filename":"file0"},{"photo_id":"1353113765","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113765":["hashtag1","hashtag2"]},{"1353113744":["hashtag1","hashtag2"]},{"1353113761":["hashtag1","hashtag2"]},{"1353113751":["hashtag1","hashtag2"]},{"1353113769":["hashtag1","hashtag2"]},{"1353113774":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113765, 1353113744, 1353113761, 1353113751, 1353113769, 1353113774)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.704471826553345 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:11:03.250144
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_34_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_24_10580.jpg', 2), ('/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_13_9577.jpg', 2), ('/home/nano/Desktop/images/23042025/18/09/image_23042025_18_10_04_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_44_9567.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_34_04_9837.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_34_9563.jpg', '/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_24_10580.jpg', '/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_13_9577.jpg', '/home/nano/Desktop/images/23042025/18/09/image_23042025_18_10_04_9579.jpg', '/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_44_9567.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_34_04_9837.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_34_9563.jpg
/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_24_10580.jpg
/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_13_9577.jpg
/home/nano/Desktop/images/23042025/18/09/image_23042025_18_10_04_9579.jpg
/home/nano/Desktop/images/23042025/18/09/image_23042025_18_09_44_9567.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_34_04_9837.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353113909","1353113900","1353113887","1353113863","1353113880","1353113874"],"photo_ids_order":["1353113863","1353113874","1353113880","1353113887","1353113900","1353113909"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa26ae78063eb1eed2b559ead6d4117f.jpg","text":"TemporaryFile(/tmp/multipartBody1997132094013185278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424724588,"filename":"image_23042025_16_34_04_9837.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56a125b92937cb4ab2436c74d01662f0.jpg","text":"TemporaryFile(/tmp/multipartBody6619137024700342819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424724588,"filename":"image_23042025_18_09_44_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7de4ec567f518725119034ef1dee4099.jpg","text":"TemporaryFile(/tmp/multipartBody2638920938697450591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424724588,"filename":"image_23042025_18_10_04_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b4e748ed03fcbd8215ac63376d90733.jpg","text":"TemporaryFile(/tmp/multipartBody6511261528766507727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424724588,"filename":"image_23042025_18_10_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/70e45930d0b8a69e23d477ca4de8c559.jpg","text":"TemporaryFile(/tmp/multipartBody2638653541291388098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424724588,"filename":"image_23042025_18_10_13_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2eda148c657543c690cfd71418aa0d35.jpg","text":"TemporaryFile(/tmp/multipartBody1630248415945997742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424724588,"filename":"image_23042025_18_10_24_10580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353113880","file1":"1353113874","file0":"1353113863","file4":"1353113900","file5":"1353113909","file3":"1353113887"},"map_files_photo_id_array":[{"photo_id":"1353113909","filename":"file5"},{"photo_id":"1353113880","filename":"file2"},{"photo_id":"1353113900","filename":"file4"},{"photo_id":"1353113874","filename":"file1"},{"photo_id":"1353113863","filename":"file0"},{"photo_id":"1353113887","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353113909":["hashtag1","hashtag2"]},{"1353113900":["hashtag1","hashtag2"]},{"1353113887":["hashtag1","hashtag2"]},{"1353113863":["hashtag1","hashtag2"]},{"1353113880":["hashtag1","hashtag2"]},{"1353113874":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353113909, 1353113900, 1353113887, 1353113863, 1353113880, 1353113874)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.78416085243225 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:12:02.356288
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_44_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_23_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_14_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/18/10/image_23042025_18_11_04_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_54_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_54_10846.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_44_9564.jpg', '/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_23_9563.jpg', '/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_14_9578.jpg', '/home/nano/Desktop/images/23042025/18/10/image_23042025_18_11_04_10587.jpg', '/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_54_9563.jpg', '/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_54_10846.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_44_9564.jpg
/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_23_9563.jpg
/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_14_9578.jpg
/home/nano/Desktop/images/23042025/18/10/image_23042025_18_11_04_10587.jpg
/home/nano/Desktop/images/23042025/18/10/image_23042025_18_10_54_9563.jpg
/home/nano/Desktop/images/23042025/16/33/image_23042025_16_33_54_10846.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353114242","1353114190","1353114229","1353114186","1353114180","1353114194"],"photo_ids_order":["1353114180","1353114186","1353114190","1353114194","1353114229","1353114242"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd1f499072801c6f99de590f07248e3c.jpg","text":"TemporaryFile(/tmp/multipartBody8640696726041369116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424783775,"filename":"image_23042025_16_33_54_10846.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d077e59e069daa94d89090a5795a3cf1.jpg","text":"TemporaryFile(/tmp/multipartBody6516950084269998744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424783775,"filename":"image_23042025_18_11_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f81ce13527c8766cf5b6779ba269c218.jpg","text":"TemporaryFile(/tmp/multipartBody8071332091233094577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424783775,"filename":"image_23042025_18_10_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02e554960d0dce1baf76488f38bda759.jpg","text":"TemporaryFile(/tmp/multipartBody6023445944185119669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424783775,"filename":"image_23042025_18_11_23_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a53d46d66550e600474a2a24ac53f07b.jpg","text":"TemporaryFile(/tmp/multipartBody6701298796489358137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424783775,"filename":"image_23042025_18_11_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fbc7bbb8772423289402d50a66a1112.jpg","text":"TemporaryFile(/tmp/multipartBody3344563610092448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424783775,"filename":"image_23042025_18_11_04_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353114190","file1":"1353114186","file0":"1353114180","file4":"1353114229","file5":"1353114242","file3":"1353114194"},"map_files_photo_id_array":[{"photo_id":"1353114242","filename":"file5"},{"photo_id":"1353114190","filename":"file2"},{"photo_id":"1353114229","filename":"file4"},{"photo_id":"1353114186","filename":"file1"},{"photo_id":"1353114180","filename":"file0"},{"photo_id":"1353114194","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353114242":["hashtag1","hashtag2"]},{"1353114190":["hashtag1","hashtag2"]},{"1353114229":["hashtag1","hashtag2"]},{"1353114186":["hashtag1","hashtag2"]},{"1353114180":["hashtag1","hashtag2"]},{"1353114194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353114242, 1353114190, 1353114229, 1353114186, 1353114180, 1353114194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.08923530578613 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:13:02.664750
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_44_10577.jpg', 2), ('/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_33_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_24_9582.jpg', 2), ('/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_14_10619.jpg', 2), ('/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_54_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_23_9939.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_44_10577.jpg', '/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_33_9559.jpg', '/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_24_9582.jpg', '/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_14_10619.jpg', '/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_54_10573.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_23_9939.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_44_10577.jpg
/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_33_9559.jpg
/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_24_9582.jpg
/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_14_10619.jpg
/home/nano/Desktop/images/23042025/18/11/image_23042025_18_11_54_10573.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_23_9939.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353114305","1353114319","1353114310","1353114313","1353114294","1353114299"],"photo_ids_order":["1353114294","1353114299","1353114305","1353114310","1353114313","1353114319"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fa17fd14fd83a3b3c0898eafb9ab949.jpg","text":"TemporaryFile(/tmp/multipartBody2078622268201463744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424843887,"filename":"image_23042025_18_12_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3fc630fca9121d4a07fc827d2798df5.jpg","text":"TemporaryFile(/tmp/multipartBody3638686373327141898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424843887,"filename":"image_23042025_16_11_23_9939.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb6ea7d1748c399704227408a6826e05.jpg","text":"TemporaryFile(/tmp/multipartBody7923631013705385506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424843887,"filename":"image_23042025_18_12_14_10619.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5aa75ebee3209f98bc099ccaa543f21.jpg","text":"TemporaryFile(/tmp/multipartBody6777775225464501434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424843887,"filename":"image_23042025_18_11_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71241030378d7566a6a74fb4097e3265.jpg","text":"TemporaryFile(/tmp/multipartBody8909884160524485551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424843887,"filename":"image_23042025_18_12_44_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48ea96730e47edc5299944265c86bd90.jpg","text":"TemporaryFile(/tmp/multipartBody3197846529450233104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424843887,"filename":"image_23042025_18_12_33_9559.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353114305","file1":"1353114299","file0":"1353114294","file4":"1353114313","file5":"1353114319","file3":"1353114310"},"map_files_photo_id_array":[{"photo_id":"1353114319","filename":"file5"},{"photo_id":"1353114305","filename":"file2"},{"photo_id":"1353114313","filename":"file4"},{"photo_id":"1353114299","filename":"file1"},{"photo_id":"1353114294","filename":"file0"},{"photo_id":"1353114310","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353114305":["hashtag1","hashtag2"]},{"1353114319":["hashtag1","hashtag2"]},{"1353114310":["hashtag1","hashtag2"]},{"1353114313":["hashtag1","hashtag2"]},{"1353114294":["hashtag1","hashtag2"]},{"1353114299":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353114305, 1353114319, 1353114310, 1353114313, 1353114294, 1353114299)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51237487792969 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:14:02.933566
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_43_9576.jpg', 2), ('/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_34_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_23_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_14_9583.jpg', 2), ('/home/nano/Desktop/images/23042025/18/12/image_23042025_18_13_04_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_54_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_43_9576.jpg', '/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_34_10573.jpg', '/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_23_9564.jpg', '/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_14_9583.jpg', '/home/nano/Desktop/images/23042025/18/12/image_23042025_18_13_04_10573.jpg', '/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_54_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_43_9576.jpg
/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_34_10573.jpg
/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_23_9564.jpg
/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_14_9583.jpg
/home/nano/Desktop/images/23042025/18/12/image_23042025_18_13_04_10573.jpg
/home/nano/Desktop/images/23042025/18/12/image_23042025_18_12_54_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353114391","1353114404","1353114373","1353114384","1353114380","1353114398"],"photo_ids_order":["1353114373","1353114380","1353114384","1353114391","1353114398","1353114404"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af45caa3c15e04ad165a66328f71549a.jpg","text":"TemporaryFile(/tmp/multipartBody643789526714681337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424903897,"filename":"image_23042025_18_13_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ddb87a6ebfd1c6b1f802a8d1027a365.jpg","text":"TemporaryFile(/tmp/multipartBody5580260147554061531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424903897,"filename":"image_23042025_18_12_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7af914b63f687ad00b94cb9971e6a176.jpg","text":"TemporaryFile(/tmp/multipartBody310885181574888221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424903897,"filename":"image_23042025_18_13_43_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/736a84a13817dafd74a02162c4040067.jpg","text":"TemporaryFile(/tmp/multipartBody725185057277216809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424903897,"filename":"image_23042025_18_13_23_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74e12bbf0cde045431545dc6ea5deb5e.jpg","text":"TemporaryFile(/tmp/multipartBody5350908277565882472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424903897,"filename":"image_23042025_18_13_34_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbb39fe39f4ce2c5cb6afb10be806f5a.jpg","text":"TemporaryFile(/tmp/multipartBody7184949448373369884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424903897,"filename":"image_23042025_18_13_04_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353114384","file1":"1353114380","file0":"1353114373","file4":"1353114398","file5":"1353114404","file3":"1353114391"},"map_files_photo_id_array":[{"photo_id":"1353114404","filename":"file5"},{"photo_id":"1353114384","filename":"file2"},{"photo_id":"1353114398","filename":"file4"},{"photo_id":"1353114380","filename":"file1"},{"photo_id":"1353114373","filename":"file0"},{"photo_id":"1353114391","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353114391":["hashtag1","hashtag2"]},{"1353114404":["hashtag1","hashtag2"]},{"1353114373":["hashtag1","hashtag2"]},{"1353114384":["hashtag1","hashtag2"]},{"1353114380":["hashtag1","hashtag2"]},{"1353114398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353114391, 1353114404, 1353114373, 1353114384, 1353114380, 1353114398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.63422966003418 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:15:02.872002
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_44_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_33_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_24_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_14_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/18/13/image_23042025_18_14_04_9588.jpg', 2), ('/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_54_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_44_10571.jpg', '/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_33_9578.jpg', '/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_24_9561.jpg', '/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_14_10587.jpg', '/home/nano/Desktop/images/23042025/18/13/image_23042025_18_14_04_9588.jpg', '/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_54_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_44_10571.jpg
/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_33_9578.jpg
/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_24_9561.jpg
/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_14_10587.jpg
/home/nano/Desktop/images/23042025/18/13/image_23042025_18_14_04_9588.jpg
/home/nano/Desktop/images/23042025/18/13/image_23042025_18_13_54_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353114647","1353114586","1353114597","1353114657","1353114573","1353114633"],"photo_ids_order":["1353114573","1353114586","1353114597","1353114633","1353114647","1353114657"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35497164c85164455c2ab4fc457b9d6e.jpg","text":"TemporaryFile(/tmp/multipartBody1159923833900784090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424964143,"filename":"image_23042025_18_14_04_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acbc096c6f566a2779c84500061122aa.jpg","text":"TemporaryFile(/tmp/multipartBody4904761613401340319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424964143,"filename":"image_23042025_18_14_33_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1129ede91ca92d626dccc4c35b888653.jpg","text":"TemporaryFile(/tmp/multipartBody4858081374901801980asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424964143,"filename":"image_23042025_18_14_24_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8b4a05b17e8c1bacc90b1347723e66e.jpg","text":"TemporaryFile(/tmp/multipartBody8197109728228491864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424964143,"filename":"image_23042025_18_13_54_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f66be3763f417be2602f7fa78a8c5492.jpg","text":"TemporaryFile(/tmp/multipartBody3287532506465820023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424964143,"filename":"image_23042025_18_14_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed0aae22da9ea88b055fbc93340bd0e4.jpg","text":"TemporaryFile(/tmp/multipartBody1352186096986112047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745424964143,"filename":"image_23042025_18_14_14_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353114597","file1":"1353114586","file0":"1353114573","file4":"1353114647","file5":"1353114657","file3":"1353114633"},"map_files_photo_id_array":[{"photo_id":"1353114657","filename":"file5"},{"photo_id":"1353114597","filename":"file2"},{"photo_id":"1353114647","filename":"file4"},{"photo_id":"1353114586","filename":"file1"},{"photo_id":"1353114573","filename":"file0"},{"photo_id":"1353114633","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353114647":["hashtag1","hashtag2"]},{"1353114586":["hashtag1","hashtag2"]},{"1353114597":["hashtag1","hashtag2"]},{"1353114657":["hashtag1","hashtag2"]},{"1353114573":["hashtag1","hashtag2"]},{"1353114633":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353114647, 1353114586, 1353114597, 1353114657, 1353114573, 1353114633)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.067784547805786 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:16:02.779217
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_43_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_34_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_14_9578.jpg', 2), ('/home/nano/Desktop/images/23042025/18/14/image_23042025_18_15_04_10599.jpg', 2), ('/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_54_9568.jpg', 2), ('/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_13_9962.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_43_9568.jpg', '/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_34_9563.jpg', '/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_14_9578.jpg', '/home/nano/Desktop/images/23042025/18/14/image_23042025_18_15_04_10599.jpg', '/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_54_9568.jpg', '/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_13_9962.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_43_9568.jpg
/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_34_9563.jpg
/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_14_9578.jpg
/home/nano/Desktop/images/23042025/18/14/image_23042025_18_15_04_10599.jpg
/home/nano/Desktop/images/23042025/18/14/image_23042025_18_14_54_9568.jpg
/home/nano/Desktop/images/23042025/16/11/image_23042025_16_11_13_9962.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353114979","1353114952","1353115050","1353114921","1353115085","1353115115"],"photo_ids_order":["1353114921","1353114952","1353114979","1353115050","1353115085","1353115115"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc83669d16a4872d56d66d77bcb3b19e.jpg","text":"TemporaryFile(/tmp/multipartBody7788221783679354697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425024190,"filename":"image_23042025_18_15_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c4b76be17b2d86360697934efa7b56f.jpg","text":"TemporaryFile(/tmp/multipartBody1179546232300236760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425024190,"filename":"image_23042025_18_15_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3afb7e4af221231fb8cb309cc73154b5.jpg","text":"TemporaryFile(/tmp/multipartBody5863553828556516378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425024190,"filename":"image_23042025_18_15_04_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad05c20e2e027807ed893ba3d8ca145f.jpg","text":"TemporaryFile(/tmp/multipartBody7672357477840274824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425024190,"filename":"image_23042025_18_15_43_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbc5ec10a16281119b22911a919f1433.jpg","text":"TemporaryFile(/tmp/multipartBody6632464333787443207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425024190,"filename":"image_23042025_18_14_54_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c432490cfa9d0fecaf1a5e46c2a79cbf.jpg","text":"TemporaryFile(/tmp/multipartBody8432709681780659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425024190,"filename":"image_23042025_16_11_13_9962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353114979","file1":"1353114952","file0":"1353114921","file4":"1353115085","file5":"1353115115","file3":"1353115050"},"map_files_photo_id_array":[{"photo_id":"1353115115","filename":"file5"},{"photo_id":"1353114979","filename":"file2"},{"photo_id":"1353115085","filename":"file4"},{"photo_id":"1353114952","filename":"file1"},{"photo_id":"1353114921","filename":"file0"},{"photo_id":"1353115050","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353114979":["hashtag1","hashtag2"]},{"1353114952":["hashtag1","hashtag2"]},{"1353115050":["hashtag1","hashtag2"]},{"1353114921":["hashtag1","hashtag2"]},{"1353115085":["hashtag1","hashtag2"]},{"1353115115":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353114979, 1353114952, 1353115050, 1353114921, 1353115085, 1353115115)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.2404682636261 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:17:03.044544
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_44_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_34_10575.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_24_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_14_10593.jpg', 2), ('/home/nano/Desktop/images/23042025/18/15/image_23042025_18_16_04_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_54_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_44_9563.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_34_10575.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_24_9564.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_14_10593.jpg', '/home/nano/Desktop/images/23042025/18/15/image_23042025_18_16_04_9579.jpg', '/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_54_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_44_9563.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_34_10575.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_24_9564.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_14_10593.jpg
/home/nano/Desktop/images/23042025/18/15/image_23042025_18_16_04_9579.jpg
/home/nano/Desktop/images/23042025/18/15/image_23042025_18_15_54_10572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353115174","1353115179","1353115200","1353115187","1353115169","1353115208"],"photo_ids_order":["1353115169","1353115174","1353115179","1353115187","1353115200","1353115208"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4e4450a8bc69dffe7d4e56221ec56da.jpg","text":"TemporaryFile(/tmp/multipartBody7704447707309691773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425084159,"filename":"image_23042025_18_16_34_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b71a55d19aa5dffe4f3730003b8a8334.jpg","text":"TemporaryFile(/tmp/multipartBody6422553596421172402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425084159,"filename":"image_23042025_18_16_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31ace00731efd968961627980906fe10.jpg","text":"TemporaryFile(/tmp/multipartBody9110072303216036952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425084159,"filename":"image_23042025_18_16_04_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/182e0b1263882c9fb6dfc97af0f7dd08.jpg","text":"TemporaryFile(/tmp/multipartBody7122594142003730550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425084159,"filename":"image_23042025_18_16_14_10593.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06655220c93d3b8ccd5f5dc9daf9c78d.jpg","text":"TemporaryFile(/tmp/multipartBody781264588056954652asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425084159,"filename":"image_23042025_18_16_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03f91344a15f22e302e5b144f1b88d2c.jpg","text":"TemporaryFile(/tmp/multipartBody6676253828572707714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425084159,"filename":"image_23042025_18_15_54_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353115179","file1":"1353115174","file0":"1353115169","file4":"1353115200","file5":"1353115208","file3":"1353115187"},"map_files_photo_id_array":[{"photo_id":"1353115208","filename":"file5"},{"photo_id":"1353115179","filename":"file2"},{"photo_id":"1353115200","filename":"file4"},{"photo_id":"1353115174","filename":"file1"},{"photo_id":"1353115169","filename":"file0"},{"photo_id":"1353115187","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353115174":["hashtag1","hashtag2"]},{"1353115179":["hashtag1","hashtag2"]},{"1353115200":["hashtag1","hashtag2"]},{"1353115187":["hashtag1","hashtag2"]},{"1353115169":["hashtag1","hashtag2"]},{"1353115208":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353115174, 1353115179, 1353115200, 1353115187, 1353115169, 1353115208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.10803747177124 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:18:03.000381
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_14_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_17_04_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_53_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_14_9579.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_17_04_10628.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_53_9581.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_14_9579.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_17_04_10628.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_53_9581.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9699151515960693 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:18:32.405840
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_14_9579.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_17_04_10628.jpg', 2), ('/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_53_9581.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg', 2), ('/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg', 2), ('/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_14_9579.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_17_04_10628.jpg', '/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_53_9581.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg', '/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg', '/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_14_9579.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_17_04_10628.jpg
/home/nano/Desktop/images/23042025/18/16/image_23042025_18_16_53_9581.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_11_04_9941.jpg
/home/nano/Desktop/images/23042025/16/10/image_23042025_16_10_54_9848.jpg
/home/nano/Desktop/images/23042025/15/34/image_23042025_15_34_54_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353115435","1353115485","1353115499","1353115448","1353115421","1353115427"],"photo_ids_order":["1353115421","1353115427","1353115435","1353115448","1353115485","1353115499"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d451f218613c815f65791714ad83d00d.jpg","text":"TemporaryFile(/tmp/multipartBody4435248100487841250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425174754,"filename":"image_23042025_18_16_53_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d5597401aea48d9b488d72b188b3cc0.jpg","text":"TemporaryFile(/tmp/multipartBody9032367820289109032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425174754,"filename":"image_23042025_16_10_54_9848.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffdee3a29b93702d30271f39d05dd361.jpg","text":"TemporaryFile(/tmp/multipartBody8260345008138786838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425174754,"filename":"image_23042025_15_34_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1a30c2322418b1a3c53d9c3749cf20c.jpg","text":"TemporaryFile(/tmp/multipartBody7992169547635396521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425174754,"filename":"image_23042025_16_11_04_9941.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a13888959e39faa9b7b7a11e60d8c4d9.jpg","text":"TemporaryFile(/tmp/multipartBody9184226316590109753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425174754,"filename":"image_23042025_18_17_14_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2db66933e2c239bf9009bd1b43283bfc.jpg","text":"TemporaryFile(/tmp/multipartBody5229196927932178866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425174754,"filename":"image_23042025_18_17_04_10628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353115435","file1":"1353115427","file0":"1353115421","file4":"1353115485","file5":"1353115499","file3":"1353115448"},"map_files_photo_id_array":[{"photo_id":"1353115499","filename":"file5"},{"photo_id":"1353115435","filename":"file2"},{"photo_id":"1353115485","filename":"file4"},{"photo_id":"1353115427","filename":"file1"},{"photo_id":"1353115421","filename":"file0"},{"photo_id":"1353115448","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353115435":["hashtag1","hashtag2"]},{"1353115485":["hashtag1","hashtag2"]},{"1353115499":["hashtag1","hashtag2"]},{"1353115448":["hashtag1","hashtag2"]},{"1353115421":["hashtag1","hashtag2"]},{"1353115427":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353115435, 1353115485, 1353115499, 1353115448, 1353115421, 1353115427)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.51961803436279 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:19:32.562400
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg', 2), ('/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_14_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_21_03_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_54_9561.jpg', 2), ('/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_45_9618.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg', '/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_14_10587.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_21_03_9580.jpg', '/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_54_9561.jpg', '/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_45_9618.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_34_10613.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_24_9569.jpg
/home/nano/Desktop/images/23042025/15/21/image_23042025_15_21_14_10587.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_21_03_9580.jpg
/home/nano/Desktop/images/23042025/15/20/image_23042025_15_20_54_9561.jpg
/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_45_9618.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353115855","1353115777","1353115813","1353115686","1353115885","1353115718"],"photo_ids_order":["1353115686","1353115718","1353115777","1353115813","1353115855","1353115885"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdde321f7acedaee4535abc150186bff.jpg","text":"TemporaryFile(/tmp/multipartBody6287906688097748230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425233737,"filename":"image_23042025_15_20_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07f1e0e357177981d18bfc531b975972.jpg","text":"TemporaryFile(/tmp/multipartBody1052212970381278872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425233737,"filename":"image_23042025_15_21_14_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d02cc95400e940dcb339036b6fee9bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5437265767084073084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425233737,"filename":"image_23042025_15_21_03_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e43c32be01619f809148c8edf3198c2.jpg","text":"TemporaryFile(/tmp/multipartBody1139629584148249132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425233737,"filename":"image_23042025_15_21_34_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cae9cd4796773c687f85bd9715805d33.jpg","text":"TemporaryFile(/tmp/multipartBody5809133770400546377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425233737,"filename":"image_23042025_11_54_45_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d801dfc98f4a1005155cd24b5833ace9.jpg","text":"TemporaryFile(/tmp/multipartBody1435566420852016628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425233737,"filename":"image_23042025_15_21_24_9569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353115777","file1":"1353115718","file0":"1353115686","file4":"1353115855","file5":"1353115885","file3":"1353115813"},"map_files_photo_id_array":[{"photo_id":"1353115885","filename":"file5"},{"photo_id":"1353115777","filename":"file2"},{"photo_id":"1353115855","filename":"file4"},{"photo_id":"1353115718","filename":"file1"},{"photo_id":"1353115686","filename":"file0"},{"photo_id":"1353115813","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353115855":["hashtag1","hashtag2"]},{"1353115777":["hashtag1","hashtag2"]},{"1353115813":["hashtag1","hashtag2"]},{"1353115686":["hashtag1","hashtag2"]},{"1353115885":["hashtag1","hashtag2"]},{"1353115718":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353115855, 1353115777, 1353115813, 1353115686, 1353115885, 1353115718)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.464885234832764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:20:32.658782
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_35_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_25_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_15_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/11/53/image_23042025_11_54_05_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_55_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_45_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_35_10634.jpg', '/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_25_9713.jpg', '/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_15_9659.jpg', '/home/nano/Desktop/images/23042025/11/53/image_23042025_11_54_05_10662.jpg', '/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_55_9651.jpg', '/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_45_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_35_10634.jpg
/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_25_9713.jpg
/home/nano/Desktop/images/23042025/11/54/image_23042025_11_54_15_9659.jpg
/home/nano/Desktop/images/23042025/11/53/image_23042025_11_54_05_10662.jpg
/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_55_9651.jpg
/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_45_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116265","1353116259","1353116250","1353116247","1353116281","1353116254"],"photo_ids_order":["1353116247","1353116250","1353116254","1353116259","1353116265","1353116281"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3698e6201717fe9ccf4f841fdbc1b187.jpg","text":"TemporaryFile(/tmp/multipartBody333558094648615764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425294149,"filename":"image_23042025_11_53_55_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3678f1830d502e10b2721948757f03e.jpg","text":"TemporaryFile(/tmp/multipartBody366091434241260759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425294149,"filename":"image_23042025_11_54_05_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11902eaba9b3d1f22bfaeb205dfe95d6.jpg","text":"TemporaryFile(/tmp/multipartBody1660070936721797907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425294149,"filename":"image_23042025_11_54_25_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57333328c6c9f30fdcf1c2aeea5a1eb6.jpg","text":"TemporaryFile(/tmp/multipartBody2529603064402062212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425294149,"filename":"image_23042025_11_54_35_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac12973c6a01634919126f40bb3e2ebc.jpg","text":"TemporaryFile(/tmp/multipartBody1020624126430379104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425294149,"filename":"image_23042025_11_53_45_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e05c0d55306404e34ddd6ccae6881a16.jpg","text":"TemporaryFile(/tmp/multipartBody7636524909725866413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425294149,"filename":"image_23042025_11_54_15_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116254","file1":"1353116250","file0":"1353116247","file4":"1353116265","file5":"1353116281","file3":"1353116259"},"map_files_photo_id_array":[{"photo_id":"1353116281","filename":"file5"},{"photo_id":"1353116254","filename":"file2"},{"photo_id":"1353116265","filename":"file4"},{"photo_id":"1353116250","filename":"file1"},{"photo_id":"1353116247","filename":"file0"},{"photo_id":"1353116259","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116265":["hashtag1","hashtag2"]},{"1353116259":["hashtag1","hashtag2"]},{"1353116250":["hashtag1","hashtag2"]},{"1353116247":["hashtag1","hashtag2"]},{"1353116281":["hashtag1","hashtag2"]},{"1353116254":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116265, 1353116259, 1353116250, 1353116247, 1353116281, 1353116254)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.02627348899841 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:21:31.751587
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_35_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_15_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/52/image_23042025_11_53_05_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_55_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_45_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_35_10643.jpg', '/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_25_9657.jpg', '/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_15_10660.jpg', '/home/nano/Desktop/images/23042025/11/52/image_23042025_11_53_05_9645.jpg', '/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_55_9644.jpg', '/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_45_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_35_10643.jpg
/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_25_9657.jpg
/home/nano/Desktop/images/23042025/11/53/image_23042025_11_53_15_10660.jpg
/home/nano/Desktop/images/23042025/11/52/image_23042025_11_53_05_9645.jpg
/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_55_9644.jpg
/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_45_10671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116428","1353116416","1353116404","1353116421","1353116411","1353116425"],"photo_ids_order":["1353116404","1353116411","1353116416","1353116421","1353116425","1353116428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67eaa50ea52077b5b4295f999fa7c25f.jpg","text":"TemporaryFile(/tmp/multipartBody476916377569694655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425353363,"filename":"image_23042025_11_52_45_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/137ca8f705dca550201a94b22e323102.jpg","text":"TemporaryFile(/tmp/multipartBody5911054765683204848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425353363,"filename":"image_23042025_11_53_15_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1178dcad428e8175c996e15e0eebec6.jpg","text":"TemporaryFile(/tmp/multipartBody2362867338577314394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425353363,"filename":"image_23042025_11_53_35_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e2d3fe04257ba3349e11ed56ce931f4.jpg","text":"TemporaryFile(/tmp/multipartBody1099217140623086577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425353363,"filename":"image_23042025_11_53_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cfa9f655a4693fb80f8d5b8ef8c9cfe0.jpg","text":"TemporaryFile(/tmp/multipartBody6645114962079109841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425353363,"filename":"image_23042025_11_53_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e3e52e182e4337f40985bfc27165836.jpg","text":"TemporaryFile(/tmp/multipartBody8683761885591194790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425353363,"filename":"image_23042025_11_52_55_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116416","file1":"1353116411","file0":"1353116404","file4":"1353116425","file5":"1353116428","file3":"1353116421"},"map_files_photo_id_array":[{"photo_id":"1353116428","filename":"file5"},{"photo_id":"1353116416","filename":"file2"},{"photo_id":"1353116425","filename":"file4"},{"photo_id":"1353116411","filename":"file1"},{"photo_id":"1353116404","filename":"file0"},{"photo_id":"1353116421","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116428":["hashtag1","hashtag2"]},{"1353116416":["hashtag1","hashtag2"]},{"1353116404":["hashtag1","hashtag2"]},{"1353116421":["hashtag1","hashtag2"]},{"1353116411":["hashtag1","hashtag2"]},{"1353116425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116428, 1353116416, 1353116404, 1353116421, 1353116411, 1353116425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.8143744468689 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:22:31.869050
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_25_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_15_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/11/51/image_23042025_11_52_05_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_55_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_45_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_35_9643.jpg', '/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_25_9641.jpg', '/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_15_10670.jpg', '/home/nano/Desktop/images/23042025/11/51/image_23042025_11_52_05_9664.jpg', '/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_55_9635.jpg', '/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_45_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_35_9643.jpg
/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_25_9641.jpg
/home/nano/Desktop/images/23042025/11/52/image_23042025_11_52_15_10670.jpg
/home/nano/Desktop/images/23042025/11/51/image_23042025_11_52_05_9664.jpg
/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_55_9635.jpg
/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_45_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116469","1353116478","1353116459","1353116462","1353116456","1353116482"],"photo_ids_order":["1353116456","1353116459","1353116462","1353116469","1353116478","1353116482"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/238b88746dbdafffb815fff1acf80c71.jpg","text":"TemporaryFile(/tmp/multipartBody8256195459670130854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425413657,"filename":"image_23042025_11_52_05_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9c85d27143761779b0beb2d2b31fe92.jpg","text":"TemporaryFile(/tmp/multipartBody6424924776042156089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425413657,"filename":"image_23042025_11_51_55_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0721c5fb90f52a3ebcef85642de10fa.jpg","text":"TemporaryFile(/tmp/multipartBody9116494067071377988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425413657,"filename":"image_23042025_11_52_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/173ae25efda2a8d17fe1d7c626e4993a.jpg","text":"TemporaryFile(/tmp/multipartBody2883172354754298927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425413657,"filename":"image_23042025_11_52_15_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0dbf1486708e5657b8acca568cbb4f84.jpg","text":"TemporaryFile(/tmp/multipartBody3510431675540821239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425413657,"filename":"image_23042025_11_52_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/558f49857e9ddb26d94e59f06e6d1a98.jpg","text":"TemporaryFile(/tmp/multipartBody7081606173882452891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425413657,"filename":"image_23042025_11_51_45_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116462","file1":"1353116459","file0":"1353116456","file4":"1353116478","file5":"1353116482","file3":"1353116469"},"map_files_photo_id_array":[{"photo_id":"1353116482","filename":"file5"},{"photo_id":"1353116462","filename":"file2"},{"photo_id":"1353116478","filename":"file4"},{"photo_id":"1353116459","filename":"file1"},{"photo_id":"1353116456","filename":"file0"},{"photo_id":"1353116469","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116469":["hashtag1","hashtag2"]},{"1353116478":["hashtag1","hashtag2"]},{"1353116459":["hashtag1","hashtag2"]},{"1353116462":["hashtag1","hashtag2"]},{"1353116456":["hashtag1","hashtag2"]},{"1353116482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116469, 1353116478, 1353116459, 1353116462, 1353116456, 1353116482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.984769821166992 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:23:31.963188
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_35_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_25_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_15_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/11/50/image_23042025_11_51_05_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_55_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_45_10664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_35_9640.jpg', '/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_25_9633.jpg', '/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_15_10672.jpg', '/home/nano/Desktop/images/23042025/11/50/image_23042025_11_51_05_9659.jpg', '/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_55_9637.jpg', '/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_45_10664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_35_9640.jpg
/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_25_9633.jpg
/home/nano/Desktop/images/23042025/11/51/image_23042025_11_51_15_10672.jpg
/home/nano/Desktop/images/23042025/11/50/image_23042025_11_51_05_9659.jpg
/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_55_9637.jpg
/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_45_10664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116521","1353116535","1353116559","1353116561","1353116540","1353116557"],"photo_ids_order":["1353116521","1353116535","1353116540","1353116557","1353116559","1353116561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a38a95dd13b5077c4c8abad6d344d824.jpg","text":"TemporaryFile(/tmp/multipartBody7673316146618184326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425473847,"filename":"image_23042025_11_51_35_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cf0482c9d318515b3b356e2c69b1706.jpg","text":"TemporaryFile(/tmp/multipartBody3276000409328297690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425473847,"filename":"image_23042025_11_51_25_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5202b2b06c00c284d8112a256e35a7a2.jpg","text":"TemporaryFile(/tmp/multipartBody7692483448953751299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425473847,"filename":"image_23042025_11_50_55_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f2f211238a82f2c424b292da13195b5.jpg","text":"TemporaryFile(/tmp/multipartBody8896795029299536654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425473847,"filename":"image_23042025_11_50_45_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a693fc92fb4a02dbfcc0df3770b01509.jpg","text":"TemporaryFile(/tmp/multipartBody6488460821354237594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425473847,"filename":"image_23042025_11_51_15_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77c9cfe9d0664c3356cbd7fbe5830cf1.jpg","text":"TemporaryFile(/tmp/multipartBody4439392627493909828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425473847,"filename":"image_23042025_11_51_05_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116540","file1":"1353116535","file0":"1353116521","file4":"1353116559","file5":"1353116561","file3":"1353116557"},"map_files_photo_id_array":[{"photo_id":"1353116561","filename":"file5"},{"photo_id":"1353116540","filename":"file2"},{"photo_id":"1353116559","filename":"file4"},{"photo_id":"1353116535","filename":"file1"},{"photo_id":"1353116521","filename":"file0"},{"photo_id":"1353116557","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116521":["hashtag1","hashtag2"]},{"1353116535":["hashtag1","hashtag2"]},{"1353116559":["hashtag1","hashtag2"]},{"1353116561":["hashtag1","hashtag2"]},{"1353116540":["hashtag1","hashtag2"]},{"1353116557":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116521, 1353116535, 1353116559, 1353116561, 1353116540, 1353116557)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.63446283340454 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:24:32.082085
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_35_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_25_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_15_10689.jpg', 2), ('/home/nano/Desktop/images/23042025/11/49/image_23042025_11_50_05_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_55_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_45_10677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_35_9645.jpg', '/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_25_9647.jpg', '/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_15_10689.jpg', '/home/nano/Desktop/images/23042025/11/49/image_23042025_11_50_05_9669.jpg', '/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_55_9659.jpg', '/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_45_10677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_35_9645.jpg
/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_25_9647.jpg
/home/nano/Desktop/images/23042025/11/50/image_23042025_11_50_15_10689.jpg
/home/nano/Desktop/images/23042025/11/49/image_23042025_11_50_05_9669.jpg
/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_55_9659.jpg
/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_45_10677.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116595","1353116637","1353116625","1353116633","1353116621","1353116641"],"photo_ids_order":["1353116595","1353116621","1353116625","1353116633","1353116637","1353116641"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10c9f9521966f28e2339d610f78b7e7d.jpg","text":"TemporaryFile(/tmp/multipartBody5084020344528645942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425534896,"filename":"image_23042025_11_50_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9cf304a03dd17cc8a6e698a05df96ad5.jpg","text":"TemporaryFile(/tmp/multipartBody1505856675525433099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425534896,"filename":"image_23042025_11_49_55_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffa042782313be334e3a6e7ff26d254d.jpg","text":"TemporaryFile(/tmp/multipartBody569386386266160310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425534896,"filename":"image_23042025_11_50_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/576af0b28ee1ba0419ae69ef0db8fa75.jpg","text":"TemporaryFile(/tmp/multipartBody7731886990401553311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425534896,"filename":"image_23042025_11_50_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/473161f4d7c22a1f448c9e5ec00bc547.jpg","text":"TemporaryFile(/tmp/multipartBody5959081810727074387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425534896,"filename":"image_23042025_11_50_25_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e942fddecf8e33b0a543f2fb32394e64.jpg","text":"TemporaryFile(/tmp/multipartBody5507746139913415889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425534896,"filename":"image_23042025_11_49_45_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116625","file1":"1353116621","file0":"1353116595","file4":"1353116637","file5":"1353116641","file3":"1353116633"},"map_files_photo_id_array":[{"photo_id":"1353116641","filename":"file5"},{"photo_id":"1353116625","filename":"file2"},{"photo_id":"1353116637","filename":"file4"},{"photo_id":"1353116621","filename":"file1"},{"photo_id":"1353116595","filename":"file0"},{"photo_id":"1353116633","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116595":["hashtag1","hashtag2"]},{"1353116637":["hashtag1","hashtag2"]},{"1353116625":["hashtag1","hashtag2"]},{"1353116633":["hashtag1","hashtag2"]},{"1353116621":["hashtag1","hashtag2"]},{"1353116641":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116595, 1353116637, 1353116625, 1353116633, 1353116621, 1353116641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.05857729911804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:25:32.196848
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/25/image_23042025_18_25_44_10571.jpg', 2), ('/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_35_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_25_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_15_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/11/48/image_23042025_11_49_05_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_55_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/25/image_23042025_18_25_44_10571.jpg', '/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_35_9645.jpg', '/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_25_9654.jpg', '/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_15_10678.jpg', '/home/nano/Desktop/images/23042025/11/48/image_23042025_11_49_05_9636.jpg', '/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_55_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/25/image_23042025_18_25_44_10571.jpg
/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_35_9645.jpg
/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_25_9654.jpg
/home/nano/Desktop/images/23042025/11/49/image_23042025_11_49_15_10678.jpg
/home/nano/Desktop/images/23042025/11/48/image_23042025_11_49_05_9636.jpg
/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_55_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116672","1353116753","1353116732","1353116779","1353116702","1353116758"],"photo_ids_order":["1353116672","1353116702","1353116732","1353116753","1353116758","1353116779"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/657e31e96b56801e42c0e24fa8b88544.jpg","text":"TemporaryFile(/tmp/multipartBody1362909307577913417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425594021,"filename":"image_23042025_18_25_44_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58cbd153f8ba4475572bc9e58b25474a.jpg","text":"TemporaryFile(/tmp/multipartBody1671365643638930433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425594021,"filename":"image_23042025_11_49_15_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9841595b22570366ec033a761bb60ad6.jpg","text":"TemporaryFile(/tmp/multipartBody2090875867316273392asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425594021,"filename":"image_23042025_11_49_25_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f310440f161bd522a4c80f96315f9df8.jpg","text":"TemporaryFile(/tmp/multipartBody1797865941996395427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425594021,"filename":"image_23042025_11_48_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b6949c61d4227c8302fa3ed1de39fb0.jpg","text":"TemporaryFile(/tmp/multipartBody9214761054102743486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425594021,"filename":"image_23042025_11_49_35_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dccb60681929637874427cdb2ed980bf.jpg","text":"TemporaryFile(/tmp/multipartBody6912477571698550539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425594021,"filename":"image_23042025_11_49_05_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116732","file1":"1353116702","file0":"1353116672","file4":"1353116758","file5":"1353116779","file3":"1353116753"},"map_files_photo_id_array":[{"photo_id":"1353116779","filename":"file5"},{"photo_id":"1353116732","filename":"file2"},{"photo_id":"1353116758","filename":"file4"},{"photo_id":"1353116702","filename":"file1"},{"photo_id":"1353116672","filename":"file0"},{"photo_id":"1353116753","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116672":["hashtag1","hashtag2"]},{"1353116753":["hashtag1","hashtag2"]},{"1353116732":["hashtag1","hashtag2"]},{"1353116779":["hashtag1","hashtag2"]},{"1353116702":["hashtag1","hashtag2"]},{"1353116758":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116672, 1353116753, 1353116732, 1353116779, 1353116702, 1353116758)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.383309841156006 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:26:32.343218
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_43_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_34_9563.jpg', 2), ('/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_24_10574.jpg', 2), ('/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_45_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_35_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_25_10658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_43_9566.jpg', '/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_34_9563.jpg', '/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_24_10574.jpg', '/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_45_10649.jpg', '/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_35_9630.jpg', '/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_25_10658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_43_9566.jpg
/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_34_9563.jpg
/home/nano/Desktop/images/23042025/18/17/image_23042025_18_17_24_10574.jpg
/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_45_10649.jpg
/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_35_9630.jpg
/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_25_10658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353116919","1353116940","1353116899","1353116926","1353116875","1353116956"],"photo_ids_order":["1353116875","1353116899","1353116919","1353116926","1353116940","1353116956"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3045b13d648a014f9ecfdfc4747c29bc.jpg","text":"TemporaryFile(/tmp/multipartBody6396117980075627376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425653622,"filename":"image_23042025_18_17_24_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f885bca53da1938bc9f8bc12def4eea8.jpg","text":"TemporaryFile(/tmp/multipartBody6788180122634649663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425653622,"filename":"image_23042025_11_48_35_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9291a4d8f62c5a83673de196e2ecde77.jpg","text":"TemporaryFile(/tmp/multipartBody6966116432029330905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425653622,"filename":"image_23042025_18_26_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9166d4a45d5a6f6abf271927001125e.jpg","text":"TemporaryFile(/tmp/multipartBody4313960367868884792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425653622,"filename":"image_23042025_11_48_45_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a77c69f2586aca5f36fde6ec9ca21754.jpg","text":"TemporaryFile(/tmp/multipartBody1174237922598627547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425653622,"filename":"image_23042025_18_26_43_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7ddec9d4e1c2d02b88ac718708d4212.jpg","text":"TemporaryFile(/tmp/multipartBody2860110680766754859asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425653622,"filename":"image_23042025_11_48_25_10658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353116919","file1":"1353116899","file0":"1353116875","file4":"1353116940","file5":"1353116956","file3":"1353116926"},"map_files_photo_id_array":[{"photo_id":"1353116956","filename":"file5"},{"photo_id":"1353116919","filename":"file2"},{"photo_id":"1353116940","filename":"file4"},{"photo_id":"1353116899","filename":"file1"},{"photo_id":"1353116875","filename":"file0"},{"photo_id":"1353116926","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353116919":["hashtag1","hashtag2"]},{"1353116940":["hashtag1","hashtag2"]},{"1353116899":["hashtag1","hashtag2"]},{"1353116926":["hashtag1","hashtag2"]},{"1353116875":["hashtag1","hashtag2"]},{"1353116956":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353116919, 1353116940, 1353116899, 1353116926, 1353116875, 1353116956)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.724297523498535 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:27:32.387500
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_44_10578.jpg', 2), ('/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_33_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_24_9564.jpg', 2), ('/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_14_10591.jpg', 2), ('/home/nano/Desktop/images/23042025/18/26/image_23042025_18_27_04_9575.jpg', 2), ('/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_54_10577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_44_10578.jpg', '/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_33_9564.jpg', '/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_24_9564.jpg', '/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_14_10591.jpg', '/home/nano/Desktop/images/23042025/18/26/image_23042025_18_27_04_9575.jpg', '/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_54_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_44_10578.jpg
/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_33_9564.jpg
/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_24_9564.jpg
/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_14_10591.jpg
/home/nano/Desktop/images/23042025/18/26/image_23042025_18_27_04_9575.jpg
/home/nano/Desktop/images/23042025/18/26/image_23042025_18_26_54_10577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353117030","1353117018","1353117021","1353117026","1353117011","1353117004"],"photo_ids_order":["1353117004","1353117011","1353117018","1353117021","1353117026","1353117030"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f35fc907b36f6382d9a6e2c2a90f9f72.jpg","text":"TemporaryFile(/tmp/multipartBody6301238571007962437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425713430,"filename":"image_23042025_18_26_54_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f750cea0c2af378c5746d121897086a3.jpg","text":"TemporaryFile(/tmp/multipartBody1696598330585111854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425713430,"filename":"image_23042025_18_27_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69822a62a17ee5ca67226e43360efad9.jpg","text":"TemporaryFile(/tmp/multipartBody6710408697414493150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425713430,"filename":"image_23042025_18_27_14_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f594f37624294e77a62e81eebac6721.jpg","text":"TemporaryFile(/tmp/multipartBody3930231644026064850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425713430,"filename":"image_23042025_18_27_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62b78ca449c1a2b548fec3fff1e1944f.jpg","text":"TemporaryFile(/tmp/multipartBody2501880590075314043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425713430,"filename":"image_23042025_18_27_33_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e159b258a2aa79a33ac63f59a6ffa49.jpg","text":"TemporaryFile(/tmp/multipartBody4708801010884076021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425713430,"filename":"image_23042025_18_27_44_10578.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353117018","file1":"1353117011","file0":"1353117004","file4":"1353117026","file5":"1353117030","file3":"1353117021"},"map_files_photo_id_array":[{"photo_id":"1353117030","filename":"file5"},{"photo_id":"1353117018","filename":"file2"},{"photo_id":"1353117026","filename":"file4"},{"photo_id":"1353117011","filename":"file1"},{"photo_id":"1353117004","filename":"file0"},{"photo_id":"1353117021","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353117030":["hashtag1","hashtag2"]},{"1353117018":["hashtag1","hashtag2"]},{"1353117021":["hashtag1","hashtag2"]},{"1353117026":["hashtag1","hashtag2"]},{"1353117011":["hashtag1","hashtag2"]},{"1353117004":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353117030, 1353117018, 1353117021, 1353117026, 1353117011, 1353117004)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.45260286331177 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:28:32.511191
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_44_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_34_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_23_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_14_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/18/27/image_23042025_18_28_04_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_54_9567.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_44_9624.jpg', '/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_34_10658.jpg', '/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_23_9658.jpg', '/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_14_9647.jpg', '/home/nano/Desktop/images/23042025/18/27/image_23042025_18_28_04_10653.jpg', '/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_54_9567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_44_9624.jpg
/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_34_10658.jpg
/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_23_9658.jpg
/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_14_9647.jpg
/home/nano/Desktop/images/23042025/18/27/image_23042025_18_28_04_10653.jpg
/home/nano/Desktop/images/23042025/18/27/image_23042025_18_27_54_9567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353117363","1353117218","1353117277","1353117337","1353117250","1353117307"],"photo_ids_order":["1353117218","1353117250","1353117277","1353117307","1353117337","1353117363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f4373361cc79769e110d13e7111b04a.jpg","text":"TemporaryFile(/tmp/multipartBody2474511477637221783asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425774197,"filename":"image_23042025_18_27_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b6d54d8a2ac913be919a8523f86e2c9.jpg","text":"TemporaryFile(/tmp/multipartBody4214603971584248290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425774197,"filename":"image_23042025_18_28_44_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b7a8dae8bbec202d4bd7d79168cd8b5.jpg","text":"TemporaryFile(/tmp/multipartBody7964982889483841504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425774197,"filename":"image_23042025_18_28_23_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fcafa7a949ddcf23058e717f612fd5fd.jpg","text":"TemporaryFile(/tmp/multipartBody1590280202669568724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425774197,"filename":"image_23042025_18_28_04_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48d4903aef06ed0d4696279cd7ecdd1f.jpg","text":"TemporaryFile(/tmp/multipartBody7058699939081489291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425774197,"filename":"image_23042025_18_28_34_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e5331bb27771e8d05001db2be894a65.jpg","text":"TemporaryFile(/tmp/multipartBody7871017941611207529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425774197,"filename":"image_23042025_18_28_14_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353117277","file1":"1353117250","file0":"1353117218","file4":"1353117337","file5":"1353117363","file3":"1353117307"},"map_files_photo_id_array":[{"photo_id":"1353117363","filename":"file5"},{"photo_id":"1353117277","filename":"file2"},{"photo_id":"1353117337","filename":"file4"},{"photo_id":"1353117250","filename":"file1"},{"photo_id":"1353117218","filename":"file0"},{"photo_id":"1353117307","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353117363":["hashtag1","hashtag2"]},{"1353117218":["hashtag1","hashtag2"]},{"1353117277":["hashtag1","hashtag2"]},{"1353117337":["hashtag1","hashtag2"]},{"1353117250":["hashtag1","hashtag2"]},{"1353117307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353117363, 1353117218, 1353117277, 1353117337, 1353117250, 1353117307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.51627516746521 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:29:32.650521
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_44_9617.jpg', 2), ('/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_34_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_24_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_14_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/18/28/image_23042025_18_29_04_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_53_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_44_9617.jpg', '/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_34_9622.jpg', '/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_24_10637.jpg', '/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_14_9643.jpg', '/home/nano/Desktop/images/23042025/18/28/image_23042025_18_29_04_10642.jpg', '/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_53_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_44_9617.jpg
/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_34_9622.jpg
/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_24_10637.jpg
/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_14_9643.jpg
/home/nano/Desktop/images/23042025/18/28/image_23042025_18_29_04_10642.jpg
/home/nano/Desktop/images/23042025/18/28/image_23042025_18_28_53_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353117459","1353117450","1353117435","1353117455","1353117460","1353117430"],"photo_ids_order":["1353117430","1353117435","1353117450","1353117455","1353117459","1353117460"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/734daa7bedea76aac88688144a9282de.jpg","text":"TemporaryFile(/tmp/multipartBody8523530204464166736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425834161,"filename":"image_23042025_18_29_04_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92d8cf1e980c0e6cbfd94b915a0468c0.jpg","text":"TemporaryFile(/tmp/multipartBody8717237866388817038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425834161,"filename":"image_23042025_18_29_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b57a3f4dd945f2d2d909df7f3915d261.jpg","text":"TemporaryFile(/tmp/multipartBody832359866430689942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425834161,"filename":"image_23042025_18_29_34_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1c630421a18cb5ee058ead3ef123623.jpg","text":"TemporaryFile(/tmp/multipartBody6556803509896878862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425834161,"filename":"image_23042025_18_29_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64780c958dfea74020c8a0289596d67d.jpg","text":"TemporaryFile(/tmp/multipartBody7320207713623781943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425834161,"filename":"image_23042025_18_28_53_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94aec01354bc3fd349d368c0b79f7836.jpg","text":"TemporaryFile(/tmp/multipartBody5512208447849477992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425834161,"filename":"image_23042025_18_29_44_9617.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353117450","file1":"1353117435","file0":"1353117430","file4":"1353117459","file5":"1353117460","file3":"1353117455"},"map_files_photo_id_array":[{"photo_id":"1353117460","filename":"file5"},{"photo_id":"1353117450","filename":"file2"},{"photo_id":"1353117459","filename":"file4"},{"photo_id":"1353117435","filename":"file1"},{"photo_id":"1353117430","filename":"file0"},{"photo_id":"1353117455","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353117459":["hashtag1","hashtag2"]},{"1353117450":["hashtag1","hashtag2"]},{"1353117435":["hashtag1","hashtag2"]},{"1353117455":["hashtag1","hashtag2"]},{"1353117460":["hashtag1","hashtag2"]},{"1353117430":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353117459, 1353117450, 1353117435, 1353117455, 1353117460, 1353117430)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29663014411926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:30:32.718344
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_43_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_34_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_24_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_13_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/18/29/image_23042025_18_30_04_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_54_10632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_43_9652.jpg', '/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_34_9654.jpg', '/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_24_10641.jpg', '/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_13_9647.jpg', '/home/nano/Desktop/images/23042025/18/29/image_23042025_18_30_04_9635.jpg', '/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_54_10632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_43_9652.jpg
/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_34_9654.jpg
/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_24_10641.jpg
/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_13_9647.jpg
/home/nano/Desktop/images/23042025/18/29/image_23042025_18_30_04_9635.jpg
/home/nano/Desktop/images/23042025/18/29/image_23042025_18_29_54_10632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353117624","1353117590","1353117584","1353117598","1353117602","1353117592"],"photo_ids_order":["1353117584","1353117590","1353117592","1353117598","1353117602","1353117624"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a471bbf42f33c5b63037c5557806043.jpg","text":"TemporaryFile(/tmp/multipartBody4790102748238645223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425894502,"filename":"image_23042025_18_29_54_10632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4e3061a0eda169c8919bdb1fa82c345.jpg","text":"TemporaryFile(/tmp/multipartBody3052089806483563514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425894502,"filename":"image_23042025_18_30_34_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de86b7b9a46d29d856c8c5e1554ee4c1.jpg","text":"TemporaryFile(/tmp/multipartBody9078423503804794541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425894502,"filename":"image_23042025_18_30_43_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f26e5736b3ede8f529742d1274ad597b.jpg","text":"TemporaryFile(/tmp/multipartBody30050077570932274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425894502,"filename":"image_23042025_18_30_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/207ef28d6d230f6ea90a2b51a3dbe8d3.jpg","text":"TemporaryFile(/tmp/multipartBody4178638244136817656asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425894502,"filename":"image_23042025_18_30_04_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d084476735a126d7e38d9d7a4abf1ee.jpg","text":"TemporaryFile(/tmp/multipartBody325669133103340728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425894502,"filename":"image_23042025_18_30_24_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353117592","file1":"1353117590","file0":"1353117584","file4":"1353117602","file5":"1353117624","file3":"1353117598"},"map_files_photo_id_array":[{"photo_id":"1353117624","filename":"file5"},{"photo_id":"1353117592","filename":"file2"},{"photo_id":"1353117602","filename":"file4"},{"photo_id":"1353117590","filename":"file1"},{"photo_id":"1353117584","filename":"file0"},{"photo_id":"1353117598","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353117624":["hashtag1","hashtag2"]},{"1353117590":["hashtag1","hashtag2"]},{"1353117584":["hashtag1","hashtag2"]},{"1353117598":["hashtag1","hashtag2"]},{"1353117602":["hashtag1","hashtag2"]},{"1353117592":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353117624, 1353117590, 1353117584, 1353117598, 1353117602, 1353117592)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.171353578567505 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:31:31.811727
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_44_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_34_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_24_10679.jpg', 2), ('/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_13_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/18/30/image_23042025_18_31_04_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_44_9703.jpg', '/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_34_9643.jpg', '/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_24_10679.jpg', '/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_13_9714.jpg', '/home/nano/Desktop/images/23042025/18/30/image_23042025_18_31_04_9705.jpg', '/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_44_9703.jpg
/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_34_9643.jpg
/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_24_10679.jpg
/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_13_9714.jpg
/home/nano/Desktop/images/23042025/18/30/image_23042025_18_31_04_9705.jpg
/home/nano/Desktop/images/23042025/18/30/image_23042025_18_30_54_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353117783","1353117864","1353117902","1353117911","1353117853","1353117817"],"photo_ids_order":["1353117783","1353117817","1353117853","1353117864","1353117902","1353117911"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f2114851940fec2875b6959a787faf4.jpg","text":"TemporaryFile(/tmp/multipartBody5017477554642066020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425953885,"filename":"image_23042025_18_31_44_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76e12e2f7856ef905fb47315615b7431.jpg","text":"TemporaryFile(/tmp/multipartBody2603879093308935485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425953885,"filename":"image_23042025_18_31_13_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/adfa0a06a739a30cd819925929443f7d.jpg","text":"TemporaryFile(/tmp/multipartBody3557499413422626509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425953885,"filename":"image_23042025_18_31_04_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92dbd6f02f344d525af0dad806f52fb8.jpg","text":"TemporaryFile(/tmp/multipartBody1072914724453752092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425953885,"filename":"image_23042025_18_30_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e86843b0d282af99b87c3eb0fd89d521.jpg","text":"TemporaryFile(/tmp/multipartBody5610850492814849821asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425953885,"filename":"image_23042025_18_31_24_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa77738cc77912b15bfd68fd0c4121b4.jpg","text":"TemporaryFile(/tmp/multipartBody4971924358007896258asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745425953885,"filename":"image_23042025_18_31_34_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353117853","file1":"1353117817","file0":"1353117783","file4":"1353117902","file5":"1353117911","file3":"1353117864"},"map_files_photo_id_array":[{"photo_id":"1353117911","filename":"file5"},{"photo_id":"1353117853","filename":"file2"},{"photo_id":"1353117902","filename":"file4"},{"photo_id":"1353117817","filename":"file1"},{"photo_id":"1353117783","filename":"file0"},{"photo_id":"1353117864","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353117783":["hashtag1","hashtag2"]},{"1353117864":["hashtag1","hashtag2"]},{"1353117902":["hashtag1","hashtag2"]},{"1353117911":["hashtag1","hashtag2"]},{"1353117853":["hashtag1","hashtag2"]},{"1353117817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353117783, 1353117864, 1353117902, 1353117911, 1353117853, 1353117817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 47.25870394706726 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:32:31.919490
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_44_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_34_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_24_10694.jpg', 2), ('/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_14_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/18/31/image_23042025_18_32_04_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_54_10691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_44_9636.jpg', '/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_34_9636.jpg', '/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_24_10694.jpg', '/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_14_9678.jpg', '/home/nano/Desktop/images/23042025/18/31/image_23042025_18_32_04_9718.jpg', '/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_54_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_44_9636.jpg
/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_34_9636.jpg
/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_24_10694.jpg
/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_14_9678.jpg
/home/nano/Desktop/images/23042025/18/31/image_23042025_18_32_04_9718.jpg
/home/nano/Desktop/images/23042025/18/31/image_23042025_18_31_54_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118175","1353118139","1353118040","1353118095","1353118012","1353117985"],"photo_ids_order":["1353117985","1353118012","1353118040","1353118095","1353118139","1353118175"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baf82036651baf2a21133872e9c74055.jpg","text":"TemporaryFile(/tmp/multipartBody6657446979719334065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426013725,"filename":"image_23042025_18_31_54_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd594c683ed5315940a1e5ce4d8dd5e0.jpg","text":"TemporaryFile(/tmp/multipartBody7433335749268351022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426013725,"filename":"image_23042025_18_32_04_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdef468a318e4995ab882ab84b39b701.jpg","text":"TemporaryFile(/tmp/multipartBody7010794287281097250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426013725,"filename":"image_23042025_18_32_24_10694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acadb0c64f87275deecfbebfa19735e9.jpg","text":"TemporaryFile(/tmp/multipartBody1308314858574442627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426013725,"filename":"image_23042025_18_32_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52259b4a52a5b9317f1c8dd07b8f9fc0.jpg","text":"TemporaryFile(/tmp/multipartBody9027682730402176976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426013725,"filename":"image_23042025_18_32_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a17aa231c26a001951757b2f292e78d.jpg","text":"TemporaryFile(/tmp/multipartBody7792029362955796770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426013725,"filename":"image_23042025_18_32_44_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118040","file1":"1353118012","file0":"1353117985","file4":"1353118139","file5":"1353118175","file3":"1353118095"},"map_files_photo_id_array":[{"photo_id":"1353118175","filename":"file5"},{"photo_id":"1353118040","filename":"file2"},{"photo_id":"1353118139","filename":"file4"},{"photo_id":"1353118012","filename":"file1"},{"photo_id":"1353117985","filename":"file0"},{"photo_id":"1353118095","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118175":["hashtag1","hashtag2"]},{"1353118139":["hashtag1","hashtag2"]},{"1353118040":["hashtag1","hashtag2"]},{"1353118095":["hashtag1","hashtag2"]},{"1353118012":["hashtag1","hashtag2"]},{"1353117985":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118175, 1353118139, 1353118040, 1353118095, 1353118012, 1353117985)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.62700128555298 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:33:32.051309
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_44_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_34_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_24_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_14_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/18/32/image_23042025_18_33_04_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_44_9727.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_34_9674.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_24_10701.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_14_9664.jpg', '/home/nano/Desktop/images/23042025/18/32/image_23042025_18_33_04_9661.jpg', '/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_44_9727.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_34_9674.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_24_10701.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_14_9664.jpg
/home/nano/Desktop/images/23042025/18/32/image_23042025_18_33_04_9661.jpg
/home/nano/Desktop/images/23042025/18/32/image_23042025_18_32_54_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118340","1353118334","1353118345","1353118330","1353118338","1353118368"],"photo_ids_order":["1353118330","1353118334","1353118338","1353118340","1353118345","1353118368"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/039c8f9e998dc0e80e02cfc2efe12f3a.jpg","text":"TemporaryFile(/tmp/multipartBody8271695491656330292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426074149,"filename":"image_23042025_18_33_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a024009550fca9c683e29187e9ed678.jpg","text":"TemporaryFile(/tmp/multipartBody8905850772192735924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426074149,"filename":"image_23042025_18_33_34_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50917a03876b4dac484c9f954f8c54ce.jpg","text":"TemporaryFile(/tmp/multipartBody2389224922490116509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426074149,"filename":"image_23042025_18_33_04_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f51fb9a1b57b8e429e8801684516ff60.jpg","text":"TemporaryFile(/tmp/multipartBody288704115216604468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426074149,"filename":"image_23042025_18_33_44_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6364f3dca92657b94b8474e1bf462527.jpg","text":"TemporaryFile(/tmp/multipartBody545587409033524270asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426074149,"filename":"image_23042025_18_33_24_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da6ac6907657497620e8374afcfe42ed.jpg","text":"TemporaryFile(/tmp/multipartBody922264997660936204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426074149,"filename":"image_23042025_18_32_54_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118338","file1":"1353118334","file0":"1353118330","file4":"1353118345","file5":"1353118368","file3":"1353118340"},"map_files_photo_id_array":[{"photo_id":"1353118368","filename":"file5"},{"photo_id":"1353118338","filename":"file2"},{"photo_id":"1353118345","filename":"file4"},{"photo_id":"1353118334","filename":"file1"},{"photo_id":"1353118330","filename":"file0"},{"photo_id":"1353118340","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118340":["hashtag1","hashtag2"]},{"1353118334":["hashtag1","hashtag2"]},{"1353118345":["hashtag1","hashtag2"]},{"1353118330":["hashtag1","hashtag2"]},{"1353118338":["hashtag1","hashtag2"]},{"1353118368":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118340, 1353118334, 1353118345, 1353118330, 1353118338, 1353118368)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.749119997024536 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:34:32.118960
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_54_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_34_10762.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_24_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_14_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_34_04_10769.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_53_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_54_9634.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_34_10762.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_24_9692.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_14_9741.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_34_04_10769.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_53_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_54_9634.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_34_10762.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_24_9692.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_14_9741.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_34_04_10769.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_53_9711.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.9152805805206299 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:35:02.866829
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_54_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_34_10762.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_24_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_14_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_34_04_10769.jpg', 2), ('/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_53_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_54_9634.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_34_10762.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_24_9692.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_14_9741.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_34_04_10769.jpg', '/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_53_9711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_54_9634.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_34_10762.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_24_9692.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_14_9741.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_34_04_10769.jpg
/home/nano/Desktop/images/23042025/18/33/image_23042025_18_33_53_9711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118548","1353118544","1353118538","1353118555","1353118540","1353118551"],"photo_ids_order":["1353118538","1353118540","1353118544","1353118548","1353118551","1353118555"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1452e6a2716142dbd7c7b4709e787a14.jpg","text":"TemporaryFile(/tmp/multipartBody1264991687648313950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426165121,"filename":"image_23042025_18_34_14_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4aacfcd5114784e75085aa2a2d60c7a2.jpg","text":"TemporaryFile(/tmp/multipartBody2659845552445512816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426165121,"filename":"image_23042025_18_34_24_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbf53db88b731090437cfad9f4c7367c.jpg","text":"TemporaryFile(/tmp/multipartBody1284449003951774371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426165121,"filename":"image_23042025_18_34_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21c1e5d77bdcd4d278b9232d49e77d17.jpg","text":"TemporaryFile(/tmp/multipartBody1543724841482502459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426165121,"filename":"image_23042025_18_33_53_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2818ceadca85551db304409b16a61291.jpg","text":"TemporaryFile(/tmp/multipartBody6489904586648499878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426165121,"filename":"image_23042025_18_34_34_10762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45330e9765bec6edc4d2d6abb8e0410a.jpg","text":"TemporaryFile(/tmp/multipartBody3565114690712794918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426165121,"filename":"image_23042025_18_34_04_10769.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118544","file1":"1353118540","file0":"1353118538","file4":"1353118551","file5":"1353118555","file3":"1353118548"},"map_files_photo_id_array":[{"photo_id":"1353118555","filename":"file5"},{"photo_id":"1353118544","filename":"file2"},{"photo_id":"1353118551","filename":"file4"},{"photo_id":"1353118540","filename":"file1"},{"photo_id":"1353118538","filename":"file0"},{"photo_id":"1353118548","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118548":["hashtag1","hashtag2"]},{"1353118544":["hashtag1","hashtag2"]},{"1353118538":["hashtag1","hashtag2"]},{"1353118555":["hashtag1","hashtag2"]},{"1353118540":["hashtag1","hashtag2"]},{"1353118551":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118548, 1353118544, 1353118538, 1353118555, 1353118540, 1353118551)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.014997482299805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:36:02.887618
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_44_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_34_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_24_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_14_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_35_04_10682.jpg', 2), ('/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_44_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_44_9653.jpg', '/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_34_10647.jpg', '/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_24_9646.jpg', '/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_14_9661.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_35_04_10682.jpg', '/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_44_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_44_9653.jpg
/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_34_10647.jpg
/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_24_9646.jpg
/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_14_9661.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_35_04_10682.jpg
/home/nano/Desktop/images/23042025/18/34/image_23042025_18_34_44_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118626","1353118676","1353118679","1353118673","1353118653","1353118629"],"photo_ids_order":["1353118626","1353118629","1353118653","1353118673","1353118676","1353118679"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a75df3e2f1f70abd46c3512b914ca2c.jpg","text":"TemporaryFile(/tmp/multipartBody4172610340352960241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426224697,"filename":"image_23042025_18_35_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6002518b8d4aab913aea77a74e7d3f4.jpg","text":"TemporaryFile(/tmp/multipartBody288331597546977227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426224697,"filename":"image_23042025_18_35_04_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6c9adabad63a348582d8eb571c85f97.jpg","text":"TemporaryFile(/tmp/multipartBody1637427561589601226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426224697,"filename":"image_23042025_18_34_44_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa4ba39ec04361d30bcc1165668f1ebb.jpg","text":"TemporaryFile(/tmp/multipartBody1613449922773909232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426224697,"filename":"image_23042025_18_35_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb120371aa8b1ba1943c0907a28226c3.jpg","text":"TemporaryFile(/tmp/multipartBody8420486425124182372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426224697,"filename":"image_23042025_18_35_24_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c7eff581ba8a3ba9bcd8c5a1f558ae7.jpg","text":"TemporaryFile(/tmp/multipartBody5246779413694097533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426224697,"filename":"image_23042025_18_35_34_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118653","file1":"1353118629","file0":"1353118626","file4":"1353118676","file5":"1353118679","file3":"1353118673"},"map_files_photo_id_array":[{"photo_id":"1353118679","filename":"file5"},{"photo_id":"1353118653","filename":"file2"},{"photo_id":"1353118676","filename":"file4"},{"photo_id":"1353118629","filename":"file1"},{"photo_id":"1353118626","filename":"file0"},{"photo_id":"1353118673","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118626":["hashtag1","hashtag2"]},{"1353118676":["hashtag1","hashtag2"]},{"1353118679":["hashtag1","hashtag2"]},{"1353118673":["hashtag1","hashtag2"]},{"1353118653":["hashtag1","hashtag2"]},{"1353118629":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118626, 1353118676, 1353118679, 1353118673, 1353118653, 1353118629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.18855404853821 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:37:03.159378
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_44_10756.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_33_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_24_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_14_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/18/35/image_23042025_18_36_04_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_54_9630.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_44_10756.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_33_9689.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_24_9732.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_14_9715.jpg', '/home/nano/Desktop/images/23042025/18/35/image_23042025_18_36_04_10680.jpg', '/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_54_9630.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_44_10756.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_33_9689.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_24_9732.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_14_9715.jpg
/home/nano/Desktop/images/23042025/18/35/image_23042025_18_36_04_10680.jpg
/home/nano/Desktop/images/23042025/18/35/image_23042025_18_35_54_9630.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118742","1353118759","1353118744","1353118764","1353118752","1353118737"],"photo_ids_order":["1353118737","1353118742","1353118744","1353118752","1353118759","1353118764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e72ec6b59a415f869c8cb98b12bade16.jpg","text":"TemporaryFile(/tmp/multipartBody5955679826122853604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426285869,"filename":"image_23042025_18_36_33_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32a454f5939e11b1aede4dbfc86ac810.jpg","text":"TemporaryFile(/tmp/multipartBody2982249024308328644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426285869,"filename":"image_23042025_18_36_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9590c3b6ee074b537c33b61c268e5a0.jpg","text":"TemporaryFile(/tmp/multipartBody3353882479924573707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426285869,"filename":"image_23042025_18_36_24_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63e3e75910626580e58fcaf3a8c52b94.jpg","text":"TemporaryFile(/tmp/multipartBody4175400001405003866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426285869,"filename":"image_23042025_18_35_54_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eac3b382d32612cbb3589c59447a0d02.jpg","text":"TemporaryFile(/tmp/multipartBody4391817584123099733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426285869,"filename":"image_23042025_18_36_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe796839dd4cd669e63ef32dcec98d17.jpg","text":"TemporaryFile(/tmp/multipartBody6900320930892069408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426285869,"filename":"image_23042025_18_36_44_10756.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118744","file1":"1353118742","file0":"1353118737","file4":"1353118759","file5":"1353118764","file3":"1353118752"},"map_files_photo_id_array":[{"photo_id":"1353118764","filename":"file5"},{"photo_id":"1353118744","filename":"file2"},{"photo_id":"1353118759","filename":"file4"},{"photo_id":"1353118742","filename":"file1"},{"photo_id":"1353118737","filename":"file0"},{"photo_id":"1353118752","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118742":["hashtag1","hashtag2"]},{"1353118759":["hashtag1","hashtag2"]},{"1353118744":["hashtag1","hashtag2"]},{"1353118764":["hashtag1","hashtag2"]},{"1353118752":["hashtag1","hashtag2"]},{"1353118737":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118742, 1353118759, 1353118744, 1353118764, 1353118752, 1353118737)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.990296363830566 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:38:03.108395
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_44_10770.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_34_9907.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_24_9810.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_14_9912.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_37_04_9887.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_54_9884.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_44_10770.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_34_9907.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_24_9810.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_14_9912.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_37_04_9887.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_54_9884.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_44_10770.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_34_9907.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_24_9810.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_14_9912.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_37_04_9887.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_54_9884.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.176206350326538 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:38:32.604763
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_43_9718.jpg', 2), ('/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_34_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_24_9771.jpg', 2), ('/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_14_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_38_04_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_54_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_43_9718.jpg', '/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_34_9702.jpg', '/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_24_9771.jpg', '/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_14_10687.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_38_04_9687.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_54_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_43_9718.jpg
/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_34_9702.jpg
/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_24_9771.jpg
/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_14_10687.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_38_04_9687.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_54_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118834","1353118858","1353118831","1353118828","1353118863","1353118866"],"photo_ids_order":["1353118828","1353118831","1353118834","1353118858","1353118863","1353118866"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c75f2c935a8d8bedc20d82f15a64024.jpg","text":"TemporaryFile(/tmp/multipartBody6186983541345911333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426374657,"filename":"image_23042025_18_38_24_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/673f3d06c927837c3e59d64a9f32834c.jpg","text":"TemporaryFile(/tmp/multipartBody7744658067214108548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426374657,"filename":"image_23042025_18_38_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbd2c48e2dbc4db591990e156bf601d0.jpg","text":"TemporaryFile(/tmp/multipartBody5740796579724599013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426374657,"filename":"image_23042025_18_38_34_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52748257d2225180059fe0f538e366f8.jpg","text":"TemporaryFile(/tmp/multipartBody1252447421788697343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426374657,"filename":"image_23042025_18_38_43_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9c0b2a8066a150cbdc5fb58e2772926.jpg","text":"TemporaryFile(/tmp/multipartBody2139768735674125298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426374657,"filename":"image_23042025_18_38_04_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c01f26df3fe4351ad47af66b6ab0affd.jpg","text":"TemporaryFile(/tmp/multipartBody2591068797616190987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426374657,"filename":"image_23042025_18_37_54_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118834","file1":"1353118831","file0":"1353118828","file4":"1353118863","file5":"1353118866","file3":"1353118858"},"map_files_photo_id_array":[{"photo_id":"1353118866","filename":"file5"},{"photo_id":"1353118834","filename":"file2"},{"photo_id":"1353118863","filename":"file4"},{"photo_id":"1353118831","filename":"file1"},{"photo_id":"1353118828","filename":"file0"},{"photo_id":"1353118858","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118834":["hashtag1","hashtag2"]},{"1353118858":["hashtag1","hashtag2"]},{"1353118831":["hashtag1","hashtag2"]},{"1353118828":["hashtag1","hashtag2"]},{"1353118863":["hashtag1","hashtag2"]},{"1353118866":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118834, 1353118858, 1353118831, 1353118828, 1353118863, 1353118866)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.20262813568115 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:39:32.693879
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_44_9746.jpg', 2), ('/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_34_10733.jpg', 2), ('/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_23_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_14_9771.jpg', 2), ('/home/nano/Desktop/images/23042025/18/38/image_23042025_18_39_04_9827.jpg', 2), ('/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_54_10699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_44_9746.jpg', '/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_34_10733.jpg', '/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_23_9644.jpg', '/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_14_9771.jpg', '/home/nano/Desktop/images/23042025/18/38/image_23042025_18_39_04_9827.jpg', '/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_54_10699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_44_9746.jpg
/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_34_10733.jpg
/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_23_9644.jpg
/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_14_9771.jpg
/home/nano/Desktop/images/23042025/18/38/image_23042025_18_39_04_9827.jpg
/home/nano/Desktop/images/23042025/18/38/image_23042025_18_38_54_10699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353118910","1353118901","1353118891","1353118936","1353118896","1353118941"],"photo_ids_order":["1353118891","1353118896","1353118901","1353118910","1353118936","1353118941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a59028c20dce0d3518f652992f92bb9.jpg","text":"TemporaryFile(/tmp/multipartBody5891761099629139497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426434754,"filename":"image_23042025_18_39_14_9771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b1693a420e0d9fbe7a75d7802787d66.jpg","text":"TemporaryFile(/tmp/multipartBody3063652393523865394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426434754,"filename":"image_23042025_18_39_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c09300f9529c5eb72d1bdc86f258225.jpg","text":"TemporaryFile(/tmp/multipartBody4131164403625072352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426434754,"filename":"image_23042025_18_39_44_9746.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed21e509ebd1787b67ae49229f1293d9.jpg","text":"TemporaryFile(/tmp/multipartBody8566190198763783281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426434754,"filename":"image_23042025_18_39_04_9827.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c8e5f54323bb473e7e0aafa0002adf0.jpg","text":"TemporaryFile(/tmp/multipartBody2225116806932776264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426434754,"filename":"image_23042025_18_39_34_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c36428df416cbbea76aa197035f3bc96.jpg","text":"TemporaryFile(/tmp/multipartBody4862557075042116092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426434754,"filename":"image_23042025_18_38_54_10699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353118901","file1":"1353118896","file0":"1353118891","file4":"1353118936","file5":"1353118941","file3":"1353118910"},"map_files_photo_id_array":[{"photo_id":"1353118941","filename":"file5"},{"photo_id":"1353118901","filename":"file2"},{"photo_id":"1353118936","filename":"file4"},{"photo_id":"1353118896","filename":"file1"},{"photo_id":"1353118891","filename":"file0"},{"photo_id":"1353118910","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353118910":["hashtag1","hashtag2"]},{"1353118901":["hashtag1","hashtag2"]},{"1353118891":["hashtag1","hashtag2"]},{"1353118936":["hashtag1","hashtag2"]},{"1353118896":["hashtag1","hashtag2"]},{"1353118941":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353118910, 1353118901, 1353118891, 1353118936, 1353118896, 1353118941)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.731204986572266 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:40:31.792906
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_44_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_33_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_24_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_14_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/18/39/image_23042025_18_40_04_10723.jpg', 2), ('/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_54_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_44_10676.jpg', '/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_33_9699.jpg', '/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_24_9656.jpg', '/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_14_9705.jpg', '/home/nano/Desktop/images/23042025/18/39/image_23042025_18_40_04_10723.jpg', '/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_54_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_44_10676.jpg
/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_33_9699.jpg
/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_24_9656.jpg
/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_14_9705.jpg
/home/nano/Desktop/images/23042025/18/39/image_23042025_18_40_04_10723.jpg
/home/nano/Desktop/images/23042025/18/39/image_23042025_18_39_54_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353119159","1353119030","1353119083","1353119188","1353118999","1353119202"],"photo_ids_order":["1353118999","1353119030","1353119083","1353119159","1353119188","1353119202"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddbb80910a5ae9a6794fc96fdea98fee.jpg","text":"TemporaryFile(/tmp/multipartBody308303647112522121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426494188,"filename":"image_23042025_18_40_14_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50c8b6c4b66973c425a869c1c9a55ab2.jpg","text":"TemporaryFile(/tmp/multipartBody9040557458028605839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426494188,"filename":"image_23042025_18_40_33_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b2003d23c30eb0a7e1a5b5277ec7f7a.jpg","text":"TemporaryFile(/tmp/multipartBody4866289491177991913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426494188,"filename":"image_23042025_18_40_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12ee963c159a52c315e55c7df6f2b08d.jpg","text":"TemporaryFile(/tmp/multipartBody1835416319585742841asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426494188,"filename":"image_23042025_18_40_04_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e76b0a0ef17a2327775470adee721638.jpg","text":"TemporaryFile(/tmp/multipartBody2921525734745848115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426494188,"filename":"image_23042025_18_40_44_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95d5c34e3cdda299b8077a98a9dd2f0d.jpg","text":"TemporaryFile(/tmp/multipartBody2417888982366984544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426494188,"filename":"image_23042025_18_39_54_9712.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353119083","file1":"1353119030","file0":"1353118999","file4":"1353119188","file5":"1353119202","file3":"1353119159"},"map_files_photo_id_array":[{"photo_id":"1353119202","filename":"file5"},{"photo_id":"1353119083","filename":"file2"},{"photo_id":"1353119188","filename":"file4"},{"photo_id":"1353119030","filename":"file1"},{"photo_id":"1353118999","filename":"file0"},{"photo_id":"1353119159","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353119159":["hashtag1","hashtag2"]},{"1353119030":["hashtag1","hashtag2"]},{"1353119083":["hashtag1","hashtag2"]},{"1353119188":["hashtag1","hashtag2"]},{"1353118999":["hashtag1","hashtag2"]},{"1353119202":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353119159, 1353119030, 1353119083, 1353119188, 1353118999, 1353119202)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.927095890045166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:41:31.907563
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_44_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_33_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_24_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_14_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/18/40/image_23042025_18_41_03_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_44_10668.jpg', '/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_33_9638.jpg', '/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_24_9679.jpg', '/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_14_10677.jpg', '/home/nano/Desktop/images/23042025/18/40/image_23042025_18_41_03_9666.jpg', '/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_44_10668.jpg
/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_33_9638.jpg
/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_24_9679.jpg
/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_14_10677.jpg
/home/nano/Desktop/images/23042025/18/40/image_23042025_18_41_03_9666.jpg
/home/nano/Desktop/images/23042025/18/40/image_23042025_18_40_54_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353119450","1353119423","1353119402","1353119419","1353119367","1353119445"],"photo_ids_order":["1353119367","1353119402","1353119419","1353119423","1353119445","1353119450"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53d421c6aaa336a73c941e95d15fd1b8.jpg","text":"TemporaryFile(/tmp/multipartBody1663982097911846602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426553868,"filename":"image_23042025_18_40_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5d16f39265e6628909e2784a0a5a703.jpg","text":"TemporaryFile(/tmp/multipartBody758451398808534928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426553868,"filename":"image_23042025_18_41_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fef69d5b4aab7325465c56ab64413bf.jpg","text":"TemporaryFile(/tmp/multipartBody1831264939545933292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426553868,"filename":"image_23042025_18_41_33_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6908a7270d71e1288b0cc772c881e6cf.jpg","text":"TemporaryFile(/tmp/multipartBody3047684057273045865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426553868,"filename":"image_23042025_18_41_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b10789eaa3402ee88e0af128ab88e5b2.jpg","text":"TemporaryFile(/tmp/multipartBody2276427522306124810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426553868,"filename":"image_23042025_18_41_44_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e82ebc4243f7a9a88d666c2ae05b071c.jpg","text":"TemporaryFile(/tmp/multipartBody3544436723649960503asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426553868,"filename":"image_23042025_18_41_03_9666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353119419","file1":"1353119402","file0":"1353119367","file4":"1353119445","file5":"1353119450","file3":"1353119423"},"map_files_photo_id_array":[{"photo_id":"1353119450","filename":"file5"},{"photo_id":"1353119419","filename":"file2"},{"photo_id":"1353119445","filename":"file4"},{"photo_id":"1353119402","filename":"file1"},{"photo_id":"1353119367","filename":"file0"},{"photo_id":"1353119423","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353119450":["hashtag1","hashtag2"]},{"1353119423":["hashtag1","hashtag2"]},{"1353119402":["hashtag1","hashtag2"]},{"1353119419":["hashtag1","hashtag2"]},{"1353119367":["hashtag1","hashtag2"]},{"1353119445":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353119450, 1353119423, 1353119402, 1353119419, 1353119367, 1353119445)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.618086099624634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:42:31.999322
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_44_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_33_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_24_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_14_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/18/41/image_23042025_18_42_03_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_54_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_44_10668.jpg', '/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_33_9652.jpg', '/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_24_9655.jpg', '/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_14_10693.jpg', '/home/nano/Desktop/images/23042025/18/41/image_23042025_18_42_03_9647.jpg', '/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_54_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_44_10668.jpg
/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_33_9652.jpg
/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_24_9655.jpg
/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_14_10693.jpg
/home/nano/Desktop/images/23042025/18/41/image_23042025_18_42_03_9647.jpg
/home/nano/Desktop/images/23042025/18/41/image_23042025_18_41_54_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353119558","1353119540","1353119537","1353119548","1353119545","1353119535"],"photo_ids_order":["1353119535","1353119537","1353119540","1353119545","1353119548","1353119558"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4adf0b876a8356e350e509d75fa25f27.jpg","text":"TemporaryFile(/tmp/multipartBody4206857897271645894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426613704,"filename":"image_23042025_18_41_54_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/927fdce74bcfb0255dc90af9ef7c904f.jpg","text":"TemporaryFile(/tmp/multipartBody4365349737387632486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426613704,"filename":"image_23042025_18_42_24_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b841508fcd21c752dfa9334b0b9237ed.jpg","text":"TemporaryFile(/tmp/multipartBody7080404596634353337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426613704,"filename":"image_23042025_18_42_33_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa79586d0c930d6dcfcea9a8ddd14302.jpg","text":"TemporaryFile(/tmp/multipartBody7034503283160611634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426613704,"filename":"image_23042025_18_42_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75464614bb91c43c2376fedc692e8dc6.jpg","text":"TemporaryFile(/tmp/multipartBody7085607372602832547asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426613704,"filename":"image_23042025_18_42_14_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/258382942d7c38017248d367a3a6e859.jpg","text":"TemporaryFile(/tmp/multipartBody9165068773141435958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426613704,"filename":"image_23042025_18_42_44_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353119540","file1":"1353119537","file0":"1353119535","file4":"1353119548","file5":"1353119558","file3":"1353119545"},"map_files_photo_id_array":[{"photo_id":"1353119558","filename":"file5"},{"photo_id":"1353119540","filename":"file2"},{"photo_id":"1353119548","filename":"file4"},{"photo_id":"1353119537","filename":"file1"},{"photo_id":"1353119535","filename":"file0"},{"photo_id":"1353119545","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353119558":["hashtag1","hashtag2"]},{"1353119540":["hashtag1","hashtag2"]},{"1353119537":["hashtag1","hashtag2"]},{"1353119548":["hashtag1","hashtag2"]},{"1353119545":["hashtag1","hashtag2"]},{"1353119535":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353119558, 1353119540, 1353119537, 1353119548, 1353119545, 1353119535)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.99098873138428 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:43:32.117843
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_44_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_34_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_24_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_14_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/18/42/image_23042025_18_43_04_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_44_9658.jpg', '/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_34_10659.jpg', '/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_24_9669.jpg', '/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_14_9657.jpg', '/home/nano/Desktop/images/23042025/18/42/image_23042025_18_43_04_10659.jpg', '/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_44_9658.jpg
/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_34_10659.jpg
/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_24_9669.jpg
/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_14_9657.jpg
/home/nano/Desktop/images/23042025/18/42/image_23042025_18_43_04_10659.jpg
/home/nano/Desktop/images/23042025/18/42/image_23042025_18_42_54_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353119639","1353119633","1353119612","1353119618","1353119628","1353119622"],"photo_ids_order":["1353119612","1353119618","1353119622","1353119628","1353119633","1353119639"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17c65df3a74b867ce6895ab342a115e0.jpg","text":"TemporaryFile(/tmp/multipartBody5008013313625378276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426673841,"filename":"image_23042025_18_42_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8b098c04b2017992055eb342e60d0df.jpg","text":"TemporaryFile(/tmp/multipartBody5194411874626007161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426673841,"filename":"image_23042025_18_43_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9238e58194766c346c5d03be1b04a7e.jpg","text":"TemporaryFile(/tmp/multipartBody3839517290575506976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426673841,"filename":"image_23042025_18_43_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c062ede5677bab831f6b8c2d786422f6.jpg","text":"TemporaryFile(/tmp/multipartBody3390514353759271442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426673841,"filename":"image_23042025_18_43_34_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/289aa7bd57b06f1eb4b0817e5f3198b0.jpg","text":"TemporaryFile(/tmp/multipartBody4086409019697001167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426673841,"filename":"image_23042025_18_43_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2d3224876669972850f047043539eab.jpg","text":"TemporaryFile(/tmp/multipartBody453000499441782923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426673841,"filename":"image_23042025_18_43_24_9669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353119622","file1":"1353119618","file0":"1353119612","file4":"1353119633","file5":"1353119639","file3":"1353119628"},"map_files_photo_id_array":[{"photo_id":"1353119639","filename":"file5"},{"photo_id":"1353119622","filename":"file2"},{"photo_id":"1353119633","filename":"file4"},{"photo_id":"1353119618","filename":"file1"},{"photo_id":"1353119612","filename":"file0"},{"photo_id":"1353119628","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353119639":["hashtag1","hashtag2"]},{"1353119633":["hashtag1","hashtag2"]},{"1353119612":["hashtag1","hashtag2"]},{"1353119618":["hashtag1","hashtag2"]},{"1353119628":["hashtag1","hashtag2"]},{"1353119622":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353119639, 1353119633, 1353119612, 1353119618, 1353119628, 1353119622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.66714406013489 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:44:32.257704
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_44_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_34_10684.jpg', 2), ('/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_24_9604.jpg', 2), ('/home/nano/Desktop/images/23042025/18/43/image_23042025_18_44_04_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_54_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_44_10770.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_44_9670.jpg', '/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_34_10684.jpg', '/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_24_9604.jpg', '/home/nano/Desktop/images/23042025/18/43/image_23042025_18_44_04_10664.jpg', '/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_54_9653.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_44_10770.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_44_9670.jpg
/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_34_10684.jpg
/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_24_9604.jpg
/home/nano/Desktop/images/23042025/18/43/image_23042025_18_44_04_10664.jpg
/home/nano/Desktop/images/23042025/18/43/image_23042025_18_43_54_9653.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_44_10770.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353119702","1353119692","1353119704","1353119697","1353119685","1353119679"],"photo_ids_order":["1353119679","1353119685","1353119692","1353119697","1353119702","1353119704"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cc648fb61972045f59b29b5695c3c2e.jpg","text":"TemporaryFile(/tmp/multipartBody5221483439371133180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426733860,"filename":"image_23042025_18_43_54_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/03e9ad800d15c4a6920b8b1e8e70b136.jpg","text":"TemporaryFile(/tmp/multipartBody7967421007260583409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426733860,"filename":"image_23042025_18_44_24_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75c1eb065546841ce622fbf2d6c74f41.jpg","text":"TemporaryFile(/tmp/multipartBody9087912809610511787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426733860,"filename":"image_23042025_18_37_44_10770.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e29d58767ac1b2cff83d6091d22395c.jpg","text":"TemporaryFile(/tmp/multipartBody1577808814544825090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426733860,"filename":"image_23042025_18_44_04_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31fc9d22bea6d1f53a0dea794db40e6b.jpg","text":"TemporaryFile(/tmp/multipartBody1374082613089324108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426733860,"filename":"image_23042025_18_44_34_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef96e100a196347d29731e1d40692099.jpg","text":"TemporaryFile(/tmp/multipartBody2023037576127186953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426733860,"filename":"image_23042025_18_44_44_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353119692","file1":"1353119685","file0":"1353119679","file4":"1353119702","file5":"1353119704","file3":"1353119697"},"map_files_photo_id_array":[{"photo_id":"1353119704","filename":"file5"},{"photo_id":"1353119692","filename":"file2"},{"photo_id":"1353119702","filename":"file4"},{"photo_id":"1353119685","filename":"file1"},{"photo_id":"1353119679","filename":"file0"},{"photo_id":"1353119697","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353119702":["hashtag1","hashtag2"]},{"1353119692":["hashtag1","hashtag2"]},{"1353119704":["hashtag1","hashtag2"]},{"1353119697":["hashtag1","hashtag2"]},{"1353119685":["hashtag1","hashtag2"]},{"1353119679":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353119702, 1353119692, 1353119704, 1353119697, 1353119685, 1353119679)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.27371788024902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:45:32.402187
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_44_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_34_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_24_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_14_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/18/44/image_23042025_18_45_04_10692.jpg', 2), ('/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_44_9650.jpg', '/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_34_10668.jpg', '/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_24_9675.jpg', '/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_14_9654.jpg', '/home/nano/Desktop/images/23042025/18/44/image_23042025_18_45_04_10692.jpg', '/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_44_9650.jpg
/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_34_10668.jpg
/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_24_9675.jpg
/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_14_9654.jpg
/home/nano/Desktop/images/23042025/18/44/image_23042025_18_45_04_10692.jpg
/home/nano/Desktop/images/23042025/18/44/image_23042025_18_44_54_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353119864","1353119851","1353119860","1353119778","1353119870","1353119786"],"photo_ids_order":["1353119778","1353119786","1353119851","1353119860","1353119864","1353119870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22e40b883fa185461b18abcead32ceca.jpg","text":"TemporaryFile(/tmp/multipartBody5772234092777613717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426794318,"filename":"image_23042025_18_45_04_10692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e387d37db7a558a4dc916a57b5cc12e9.jpg","text":"TemporaryFile(/tmp/multipartBody4035107037774146407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426794318,"filename":"image_23042025_18_45_24_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8cc1c2a7f409c9b7aca8218735b9b895.jpg","text":"TemporaryFile(/tmp/multipartBody7518499737099900639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426794318,"filename":"image_23042025_18_45_14_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7876a683bf3be4c1f97a655f11b52834.jpg","text":"TemporaryFile(/tmp/multipartBody2735010667405245018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426794318,"filename":"image_23042025_18_45_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d502ad6f8cd8143cc5f883fe151d22d.jpg","text":"TemporaryFile(/tmp/multipartBody1952327621571271245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426794318,"filename":"image_23042025_18_44_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4b963b9888063c1e712e142565edde81.jpg","text":"TemporaryFile(/tmp/multipartBody6229418764398126472asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426794318,"filename":"image_23042025_18_45_34_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353119851","file1":"1353119786","file0":"1353119778","file4":"1353119864","file5":"1353119870","file3":"1353119860"},"map_files_photo_id_array":[{"photo_id":"1353119870","filename":"file5"},{"photo_id":"1353119851","filename":"file2"},{"photo_id":"1353119864","filename":"file4"},{"photo_id":"1353119786","filename":"file1"},{"photo_id":"1353119778","filename":"file0"},{"photo_id":"1353119860","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353119864":["hashtag1","hashtag2"]},{"1353119851":["hashtag1","hashtag2"]},{"1353119860":["hashtag1","hashtag2"]},{"1353119778":["hashtag1","hashtag2"]},{"1353119870":["hashtag1","hashtag2"]},{"1353119786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353119864, 1353119851, 1353119860, 1353119778, 1353119870, 1353119786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.403297901153564 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:46:32.509602
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_44_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_34_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_24_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_14_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/18/45/image_23042025_18_46_04_10696.jpg', 2), ('/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_54_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_44_9675.jpg', '/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_34_10666.jpg', '/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_24_9668.jpg', '/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_14_9659.jpg', '/home/nano/Desktop/images/23042025/18/45/image_23042025_18_46_04_10696.jpg', '/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_54_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_44_9675.jpg
/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_34_10666.jpg
/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_24_9668.jpg
/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_14_9659.jpg
/home/nano/Desktop/images/23042025/18/45/image_23042025_18_46_04_10696.jpg
/home/nano/Desktop/images/23042025/18/45/image_23042025_18_45_54_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120059","1353120050","1353120094","1353120090","1353120054","1353120084"],"photo_ids_order":["1353120050","1353120054","1353120059","1353120084","1353120090","1353120094"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f18e014d75e489bd48a50a06859261f3.jpg","text":"TemporaryFile(/tmp/multipartBody2076549875613425793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426854348,"filename":"image_23042025_18_46_24_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87aa6035d58cf54f7f4080cef80b0151.jpg","text":"TemporaryFile(/tmp/multipartBody60205061067442084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426854348,"filename":"image_23042025_18_46_44_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a18cd1de64e0fe5af4894bd3d0e2b0a9.jpg","text":"TemporaryFile(/tmp/multipartBody22156558590269817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426854348,"filename":"image_23042025_18_45_54_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f50662057f0298ebe9a429c11af91e0b.jpg","text":"TemporaryFile(/tmp/multipartBody8599583276856529308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426854348,"filename":"image_23042025_18_46_04_10696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9523f648d299ff2d0152090048efd59.jpg","text":"TemporaryFile(/tmp/multipartBody8763361469401554528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426854348,"filename":"image_23042025_18_46_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d78092010f95101397e6acb3c67738ce.jpg","text":"TemporaryFile(/tmp/multipartBody1361449503688724957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426854348,"filename":"image_23042025_18_46_14_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120059","file1":"1353120054","file0":"1353120050","file4":"1353120090","file5":"1353120094","file3":"1353120084"},"map_files_photo_id_array":[{"photo_id":"1353120094","filename":"file5"},{"photo_id":"1353120059","filename":"file2"},{"photo_id":"1353120090","filename":"file4"},{"photo_id":"1353120054","filename":"file1"},{"photo_id":"1353120050","filename":"file0"},{"photo_id":"1353120084","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120059":["hashtag1","hashtag2"]},{"1353120050":["hashtag1","hashtag2"]},{"1353120094":["hashtag1","hashtag2"]},{"1353120090":["hashtag1","hashtag2"]},{"1353120054":["hashtag1","hashtag2"]},{"1353120084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120059, 1353120050, 1353120094, 1353120090, 1353120054, 1353120084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97309732437134 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:47:32.607985
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_44_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_34_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_24_9817.jpg', 2), ('/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_14_9777.jpg', 2), ('/home/nano/Desktop/images/23042025/18/46/image_23042025_18_47_04_10679.jpg', 2), ('/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_44_10650.jpg', '/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_34_9653.jpg', '/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_24_9817.jpg', '/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_14_9777.jpg', '/home/nano/Desktop/images/23042025/18/46/image_23042025_18_47_04_10679.jpg', '/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_44_10650.jpg
/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_34_9653.jpg
/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_24_9817.jpg
/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_14_9777.jpg
/home/nano/Desktop/images/23042025/18/46/image_23042025_18_47_04_10679.jpg
/home/nano/Desktop/images/23042025/18/46/image_23042025_18_46_54_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120228","1353120197","1353120164","1353120260","1353120137","1353120130"],"photo_ids_order":["1353120130","1353120137","1353120164","1353120197","1353120228","1353120260"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c70012c91bdb47ec52e66833389894d.jpg","text":"TemporaryFile(/tmp/multipartBody5345330352045152786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426914636,"filename":"image_23042025_18_47_04_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00db618cd9ab517488b3eaeab3601d99.jpg","text":"TemporaryFile(/tmp/multipartBody3383045342173634761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426914636,"filename":"image_23042025_18_47_14_9777.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e146b691cd5a97d31351d0e63c83bed4.jpg","text":"TemporaryFile(/tmp/multipartBody215885063538545941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426914636,"filename":"image_23042025_18_47_24_9817.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fda021bcd14b2d42ad561d2a89b0350b.jpg","text":"TemporaryFile(/tmp/multipartBody144229518938514779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426914636,"filename":"image_23042025_18_46_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e738b4ffcc7a6439fcad7cf82f3c4109.jpg","text":"TemporaryFile(/tmp/multipartBody634904674064003971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426914636,"filename":"image_23042025_18_47_34_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/785292be328d8fd368fe2d7542515c73.jpg","text":"TemporaryFile(/tmp/multipartBody8686657345051067576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426914636,"filename":"image_23042025_18_47_44_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120164","file1":"1353120137","file0":"1353120130","file4":"1353120228","file5":"1353120260","file3":"1353120197"},"map_files_photo_id_array":[{"photo_id":"1353120260","filename":"file5"},{"photo_id":"1353120164","filename":"file2"},{"photo_id":"1353120228","filename":"file4"},{"photo_id":"1353120137","filename":"file1"},{"photo_id":"1353120130","filename":"file0"},{"photo_id":"1353120197","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120228":["hashtag1","hashtag2"]},{"1353120197":["hashtag1","hashtag2"]},{"1353120164":["hashtag1","hashtag2"]},{"1353120260":["hashtag1","hashtag2"]},{"1353120137":["hashtag1","hashtag2"]},{"1353120130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120228, 1353120197, 1353120164, 1353120260, 1353120137, 1353120130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.340248584747314 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:48:32.687704
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_44_9878.jpg', 2), ('/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_34_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_24_10870.jpg', 2), ('/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_13_9751.jpg', 2), ('/home/nano/Desktop/images/23042025/18/47/image_23042025_18_48_04_9788.jpg', 2), ('/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_44_9878.jpg', '/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_34_9640.jpg', '/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_24_10870.jpg', '/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_13_9751.jpg', '/home/nano/Desktop/images/23042025/18/47/image_23042025_18_48_04_9788.jpg', '/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_44_9878.jpg
/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_34_9640.jpg
/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_24_10870.jpg
/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_13_9751.jpg
/home/nano/Desktop/images/23042025/18/47/image_23042025_18_48_04_9788.jpg
/home/nano/Desktop/images/23042025/18/47/image_23042025_18_47_54_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120329","1353120320","1353120337","1353120346","1353120325","1353120334"],"photo_ids_order":["1353120320","1353120325","1353120329","1353120334","1353120337","1353120346"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd296b5c307d009d954d6a6deff7a717.jpg","text":"TemporaryFile(/tmp/multipartBody6710842559898606830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426975607,"filename":"image_23042025_18_48_24_10870.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/383b057a717d130676a11d5e3d7fe90e.jpg","text":"TemporaryFile(/tmp/multipartBody6438267703020563785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426975607,"filename":"image_23042025_18_48_44_9878.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c40d06aa5313d3fd5523121d9f91637d.jpg","text":"TemporaryFile(/tmp/multipartBody7114050935249930807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426975607,"filename":"image_23042025_18_48_04_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0b425e7d48e2dd7dbb1e9cc5e03d964.jpg","text":"TemporaryFile(/tmp/multipartBody8105045684287951642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426975607,"filename":"image_23042025_18_47_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e11e33738ab667c9d654d3cc8a21d49a.jpg","text":"TemporaryFile(/tmp/multipartBody6023733653366984960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426975607,"filename":"image_23042025_18_48_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e6d7af802bffb9935114b46fa811409.jpg","text":"TemporaryFile(/tmp/multipartBody5549679871411196464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745426975607,"filename":"image_23042025_18_48_13_9751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120329","file1":"1353120325","file0":"1353120320","file4":"1353120337","file5":"1353120346","file3":"1353120334"},"map_files_photo_id_array":[{"photo_id":"1353120346","filename":"file5"},{"photo_id":"1353120329","filename":"file2"},{"photo_id":"1353120337","filename":"file4"},{"photo_id":"1353120325","filename":"file1"},{"photo_id":"1353120320","filename":"file0"},{"photo_id":"1353120334","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120329":["hashtag1","hashtag2"]},{"1353120320":["hashtag1","hashtag2"]},{"1353120337":["hashtag1","hashtag2"]},{"1353120346":["hashtag1","hashtag2"]},{"1353120325":["hashtag1","hashtag2"]},{"1353120334":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120329, 1353120320, 1353120337, 1353120346, 1353120325, 1353120334)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.713069677352905 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:49:31.795451
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_44_9787.jpg', 2), ('/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_34_9818.jpg', 2), ('/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_24_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_14_10843.jpg', 2), ('/home/nano/Desktop/images/23042025/18/48/image_23042025_18_49_03_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_54_9960.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_44_9787.jpg', '/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_34_9818.jpg', '/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_24_9647.jpg', '/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_14_10843.jpg', '/home/nano/Desktop/images/23042025/18/48/image_23042025_18_49_03_9719.jpg', '/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_54_9960.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_44_9787.jpg
/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_34_9818.jpg
/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_24_9647.jpg
/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_14_10843.jpg
/home/nano/Desktop/images/23042025/18/48/image_23042025_18_49_03_9719.jpg
/home/nano/Desktop/images/23042025/18/48/image_23042025_18_48_54_9960.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120452","1353120425","1353120463","1353120430","1353120447","1353120441"],"photo_ids_order":["1353120425","1353120430","1353120441","1353120447","1353120452","1353120463"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ac100e474a0e1ab31160c3490897490.jpg","text":"TemporaryFile(/tmp/multipartBody7634984725269771028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427034493,"filename":"image_23042025_18_49_03_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac6da3b1f3974045442f8679cb7656f9.jpg","text":"TemporaryFile(/tmp/multipartBody4840214798707603591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427034493,"filename":"image_23042025_18_49_44_9787.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7360bc6aa48954e7e3c6fd29f306387.jpg","text":"TemporaryFile(/tmp/multipartBody5512707863789204720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427034493,"filename":"image_23042025_18_48_54_9960.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d5b2cf2c95fda4fea3504742dc40434.jpg","text":"TemporaryFile(/tmp/multipartBody4196351015907724200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427034493,"filename":"image_23042025_18_49_34_9818.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c72debfff88eda625f0b447d8a0196d.jpg","text":"TemporaryFile(/tmp/multipartBody1414573010251084962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427034493,"filename":"image_23042025_18_49_14_10843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c237996fdeca6105c4b0bc3aa20376fa.jpg","text":"TemporaryFile(/tmp/multipartBody4019062060660461417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427034493,"filename":"image_23042025_18_49_24_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120441","file1":"1353120430","file0":"1353120425","file4":"1353120452","file5":"1353120463","file3":"1353120447"},"map_files_photo_id_array":[{"photo_id":"1353120463","filename":"file5"},{"photo_id":"1353120441","filename":"file2"},{"photo_id":"1353120452","filename":"file4"},{"photo_id":"1353120430","filename":"file1"},{"photo_id":"1353120425","filename":"file0"},{"photo_id":"1353120447","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120452":["hashtag1","hashtag2"]},{"1353120425":["hashtag1","hashtag2"]},{"1353120463":["hashtag1","hashtag2"]},{"1353120430":["hashtag1","hashtag2"]},{"1353120447":["hashtag1","hashtag2"]},{"1353120441":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120452, 1353120425, 1353120463, 1353120430, 1353120447, 1353120441)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.262078046798706 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:50:31.885064
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_44_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_34_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_24_9776.jpg', 2), ('/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_14_9796.jpg', 2), ('/home/nano/Desktop/images/23042025/18/49/image_23042025_18_50_04_9735.jpg', 2), ('/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_54_10738.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_44_9699.jpg', '/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_34_10668.jpg', '/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_24_9776.jpg', '/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_14_9796.jpg', '/home/nano/Desktop/images/23042025/18/49/image_23042025_18_50_04_9735.jpg', '/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_54_10738.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_44_9699.jpg
/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_34_10668.jpg
/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_24_9776.jpg
/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_14_9796.jpg
/home/nano/Desktop/images/23042025/18/49/image_23042025_18_50_04_9735.jpg
/home/nano/Desktop/images/23042025/18/49/image_23042025_18_49_54_10738.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120519","1353120510","1353120497","1353120493","1353120502","1353120514"],"photo_ids_order":["1353120493","1353120497","1353120502","1353120510","1353120514","1353120519"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d3df0baf52251a94e17203483e11265.jpg","text":"TemporaryFile(/tmp/multipartBody2679456041040713236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427094286,"filename":"image_23042025_18_49_54_10738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac99b6b654f293a5db6622c160730a86.jpg","text":"TemporaryFile(/tmp/multipartBody3660636941308810544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427094286,"filename":"image_23042025_18_50_14_9796.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b61f843f229e4715d048bae42625497.jpg","text":"TemporaryFile(/tmp/multipartBody3356409993649977105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427094286,"filename":"image_23042025_18_50_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f53f04e6eb705dbe423d769fc5b73f50.jpg","text":"TemporaryFile(/tmp/multipartBody1721074168736863198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427094286,"filename":"image_23042025_18_50_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8de087dd75aa2bcbd46726d25f13934d.jpg","text":"TemporaryFile(/tmp/multipartBody3833632742592337277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427094286,"filename":"image_23042025_18_50_24_9776.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e31033ad80958cbd0f620a4fc57aa73.jpg","text":"TemporaryFile(/tmp/multipartBody5283426560674288157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427094286,"filename":"image_23042025_18_50_04_9735.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120502","file1":"1353120497","file0":"1353120493","file4":"1353120514","file5":"1353120519","file3":"1353120510"},"map_files_photo_id_array":[{"photo_id":"1353120519","filename":"file5"},{"photo_id":"1353120502","filename":"file2"},{"photo_id":"1353120514","filename":"file4"},{"photo_id":"1353120497","filename":"file1"},{"photo_id":"1353120493","filename":"file0"},{"photo_id":"1353120510","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120519":["hashtag1","hashtag2"]},{"1353120510":["hashtag1","hashtag2"]},{"1353120497":["hashtag1","hashtag2"]},{"1353120493":["hashtag1","hashtag2"]},{"1353120502":["hashtag1","hashtag2"]},{"1353120514":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120519, 1353120510, 1353120497, 1353120493, 1353120502, 1353120514)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.47781276702881 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:51:31.996256
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_44_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_33_9769.jpg', 2), ('/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_24_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_14_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/18/50/image_23042025_18_51_04_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_44_10665.jpg', '/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_33_9769.jpg', '/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_24_9648.jpg', '/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_14_9727.jpg', '/home/nano/Desktop/images/23042025/18/50/image_23042025_18_51_04_10670.jpg', '/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_44_10665.jpg
/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_33_9769.jpg
/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_24_9648.jpg
/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_14_9727.jpg
/home/nano/Desktop/images/23042025/18/50/image_23042025_18_51_04_10670.jpg
/home/nano/Desktop/images/23042025/18/50/image_23042025_18_50_54_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120557","1353120583","1353120565","1353120574","1353120561","1353120579"],"photo_ids_order":["1353120557","1353120561","1353120565","1353120574","1353120579","1353120583"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2bde1d0c62f9040db1e1d64c84d486f2.jpg","text":"TemporaryFile(/tmp/multipartBody2100269918643926644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427153887,"filename":"image_23042025_18_51_44_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2374df48160871a63bba3b7f96da4231.jpg","text":"TemporaryFile(/tmp/multipartBody7807301860122954070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427153887,"filename":"image_23042025_18_50_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6791e1d9d2cae26328359f90c11f5be.jpg","text":"TemporaryFile(/tmp/multipartBody337784284836195486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427153887,"filename":"image_23042025_18_51_24_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a052f4df451b52e920ad5c87dcaf02d.jpg","text":"TemporaryFile(/tmp/multipartBody1017066864895857372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427153887,"filename":"image_23042025_18_51_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dfed1472f32f1829556cd780e20d407c.jpg","text":"TemporaryFile(/tmp/multipartBody6252402820483138881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427153887,"filename":"image_23042025_18_51_33_9769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9d56cb3480cd5987efdd8587d043fc8.jpg","text":"TemporaryFile(/tmp/multipartBody5271100138150525371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427153887,"filename":"image_23042025_18_51_04_10670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120565","file1":"1353120561","file0":"1353120557","file4":"1353120579","file5":"1353120583","file3":"1353120574"},"map_files_photo_id_array":[{"photo_id":"1353120583","filename":"file5"},{"photo_id":"1353120565","filename":"file2"},{"photo_id":"1353120579","filename":"file4"},{"photo_id":"1353120561","filename":"file1"},{"photo_id":"1353120557","filename":"file0"},{"photo_id":"1353120574","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120557":["hashtag1","hashtag2"]},{"1353120583":["hashtag1","hashtag2"]},{"1353120565":["hashtag1","hashtag2"]},{"1353120574":["hashtag1","hashtag2"]},{"1353120561":["hashtag1","hashtag2"]},{"1353120579":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120557, 1353120583, 1353120565, 1353120574, 1353120561, 1353120579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.05251932144165 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:52:32.098360
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_44_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_33_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_24_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_14_10698.jpg', 2), ('/home/nano/Desktop/images/23042025/18/51/image_23042025_18_52_03_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_54_9761.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_44_10667.jpg', '/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_33_9671.jpg', '/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_24_9652.jpg', '/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_14_10698.jpg', '/home/nano/Desktop/images/23042025/18/51/image_23042025_18_52_03_9645.jpg', '/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_54_9761.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_44_10667.jpg
/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_33_9671.jpg
/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_24_9652.jpg
/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_14_10698.jpg
/home/nano/Desktop/images/23042025/18/51/image_23042025_18_52_03_9645.jpg
/home/nano/Desktop/images/23042025/18/51/image_23042025_18_51_54_9761.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120735","1353120778","1353120774","1353120756","1353120765","1353120744"],"photo_ids_order":["1353120735","1353120744","1353120756","1353120765","1353120774","1353120778"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c2f5f4fa20f5d94056f9114400c8bd0.jpg","text":"TemporaryFile(/tmp/multipartBody2458263070625448575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427213736,"filename":"image_23042025_18_52_44_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d83d20cfea70cb29498daae7bee319d.jpg","text":"TemporaryFile(/tmp/multipartBody4045228157761379151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427213736,"filename":"image_23042025_18_51_54_9761.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c0d55a3a848a817dffbe8be06aa2f6e.jpg","text":"TemporaryFile(/tmp/multipartBody3094630248539765337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427213736,"filename":"image_23042025_18_52_03_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c40a17d239de77cd960fed1a75b8298f.jpg","text":"TemporaryFile(/tmp/multipartBody2120947101928745040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427213736,"filename":"image_23042025_18_52_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e0c798ab6950df19a230c99934205a5.jpg","text":"TemporaryFile(/tmp/multipartBody6805572476151301363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427213736,"filename":"image_23042025_18_52_14_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d946f87befd63b1c42181a3bc3fdb76.jpg","text":"TemporaryFile(/tmp/multipartBody5947527492097838036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427213736,"filename":"image_23042025_18_52_33_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120756","file1":"1353120744","file0":"1353120735","file4":"1353120774","file5":"1353120778","file3":"1353120765"},"map_files_photo_id_array":[{"photo_id":"1353120778","filename":"file5"},{"photo_id":"1353120756","filename":"file2"},{"photo_id":"1353120774","filename":"file4"},{"photo_id":"1353120744","filename":"file1"},{"photo_id":"1353120735","filename":"file0"},{"photo_id":"1353120765","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120735":["hashtag1","hashtag2"]},{"1353120778":["hashtag1","hashtag2"]},{"1353120774":["hashtag1","hashtag2"]},{"1353120756":["hashtag1","hashtag2"]},{"1353120765":["hashtag1","hashtag2"]},{"1353120744":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120735, 1353120778, 1353120774, 1353120756, 1353120765, 1353120744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.22974753379822 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:53:32.222333
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_44_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_34_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_24_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_14_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/18/52/image_23042025_18_53_03_9615.jpg', 2), ('/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_54_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_44_9653.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_34_10661.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_24_9623.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_14_10648.jpg', '/home/nano/Desktop/images/23042025/18/52/image_23042025_18_53_03_9615.jpg', '/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_54_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_44_9653.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_34_10661.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_24_9623.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_14_10648.jpg
/home/nano/Desktop/images/23042025/18/52/image_23042025_18_53_03_9615.jpg
/home/nano/Desktop/images/23042025/18/52/image_23042025_18_52_54_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120834","1353120845","1353120821","1353120839","1353120818","1353120825"],"photo_ids_order":["1353120818","1353120821","1353120825","1353120834","1353120839","1353120845"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/92c5cc8819057af6d79bc2ee002fe5f0.jpg","text":"TemporaryFile(/tmp/multipartBody9103581186711654497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427273950,"filename":"image_23042025_18_53_14_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e1a56ed2d7668b9303e20a5e399a5b2.jpg","text":"TemporaryFile(/tmp/multipartBody693836221416709655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427273950,"filename":"image_23042025_18_52_54_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12ee9853c9f2e054f3c4d3e266e044ee.jpg","text":"TemporaryFile(/tmp/multipartBody5352065739504339041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427273950,"filename":"image_23042025_18_53_34_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c959adf4c7259f226f7a5a46dfb1819.jpg","text":"TemporaryFile(/tmp/multipartBody6579713381734758191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427273950,"filename":"image_23042025_18_53_03_9615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df4ceba6f8a5d1ca90eddd6b2f0533ae.jpg","text":"TemporaryFile(/tmp/multipartBody4899409934209711205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427273950,"filename":"image_23042025_18_53_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b298bd8954dbb4fd17bad2615dbb99a9.jpg","text":"TemporaryFile(/tmp/multipartBody2337126973614325893asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427273950,"filename":"image_23042025_18_53_24_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120825","file1":"1353120821","file0":"1353120818","file4":"1353120839","file5":"1353120845","file3":"1353120834"},"map_files_photo_id_array":[{"photo_id":"1353120845","filename":"file5"},{"photo_id":"1353120825","filename":"file2"},{"photo_id":"1353120839","filename":"file4"},{"photo_id":"1353120821","filename":"file1"},{"photo_id":"1353120818","filename":"file0"},{"photo_id":"1353120834","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120834":["hashtag1","hashtag2"]},{"1353120845":["hashtag1","hashtag2"]},{"1353120821":["hashtag1","hashtag2"]},{"1353120839":["hashtag1","hashtag2"]},{"1353120818":["hashtag1","hashtag2"]},{"1353120825":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120834, 1353120845, 1353120821, 1353120839, 1353120818, 1353120825)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.169188261032104 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:54:32.297356
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_44_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_34_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_24_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_14_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_54_04_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_44_9632.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_34_10635.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_24_9687.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_14_9656.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_54_04_10658.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_44_9632.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_34_10635.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_24_9687.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_14_9656.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_54_04_10658.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_54_9647.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.4137935638427734 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:55:03.135675
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_44_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_34_10635.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_24_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_14_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_54_04_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_44_9632.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_34_10635.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_24_9687.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_14_9656.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_54_04_10658.jpg', '/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_44_9632.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_34_10635.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_24_9687.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_14_9656.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_54_04_10658.jpg
/home/nano/Desktop/images/23042025/18/53/image_23042025_18_53_54_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353120974","1353120994","1353120988","1353120984","1353120978","1353120960"],"photo_ids_order":["1353120960","1353120974","1353120978","1353120984","1353120988","1353120994"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11df80806f5aef07c24b096347c750ec.jpg","text":"TemporaryFile(/tmp/multipartBody1021814264770794860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427365235,"filename":"image_23042025_18_54_34_10635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b9b9c9d2f75da9c7ae072148556ba5c.jpg","text":"TemporaryFile(/tmp/multipartBody7048371628076633870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427365235,"filename":"image_23042025_18_53_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/610cd6fd1f0fb44c93d82d71591ca2be.jpg","text":"TemporaryFile(/tmp/multipartBody8919016174583567533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427365235,"filename":"image_23042025_18_54_04_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f6270f1522e52d28563b5b9b56cb527.jpg","text":"TemporaryFile(/tmp/multipartBody3000202729834257242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427365235,"filename":"image_23042025_18_54_14_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34caa5bd29a0f987e5c9199544ea84fa.jpg","text":"TemporaryFile(/tmp/multipartBody3329568977634965044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427365235,"filename":"image_23042025_18_54_24_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d13bbbe4e6b6c27acb539a57dc7edba.jpg","text":"TemporaryFile(/tmp/multipartBody862944808177450444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427365235,"filename":"image_23042025_18_54_44_9632.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353120978","file1":"1353120974","file0":"1353120960","file4":"1353120988","file5":"1353120994","file3":"1353120984"},"map_files_photo_id_array":[{"photo_id":"1353120994","filename":"file5"},{"photo_id":"1353120978","filename":"file2"},{"photo_id":"1353120988","filename":"file4"},{"photo_id":"1353120974","filename":"file1"},{"photo_id":"1353120960","filename":"file0"},{"photo_id":"1353120984","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353120974":["hashtag1","hashtag2"]},{"1353120994":["hashtag1","hashtag2"]},{"1353120988":["hashtag1","hashtag2"]},{"1353120984":["hashtag1","hashtag2"]},{"1353120978":["hashtag1","hashtag2"]},{"1353120960":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353120974, 1353120994, 1353120988, 1353120984, 1353120978, 1353120960)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.603217363357544 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:56:02.889335
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_44_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_34_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_24_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_14_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_55_04_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_44_9660.jpg', '/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_34_10677.jpg', '/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_24_9654.jpg', '/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_14_9685.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_55_04_10672.jpg', '/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_44_9660.jpg
/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_34_10677.jpg
/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_24_9654.jpg
/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_14_9685.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_55_04_10672.jpg
/home/nano/Desktop/images/23042025/18/54/image_23042025_18_54_54_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353121052","1353121025","1353121019","1353121036","1353121048","1353121029"],"photo_ids_order":["1353121019","1353121025","1353121029","1353121036","1353121048","1353121052"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e159943d0b330c004f6a6665508b9aa.jpg","text":"TemporaryFile(/tmp/multipartBody7261124978963853239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427424059,"filename":"image_23042025_18_54_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abc32dcc1f693d339ba662e3dff5f571.jpg","text":"TemporaryFile(/tmp/multipartBody1260848646368156609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427424059,"filename":"image_23042025_18_55_34_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15738c01d85a5d623650d2d8180bb55c.jpg","text":"TemporaryFile(/tmp/multipartBody1895068405366632901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427424059,"filename":"image_23042025_18_55_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e81ee93c4d71cd130af3f001aa17ada6.jpg","text":"TemporaryFile(/tmp/multipartBody1460745817635137141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427424059,"filename":"image_23042025_18_55_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75ff16690b47fdeb1b0c1163c07af67e.jpg","text":"TemporaryFile(/tmp/multipartBody2298669938160226161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427424059,"filename":"image_23042025_18_55_04_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b1c58617d490be01720f5d4aefd9acd.jpg","text":"TemporaryFile(/tmp/multipartBody7550069794355730463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427424059,"filename":"image_23042025_18_55_24_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353121029","file1":"1353121025","file0":"1353121019","file4":"1353121048","file5":"1353121052","file3":"1353121036"},"map_files_photo_id_array":[{"photo_id":"1353121052","filename":"file5"},{"photo_id":"1353121029","filename":"file2"},{"photo_id":"1353121048","filename":"file4"},{"photo_id":"1353121025","filename":"file1"},{"photo_id":"1353121019","filename":"file0"},{"photo_id":"1353121036","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353121052":["hashtag1","hashtag2"]},{"1353121025":["hashtag1","hashtag2"]},{"1353121019":["hashtag1","hashtag2"]},{"1353121036":["hashtag1","hashtag2"]},{"1353121048":["hashtag1","hashtag2"]},{"1353121029":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353121052, 1353121025, 1353121019, 1353121036, 1353121048, 1353121029)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.514543771743774 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:57:03.275261
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_44_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_34_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_24_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_14_9996.jpg', 2), ('/home/nano/Desktop/images/23042025/18/55/image_23042025_18_56_04_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_54_9692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_44_10688.jpg', '/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_34_9668.jpg', '/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_24_9693.jpg', '/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_14_9996.jpg', '/home/nano/Desktop/images/23042025/18/55/image_23042025_18_56_04_10718.jpg', '/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_54_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_44_10688.jpg
/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_34_9668.jpg
/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_24_9693.jpg
/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_14_9996.jpg
/home/nano/Desktop/images/23042025/18/55/image_23042025_18_56_04_10718.jpg
/home/nano/Desktop/images/23042025/18/55/image_23042025_18_55_54_9692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353121265","1353121259","1353121279","1353121249","1353121272","1353121268"],"photo_ids_order":["1353121249","1353121259","1353121265","1353121268","1353121272","1353121279"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49d3ec2e17ce51cf9a8418f0d83e1038.jpg","text":"TemporaryFile(/tmp/multipartBody6737216276827899529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427484697,"filename":"image_23042025_18_56_24_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc21ed6cfed3f0affad309e8900dec11.jpg","text":"TemporaryFile(/tmp/multipartBody5787491841080846880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427484697,"filename":"image_23042025_18_56_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d6d6d90746e44385b05211ace084267.jpg","text":"TemporaryFile(/tmp/multipartBody3100467114139331476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427484697,"filename":"image_23042025_18_55_54_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a26f00258f16d88f935ec57b17a4d54.jpg","text":"TemporaryFile(/tmp/multipartBody2786905491116401601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427484697,"filename":"image_23042025_18_56_44_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7afcf34e020ada70e915a189af5edc4b.jpg","text":"TemporaryFile(/tmp/multipartBody8556665920659755448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427484697,"filename":"image_23042025_18_56_04_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67ba17c166575016a9e1e8e5596f8c60.jpg","text":"TemporaryFile(/tmp/multipartBody5324714971117687161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427484697,"filename":"image_23042025_18_56_14_9996.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353121265","file1":"1353121259","file0":"1353121249","file4":"1353121272","file5":"1353121279","file3":"1353121268"},"map_files_photo_id_array":[{"photo_id":"1353121279","filename":"file5"},{"photo_id":"1353121265","filename":"file2"},{"photo_id":"1353121272","filename":"file4"},{"photo_id":"1353121259","filename":"file1"},{"photo_id":"1353121249","filename":"file0"},{"photo_id":"1353121268","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353121265":["hashtag1","hashtag2"]},{"1353121259":["hashtag1","hashtag2"]},{"1353121279":["hashtag1","hashtag2"]},{"1353121249":["hashtag1","hashtag2"]},{"1353121272":["hashtag1","hashtag2"]},{"1353121268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353121265, 1353121259, 1353121279, 1353121249, 1353121272, 1353121268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.665053367614746 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:58:03.076717
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_44_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_34_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_24_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_13_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/18/56/image_23042025_18_57_04_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_54_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_44_9699.jpg', '/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_34_9723.jpg', '/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_24_10675.jpg', '/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_13_9689.jpg', '/home/nano/Desktop/images/23042025/18/56/image_23042025_18_57_04_9699.jpg', '/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_54_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_44_9699.jpg
/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_34_9723.jpg
/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_24_10675.jpg
/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_13_9689.jpg
/home/nano/Desktop/images/23042025/18/56/image_23042025_18_57_04_9699.jpg
/home/nano/Desktop/images/23042025/18/56/image_23042025_18_56_54_9676.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353121382","1353121390","1353121387","1353121392","1353121377","1353121385"],"photo_ids_order":["1353121377","1353121382","1353121385","1353121387","1353121390","1353121392"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32c036f01398747096cc56058be52aad.jpg","text":"TemporaryFile(/tmp/multipartBody7032103566653160703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427545422,"filename":"image_23042025_18_57_34_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d39f92722dc9ed018fa9a3b56618e12e.jpg","text":"TemporaryFile(/tmp/multipartBody6600333773881143193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427545422,"filename":"image_23042025_18_57_04_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1c39eda8cb10c456a84d9e2cc2e3068.jpg","text":"TemporaryFile(/tmp/multipartBody4779300345408622814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427545422,"filename":"image_23042025_18_57_13_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a0caa049bf9c9e816772f165d699a54.jpg","text":"TemporaryFile(/tmp/multipartBody2450973442357916116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427545422,"filename":"image_23042025_18_56_54_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/992ba873a30dc96d3eccf16817fb92e2.jpg","text":"TemporaryFile(/tmp/multipartBody7800314702866751339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427545422,"filename":"image_23042025_18_57_44_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23b9c6b268074a3fab763aa20b49a3dc.jpg","text":"TemporaryFile(/tmp/multipartBody1387637552156074253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427545422,"filename":"image_23042025_18_57_24_10675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353121385","file1":"1353121382","file0":"1353121377","file4":"1353121390","file5":"1353121392","file3":"1353121387"},"map_files_photo_id_array":[{"photo_id":"1353121392","filename":"file5"},{"photo_id":"1353121385","filename":"file2"},{"photo_id":"1353121390","filename":"file4"},{"photo_id":"1353121382","filename":"file1"},{"photo_id":"1353121377","filename":"file0"},{"photo_id":"1353121387","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353121382":["hashtag1","hashtag2"]},{"1353121390":["hashtag1","hashtag2"]},{"1353121387":["hashtag1","hashtag2"]},{"1353121392":["hashtag1","hashtag2"]},{"1353121377":["hashtag1","hashtag2"]},{"1353121385":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353121382, 1353121390, 1353121387, 1353121392, 1353121377, 1353121385)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.30815124511719 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 18:59:02.856156
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_44_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_34_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_23_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_14_9762.jpg', 2), ('/home/nano/Desktop/images/23042025/18/57/image_23042025_18_58_04_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_54_10683.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_44_9646.jpg', '/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_34_10693.jpg', '/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_23_9729.jpg', '/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_14_9762.jpg', '/home/nano/Desktop/images/23042025/18/57/image_23042025_18_58_04_9698.jpg', '/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_54_10683.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_44_9646.jpg
/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_34_10693.jpg
/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_23_9729.jpg
/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_14_9762.jpg
/home/nano/Desktop/images/23042025/18/57/image_23042025_18_58_04_9698.jpg
/home/nano/Desktop/images/23042025/18/57/image_23042025_18_57_54_10683.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353121448","1353121463","1353121517","1353121456","1353121441","1353121482"],"photo_ids_order":["1353121441","1353121448","1353121456","1353121463","1353121482","1353121517"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19516785f0307f6815decaeaeaddb6ae.jpg","text":"TemporaryFile(/tmp/multipartBody6786244884436679854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427605168,"filename":"image_23042025_18_58_34_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aef160675aa6af88f52901c10b4a1a4d.jpg","text":"TemporaryFile(/tmp/multipartBody2789055443687259036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427605168,"filename":"image_23042025_18_58_14_9762.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d05b0ed004358cfb1c3813fba41ac7d6.jpg","text":"TemporaryFile(/tmp/multipartBody4540897284474996887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427605168,"filename":"image_23042025_18_57_54_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0756c88b10671f1355d7248ab280d018.jpg","text":"TemporaryFile(/tmp/multipartBody5303759791670207365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427605168,"filename":"image_23042025_18_58_23_9729.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f9c96c408235377cd6ae682626da636.jpg","text":"TemporaryFile(/tmp/multipartBody3937885334455960224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427605168,"filename":"image_23042025_18_58_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b8da779cbf539bf8819a0a14f088540.jpg","text":"TemporaryFile(/tmp/multipartBody8619108734925413125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427605168,"filename":"image_23042025_18_58_04_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353121456","file1":"1353121448","file0":"1353121441","file4":"1353121482","file5":"1353121517","file3":"1353121463"},"map_files_photo_id_array":[{"photo_id":"1353121517","filename":"file5"},{"photo_id":"1353121456","filename":"file2"},{"photo_id":"1353121482","filename":"file4"},{"photo_id":"1353121448","filename":"file1"},{"photo_id":"1353121441","filename":"file0"},{"photo_id":"1353121463","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353121448":["hashtag1","hashtag2"]},{"1353121463":["hashtag1","hashtag2"]},{"1353121517":["hashtag1","hashtag2"]},{"1353121456":["hashtag1","hashtag2"]},{"1353121441":["hashtag1","hashtag2"]},{"1353121482":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353121448, 1353121463, 1353121517, 1353121456, 1353121441, 1353121482)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.871206760406494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:00:02.546282
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_44_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_34_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_23_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_14_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/18/58/image_23042025_18_59_04_10708.jpg', 2), ('/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_53_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_44_9665.jpg', '/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_34_10681.jpg', '/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_23_9713.jpg', '/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_14_9684.jpg', '/home/nano/Desktop/images/23042025/18/58/image_23042025_18_59_04_10708.jpg', '/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_53_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_44_9665.jpg
/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_34_10681.jpg
/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_23_9713.jpg
/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_14_9684.jpg
/home/nano/Desktop/images/23042025/18/58/image_23042025_18_59_04_10708.jpg
/home/nano/Desktop/images/23042025/18/58/image_23042025_18_58_53_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353122191","1353122122","1353122319","1353122381","1353122492","1353122435"],"photo_ids_order":["1353122122","1353122191","1353122319","1353122381","1353122435","1353122492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c85e4d436844549048613946fefd59d.jpg","text":"TemporaryFile(/tmp/multipartBody7162563715003501027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427664592,"filename":"image_23042025_18_59_34_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/966590ffe3eea5138ee3aab26ae41eda.jpg","text":"TemporaryFile(/tmp/multipartBody4753030561625833041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427664592,"filename":"image_23042025_18_59_44_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88b1811c6ee2bcafbec1dc7f40a5b753.jpg","text":"TemporaryFile(/tmp/multipartBody7190650210584866073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427664592,"filename":"image_23042025_18_59_23_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09a3935e4e8057b2ce939607fd01a3f1.jpg","text":"TemporaryFile(/tmp/multipartBody5289775124527263633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427664592,"filename":"image_23042025_18_59_14_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4765448b2b4f22f15f52047bb7d0d64a.jpg","text":"TemporaryFile(/tmp/multipartBody5707902537781495764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427664592,"filename":"image_23042025_18_58_53_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc1cdaecbc0f9b4c9c6add3967ccdaa1.jpg","text":"TemporaryFile(/tmp/multipartBody971674059587519592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427664592,"filename":"image_23042025_18_59_04_10708.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353122319","file1":"1353122191","file0":"1353122122","file4":"1353122435","file5":"1353122492","file3":"1353122381"},"map_files_photo_id_array":[{"photo_id":"1353122492","filename":"file5"},{"photo_id":"1353122319","filename":"file2"},{"photo_id":"1353122435","filename":"file4"},{"photo_id":"1353122191","filename":"file1"},{"photo_id":"1353122122","filename":"file0"},{"photo_id":"1353122381","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353122191":["hashtag1","hashtag2"]},{"1353122122":["hashtag1","hashtag2"]},{"1353122319":["hashtag1","hashtag2"]},{"1353122381":["hashtag1","hashtag2"]},{"1353122492":["hashtag1","hashtag2"]},{"1353122435":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353122191, 1353122122, 1353122319, 1353122381, 1353122492, 1353122435)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.55017590522766 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:01:02.551068
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_44_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_34_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_24_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_14_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/18/59/image_23042025_19_00_04_10709.jpg', 2), ('/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_54_9673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_44_9653.jpg', '/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_34_10680.jpg', '/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_24_9648.jpg', '/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_14_9674.jpg', '/home/nano/Desktop/images/23042025/18/59/image_23042025_19_00_04_10709.jpg', '/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_54_9673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_44_9653.jpg
/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_34_10680.jpg
/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_24_9648.jpg
/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_14_9674.jpg
/home/nano/Desktop/images/23042025/18/59/image_23042025_19_00_04_10709.jpg
/home/nano/Desktop/images/23042025/18/59/image_23042025_18_59_54_9673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353123091","1353122900","1353123123","1353122928","1353123032","1353122981"],"photo_ids_order":["1353122900","1353122928","1353122981","1353123032","1353123091","1353123123"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/126842db818a9669dbe91d39cb04a51c.jpg","text":"TemporaryFile(/tmp/multipartBody3867208290783954738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427724449,"filename":"image_23042025_19_00_04_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd155195d673b96aaa0206922f932c97.jpg","text":"TemporaryFile(/tmp/multipartBody6948173194436912037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427724449,"filename":"image_23042025_19_00_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d17f0dfb892d9e808c293098f255dff.jpg","text":"TemporaryFile(/tmp/multipartBody2131668488509020265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427724449,"filename":"image_23042025_18_59_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5da1e164d634070b857ef1c95cbbf2b.jpg","text":"TemporaryFile(/tmp/multipartBody2805657870844902215asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427724449,"filename":"image_23042025_19_00_34_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8808d1f0b4adbaa72942225710e8c5b0.jpg","text":"TemporaryFile(/tmp/multipartBody5096009626306246321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427724449,"filename":"image_23042025_19_00_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ea21cadca0a739c9dae78a4f1a6f9ea.jpg","text":"TemporaryFile(/tmp/multipartBody1542533422170565355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427724449,"filename":"image_23042025_19_00_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353122981","file1":"1353122928","file0":"1353122900","file4":"1353123091","file5":"1353123123","file3":"1353123032"},"map_files_photo_id_array":[{"photo_id":"1353123123","filename":"file5"},{"photo_id":"1353122981","filename":"file2"},{"photo_id":"1353123091","filename":"file4"},{"photo_id":"1353122928","filename":"file1"},{"photo_id":"1353122900","filename":"file0"},{"photo_id":"1353123032","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353123091":["hashtag1","hashtag2"]},{"1353122900":["hashtag1","hashtag2"]},{"1353123123":["hashtag1","hashtag2"]},{"1353122928":["hashtag1","hashtag2"]},{"1353123032":["hashtag1","hashtag2"]},{"1353122981":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353123091, 1353122900, 1353123123, 1353122928, 1353123032, 1353122981)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.620985984802246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:02:02.717258
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_44_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_34_10679.jpg', 2), ('/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_24_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_14_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/19/00/image_23042025_19_01_04_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_44_9653.jpg', '/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_34_10679.jpg', '/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_24_9630.jpg', '/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_14_9682.jpg', '/home/nano/Desktop/images/23042025/19/00/image_23042025_19_01_04_10687.jpg', '/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_44_9653.jpg
/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_34_10679.jpg
/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_24_9630.jpg
/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_14_9682.jpg
/home/nano/Desktop/images/23042025/19/00/image_23042025_19_01_04_10687.jpg
/home/nano/Desktop/images/23042025/19/00/image_23042025_19_00_54_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353123901","1353123805","1353123654","1353123486","1353123726","1353123586"],"photo_ids_order":["1353123486","1353123586","1353123654","1353123726","1353123805","1353123901"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2869c661ad37bb2db1583c253b52ea95.jpg","text":"TemporaryFile(/tmp/multipartBody4596168308646499395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427784647,"filename":"image_23042025_19_00_54_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2dc70afd2b6d02e8154c0a0649878e2.jpg","text":"TemporaryFile(/tmp/multipartBody5687444941714084614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427784647,"filename":"image_23042025_19_01_04_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f83caf5163703c1b9b3a02d00c766140.jpg","text":"TemporaryFile(/tmp/multipartBody7271110203627940102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427784647,"filename":"image_23042025_19_01_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2459cbf84b6758643c09865dda8ed8a4.jpg","text":"TemporaryFile(/tmp/multipartBody6172439645238812111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427784647,"filename":"image_23042025_19_01_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/284354613eb78194d74e6f72d6e7cd73.jpg","text":"TemporaryFile(/tmp/multipartBody3802974537904641141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427784647,"filename":"image_23042025_19_01_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3368452bee8f7389d21313bbd256e8b8.jpg","text":"TemporaryFile(/tmp/multipartBody1731717103468176490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427784647,"filename":"image_23042025_19_01_34_10679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353123654","file1":"1353123586","file0":"1353123486","file4":"1353123805","file5":"1353123901","file3":"1353123726"},"map_files_photo_id_array":[{"photo_id":"1353123901","filename":"file5"},{"photo_id":"1353123654","filename":"file2"},{"photo_id":"1353123805","filename":"file4"},{"photo_id":"1353123586","filename":"file1"},{"photo_id":"1353123486","filename":"file0"},{"photo_id":"1353123726","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353123901":["hashtag1","hashtag2"]},{"1353123805":["hashtag1","hashtag2"]},{"1353123654":["hashtag1","hashtag2"]},{"1353123486":["hashtag1","hashtag2"]},{"1353123726":["hashtag1","hashtag2"]},{"1353123586":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353123901, 1353123805, 1353123654, 1353123486, 1353123726, 1353123586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.9768500328064 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:03:02.997907
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_44_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_34_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_24_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_14_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/19/01/image_23042025_19_02_04_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_54_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_44_9636.jpg', '/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_34_10680.jpg', '/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_24_9639.jpg', '/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_14_9661.jpg', '/home/nano/Desktop/images/23042025/19/01/image_23042025_19_02_04_10674.jpg', '/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_54_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_44_9636.jpg
/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_34_10680.jpg
/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_24_9639.jpg
/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_14_9661.jpg
/home/nano/Desktop/images/23042025/19/01/image_23042025_19_02_04_10674.jpg
/home/nano/Desktop/images/23042025/19/01/image_23042025_19_01_54_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353124485","1353124423","1353124623","1353124697","1353124661","1353124534"],"photo_ids_order":["1353124423","1353124485","1353124534","1353124623","1353124661","1353124697"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ea3c1b9ef6a0dcbbb7db15db4f2a7b9.jpg","text":"TemporaryFile(/tmp/multipartBody2682687445644331575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427844797,"filename":"image_23042025_19_02_34_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f92fe4c248f9a46109d8d68850e9eb23.jpg","text":"TemporaryFile(/tmp/multipartBody7066862132185850042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427844797,"filename":"image_23042025_19_02_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c973e9669915ecce1816013ba0edc209.jpg","text":"TemporaryFile(/tmp/multipartBody4881597198141678255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427844797,"filename":"image_23042025_19_02_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d358f590483432a0b892a887003f3b58.jpg","text":"TemporaryFile(/tmp/multipartBody7451938352472040689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427844797,"filename":"image_23042025_19_01_54_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbda53810a808104d1544be142d47ce9.jpg","text":"TemporaryFile(/tmp/multipartBody722279299990494216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427844797,"filename":"image_23042025_19_02_04_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39c6157490a996591924c814b9084b3b.jpg","text":"TemporaryFile(/tmp/multipartBody2119939259725767636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427844797,"filename":"image_23042025_19_02_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353124534","file1":"1353124485","file0":"1353124423","file4":"1353124661","file5":"1353124697","file3":"1353124623"},"map_files_photo_id_array":[{"photo_id":"1353124697","filename":"file5"},{"photo_id":"1353124534","filename":"file2"},{"photo_id":"1353124661","filename":"file4"},{"photo_id":"1353124485","filename":"file1"},{"photo_id":"1353124423","filename":"file0"},{"photo_id":"1353124623","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353124485":["hashtag1","hashtag2"]},{"1353124423":["hashtag1","hashtag2"]},{"1353124623":["hashtag1","hashtag2"]},{"1353124697":["hashtag1","hashtag2"]},{"1353124661":["hashtag1","hashtag2"]},{"1353124534":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353124485, 1353124423, 1353124623, 1353124697, 1353124661, 1353124534)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.84427189826965 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:04:03.063778
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_44_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_34_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_23_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_14_9690.jpg', 2), ('/home/nano/Desktop/images/23042025/19/02/image_23042025_19_03_04_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_53_9625.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_44_9631.jpg', '/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_34_10645.jpg', '/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_23_9655.jpg', '/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_14_9690.jpg', '/home/nano/Desktop/images/23042025/19/02/image_23042025_19_03_04_10650.jpg', '/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_53_9625.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_44_9631.jpg
/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_34_10645.jpg
/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_23_9655.jpg
/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_14_9690.jpg
/home/nano/Desktop/images/23042025/19/02/image_23042025_19_03_04_10650.jpg
/home/nano/Desktop/images/23042025/19/02/image_23042025_19_02_53_9625.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353125145","1353125141","1353125159","1353125114","1353125152","1353125002"],"photo_ids_order":["1353125002","1353125114","1353125141","1353125145","1353125152","1353125159"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc72b3725ec9f0facebec5206727f059.jpg","text":"TemporaryFile(/tmp/multipartBody6230502499203602937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427905167,"filename":"image_23042025_19_03_14_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fadde9c2b626528826a54c5a7846db6.jpg","text":"TemporaryFile(/tmp/multipartBody4552855571121162695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427905167,"filename":"image_23042025_19_03_23_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73fbe32b50115c5c86784b1d5241ac37.jpg","text":"TemporaryFile(/tmp/multipartBody8670764662578179248asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427905167,"filename":"image_23042025_19_02_53_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a00bd2b820999634273a8ffee3067b61.jpg","text":"TemporaryFile(/tmp/multipartBody2118076252787139191asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427905167,"filename":"image_23042025_19_03_34_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d4455ceffbe8b2fbfd8da056e4579a5.jpg","text":"TemporaryFile(/tmp/multipartBody1771024291566136863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427905167,"filename":"image_23042025_19_03_04_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36389a2a8a6b4325d609535b578642c3.jpg","text":"TemporaryFile(/tmp/multipartBody359179232805473718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427905167,"filename":"image_23042025_19_03_44_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353125141","file1":"1353125114","file0":"1353125002","file4":"1353125152","file5":"1353125159","file3":"1353125145"},"map_files_photo_id_array":[{"photo_id":"1353125159","filename":"file5"},{"photo_id":"1353125141","filename":"file2"},{"photo_id":"1353125152","filename":"file4"},{"photo_id":"1353125114","filename":"file1"},{"photo_id":"1353125002","filename":"file0"},{"photo_id":"1353125145","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353125145":["hashtag1","hashtag2"]},{"1353125141":["hashtag1","hashtag2"]},{"1353125159":["hashtag1","hashtag2"]},{"1353125114":["hashtag1","hashtag2"]},{"1353125152":["hashtag1","hashtag2"]},{"1353125002":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353125145, 1353125141, 1353125159, 1353125114, 1353125152, 1353125002)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.329665660858154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:05:03.173091
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_44_9619.jpg', 2), ('/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_34_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_24_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_14_9624.jpg', 2), ('/home/nano/Desktop/images/23042025/19/03/image_23042025_19_04_04_10631.jpg', 2), ('/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_53_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_44_9619.jpg', '/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_34_9628.jpg', '/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_24_10633.jpg', '/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_14_9624.jpg', '/home/nano/Desktop/images/23042025/19/03/image_23042025_19_04_04_10631.jpg', '/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_53_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_44_9619.jpg
/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_34_9628.jpg
/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_24_10633.jpg
/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_14_9624.jpg
/home/nano/Desktop/images/23042025/19/03/image_23042025_19_04_04_10631.jpg
/home/nano/Desktop/images/23042025/19/03/image_23042025_19_03_53_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353125475","1353125520","1353125415","1353125372","1353125339","1353125302"],"photo_ids_order":["1353125302","1353125339","1353125372","1353125415","1353125475","1353125520"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/660e92e860d5eef53c5c9a93cfdc101f.jpg","text":"TemporaryFile(/tmp/multipartBody5427244600698206916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427964943,"filename":"image_23042025_19_04_04_10631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51d709b44da2381b57a00d4bd0497e50.jpg","text":"TemporaryFile(/tmp/multipartBody4972087835669736605asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427964943,"filename":"image_23042025_19_03_53_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b20a8bbab4904ea462e877395f71efb6.jpg","text":"TemporaryFile(/tmp/multipartBody5126290236136685614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427964943,"filename":"image_23042025_19_04_14_9624.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f8747e325aaa3d4588e850ed1d23ccc.jpg","text":"TemporaryFile(/tmp/multipartBody7127261420919885942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427964943,"filename":"image_23042025_19_04_24_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2da8a055e59b15abb03fa22ef5abb41.jpg","text":"TemporaryFile(/tmp/multipartBody6042545799856145030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427964943,"filename":"image_23042025_19_04_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb281703c03d7d6e4ea62a7da587d00f.jpg","text":"TemporaryFile(/tmp/multipartBody8567283727180438917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745427964943,"filename":"image_23042025_19_04_44_9619.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353125372","file1":"1353125339","file0":"1353125302","file4":"1353125475","file5":"1353125520","file3":"1353125415"},"map_files_photo_id_array":[{"photo_id":"1353125520","filename":"file5"},{"photo_id":"1353125372","filename":"file2"},{"photo_id":"1353125475","filename":"file4"},{"photo_id":"1353125339","filename":"file1"},{"photo_id":"1353125302","filename":"file0"},{"photo_id":"1353125415","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353125475":["hashtag1","hashtag2"]},{"1353125520":["hashtag1","hashtag2"]},{"1353125415":["hashtag1","hashtag2"]},{"1353125372":["hashtag1","hashtag2"]},{"1353125339":["hashtag1","hashtag2"]},{"1353125302":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353125475, 1353125520, 1353125415, 1353125372, 1353125339, 1353125302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64879393577576 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:06:03.092250
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_44_10624.jpg', 2), ('/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_34_9604.jpg', 2), ('/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_24_10612.jpg', 2), ('/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_13_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/19/04/image_23042025_19_05_04_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_54_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_44_10624.jpg', '/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_34_9604.jpg', '/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_24_10612.jpg', '/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_13_9635.jpg', '/home/nano/Desktop/images/23042025/19/04/image_23042025_19_05_04_9620.jpg', '/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_54_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_44_10624.jpg
/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_34_9604.jpg
/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_24_10612.jpg
/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_13_9635.jpg
/home/nano/Desktop/images/23042025/19/04/image_23042025_19_05_04_9620.jpg
/home/nano/Desktop/images/23042025/19/04/image_23042025_19_04_54_10613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353127106","1353127072","1353127141","1353127006","1353127041","1353126972"],"photo_ids_order":["1353126972","1353127006","1353127041","1353127072","1353127106","1353127141"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49ce2c6a5b0b9c8602ee05557c7b3dc1.jpg","text":"TemporaryFile(/tmp/multipartBody7646162513600458646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428024633,"filename":"image_23042025_19_05_04_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d6abceee28954c7cbf0f847e19e9f19.jpg","text":"TemporaryFile(/tmp/multipartBody5988985803607984429asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428024633,"filename":"image_23042025_19_05_13_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff971cc581fb78ec202bb6982e8fc60b.jpg","text":"TemporaryFile(/tmp/multipartBody9053083346591377850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428024633,"filename":"image_23042025_19_04_54_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3287ae42657ebd623307ea9e72d706d.jpg","text":"TemporaryFile(/tmp/multipartBody3070671596701939201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428024633,"filename":"image_23042025_19_05_34_9604.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1aca0af32b6f87669000de9634cafb6.jpg","text":"TemporaryFile(/tmp/multipartBody2801313440947382126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428024633,"filename":"image_23042025_19_05_24_10612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8516e2fa4423c68570cdf55b4033a0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3315437830974685878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428024633,"filename":"image_23042025_19_05_44_10624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353127041","file1":"1353127006","file0":"1353126972","file4":"1353127106","file5":"1353127141","file3":"1353127072"},"map_files_photo_id_array":[{"photo_id":"1353127141","filename":"file5"},{"photo_id":"1353127041","filename":"file2"},{"photo_id":"1353127106","filename":"file4"},{"photo_id":"1353127006","filename":"file1"},{"photo_id":"1353126972","filename":"file0"},{"photo_id":"1353127072","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353127106":["hashtag1","hashtag2"]},{"1353127072":["hashtag1","hashtag2"]},{"1353127141":["hashtag1","hashtag2"]},{"1353127006":["hashtag1","hashtag2"]},{"1353127041":["hashtag1","hashtag2"]},{"1353126972":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353127106, 1353127072, 1353127141, 1353127006, 1353127041, 1353126972)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.946486949920654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:07:03.216577
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_44_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_34_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_24_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_14_10705.jpg', 2), ('/home/nano/Desktop/images/23042025/19/05/image_23042025_19_06_04_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_54_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_44_10674.jpg', '/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_34_9636.jpg', '/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_24_9644.jpg', '/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_14_10705.jpg', '/home/nano/Desktop/images/23042025/19/05/image_23042025_19_06_04_9622.jpg', '/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_54_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_44_10674.jpg
/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_34_9636.jpg
/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_24_9644.jpg
/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_14_10705.jpg
/home/nano/Desktop/images/23042025/19/05/image_23042025_19_06_04_9622.jpg
/home/nano/Desktop/images/23042025/19/05/image_23042025_19_05_54_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353127904","1353127829","1353127699","1353127873","1353127726","1353127940"],"photo_ids_order":["1353127699","1353127726","1353127829","1353127873","1353127904","1353127940"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1b036046f808e8e3ce73f50e99ce712.jpg","text":"TemporaryFile(/tmp/multipartBody8744101460970884778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428085242,"filename":"image_23042025_19_06_04_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7fa8a03204fc8d77ea22c8388437b0d.jpg","text":"TemporaryFile(/tmp/multipartBody2307181627326130327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428085242,"filename":"image_23042025_19_06_24_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47e9c0984d4076ce3269f6b56d7a21c6.jpg","text":"TemporaryFile(/tmp/multipartBody2404091100628954098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428085242,"filename":"image_23042025_19_06_44_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05d99092020807363f4255bbb795276c.jpg","text":"TemporaryFile(/tmp/multipartBody5645072450547433015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428085242,"filename":"image_23042025_19_06_14_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/70a53ac42ba89043b16c4017261251a3.jpg","text":"TemporaryFile(/tmp/multipartBody58451598541924235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428085242,"filename":"image_23042025_19_06_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c522bce8389d42dbd71691205b288f42.jpg","text":"TemporaryFile(/tmp/multipartBody4922163865547857121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428085242,"filename":"image_23042025_19_05_54_9643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353127829","file1":"1353127726","file0":"1353127699","file4":"1353127904","file5":"1353127940","file3":"1353127873"},"map_files_photo_id_array":[{"photo_id":"1353127940","filename":"file5"},{"photo_id":"1353127829","filename":"file2"},{"photo_id":"1353127904","filename":"file4"},{"photo_id":"1353127726","filename":"file1"},{"photo_id":"1353127699","filename":"file0"},{"photo_id":"1353127873","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353127904":["hashtag1","hashtag2"]},{"1353127829":["hashtag1","hashtag2"]},{"1353127699":["hashtag1","hashtag2"]},{"1353127873":["hashtag1","hashtag2"]},{"1353127726":["hashtag1","hashtag2"]},{"1353127940":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353127904, 1353127829, 1353127699, 1353127873, 1353127726, 1353127940)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.88237905502319 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:08:03.232096
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_44_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_34_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_24_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_14_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/19/06/image_23042025_19_07_03_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_44_10681.jpg', '/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_34_9662.jpg', '/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_24_9670.jpg', '/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_14_10718.jpg', '/home/nano/Desktop/images/23042025/19/06/image_23042025_19_07_03_9653.jpg', '/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_44_10681.jpg
/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_34_9662.jpg
/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_24_9670.jpg
/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_14_10718.jpg
/home/nano/Desktop/images/23042025/19/06/image_23042025_19_07_03_9653.jpg
/home/nano/Desktop/images/23042025/19/06/image_23042025_19_06_54_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353128074","1353128091","1353128093","1353128087","1353128063","1353128057"],"photo_ids_order":["1353128057","1353128063","1353128074","1353128087","1353128091","1353128093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08f5d5615b76fb76243f8a13d1fc419b.jpg","text":"TemporaryFile(/tmp/multipartBody612678545968475673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428144724,"filename":"image_23042025_19_07_24_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78693c16a1e8650085976be2ef272a44.jpg","text":"TemporaryFile(/tmp/multipartBody7006517471446879781asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428144724,"filename":"image_23042025_19_07_03_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a92c898a665f4456194f40fbbc24ee4.jpg","text":"TemporaryFile(/tmp/multipartBody2239650776642530323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428144724,"filename":"image_23042025_19_06_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/344cf411a2bfb7974c3b7edb54166ca9.jpg","text":"TemporaryFile(/tmp/multipartBody3348222286810321701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428144724,"filename":"image_23042025_19_07_14_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1a99048f371cf4a71935b6dbdc5de6e.jpg","text":"TemporaryFile(/tmp/multipartBody5456437886752931196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428144724,"filename":"image_23042025_19_07_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e50f64cda574959a2147fc7ca8c7fba.jpg","text":"TemporaryFile(/tmp/multipartBody5228754292416585164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428144724,"filename":"image_23042025_19_07_44_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353128074","file1":"1353128063","file0":"1353128057","file4":"1353128091","file5":"1353128093","file3":"1353128087"},"map_files_photo_id_array":[{"photo_id":"1353128093","filename":"file5"},{"photo_id":"1353128074","filename":"file2"},{"photo_id":"1353128091","filename":"file4"},{"photo_id":"1353128063","filename":"file1"},{"photo_id":"1353128057","filename":"file0"},{"photo_id":"1353128087","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353128074":["hashtag1","hashtag2"]},{"1353128091":["hashtag1","hashtag2"]},{"1353128093":["hashtag1","hashtag2"]},{"1353128087":["hashtag1","hashtag2"]},{"1353128063":["hashtag1","hashtag2"]},{"1353128057":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353128074, 1353128091, 1353128093, 1353128087, 1353128063, 1353128057)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.857487201690674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:09:02.696125
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_44_10682.jpg', 2), ('/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_33_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_24_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_14_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/19/07/image_23042025_19_08_03_9585.jpg', 2), ('/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_44_10682.jpg', '/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_33_9650.jpg', '/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_24_9662.jpg', '/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_14_10701.jpg', '/home/nano/Desktop/images/23042025/19/07/image_23042025_19_08_03_9585.jpg', '/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_44_10682.jpg
/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_33_9650.jpg
/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_24_9662.jpg
/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_14_10701.jpg
/home/nano/Desktop/images/23042025/19/07/image_23042025_19_08_03_9585.jpg
/home/nano/Desktop/images/23042025/19/07/image_23042025_19_07_54_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353128566","1353128458","1353128682","1353128334","1353128910","1353128786"],"photo_ids_order":["1353128334","1353128458","1353128566","1353128682","1353128786","1353128910"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fecd62012b6217ed9f5b6022b4605711.jpg","text":"TemporaryFile(/tmp/multipartBody2984633621875005905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428204916,"filename":"image_23042025_19_08_24_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09a912f65cda8766eb3f030aaa5f2d22.jpg","text":"TemporaryFile(/tmp/multipartBody9141257312450686108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428204916,"filename":"image_23042025_19_08_33_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74f17453213aa08fef963dbe14cba6ae.jpg","text":"TemporaryFile(/tmp/multipartBody2437085333701758108asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428204916,"filename":"image_23042025_19_08_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d8e190991e4c45f3e504c55139a5bd2.jpg","text":"TemporaryFile(/tmp/multipartBody2212287558017317151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428204916,"filename":"image_23042025_19_08_44_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf15ae6894f8e329eeb71d9b0f2d0816.jpg","text":"TemporaryFile(/tmp/multipartBody5593320671342412363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428204916,"filename":"image_23042025_19_07_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/417ef7626d7b5c12c20175b56c28e685.jpg","text":"TemporaryFile(/tmp/multipartBody1814658040065458057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428204916,"filename":"image_23042025_19_08_03_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353128566","file1":"1353128458","file0":"1353128334","file4":"1353128786","file5":"1353128910","file3":"1353128682"},"map_files_photo_id_array":[{"photo_id":"1353128910","filename":"file5"},{"photo_id":"1353128566","filename":"file2"},{"photo_id":"1353128786","filename":"file4"},{"photo_id":"1353128458","filename":"file1"},{"photo_id":"1353128334","filename":"file0"},{"photo_id":"1353128682","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353128566":["hashtag1","hashtag2"]},{"1353128458":["hashtag1","hashtag2"]},{"1353128682":["hashtag1","hashtag2"]},{"1353128334":["hashtag1","hashtag2"]},{"1353128910":["hashtag1","hashtag2"]},{"1353128786":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353128566, 1353128458, 1353128682, 1353128334, 1353128910, 1353128786)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92045783996582 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:10:02.453738
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_44_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_33_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_24_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_14_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/19/08/image_23042025_19_09_03_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_54_9647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_44_10678.jpg', '/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_33_9654.jpg', '/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_24_9659.jpg', '/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_14_10673.jpg', '/home/nano/Desktop/images/23042025/19/08/image_23042025_19_09_03_9635.jpg', '/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_54_9647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_44_10678.jpg
/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_33_9654.jpg
/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_24_9659.jpg
/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_14_10673.jpg
/home/nano/Desktop/images/23042025/19/08/image_23042025_19_09_03_9635.jpg
/home/nano/Desktop/images/23042025/19/08/image_23042025_19_08_54_9647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353129403","1353129243","1353129470","1353129293","1353129521","1353129347"],"photo_ids_order":["1353129243","1353129293","1353129347","1353129403","1353129470","1353129521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e984790b08a98c97b4aed3e077988025.jpg","text":"TemporaryFile(/tmp/multipartBody4957694042270249182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428264345,"filename":"image_23042025_19_09_14_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/397e2880a36e9d65eb3c397aa2487639.jpg","text":"TemporaryFile(/tmp/multipartBody362068097395186046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428264345,"filename":"image_23042025_19_09_44_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/58ada7c0e23b9721bff2c6ef97ac30e9.jpg","text":"TemporaryFile(/tmp/multipartBody5154122726747081267asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428264345,"filename":"image_23042025_19_09_03_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e95ec2bbb87c93938410f0f7449dc19.jpg","text":"TemporaryFile(/tmp/multipartBody3774923798431487367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428264345,"filename":"image_23042025_19_09_33_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a63564f33170c6882ed268126dbebc08.jpg","text":"TemporaryFile(/tmp/multipartBody5255074233180877520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428264345,"filename":"image_23042025_19_08_54_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e88ce6fc31e90d62d7f8ea42d8dc1a0.jpg","text":"TemporaryFile(/tmp/multipartBody7662710339008321542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428264345,"filename":"image_23042025_19_09_24_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353129347","file1":"1353129293","file0":"1353129243","file4":"1353129470","file5":"1353129521","file3":"1353129403"},"map_files_photo_id_array":[{"photo_id":"1353129521","filename":"file5"},{"photo_id":"1353129347","filename":"file2"},{"photo_id":"1353129470","filename":"file4"},{"photo_id":"1353129293","filename":"file1"},{"photo_id":"1353129243","filename":"file0"},{"photo_id":"1353129403","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353129403":["hashtag1","hashtag2"]},{"1353129243":["hashtag1","hashtag2"]},{"1353129470":["hashtag1","hashtag2"]},{"1353129293":["hashtag1","hashtag2"]},{"1353129521":["hashtag1","hashtag2"]},{"1353129347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353129403, 1353129243, 1353129470, 1353129293, 1353129521, 1353129347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.95296335220337 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:11:02.714796
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_44_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_33_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_24_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_14_10735.jpg', 2), ('/home/nano/Desktop/images/23042025/19/09/image_23042025_19_10_03_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_44_10652.jpg', '/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_33_9648.jpg', '/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_24_9658.jpg', '/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_14_10735.jpg', '/home/nano/Desktop/images/23042025/19/09/image_23042025_19_10_03_9680.jpg', '/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_44_10652.jpg
/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_33_9648.jpg
/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_24_9658.jpg
/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_14_10735.jpg
/home/nano/Desktop/images/23042025/19/09/image_23042025_19_10_03_9680.jpg
/home/nano/Desktop/images/23042025/19/09/image_23042025_19_09_54_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353129907","1353130051","1353129969","1353129933","1353129854","1353129883"],"photo_ids_order":["1353129854","1353129883","1353129907","1353129933","1353129969","1353130051"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f7e7d91643885c2a1b1af124a5a9b6b.jpg","text":"TemporaryFile(/tmp/multipartBody1801928490055423505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428324379,"filename":"image_23042025_19_10_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e4273742657792530a86bc366d0c139.jpg","text":"TemporaryFile(/tmp/multipartBody8762589895185767015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428324379,"filename":"image_23042025_19_09_54_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/facc4f6b4eb117845292dd4cd699ff92.jpg","text":"TemporaryFile(/tmp/multipartBody1172906984226959281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428324379,"filename":"image_23042025_19_10_03_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eff21ded4fd2217d2dc44c875ea165ef.jpg","text":"TemporaryFile(/tmp/multipartBody865796898762871706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428324379,"filename":"image_23042025_19_10_14_10735.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a70cf4c8366518cf9e3b6e09d3bcbc2.jpg","text":"TemporaryFile(/tmp/multipartBody2101799660665136965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428324379,"filename":"image_23042025_19_10_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3373ebb87537fab07b790dd88e564cd.jpg","text":"TemporaryFile(/tmp/multipartBody2629613684558745902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428324379,"filename":"image_23042025_19_10_33_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353129907","file1":"1353129883","file0":"1353129854","file4":"1353129969","file5":"1353130051","file3":"1353129933"},"map_files_photo_id_array":[{"photo_id":"1353130051","filename":"file5"},{"photo_id":"1353129907","filename":"file2"},{"photo_id":"1353129969","filename":"file4"},{"photo_id":"1353129883","filename":"file1"},{"photo_id":"1353129854","filename":"file0"},{"photo_id":"1353129933","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353129907":["hashtag1","hashtag2"]},{"1353130051":["hashtag1","hashtag2"]},{"1353129969":["hashtag1","hashtag2"]},{"1353129933":["hashtag1","hashtag2"]},{"1353129854":["hashtag1","hashtag2"]},{"1353129883":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353129907, 1353130051, 1353129969, 1353129933, 1353129854, 1353129883)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.86240196228027 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:12:02.731406
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_44_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_33_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_24_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_14_10716.jpg', 2), ('/home/nano/Desktop/images/23042025/19/10/image_23042025_19_11_03_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_44_10668.jpg', '/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_33_9670.jpg', '/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_24_9658.jpg', '/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_14_10716.jpg', '/home/nano/Desktop/images/23042025/19/10/image_23042025_19_11_03_9662.jpg', '/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_44_10668.jpg
/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_33_9670.jpg
/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_24_9658.jpg
/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_14_10716.jpg
/home/nano/Desktop/images/23042025/19/10/image_23042025_19_11_03_9662.jpg
/home/nano/Desktop/images/23042025/19/10/image_23042025_19_10_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353130384","1353130411","1353130408","1353130392","1353130397","1353130403"],"photo_ids_order":["1353130384","1353130392","1353130397","1353130403","1353130408","1353130411"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e57d25a17dc2b12a864e5c0927d74fc.jpg","text":"TemporaryFile(/tmp/multipartBody2785687680521799904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428384770,"filename":"image_23042025_19_11_44_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/249d8fb1e0111ec45e6d4764eb616232.jpg","text":"TemporaryFile(/tmp/multipartBody5604355670138676448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428384770,"filename":"image_23042025_19_10_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90f8c2c1a0139db6523ec7116abe8268.jpg","text":"TemporaryFile(/tmp/multipartBody4997116828404238147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428384770,"filename":"image_23042025_19_11_03_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eae12f8df5e6d0ab7fb2a774a5a52c6b.jpg","text":"TemporaryFile(/tmp/multipartBody2592247914715201289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428384770,"filename":"image_23042025_19_11_33_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/810819666b273482aa0cffe464551197.jpg","text":"TemporaryFile(/tmp/multipartBody3928412307674334997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428384770,"filename":"image_23042025_19_11_24_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42c66f6d0cde5dc9cce0a7b1b85d8581.jpg","text":"TemporaryFile(/tmp/multipartBody7730546875812782077asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428384770,"filename":"image_23042025_19_11_14_10716.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353130397","file1":"1353130392","file0":"1353130384","file4":"1353130408","file5":"1353130411","file3":"1353130403"},"map_files_photo_id_array":[{"photo_id":"1353130411","filename":"file5"},{"photo_id":"1353130397","filename":"file2"},{"photo_id":"1353130408","filename":"file4"},{"photo_id":"1353130392","filename":"file1"},{"photo_id":"1353130384","filename":"file0"},{"photo_id":"1353130403","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353130384":["hashtag1","hashtag2"]},{"1353130411":["hashtag1","hashtag2"]},{"1353130408":["hashtag1","hashtag2"]},{"1353130392":["hashtag1","hashtag2"]},{"1353130397":["hashtag1","hashtag2"]},{"1353130403":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353130384, 1353130411, 1353130408, 1353130392, 1353130397, 1353130403)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64253854751587 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:13:02.935202
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_44_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_33_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_24_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_14_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/19/11/image_23042025_19_12_03_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_54_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_44_10643.jpg', '/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_33_9640.jpg', '/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_24_9671.jpg', '/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_14_10687.jpg', '/home/nano/Desktop/images/23042025/19/11/image_23042025_19_12_03_9656.jpg', '/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_54_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_44_10643.jpg
/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_33_9640.jpg
/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_24_9671.jpg
/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_14_10687.jpg
/home/nano/Desktop/images/23042025/19/11/image_23042025_19_12_03_9656.jpg
/home/nano/Desktop/images/23042025/19/11/image_23042025_19_11_54_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353130663","1353130636","1353130645","1353130615","1353130692","1353130640"],"photo_ids_order":["1353130615","1353130636","1353130640","1353130645","1353130663","1353130692"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14369560af4dcdc91e6bcff340933366.jpg","text":"TemporaryFile(/tmp/multipartBody5720098987576819612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428444692,"filename":"image_23042025_19_12_03_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2e6c21db42c68bf50fa357b7a1966bf.jpg","text":"TemporaryFile(/tmp/multipartBody3506742132494983997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428444692,"filename":"image_23042025_19_12_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea78ab684f11d900fe4b2b29ba45f5df.jpg","text":"TemporaryFile(/tmp/multipartBody6558617612738791195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428444692,"filename":"image_23042025_19_12_14_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a92d74cb32a40e3387a7d3266232982.jpg","text":"TemporaryFile(/tmp/multipartBody8965823438326203630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428444692,"filename":"image_23042025_19_12_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8b3ea9eb9901d335dcd316dbc79c87a.jpg","text":"TemporaryFile(/tmp/multipartBody182152866716452662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428444692,"filename":"image_23042025_19_11_54_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a76a662aed1932d9570c3f3aff6dd4f.jpg","text":"TemporaryFile(/tmp/multipartBody4336214843075594454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428444692,"filename":"image_23042025_19_12_24_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353130640","file1":"1353130636","file0":"1353130615","file4":"1353130663","file5":"1353130692","file3":"1353130645"},"map_files_photo_id_array":[{"photo_id":"1353130692","filename":"file5"},{"photo_id":"1353130640","filename":"file2"},{"photo_id":"1353130663","filename":"file4"},{"photo_id":"1353130636","filename":"file1"},{"photo_id":"1353130615","filename":"file0"},{"photo_id":"1353130645","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353130663":["hashtag1","hashtag2"]},{"1353130636":["hashtag1","hashtag2"]},{"1353130645":["hashtag1","hashtag2"]},{"1353130615":["hashtag1","hashtag2"]},{"1353130692":["hashtag1","hashtag2"]},{"1353130640":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353130663, 1353130636, 1353130645, 1353130615, 1353130692, 1353130640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.513187646865845 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:14:03.139907
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_44_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_34_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_24_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_14_10705.jpg', 2), ('/home/nano/Desktop/images/23042025/19/12/image_23042025_19_13_03_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_54_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_44_10643.jpg', '/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_34_9664.jpg', '/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_24_9705.jpg', '/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_14_10705.jpg', '/home/nano/Desktop/images/23042025/19/12/image_23042025_19_13_03_9666.jpg', '/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_44_10643.jpg
/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_34_9664.jpg
/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_24_9705.jpg
/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_14_10705.jpg
/home/nano/Desktop/images/23042025/19/12/image_23042025_19_13_03_9666.jpg
/home/nano/Desktop/images/23042025/19/12/image_23042025_19_12_54_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353130879","1353130875","1353130884","1353130869","1353130859","1353130907"],"photo_ids_order":["1353130859","1353130869","1353130875","1353130879","1353130884","1353130907"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc556956a48523d2b6317262c6d8c7d4.jpg","text":"TemporaryFile(/tmp/multipartBody2179885182346014132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428505057,"filename":"image_23042025_19_13_14_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f02e5aa31ffa1ecdef3009aad57eb5d.jpg","text":"TemporaryFile(/tmp/multipartBody517526730765751443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428505057,"filename":"image_23042025_19_13_24_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0df8e88371f6b14d0a8065317c06e097.jpg","text":"TemporaryFile(/tmp/multipartBody3045571207968215083asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428505057,"filename":"image_23042025_19_13_03_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ee863abe580600e5e09bd15fea05a3f.jpg","text":"TemporaryFile(/tmp/multipartBody6504575520392860550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428505057,"filename":"image_23042025_19_13_34_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be05104e7ec54550c589c76db37b600f.jpg","text":"TemporaryFile(/tmp/multipartBody5357778363994782585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428505057,"filename":"image_23042025_19_13_44_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b562d25900100f9ec0cbc0b0f245c26c.jpg","text":"TemporaryFile(/tmp/multipartBody6242533843578705846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428505057,"filename":"image_23042025_19_12_54_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353130875","file1":"1353130869","file0":"1353130859","file4":"1353130884","file5":"1353130907","file3":"1353130879"},"map_files_photo_id_array":[{"photo_id":"1353130907","filename":"file5"},{"photo_id":"1353130875","filename":"file2"},{"photo_id":"1353130884","filename":"file4"},{"photo_id":"1353130869","filename":"file1"},{"photo_id":"1353130859","filename":"file0"},{"photo_id":"1353130879","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353130879":["hashtag1","hashtag2"]},{"1353130875":["hashtag1","hashtag2"]},{"1353130884":["hashtag1","hashtag2"]},{"1353130869":["hashtag1","hashtag2"]},{"1353130859":["hashtag1","hashtag2"]},{"1353130907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353130879, 1353130875, 1353130884, 1353130869, 1353130859, 1353130907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.84098529815674 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:15:03.200202
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_44_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_34_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_24_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_14_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/19/13/image_23042025_19_14_04_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_54_9689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_44_10677.jpg', '/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_34_9662.jpg', '/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_24_9652.jpg', '/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_14_10683.jpg', '/home/nano/Desktop/images/23042025/19/13/image_23042025_19_14_04_9680.jpg', '/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_54_9689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_44_10677.jpg
/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_34_9662.jpg
/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_24_9652.jpg
/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_14_10683.jpg
/home/nano/Desktop/images/23042025/19/13/image_23042025_19_14_04_9680.jpg
/home/nano/Desktop/images/23042025/19/13/image_23042025_19_13_54_9689.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131074","1353131041","1353131067","1353131078","1353131024","1353131080"],"photo_ids_order":["1353131024","1353131041","1353131067","1353131074","1353131078","1353131080"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d83725d7855b47f6300ab922af5a553.jpg","text":"TemporaryFile(/tmp/multipartBody9139484948792260758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428565105,"filename":"image_23042025_19_14_14_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc343632b1c1fc406065293e949389f5.jpg","text":"TemporaryFile(/tmp/multipartBody2112175630576348334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428565105,"filename":"image_23042025_19_14_34_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3f1e5b32eaa114f5bb7eb7b1d0f323c.jpg","text":"TemporaryFile(/tmp/multipartBody2742340057689441791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428565105,"filename":"image_23042025_19_14_24_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be0ebac0c396c404196ca01a3fea152d.jpg","text":"TemporaryFile(/tmp/multipartBody4552070627064629398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428565105,"filename":"image_23042025_19_14_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85b45f0ce91c007564e48532495cd4a9.jpg","text":"TemporaryFile(/tmp/multipartBody6194671519300972142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428565105,"filename":"image_23042025_19_14_44_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f14468cd23fadbc306d64f2ed4eb0886.jpg","text":"TemporaryFile(/tmp/multipartBody8095758581354649970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428565105,"filename":"image_23042025_19_13_54_9689.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131067","file1":"1353131041","file0":"1353131024","file4":"1353131078","file5":"1353131080","file3":"1353131074"},"map_files_photo_id_array":[{"photo_id":"1353131080","filename":"file5"},{"photo_id":"1353131067","filename":"file2"},{"photo_id":"1353131078","filename":"file4"},{"photo_id":"1353131041","filename":"file1"},{"photo_id":"1353131024","filename":"file0"},{"photo_id":"1353131074","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131074":["hashtag1","hashtag2"]},{"1353131041":["hashtag1","hashtag2"]},{"1353131067":["hashtag1","hashtag2"]},{"1353131078":["hashtag1","hashtag2"]},{"1353131024":["hashtag1","hashtag2"]},{"1353131080":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131074, 1353131041, 1353131067, 1353131078, 1353131024, 1353131080)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 48.35226011276245 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:16:03.066077
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_43_9729.jpg', 2), ('/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_34_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_24_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_14_10712.jpg', 2), ('/home/nano/Desktop/images/23042025/19/14/image_23042025_19_15_04_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_54_9722.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_43_9729.jpg', '/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_34_9689.jpg', '/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_24_9660.jpg', '/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_14_10712.jpg', '/home/nano/Desktop/images/23042025/19/14/image_23042025_19_15_04_9660.jpg', '/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_54_9722.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_43_9729.jpg
/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_34_9689.jpg
/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_24_9660.jpg
/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_14_10712.jpg
/home/nano/Desktop/images/23042025/19/14/image_23042025_19_15_04_9660.jpg
/home/nano/Desktop/images/23042025/19/14/image_23042025_19_14_54_9722.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131212","1353131209","1353131199","1353131218","1353131203","1353131176"],"photo_ids_order":["1353131176","1353131199","1353131203","1353131209","1353131212","1353131218"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d724783f5d62e2457fc1ae97af0ba86.jpg","text":"TemporaryFile(/tmp/multipartBody7916146928279703219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428624951,"filename":"image_23042025_19_15_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ef857f45d5305a57fe183c5b0f4a8ed.jpg","text":"TemporaryFile(/tmp/multipartBody6510779573259454528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428624951,"filename":"image_23042025_19_15_14_10712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b10be7ecb6f49be0d79af54b76e84b6.jpg","text":"TemporaryFile(/tmp/multipartBody1681900123295608059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428624951,"filename":"image_23042025_19_15_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd29f2107eca0f19549340e3e85815b5.jpg","text":"TemporaryFile(/tmp/multipartBody2632548937665230768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428624951,"filename":"image_23042025_19_14_54_9722.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c9a0d9848f7870d00b176b7dce638db.jpg","text":"TemporaryFile(/tmp/multipartBody7889471853608811090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428624951,"filename":"image_23042025_19_15_24_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b636e127beb2750c85229be68d381ed1.jpg","text":"TemporaryFile(/tmp/multipartBody5908596577464388976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428624951,"filename":"image_23042025_19_15_43_9729.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131203","file1":"1353131199","file0":"1353131176","file4":"1353131212","file5":"1353131218","file3":"1353131209"},"map_files_photo_id_array":[{"photo_id":"1353131218","filename":"file5"},{"photo_id":"1353131203","filename":"file2"},{"photo_id":"1353131212","filename":"file4"},{"photo_id":"1353131199","filename":"file1"},{"photo_id":"1353131176","filename":"file0"},{"photo_id":"1353131209","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131212":["hashtag1","hashtag2"]},{"1353131209":["hashtag1","hashtag2"]},{"1353131199":["hashtag1","hashtag2"]},{"1353131218":["hashtag1","hashtag2"]},{"1353131203":["hashtag1","hashtag2"]},{"1353131176":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131212, 1353131209, 1353131199, 1353131218, 1353131203, 1353131176)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.68206429481506 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:17:03.178168
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_43_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_34_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_24_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_13_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/19/15/image_23042025_19_16_04_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_43_9666.jpg', '/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_34_9687.jpg', '/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_24_10661.jpg', '/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_13_9683.jpg', '/home/nano/Desktop/images/23042025/19/15/image_23042025_19_16_04_9663.jpg', '/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_43_9666.jpg
/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_34_9687.jpg
/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_24_10661.jpg
/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_13_9683.jpg
/home/nano/Desktop/images/23042025/19/15/image_23042025_19_16_04_9663.jpg
/home/nano/Desktop/images/23042025/19/15/image_23042025_19_15_54_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131359","1353131350","1353131326","1353131355","1353131340","1353131331"],"photo_ids_order":["1353131326","1353131331","1353131340","1353131350","1353131355","1353131359"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9d2866c20085ae8d50297bb5a3522c11.jpg","text":"TemporaryFile(/tmp/multipartBody211671196842313037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428685801,"filename":"image_23042025_19_15_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acda9bc77ddc11876880335b57d71929.jpg","text":"TemporaryFile(/tmp/multipartBody5085994956707289598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428685801,"filename":"image_23042025_19_16_13_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5658a9c635a2f2b5e27cbcfc2be33c18.jpg","text":"TemporaryFile(/tmp/multipartBody1973536661518406093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428685801,"filename":"image_23042025_19_16_43_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/391c144029949d530383e59de3afe9ce.jpg","text":"TemporaryFile(/tmp/multipartBody9199348040195802953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428685801,"filename":"image_23042025_19_16_04_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3fbf3ef2104d41072a352458f326468.jpg","text":"TemporaryFile(/tmp/multipartBody2035924783829171088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428685801,"filename":"image_23042025_19_16_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2873f632000104d2bc8bfe0203596984.jpg","text":"TemporaryFile(/tmp/multipartBody4262550517846610577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428685801,"filename":"image_23042025_19_16_34_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131340","file1":"1353131331","file0":"1353131326","file4":"1353131355","file5":"1353131359","file3":"1353131350"},"map_files_photo_id_array":[{"photo_id":"1353131359","filename":"file5"},{"photo_id":"1353131340","filename":"file2"},{"photo_id":"1353131355","filename":"file4"},{"photo_id":"1353131331","filename":"file1"},{"photo_id":"1353131326","filename":"file0"},{"photo_id":"1353131350","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131359":["hashtag1","hashtag2"]},{"1353131350":["hashtag1","hashtag2"]},{"1353131326":["hashtag1","hashtag2"]},{"1353131355":["hashtag1","hashtag2"]},{"1353131340":["hashtag1","hashtag2"]},{"1353131331":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131359, 1353131350, 1353131326, 1353131355, 1353131340, 1353131331)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.65037798881531 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:18:03.236020
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_43_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_34_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_24_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_13_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/16/image_23042025_19_17_04_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_54_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_43_9670.jpg', '/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_34_9673.jpg', '/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_24_10653.jpg', '/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_13_9658.jpg', '/home/nano/Desktop/images/23042025/19/16/image_23042025_19_17_04_9684.jpg', '/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_43_9670.jpg
/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_34_9673.jpg
/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_24_10653.jpg
/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_13_9658.jpg
/home/nano/Desktop/images/23042025/19/16/image_23042025_19_17_04_9684.jpg
/home/nano/Desktop/images/23042025/19/16/image_23042025_19_16_54_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131407","1353131401","1353131385","1353131415","1353131430","1353131420"],"photo_ids_order":["1353131385","1353131401","1353131407","1353131415","1353131420","1353131430"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0fdcc737a69bdc98a1a38f983760c2e.jpg","text":"TemporaryFile(/tmp/multipartBody73327642596369373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428744958,"filename":"image_23042025_19_17_24_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6cf1e59fd4ab0ef474b8b5e4b5099523.jpg","text":"TemporaryFile(/tmp/multipartBody3248169565044915521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428744958,"filename":"image_23042025_19_17_34_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04810aad0fdebc62817af2244bafa690.jpg","text":"TemporaryFile(/tmp/multipartBody5339481787316319202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428744958,"filename":"image_23042025_19_17_43_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16f369b82790ef5e1ac290417c388c10.jpg","text":"TemporaryFile(/tmp/multipartBody5090585479482747631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428744958,"filename":"image_23042025_19_17_13_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb04d3ce8cad34372e4dee8c30095d2d.jpg","text":"TemporaryFile(/tmp/multipartBody6532254855024584153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428744958,"filename":"image_23042025_19_16_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0757c794a5ad8f5964534b37e6690eb6.jpg","text":"TemporaryFile(/tmp/multipartBody4315701377370983889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428744958,"filename":"image_23042025_19_17_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131407","file1":"1353131401","file0":"1353131385","file4":"1353131420","file5":"1353131430","file3":"1353131415"},"map_files_photo_id_array":[{"photo_id":"1353131430","filename":"file5"},{"photo_id":"1353131407","filename":"file2"},{"photo_id":"1353131420","filename":"file4"},{"photo_id":"1353131401","filename":"file1"},{"photo_id":"1353131385","filename":"file0"},{"photo_id":"1353131415","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131407":["hashtag1","hashtag2"]},{"1353131401":["hashtag1","hashtag2"]},{"1353131385":["hashtag1","hashtag2"]},{"1353131415":["hashtag1","hashtag2"]},{"1353131430":["hashtag1","hashtag2"]},{"1353131420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131407, 1353131401, 1353131385, 1353131415, 1353131430, 1353131420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.85732674598694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:19:02.917472
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_43_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_34_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_24_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_13_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/19/17/image_23042025_19_18_04_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_43_9659.jpg', '/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_34_9666.jpg', '/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_24_10666.jpg', '/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_13_9692.jpg', '/home/nano/Desktop/images/23042025/19/17/image_23042025_19_18_04_9689.jpg', '/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_43_9659.jpg
/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_34_9666.jpg
/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_24_10666.jpg
/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_13_9692.jpg
/home/nano/Desktop/images/23042025/19/17/image_23042025_19_18_04_9689.jpg
/home/nano/Desktop/images/23042025/19/17/image_23042025_19_17_54_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131536","1353131530","1353131518","1353131544","1353131541","1353131494"],"photo_ids_order":["1353131494","1353131518","1353131530","1353131536","1353131541","1353131544"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ad4e289f52b8a2d5a1791cef32a7c14.jpg","text":"TemporaryFile(/tmp/multipartBody8578342765279002651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428805096,"filename":"image_23042025_19_18_13_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2392be8af1910885d9d91e07f0a0bf8d.jpg","text":"TemporaryFile(/tmp/multipartBody3106448433462267702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428805096,"filename":"image_23042025_19_18_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49c53f116093b72faeb1cc7565aea683.jpg","text":"TemporaryFile(/tmp/multipartBody5298564351084753737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428805096,"filename":"image_23042025_19_18_34_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/564aace7485e8d94b6efc3a5f0ce157e.jpg","text":"TemporaryFile(/tmp/multipartBody5712508015062805218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428805096,"filename":"image_23042025_19_17_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e38095bd241fb39825ae9ec3d309f0a6.jpg","text":"TemporaryFile(/tmp/multipartBody9130319511888977788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428805096,"filename":"image_23042025_19_18_04_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a48d1f46190dc499f725a39fd50e1528.jpg","text":"TemporaryFile(/tmp/multipartBody3908427692003424621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428805096,"filename":"image_23042025_19_18_43_9659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131530","file1":"1353131518","file0":"1353131494","file4":"1353131541","file5":"1353131544","file3":"1353131536"},"map_files_photo_id_array":[{"photo_id":"1353131544","filename":"file5"},{"photo_id":"1353131530","filename":"file2"},{"photo_id":"1353131541","filename":"file4"},{"photo_id":"1353131518","filename":"file1"},{"photo_id":"1353131494","filename":"file0"},{"photo_id":"1353131536","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131536":["hashtag1","hashtag2"]},{"1353131530":["hashtag1","hashtag2"]},{"1353131518":["hashtag1","hashtag2"]},{"1353131544":["hashtag1","hashtag2"]},{"1353131541":["hashtag1","hashtag2"]},{"1353131494":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131536, 1353131530, 1353131518, 1353131544, 1353131541, 1353131494)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.32456874847412 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:20:02.573491
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_43_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_34_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_24_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_13_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/19/18/image_23042025_19_19_04_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_54_10665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_43_9666.jpg', '/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_34_9650.jpg', '/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_24_10701.jpg', '/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_13_9663.jpg', '/home/nano/Desktop/images/23042025/19/18/image_23042025_19_19_04_9692.jpg', '/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_54_10665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_43_9666.jpg
/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_34_9650.jpg
/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_24_10701.jpg
/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_13_9663.jpg
/home/nano/Desktop/images/23042025/19/18/image_23042025_19_19_04_9692.jpg
/home/nano/Desktop/images/23042025/19/18/image_23042025_19_18_54_10665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131613","1353131588","1353131573","1353131600","1353131578","1353131593"],"photo_ids_order":["1353131573","1353131578","1353131588","1353131593","1353131600","1353131613"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/680517e2dc4d388fbae92799ad30f072.jpg","text":"TemporaryFile(/tmp/multipartBody8165536345108913860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428864430,"filename":"image_23042025_19_18_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ad99b930576c50d265a5c97a9306909.jpg","text":"TemporaryFile(/tmp/multipartBody7449414991505748043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428864430,"filename":"image_23042025_19_19_24_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c08311a53ab63889e1b379ac8da06f47.jpg","text":"TemporaryFile(/tmp/multipartBody3375753800486844249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428864430,"filename":"image_23042025_19_19_43_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acee55a5f87e70dbe7e627ed5257a96f.jpg","text":"TemporaryFile(/tmp/multipartBody4761041068637292205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428864430,"filename":"image_23042025_19_19_04_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4122349bf0d4bf675d9baf4915b2d79b.jpg","text":"TemporaryFile(/tmp/multipartBody3335823466096670623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428864430,"filename":"image_23042025_19_19_34_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f1603b502433ac63bfbb2e4a9a40bbcb.jpg","text":"TemporaryFile(/tmp/multipartBody8243206909618131589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428864430,"filename":"image_23042025_19_19_13_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131588","file1":"1353131578","file0":"1353131573","file4":"1353131600","file5":"1353131613","file3":"1353131593"},"map_files_photo_id_array":[{"photo_id":"1353131613","filename":"file5"},{"photo_id":"1353131588","filename":"file2"},{"photo_id":"1353131600","filename":"file4"},{"photo_id":"1353131578","filename":"file1"},{"photo_id":"1353131573","filename":"file0"},{"photo_id":"1353131593","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131613":["hashtag1","hashtag2"]},{"1353131588":["hashtag1","hashtag2"]},{"1353131573":["hashtag1","hashtag2"]},{"1353131600":["hashtag1","hashtag2"]},{"1353131578":["hashtag1","hashtag2"]},{"1353131593":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131613, 1353131588, 1353131573, 1353131600, 1353131578, 1353131593)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.83539819717407 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:21:02.575751
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_43_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_34_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_24_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_13_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/19/19/image_23042025_19_20_04_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_54_10678.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_43_9674.jpg', '/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_34_9657.jpg', '/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_24_10651.jpg', '/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_13_9692.jpg', '/home/nano/Desktop/images/23042025/19/19/image_23042025_19_20_04_9658.jpg', '/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_54_10678.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_43_9674.jpg
/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_34_9657.jpg
/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_24_10651.jpg
/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_13_9692.jpg
/home/nano/Desktop/images/23042025/19/19/image_23042025_19_20_04_9658.jpg
/home/nano/Desktop/images/23042025/19/19/image_23042025_19_19_54_10678.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131688","1353131682","1353131703","1353131696","1353131683","1353131692"],"photo_ids_order":["1353131682","1353131683","1353131688","1353131692","1353131696","1353131703"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9cff9fdb3e0c2cad81d5e4ed628b281.jpg","text":"TemporaryFile(/tmp/multipartBody9199470887189171227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428924338,"filename":"image_23042025_19_20_24_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e958705bccae00f839633683ac4eba1c.jpg","text":"TemporaryFile(/tmp/multipartBody5645285849385130802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428924338,"filename":"image_23042025_19_20_43_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ede6066df4715fe74f95d51937f35c4c.jpg","text":"TemporaryFile(/tmp/multipartBody3062163305466126625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428924338,"filename":"image_23042025_19_19_54_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48285bfbde7c005144ac981754dae2b0.jpg","text":"TemporaryFile(/tmp/multipartBody7259655472989550540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428924338,"filename":"image_23042025_19_20_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1149fb282c2aae739385135a43e94a86.jpg","text":"TemporaryFile(/tmp/multipartBody730623920824711374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428924338,"filename":"image_23042025_19_20_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b09bb9303ad6f8e55c873dee8dc8a74.jpg","text":"TemporaryFile(/tmp/multipartBody1019724408324136953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428924338,"filename":"image_23042025_19_20_13_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131688","file1":"1353131683","file0":"1353131682","file4":"1353131696","file5":"1353131703","file3":"1353131692"},"map_files_photo_id_array":[{"photo_id":"1353131703","filename":"file5"},{"photo_id":"1353131688","filename":"file2"},{"photo_id":"1353131696","filename":"file4"},{"photo_id":"1353131683","filename":"file1"},{"photo_id":"1353131682","filename":"file0"},{"photo_id":"1353131692","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131688":["hashtag1","hashtag2"]},{"1353131682":["hashtag1","hashtag2"]},{"1353131703":["hashtag1","hashtag2"]},{"1353131696":["hashtag1","hashtag2"]},{"1353131683":["hashtag1","hashtag2"]},{"1353131692":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131688, 1353131682, 1353131703, 1353131696, 1353131683, 1353131692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.2247371673584 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:22:02.697042
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_44_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_34_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_24_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_14_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/19/20/image_23042025_19_21_04_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_54_10666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_44_9667.jpg', '/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_34_9646.jpg', '/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_24_10718.jpg', '/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_14_9688.jpg', '/home/nano/Desktop/images/23042025/19/20/image_23042025_19_21_04_9685.jpg', '/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_54_10666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_44_9667.jpg
/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_34_9646.jpg
/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_24_10718.jpg
/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_14_9688.jpg
/home/nano/Desktop/images/23042025/19/20/image_23042025_19_21_04_9685.jpg
/home/nano/Desktop/images/23042025/19/20/image_23042025_19_20_54_10666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131793","1353131757","1353131765","1353131753","1353131747","1353131767"],"photo_ids_order":["1353131747","1353131753","1353131757","1353131765","1353131767","1353131793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26d283a4bf7f30954c3ee2e109e02186.jpg","text":"TemporaryFile(/tmp/multipartBody5429671137161598370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428984994,"filename":"image_23042025_19_20_54_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb6066bc181e4afb3c581ebe53a77705.jpg","text":"TemporaryFile(/tmp/multipartBody1943117782603718228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428984994,"filename":"image_23042025_19_21_24_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f742cea7b3a380f2200166fb2d45fef.jpg","text":"TemporaryFile(/tmp/multipartBody5307125265547038674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428984994,"filename":"image_23042025_19_21_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7c2a7108be91793f57877ef197f23824.jpg","text":"TemporaryFile(/tmp/multipartBody1277248810679136714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428984994,"filename":"image_23042025_19_21_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b3faa3721dfe8ca59d811509501d741.jpg","text":"TemporaryFile(/tmp/multipartBody6144689217553708402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428984994,"filename":"image_23042025_19_21_44_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5259114a0139ba825a0c0ae9761ace8b.jpg","text":"TemporaryFile(/tmp/multipartBody6056234558885682718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745428984994,"filename":"image_23042025_19_21_04_9685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131757","file1":"1353131753","file0":"1353131747","file4":"1353131767","file5":"1353131793","file3":"1353131765"},"map_files_photo_id_array":[{"photo_id":"1353131793","filename":"file5"},{"photo_id":"1353131757","filename":"file2"},{"photo_id":"1353131767","filename":"file4"},{"photo_id":"1353131753","filename":"file1"},{"photo_id":"1353131747","filename":"file0"},{"photo_id":"1353131765","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131793":["hashtag1","hashtag2"]},{"1353131757":["hashtag1","hashtag2"]},{"1353131765":["hashtag1","hashtag2"]},{"1353131753":["hashtag1","hashtag2"]},{"1353131747":["hashtag1","hashtag2"]},{"1353131767":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131793, 1353131757, 1353131765, 1353131753, 1353131747, 1353131767)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.643571615219116 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:23:02.974023
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_44_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_34_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_24_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_14_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/19/21/image_23042025_19_22_04_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_44_9672.jpg', '/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_34_9692.jpg', '/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_24_10701.jpg', '/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_14_9713.jpg', '/home/nano/Desktop/images/23042025/19/21/image_23042025_19_22_04_9658.jpg', '/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_44_9672.jpg
/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_34_9692.jpg
/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_24_10701.jpg
/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_14_9713.jpg
/home/nano/Desktop/images/23042025/19/21/image_23042025_19_22_04_9658.jpg
/home/nano/Desktop/images/23042025/19/21/image_23042025_19_21_54_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353131964","1353131996","1353131999","1353131984","1353131975","1353131968"],"photo_ids_order":["1353131964","1353131968","1353131975","1353131984","1353131996","1353131999"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad2aa00bb74618c81399403db4ce42e2.jpg","text":"TemporaryFile(/tmp/multipartBody8336481003570341918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429045139,"filename":"image_23042025_19_22_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fab8ccb58d89feec0c0bad986f12111.jpg","text":"TemporaryFile(/tmp/multipartBody6829826114892758824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429045139,"filename":"image_23042025_19_22_04_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3f3f5cd80aa83c263a88e858fe09a3d.jpg","text":"TemporaryFile(/tmp/multipartBody3301715760611367408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429045139,"filename":"image_23042025_19_21_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73312ba1a0ba6c13af3dda3a7475aea7.jpg","text":"TemporaryFile(/tmp/multipartBody8505905374951559723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429045139,"filename":"image_23042025_19_22_14_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb94306fe63b40ff69c328a896953579.jpg","text":"TemporaryFile(/tmp/multipartBody6596136055367028317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429045139,"filename":"image_23042025_19_22_24_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f04d0ee0d1b6773b2f76bca6b095da4c.jpg","text":"TemporaryFile(/tmp/multipartBody3668297726433061389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429045139,"filename":"image_23042025_19_22_34_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353131975","file1":"1353131968","file0":"1353131964","file4":"1353131996","file5":"1353131999","file3":"1353131984"},"map_files_photo_id_array":[{"photo_id":"1353131999","filename":"file5"},{"photo_id":"1353131975","filename":"file2"},{"photo_id":"1353131996","filename":"file4"},{"photo_id":"1353131968","filename":"file1"},{"photo_id":"1353131964","filename":"file0"},{"photo_id":"1353131984","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353131964":["hashtag1","hashtag2"]},{"1353131996":["hashtag1","hashtag2"]},{"1353131999":["hashtag1","hashtag2"]},{"1353131984":["hashtag1","hashtag2"]},{"1353131975":["hashtag1","hashtag2"]},{"1353131968":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353131964, 1353131996, 1353131999, 1353131984, 1353131975, 1353131968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.98756718635559 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:24:03.233857
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_44_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_34_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_24_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_14_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/19/22/image_23042025_19_23_04_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_54_10616.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_44_9639.jpg', '/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_34_9638.jpg', '/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_24_10657.jpg', '/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_14_9639.jpg', '/home/nano/Desktop/images/23042025/19/22/image_23042025_19_23_04_9654.jpg', '/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_54_10616.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_44_9639.jpg
/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_34_9638.jpg
/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_24_10657.jpg
/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_14_9639.jpg
/home/nano/Desktop/images/23042025/19/22/image_23042025_19_23_04_9654.jpg
/home/nano/Desktop/images/23042025/19/22/image_23042025_19_22_54_10616.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132051","1353132057","1353132042","1353132037","1353132046","1353132031"],"photo_ids_order":["1353132031","1353132037","1353132042","1353132046","1353132051","1353132057"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/290e073622bfb4c66ceb3cb1f66e2b13.jpg","text":"TemporaryFile(/tmp/multipartBody3704379316694360965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429105302,"filename":"image_23042025_19_23_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2137140819fd3fbfe9832e2be3ae9657.jpg","text":"TemporaryFile(/tmp/multipartBody2187627887077099496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429105302,"filename":"image_23042025_19_22_54_10616.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c312464e430a3db25b141a0d9d041c25.jpg","text":"TemporaryFile(/tmp/multipartBody8213381377112844519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429105302,"filename":"image_23042025_19_23_24_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a22e4d471d58fe15ad3cd13ecfc0ba33.jpg","text":"TemporaryFile(/tmp/multipartBody609393648710629954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429105302,"filename":"image_23042025_19_23_34_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7a78795565275c5b2ffa5d06cf98359.jpg","text":"TemporaryFile(/tmp/multipartBody2573767682110500463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429105302,"filename":"image_23042025_19_23_14_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d96b84148a9de0200823befa735a005.jpg","text":"TemporaryFile(/tmp/multipartBody3664074252474870014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429105302,"filename":"image_23042025_19_23_44_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132042","file1":"1353132037","file0":"1353132031","file4":"1353132051","file5":"1353132057","file3":"1353132046"},"map_files_photo_id_array":[{"photo_id":"1353132057","filename":"file5"},{"photo_id":"1353132042","filename":"file2"},{"photo_id":"1353132051","filename":"file4"},{"photo_id":"1353132037","filename":"file1"},{"photo_id":"1353132031","filename":"file0"},{"photo_id":"1353132046","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132051":["hashtag1","hashtag2"]},{"1353132057":["hashtag1","hashtag2"]},{"1353132042":["hashtag1","hashtag2"]},{"1353132037":["hashtag1","hashtag2"]},{"1353132046":["hashtag1","hashtag2"]},{"1353132031":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132051, 1353132057, 1353132042, 1353132037, 1353132046, 1353132031)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10693407058716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:25:03.423035
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_44_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_34_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_24_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_14_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/19/23/image_23042025_19_24_04_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_54_10686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_44_9636.jpg', '/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_34_9659.jpg', '/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_24_10652.jpg', '/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_14_9681.jpg', '/home/nano/Desktop/images/23042025/19/23/image_23042025_19_24_04_9696.jpg', '/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_54_10686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_44_9636.jpg
/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_34_9659.jpg
/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_24_10652.jpg
/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_14_9681.jpg
/home/nano/Desktop/images/23042025/19/23/image_23042025_19_24_04_9696.jpg
/home/nano/Desktop/images/23042025/19/23/image_23042025_19_23_54_10686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132183","1353132129","1353132167","1353132155","1353132172","1353132178"],"photo_ids_order":["1353132129","1353132155","1353132167","1353132172","1353132178","1353132183"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5a27e3fc02c898d58925280ca08174c.jpg","text":"TemporaryFile(/tmp/multipartBody5885834642334322800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429165209,"filename":"image_23042025_19_23_54_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5df0c610e1de93195459d9a7f4ab8318.jpg","text":"TemporaryFile(/tmp/multipartBody7042330980375924884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429165209,"filename":"image_23042025_19_24_44_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00c98c402270b28c78f8ae0cb3c5d10f.jpg","text":"TemporaryFile(/tmp/multipartBody2319741838291797401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429165209,"filename":"image_23042025_19_24_24_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e9e5b44d4f77874eb28beeb3c99f483.jpg","text":"TemporaryFile(/tmp/multipartBody969242625129967970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429165209,"filename":"image_23042025_19_24_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a25038b80619a709b698a972499036a1.jpg","text":"TemporaryFile(/tmp/multipartBody1023870448568763731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429165209,"filename":"image_23042025_19_24_14_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b928dd029687103c2ff4fd7e59125f2.jpg","text":"TemporaryFile(/tmp/multipartBody8436821783546081199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429165209,"filename":"image_23042025_19_24_04_9696.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132167","file1":"1353132155","file0":"1353132129","file4":"1353132178","file5":"1353132183","file3":"1353132172"},"map_files_photo_id_array":[{"photo_id":"1353132183","filename":"file5"},{"photo_id":"1353132167","filename":"file2"},{"photo_id":"1353132178","filename":"file4"},{"photo_id":"1353132155","filename":"file1"},{"photo_id":"1353132129","filename":"file0"},{"photo_id":"1353132172","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132183":["hashtag1","hashtag2"]},{"1353132129":["hashtag1","hashtag2"]},{"1353132167":["hashtag1","hashtag2"]},{"1353132155":["hashtag1","hashtag2"]},{"1353132172":["hashtag1","hashtag2"]},{"1353132178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132183, 1353132129, 1353132167, 1353132155, 1353132172, 1353132178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.123894929885864 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:26:03.060693
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_44_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_34_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_24_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_14_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/19/24/image_23042025_19_25_04_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_54_10672.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_44_9662.jpg', '/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_34_9644.jpg', '/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_24_10656.jpg', '/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_14_9709.jpg', '/home/nano/Desktop/images/23042025/19/24/image_23042025_19_25_04_9703.jpg', '/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_54_10672.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_44_9662.jpg
/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_34_9644.jpg
/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_24_10656.jpg
/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_14_9709.jpg
/home/nano/Desktop/images/23042025/19/24/image_23042025_19_25_04_9703.jpg
/home/nano/Desktop/images/23042025/19/24/image_23042025_19_24_54_10672.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132255","1353132243","1353132269","1353132207","1353132236","1353132220"],"photo_ids_order":["1353132207","1353132220","1353132236","1353132243","1353132255","1353132269"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/218c176e24f653f840fc670e6b5258e7.jpg","text":"TemporaryFile(/tmp/multipartBody7590164695629760700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429224524,"filename":"image_23042025_19_25_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4191836f67e6779e265b49a7e8a7ef17.jpg","text":"TemporaryFile(/tmp/multipartBody3724594181422360674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429224524,"filename":"image_23042025_19_25_14_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f3446dadfa087ec87f9b441765f6c2a.jpg","text":"TemporaryFile(/tmp/multipartBody69102487251558026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429224524,"filename":"image_23042025_19_24_54_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/305af3dd122101b89b32c0595eca8245.jpg","text":"TemporaryFile(/tmp/multipartBody239298261535232431asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429224524,"filename":"image_23042025_19_25_44_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ee7d8a6c14943cc216de225ecbce22a.jpg","text":"TemporaryFile(/tmp/multipartBody8307112820049793997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429224524,"filename":"image_23042025_19_25_24_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f12f5d7c46104ac72ed9f4cfcfd86aeb.jpg","text":"TemporaryFile(/tmp/multipartBody7606418923486154562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429224524,"filename":"image_23042025_19_25_34_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132236","file1":"1353132220","file0":"1353132207","file4":"1353132255","file5":"1353132269","file3":"1353132243"},"map_files_photo_id_array":[{"photo_id":"1353132269","filename":"file5"},{"photo_id":"1353132236","filename":"file2"},{"photo_id":"1353132255","filename":"file4"},{"photo_id":"1353132220","filename":"file1"},{"photo_id":"1353132207","filename":"file0"},{"photo_id":"1353132243","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132255":["hashtag1","hashtag2"]},{"1353132243":["hashtag1","hashtag2"]},{"1353132269":["hashtag1","hashtag2"]},{"1353132207":["hashtag1","hashtag2"]},{"1353132236":["hashtag1","hashtag2"]},{"1353132220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132255, 1353132243, 1353132269, 1353132207, 1353132236, 1353132220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.728171586990356 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:27:02.445431
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_43_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_34_9614.jpg', 2), ('/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_24_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_14_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/19/25/image_23042025_19_26_04_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_54_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_43_9625.jpg', '/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_34_9614.jpg', '/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_24_10661.jpg', '/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_14_9642.jpg', '/home/nano/Desktop/images/23042025/19/25/image_23042025_19_26_04_9685.jpg', '/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_54_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_43_9625.jpg
/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_34_9614.jpg
/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_24_10661.jpg
/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_14_9642.jpg
/home/nano/Desktop/images/23042025/19/25/image_23042025_19_26_04_9685.jpg
/home/nano/Desktop/images/23042025/19/25/image_23042025_19_25_54_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132321","1353132309","1353132323","1353132329","1353132316","1353132304"],"photo_ids_order":["1353132304","1353132309","1353132316","1353132321","1353132323","1353132329"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c74d0b0599bed4d11dae6c80443696b1.jpg","text":"TemporaryFile(/tmp/multipartBody8454358270921444242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429283937,"filename":"image_23042025_19_26_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8abe039132ee38e104b5d7e5823cf5fc.jpg","text":"TemporaryFile(/tmp/multipartBody3964416343415468752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429283937,"filename":"image_23042025_19_26_34_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ffd9a78ca09dfb82961057344d00969.jpg","text":"TemporaryFile(/tmp/multipartBody1896505380175429061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429283937,"filename":"image_23042025_19_26_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3907d28bfa3a71aee9c24acebb72c6b.jpg","text":"TemporaryFile(/tmp/multipartBody7881916853686065831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429283937,"filename":"image_23042025_19_25_54_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b57e304911b8c4baff5093b126a30463.jpg","text":"TemporaryFile(/tmp/multipartBody7742072640414571495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429283937,"filename":"image_23042025_19_26_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/defcdb19b62efe1f1e74aa3215c51e7e.jpg","text":"TemporaryFile(/tmp/multipartBody7218162992100934374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429283937,"filename":"image_23042025_19_26_43_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132316","file1":"1353132309","file0":"1353132304","file4":"1353132323","file5":"1353132329","file3":"1353132321"},"map_files_photo_id_array":[{"photo_id":"1353132329","filename":"file5"},{"photo_id":"1353132316","filename":"file2"},{"photo_id":"1353132323","filename":"file4"},{"photo_id":"1353132309","filename":"file1"},{"photo_id":"1353132304","filename":"file0"},{"photo_id":"1353132321","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132321":["hashtag1","hashtag2"]},{"1353132309":["hashtag1","hashtag2"]},{"1353132323":["hashtag1","hashtag2"]},{"1353132329":["hashtag1","hashtag2"]},{"1353132316":["hashtag1","hashtag2"]},{"1353132304":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132321, 1353132309, 1353132323, 1353132329, 1353132316, 1353132304)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.69651508331299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:28:02.264855
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_43_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_34_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_24_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_13_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/19/26/image_23042025_19_27_04_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_54_10682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_43_9662.jpg', '/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_34_9637.jpg', '/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_24_10688.jpg', '/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_13_9664.jpg', '/home/nano/Desktop/images/23042025/19/26/image_23042025_19_27_04_9664.jpg', '/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_54_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_43_9662.jpg
/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_34_9637.jpg
/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_24_10688.jpg
/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_13_9664.jpg
/home/nano/Desktop/images/23042025/19/26/image_23042025_19_27_04_9664.jpg
/home/nano/Desktop/images/23042025/19/26/image_23042025_19_26_54_10682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132450","1353132420","1353132416","1353132445","1353132454","1353132442"],"photo_ids_order":["1353132416","1353132420","1353132442","1353132445","1353132450","1353132454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7787b16a21732c2b51e61f86b4f1367c.jpg","text":"TemporaryFile(/tmp/multipartBody7693536539024661146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429343909,"filename":"image_23042025_19_27_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a45c34f320360b2f5b503ede2084aa78.jpg","text":"TemporaryFile(/tmp/multipartBody5650619225634164970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429343909,"filename":"image_23042025_19_27_34_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99a3d83b28e7869f0ef14bf5a5ac83fc.jpg","text":"TemporaryFile(/tmp/multipartBody601706297877592883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429343909,"filename":"image_23042025_19_27_43_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af7ae698e269f558561a40cf2d7d0712.jpg","text":"TemporaryFile(/tmp/multipartBody1052818907368338516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429343909,"filename":"image_23042025_19_27_13_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aaea01073f3a711697c296443183f187.jpg","text":"TemporaryFile(/tmp/multipartBody8680872028781268888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429343909,"filename":"image_23042025_19_26_54_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4032e59e14ff3509ee145d44619ac997.jpg","text":"TemporaryFile(/tmp/multipartBody8069817693016070185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429343909,"filename":"image_23042025_19_27_24_10688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132442","file1":"1353132420","file0":"1353132416","file4":"1353132450","file5":"1353132454","file3":"1353132445"},"map_files_photo_id_array":[{"photo_id":"1353132454","filename":"file5"},{"photo_id":"1353132442","filename":"file2"},{"photo_id":"1353132450","filename":"file4"},{"photo_id":"1353132420","filename":"file1"},{"photo_id":"1353132416","filename":"file0"},{"photo_id":"1353132445","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132450":["hashtag1","hashtag2"]},{"1353132420":["hashtag1","hashtag2"]},{"1353132416":["hashtag1","hashtag2"]},{"1353132445":["hashtag1","hashtag2"]},{"1353132454":["hashtag1","hashtag2"]},{"1353132442":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132450, 1353132420, 1353132416, 1353132445, 1353132454, 1353132442)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35853910446167 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:29:02.911390
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_43_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_34_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_24_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_13_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/19/27/image_23042025_19_28_04_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_54_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_43_9684.jpg', '/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_34_9640.jpg', '/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_24_10658.jpg', '/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_13_9697.jpg', '/home/nano/Desktop/images/23042025/19/27/image_23042025_19_28_04_9670.jpg', '/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_54_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_43_9684.jpg
/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_34_9640.jpg
/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_24_10658.jpg
/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_13_9697.jpg
/home/nano/Desktop/images/23042025/19/27/image_23042025_19_28_04_9670.jpg
/home/nano/Desktop/images/23042025/19/27/image_23042025_19_27_54_10671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132504","1353132513","1353132494","1353132524","1353132518","1353132500"],"photo_ids_order":["1353132494","1353132500","1353132504","1353132513","1353132518","1353132524"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d31ee0e8a64976efdd27f7a724d7d916.jpg","text":"TemporaryFile(/tmp/multipartBody5516148473402894985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429404751,"filename":"image_23042025_19_28_24_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2182affec01b9f89f9e5298d85f677b.jpg","text":"TemporaryFile(/tmp/multipartBody225341730594484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429404751,"filename":"image_23042025_19_28_13_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e42506cfd9cc3ee157fa04b0499d9ff.jpg","text":"TemporaryFile(/tmp/multipartBody1310563178778100585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429404751,"filename":"image_23042025_19_28_43_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a28049493d5062f649c451099c6c6f7d.jpg","text":"TemporaryFile(/tmp/multipartBody6411661464160482496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429404751,"filename":"image_23042025_19_27_54_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7d3db68c12c76e71ff45d4296da6738.jpg","text":"TemporaryFile(/tmp/multipartBody1800161784510518201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429404751,"filename":"image_23042025_19_28_04_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26c51196857bd1ccd984382d7398cb07.jpg","text":"TemporaryFile(/tmp/multipartBody9164658654474360433asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429404751,"filename":"image_23042025_19_28_34_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132504","file1":"1353132500","file0":"1353132494","file4":"1353132518","file5":"1353132524","file3":"1353132513"},"map_files_photo_id_array":[{"photo_id":"1353132524","filename":"file5"},{"photo_id":"1353132504","filename":"file2"},{"photo_id":"1353132518","filename":"file4"},{"photo_id":"1353132500","filename":"file1"},{"photo_id":"1353132494","filename":"file0"},{"photo_id":"1353132513","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132504":["hashtag1","hashtag2"]},{"1353132513":["hashtag1","hashtag2"]},{"1353132494":["hashtag1","hashtag2"]},{"1353132524":["hashtag1","hashtag2"]},{"1353132518":["hashtag1","hashtag2"]},{"1353132500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132504, 1353132513, 1353132494, 1353132524, 1353132518, 1353132500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.42880630493164 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:30:02.658493
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_44_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_34_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_24_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_13_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/19/28/image_23042025_19_29_04_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_54_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_44_9679.jpg', '/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_34_9663.jpg', '/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_24_10677.jpg', '/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_13_9696.jpg', '/home/nano/Desktop/images/23042025/19/28/image_23042025_19_29_04_9657.jpg', '/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_54_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_44_9679.jpg
/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_34_9663.jpg
/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_24_10677.jpg
/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_13_9696.jpg
/home/nano/Desktop/images/23042025/19/28/image_23042025_19_29_04_9657.jpg
/home/nano/Desktop/images/23042025/19/28/image_23042025_19_28_54_10673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132588","1353132599","1353132595","1353132568","1353132553","1353132585"],"photo_ids_order":["1353132553","1353132568","1353132585","1353132588","1353132595","1353132599"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/633337327ba137021f69e18690440edd.jpg","text":"TemporaryFile(/tmp/multipartBody1294230551045415674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429464921,"filename":"image_23042025_19_29_13_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f25c65547dbb28e9a145644f5e38089.jpg","text":"TemporaryFile(/tmp/multipartBody353690279384271329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429464921,"filename":"image_23042025_19_28_54_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efb89e956f90746650c913ab2d55f2dd.jpg","text":"TemporaryFile(/tmp/multipartBody3280110050957767750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429464921,"filename":"image_23042025_19_29_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5539c5092433a308b70e9535991aa23.jpg","text":"TemporaryFile(/tmp/multipartBody9038867829470827649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429464921,"filename":"image_23042025_19_29_34_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01d9867450324341da043d55b36417ea.jpg","text":"TemporaryFile(/tmp/multipartBody5064039814163402094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429464921,"filename":"image_23042025_19_29_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6e7971e7b674201bd1dd8e30a65436d.jpg","text":"TemporaryFile(/tmp/multipartBody7966778247604231073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429464921,"filename":"image_23042025_19_29_24_10677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132585","file1":"1353132568","file0":"1353132553","file4":"1353132595","file5":"1353132599","file3":"1353132588"},"map_files_photo_id_array":[{"photo_id":"1353132599","filename":"file5"},{"photo_id":"1353132585","filename":"file2"},{"photo_id":"1353132595","filename":"file4"},{"photo_id":"1353132568","filename":"file1"},{"photo_id":"1353132553","filename":"file0"},{"photo_id":"1353132588","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132588":["hashtag1","hashtag2"]},{"1353132599":["hashtag1","hashtag2"]},{"1353132595":["hashtag1","hashtag2"]},{"1353132568":["hashtag1","hashtag2"]},{"1353132553":["hashtag1","hashtag2"]},{"1353132585":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132588, 1353132599, 1353132595, 1353132568, 1353132553, 1353132585)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.455100536346436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:31:02.892266
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_44_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_34_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_24_10700.jpg', 2), ('/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_14_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/19/29/image_23042025_19_30_04_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_54_10679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_44_9688.jpg', '/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_34_9675.jpg', '/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_24_10700.jpg', '/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_14_9682.jpg', '/home/nano/Desktop/images/23042025/19/29/image_23042025_19_30_04_9720.jpg', '/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_54_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_44_9688.jpg
/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_34_9675.jpg
/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_24_10700.jpg
/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_14_9682.jpg
/home/nano/Desktop/images/23042025/19/29/image_23042025_19_30_04_9720.jpg
/home/nano/Desktop/images/23042025/19/29/image_23042025_19_29_54_10679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132657","1353132653","1353132662","1353132688","1353132676","1353132667"],"photo_ids_order":["1353132653","1353132657","1353132662","1353132667","1353132676","1353132688"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67230aedb3df1bac5198eb2dc83e3ffa.jpg","text":"TemporaryFile(/tmp/multipartBody8223089347822525176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429525152,"filename":"image_23042025_19_30_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0387c74f96660564f609d8928334a00f.jpg","text":"TemporaryFile(/tmp/multipartBody2079890381757364228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429525152,"filename":"image_23042025_19_30_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/806c9f5c19bb42dd19fedb866a19cb54.jpg","text":"TemporaryFile(/tmp/multipartBody772894767844381981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429525152,"filename":"image_23042025_19_30_24_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fbed208a67da235cbddbb6981861316b.jpg","text":"TemporaryFile(/tmp/multipartBody5634551404058192570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429525152,"filename":"image_23042025_19_29_54_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f7fddd7e079ee2359ea55e534009aa1.jpg","text":"TemporaryFile(/tmp/multipartBody5358791509540686620asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429525152,"filename":"image_23042025_19_30_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c5f881aeac9585c5ee7dfae9beebba7.jpg","text":"TemporaryFile(/tmp/multipartBody8741894487019454809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429525152,"filename":"image_23042025_19_30_14_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132662","file1":"1353132657","file0":"1353132653","file4":"1353132676","file5":"1353132688","file3":"1353132667"},"map_files_photo_id_array":[{"photo_id":"1353132688","filename":"file5"},{"photo_id":"1353132662","filename":"file2"},{"photo_id":"1353132676","filename":"file4"},{"photo_id":"1353132657","filename":"file1"},{"photo_id":"1353132653","filename":"file0"},{"photo_id":"1353132667","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132657":["hashtag1","hashtag2"]},{"1353132653":["hashtag1","hashtag2"]},{"1353132662":["hashtag1","hashtag2"]},{"1353132688":["hashtag1","hashtag2"]},{"1353132676":["hashtag1","hashtag2"]},{"1353132667":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132657, 1353132653, 1353132662, 1353132688, 1353132676, 1353132667)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.56026554107666 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:32:02.938620
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_44_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_34_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_24_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_14_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/30/image_23042025_19_31_04_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_54_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_44_9646.jpg', '/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_34_9642.jpg', '/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_24_10671.jpg', '/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_14_9643.jpg', '/home/nano/Desktop/images/23042025/19/30/image_23042025_19_31_04_9668.jpg', '/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_54_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_44_9646.jpg
/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_34_9642.jpg
/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_24_10671.jpg
/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_14_9643.jpg
/home/nano/Desktop/images/23042025/19/30/image_23042025_19_31_04_9668.jpg
/home/nano/Desktop/images/23042025/19/30/image_23042025_19_30_54_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353132732","1353132782","1353132755","1353132734","1353132736","1353132931"],"photo_ids_order":["1353132732","1353132734","1353132736","1353132755","1353132782","1353132931"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/463bd02c2d32f0df6735196d109b9bf9.jpg","text":"TemporaryFile(/tmp/multipartBody2818337149453808854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429584876,"filename":"image_23042025_19_31_44_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b23d8f349dfcb3cd4cce856221c967d2.jpg","text":"TemporaryFile(/tmp/multipartBody4413165227622053546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429584876,"filename":"image_23042025_19_31_04_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c470a330c6df498cbcf245c705157f61.jpg","text":"TemporaryFile(/tmp/multipartBody8418407868126626529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429584876,"filename":"image_23042025_19_31_14_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/caf4fc5caa15d8369e7be416f89fd607.jpg","text":"TemporaryFile(/tmp/multipartBody442590864971989703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429584876,"filename":"image_23042025_19_31_34_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ddb6332a034ec65b8eaf5d82aa332d1.jpg","text":"TemporaryFile(/tmp/multipartBody7591705127750594035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429584876,"filename":"image_23042025_19_31_24_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0354685417f383259e7fa210445ba0b.jpg","text":"TemporaryFile(/tmp/multipartBody8705924660032208208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429584876,"filename":"image_23042025_19_30_54_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353132736","file1":"1353132734","file0":"1353132732","file4":"1353132782","file5":"1353132931","file3":"1353132755"},"map_files_photo_id_array":[{"photo_id":"1353132931","filename":"file5"},{"photo_id":"1353132736","filename":"file2"},{"photo_id":"1353132782","filename":"file4"},{"photo_id":"1353132734","filename":"file1"},{"photo_id":"1353132732","filename":"file0"},{"photo_id":"1353132755","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353132732":["hashtag1","hashtag2"]},{"1353132782":["hashtag1","hashtag2"]},{"1353132755":["hashtag1","hashtag2"]},{"1353132734":["hashtag1","hashtag2"]},{"1353132736":["hashtag1","hashtag2"]},{"1353132931":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353132732, 1353132782, 1353132755, 1353132734, 1353132736, 1353132931)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.10742807388306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:33:03.208953
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_44_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_34_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_24_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_14_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/19/31/image_23042025_19_32_04_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_44_9670.jpg', '/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_34_9668.jpg', '/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_24_10666.jpg', '/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_14_9694.jpg', '/home/nano/Desktop/images/23042025/19/31/image_23042025_19_32_04_9671.jpg', '/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_44_9670.jpg
/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_34_9668.jpg
/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_24_10666.jpg
/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_14_9694.jpg
/home/nano/Desktop/images/23042025/19/31/image_23042025_19_32_04_9671.jpg
/home/nano/Desktop/images/23042025/19/31/image_23042025_19_31_54_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353133224","1353133233","1353133212","1353133220","1353133217","1353133228"],"photo_ids_order":["1353133212","1353133217","1353133220","1353133224","1353133228","1353133233"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/af773f01b4267ec4aa4e5c9b40256d8e.jpg","text":"TemporaryFile(/tmp/multipartBody7623063311283126912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429644975,"filename":"image_23042025_19_32_14_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93935f95f35c4ced725804f43350704e.jpg","text":"TemporaryFile(/tmp/multipartBody3512029600572197214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429644975,"filename":"image_23042025_19_31_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b96a30b3ca7f0000069dc07b1dbc720d.jpg","text":"TemporaryFile(/tmp/multipartBody847504426477084482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429644975,"filename":"image_23042025_19_32_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f594a7e0f57ce1de85459582d292d5a.jpg","text":"TemporaryFile(/tmp/multipartBody359004018542784362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429644975,"filename":"image_23042025_19_32_24_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8b75f23b8ad0e0b67cefd0d3cc4616e.jpg","text":"TemporaryFile(/tmp/multipartBody2880826793636320038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429644975,"filename":"image_23042025_19_32_34_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bdb62794e5a6f4857edfb47dab42476.jpg","text":"TemporaryFile(/tmp/multipartBody8928246925545649358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429644975,"filename":"image_23042025_19_32_04_9671.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353133220","file1":"1353133217","file0":"1353133212","file4":"1353133228","file5":"1353133233","file3":"1353133224"},"map_files_photo_id_array":[{"photo_id":"1353133233","filename":"file5"},{"photo_id":"1353133220","filename":"file2"},{"photo_id":"1353133228","filename":"file4"},{"photo_id":"1353133217","filename":"file1"},{"photo_id":"1353133212","filename":"file0"},{"photo_id":"1353133224","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353133224":["hashtag1","hashtag2"]},{"1353133233":["hashtag1","hashtag2"]},{"1353133212":["hashtag1","hashtag2"]},{"1353133220":["hashtag1","hashtag2"]},{"1353133217":["hashtag1","hashtag2"]},{"1353133228":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353133224, 1353133233, 1353133212, 1353133220, 1353133217, 1353133228)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.64486885070801 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:34:03.366567
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_44_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_34_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_23_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_14_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/19/32/image_23042025_19_33_04_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_54_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_44_9661.jpg', '/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_34_10644.jpg', '/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_23_9666.jpg', '/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_14_9728.jpg', '/home/nano/Desktop/images/23042025/19/32/image_23042025_19_33_04_9677.jpg', '/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_54_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_44_9661.jpg
/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_34_10644.jpg
/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_23_9666.jpg
/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_14_9728.jpg
/home/nano/Desktop/images/23042025/19/32/image_23042025_19_33_04_9677.jpg
/home/nano/Desktop/images/23042025/19/32/image_23042025_19_32_54_10673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353133809","1353133754","1353133856","1353133846","1353133828","1353133851"],"photo_ids_order":["1353133754","1353133809","1353133828","1353133846","1353133851","1353133856"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9efac428fe7af828457263acf30b9617.jpg","text":"TemporaryFile(/tmp/multipartBody7939679839929390481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429705404,"filename":"image_23042025_19_33_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed1ab5d090615e85dbeb8f491a96e982.jpg","text":"TemporaryFile(/tmp/multipartBody3061838244151368881asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429705404,"filename":"image_23042025_19_33_44_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b653cd849799f5ef8eed3f666383660.jpg","text":"TemporaryFile(/tmp/multipartBody7730854247765387285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429705404,"filename":"image_23042025_19_32_54_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac1e0a2e321255de680fb22d87898073.jpg","text":"TemporaryFile(/tmp/multipartBody1010362090848331369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429705404,"filename":"image_23042025_19_33_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b4cbb52d3773fc0662df2e83d191c94.jpg","text":"TemporaryFile(/tmp/multipartBody1367289697714383578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429705404,"filename":"image_23042025_19_33_23_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75a7e0c9d4ae1da09252eee21c69bf58.jpg","text":"TemporaryFile(/tmp/multipartBody7555727300864353164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429705404,"filename":"image_23042025_19_33_04_9677.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353133828","file1":"1353133809","file0":"1353133754","file4":"1353133851","file5":"1353133856","file3":"1353133846"},"map_files_photo_id_array":[{"photo_id":"1353133856","filename":"file5"},{"photo_id":"1353133828","filename":"file2"},{"photo_id":"1353133851","filename":"file4"},{"photo_id":"1353133809","filename":"file1"},{"photo_id":"1353133754","filename":"file0"},{"photo_id":"1353133846","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353133809":["hashtag1","hashtag2"]},{"1353133754":["hashtag1","hashtag2"]},{"1353133856":["hashtag1","hashtag2"]},{"1353133846":["hashtag1","hashtag2"]},{"1353133828":["hashtag1","hashtag2"]},{"1353133851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353133809, 1353133754, 1353133856, 1353133846, 1353133828, 1353133851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97273278236389 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:35:03.330385
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_44_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_34_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_24_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_14_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/19/33/image_23042025_19_34_04_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_54_10661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_44_9643.jpg', '/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_34_9643.jpg', '/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_24_10678.jpg', '/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_14_9674.jpg', '/home/nano/Desktop/images/23042025/19/33/image_23042025_19_34_04_9653.jpg', '/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_54_10661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_44_9643.jpg
/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_34_9643.jpg
/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_24_10678.jpg
/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_14_9674.jpg
/home/nano/Desktop/images/23042025/19/33/image_23042025_19_34_04_9653.jpg
/home/nano/Desktop/images/23042025/19/33/image_23042025_19_33_54_10661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353134081","1353134045","1353133990","1353133984","1353134014","1353134112"],"photo_ids_order":["1353133984","1353133990","1353134014","1353134045","1353134081","1353134112"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2c25f88c0140daee5728ad91314258d1.jpg","text":"TemporaryFile(/tmp/multipartBody2916813760692923563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429765202,"filename":"image_23042025_19_34_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8df956cace49b7f8a0e4d758f94590b4.jpg","text":"TemporaryFile(/tmp/multipartBody8760910863014696294asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429765202,"filename":"image_23042025_19_34_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/082b219802cd24708a0042944314175d.jpg","text":"TemporaryFile(/tmp/multipartBody9063174553978963301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429765202,"filename":"image_23042025_19_34_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7fc599ba2f52d5bfff735c660688736.jpg","text":"TemporaryFile(/tmp/multipartBody1345558059139949917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429765202,"filename":"image_23042025_19_34_44_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9444005f6b2a32231b24870f192328f6.jpg","text":"TemporaryFile(/tmp/multipartBody8267814968826251097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429765202,"filename":"image_23042025_19_34_24_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/454b1d1df26908300d468e59d57659c3.jpg","text":"TemporaryFile(/tmp/multipartBody1784253109796949081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429765202,"filename":"image_23042025_19_33_54_10661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353134014","file1":"1353133990","file0":"1353133984","file4":"1353134081","file5":"1353134112","file3":"1353134045"},"map_files_photo_id_array":[{"photo_id":"1353134112","filename":"file5"},{"photo_id":"1353134014","filename":"file2"},{"photo_id":"1353134081","filename":"file4"},{"photo_id":"1353133990","filename":"file1"},{"photo_id":"1353133984","filename":"file0"},{"photo_id":"1353134045","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353134081":["hashtag1","hashtag2"]},{"1353134045":["hashtag1","hashtag2"]},{"1353133990":["hashtag1","hashtag2"]},{"1353133984":["hashtag1","hashtag2"]},{"1353134014":["hashtag1","hashtag2"]},{"1353134112":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353134081, 1353134045, 1353133990, 1353133984, 1353134014, 1353134112)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26998853683472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:36:02.228398
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_44_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_34_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_24_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_14_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/19/34/image_23042025_19_35_04_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_54_10629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_44_9651.jpg', '/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_34_9713.jpg', '/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_24_10670.jpg', '/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_14_9646.jpg', '/home/nano/Desktop/images/23042025/19/34/image_23042025_19_35_04_9638.jpg', '/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_54_10629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_44_9651.jpg
/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_34_9713.jpg
/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_24_10670.jpg
/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_14_9646.jpg
/home/nano/Desktop/images/23042025/19/34/image_23042025_19_35_04_9638.jpg
/home/nano/Desktop/images/23042025/19/34/image_23042025_19_34_54_10629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353134489","1353134408","1353134484","1353134457","1353134492","1353134424"],"photo_ids_order":["1353134408","1353134424","1353134457","1353134484","1353134489","1353134492"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd635a220659248a17a172de7a713cff.jpg","text":"TemporaryFile(/tmp/multipartBody2076134781240455697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429824362,"filename":"image_23042025_19_35_04_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f07abf565d151f5fcd20240740a42ed.jpg","text":"TemporaryFile(/tmp/multipartBody8819985035779625839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429824362,"filename":"image_23042025_19_35_44_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf0b9edc8b5f05fb9cd925bfbe92ac93.jpg","text":"TemporaryFile(/tmp/multipartBody3795600630021376390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429824362,"filename":"image_23042025_19_35_14_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b47d6ea6a81087a0495d4ff97e61ade.jpg","text":"TemporaryFile(/tmp/multipartBody3818846090943247030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429824362,"filename":"image_23042025_19_35_24_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5299b7c458c04cbc02d491232a24ceb9.jpg","text":"TemporaryFile(/tmp/multipartBody1144279631981992951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429824362,"filename":"image_23042025_19_34_54_10629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e28695d799ec1019d9ce96a89d4a513.jpg","text":"TemporaryFile(/tmp/multipartBody2591853149973632190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429824362,"filename":"image_23042025_19_35_34_9713.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353134457","file1":"1353134424","file0":"1353134408","file4":"1353134489","file5":"1353134492","file3":"1353134484"},"map_files_photo_id_array":[{"photo_id":"1353134492","filename":"file5"},{"photo_id":"1353134457","filename":"file2"},{"photo_id":"1353134489","filename":"file4"},{"photo_id":"1353134424","filename":"file1"},{"photo_id":"1353134408","filename":"file0"},{"photo_id":"1353134484","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353134489":["hashtag1","hashtag2"]},{"1353134408":["hashtag1","hashtag2"]},{"1353134484":["hashtag1","hashtag2"]},{"1353134457":["hashtag1","hashtag2"]},{"1353134492":["hashtag1","hashtag2"]},{"1353134424":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353134489, 1353134408, 1353134484, 1353134457, 1353134492, 1353134424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.82906532287598 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:37:02.526498
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_44_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_34_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_24_10661.jpg', 2), ('/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_14_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/19/35/image_23042025_19_36_04_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_54_10680.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_44_9660.jpg', '/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_34_9648.jpg', '/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_24_10661.jpg', '/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_14_9699.jpg', '/home/nano/Desktop/images/23042025/19/35/image_23042025_19_36_04_9681.jpg', '/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_54_10680.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_44_9660.jpg
/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_34_9648.jpg
/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_24_10661.jpg
/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_14_9699.jpg
/home/nano/Desktop/images/23042025/19/35/image_23042025_19_36_04_9681.jpg
/home/nano/Desktop/images/23042025/19/35/image_23042025_19_35_54_10680.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353134666","1353134612","1353134692","1353134650","1353134725","1353134749"],"photo_ids_order":["1353134612","1353134650","1353134666","1353134692","1353134725","1353134749"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bde014cb9f2580207ece34e2d436250.jpg","text":"TemporaryFile(/tmp/multipartBody5665673241737900242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429884325,"filename":"image_23042025_19_36_24_10661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c4a63b80240c9512b73aa27d356cbe57.jpg","text":"TemporaryFile(/tmp/multipartBody5668038739144789560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429884325,"filename":"image_23042025_19_36_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d77bbb8de31c13b895d894284cc944fc.jpg","text":"TemporaryFile(/tmp/multipartBody6632543195758828913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429884325,"filename":"image_23042025_19_36_14_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac4bc8eba45ae9f65489c4902105cc8f.jpg","text":"TemporaryFile(/tmp/multipartBody1300707508757508833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429884325,"filename":"image_23042025_19_36_34_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fec39b72df62d6cfc5b5badf5f11768.jpg","text":"TemporaryFile(/tmp/multipartBody5286807445825181330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429884325,"filename":"image_23042025_19_36_04_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8cb9beb6d4ec3f8aaccd395e78319e33.jpg","text":"TemporaryFile(/tmp/multipartBody3596463428549369882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429884325,"filename":"image_23042025_19_35_54_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353134666","file1":"1353134650","file0":"1353134612","file4":"1353134725","file5":"1353134749","file3":"1353134692"},"map_files_photo_id_array":[{"photo_id":"1353134749","filename":"file5"},{"photo_id":"1353134666","filename":"file2"},{"photo_id":"1353134725","filename":"file4"},{"photo_id":"1353134650","filename":"file1"},{"photo_id":"1353134612","filename":"file0"},{"photo_id":"1353134692","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353134666":["hashtag1","hashtag2"]},{"1353134612":["hashtag1","hashtag2"]},{"1353134692":["hashtag1","hashtag2"]},{"1353134650":["hashtag1","hashtag2"]},{"1353134725":["hashtag1","hashtag2"]},{"1353134749":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353134666, 1353134612, 1353134692, 1353134650, 1353134725, 1353134749)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.30175805091858 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:38:02.694897
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_14_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_44_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_34_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_24_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_14_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/19/36/image_23042025_19_37_04_9663.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_14_9685.jpg', '/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_44_9658.jpg', '/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_34_9656.jpg', '/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_24_10640.jpg', '/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_14_9652.jpg', '/home/nano/Desktop/images/23042025/19/36/image_23042025_19_37_04_9663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_14_9685.jpg
/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_44_9658.jpg
/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_34_9656.jpg
/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_24_10640.jpg
/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_14_9652.jpg
/home/nano/Desktop/images/23042025/19/36/image_23042025_19_37_04_9663.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353135032","1353135040","1353134970","1353135036","1353135006","1353135044"],"photo_ids_order":["1353134970","1353135006","1353135032","1353135036","1353135040","1353135044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b6d48760bfb7ee18102721ed9d761290.jpg","text":"TemporaryFile(/tmp/multipartBody4714831955961335016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429944364,"filename":"image_23042025_19_37_34_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90f998c268255330c2a14bf76faea4ec.jpg","text":"TemporaryFile(/tmp/multipartBody3232664024168358912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429944364,"filename":"image_23042025_19_37_14_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10b4a249641dacf150aa6c9d47458ef6.jpg","text":"TemporaryFile(/tmp/multipartBody6455138536169866815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429944364,"filename":"image_23042025_19_38_14_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44f598b34f3dd182721d69e97ab1b6b0.jpg","text":"TemporaryFile(/tmp/multipartBody5148232754129934973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429944364,"filename":"image_23042025_19_37_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b97c4a9dbea5f6500328ad46428c360a.jpg","text":"TemporaryFile(/tmp/multipartBody2635147390651330304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429944364,"filename":"image_23042025_19_37_44_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/185ef6ca8f7dfefdd1ffd94c423d39f1.jpg","text":"TemporaryFile(/tmp/multipartBody6108283137710221091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745429944364,"filename":"image_23042025_19_37_04_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353135032","file1":"1353135006","file0":"1353134970","file4":"1353135040","file5":"1353135044","file3":"1353135036"},"map_files_photo_id_array":[{"photo_id":"1353135044","filename":"file5"},{"photo_id":"1353135032","filename":"file2"},{"photo_id":"1353135040","filename":"file4"},{"photo_id":"1353135006","filename":"file1"},{"photo_id":"1353134970","filename":"file0"},{"photo_id":"1353135036","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353135032":["hashtag1","hashtag2"]},{"1353135040":["hashtag1","hashtag2"]},{"1353134970":["hashtag1","hashtag2"]},{"1353135036":["hashtag1","hashtag2"]},{"1353135006":["hashtag1","hashtag2"]},{"1353135044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353135032, 1353135040, 1353134970, 1353135036, 1353135006, 1353135044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.12742495536804 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:39:03.239496
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_44_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_34_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_24_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/19/37/image_23042025_19_38_04_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_54_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_54_10643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_44_9674.jpg', '/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_34_9675.jpg', '/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_24_10645.jpg', '/home/nano/Desktop/images/23042025/19/37/image_23042025_19_38_04_9682.jpg', '/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_54_10647.jpg', '/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_54_10643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_44_9674.jpg
/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_34_9675.jpg
/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_24_10645.jpg
/home/nano/Desktop/images/23042025/19/37/image_23042025_19_38_04_9682.jpg
/home/nano/Desktop/images/23042025/19/37/image_23042025_19_37_54_10647.jpg
/home/nano/Desktop/images/23042025/19/36/image_23042025_19_36_54_10643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353135096","1353135090","1353135084","1353135141","1353135135","1353135102"],"photo_ids_order":["1353135084","1353135090","1353135096","1353135102","1353135135","1353135141"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a3a6b98b8c2c245a7b0d53b64878831.jpg","text":"TemporaryFile(/tmp/multipartBody5175287556261688648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430005633,"filename":"image_23042025_19_38_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d76c91beeafe73c31f6866f7e797cab.jpg","text":"TemporaryFile(/tmp/multipartBody46823279178196858asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430005633,"filename":"image_23042025_19_38_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2401c31a8c7b5514e643be21fb2ccf3.jpg","text":"TemporaryFile(/tmp/multipartBody6874866874409434340asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430005633,"filename":"image_23042025_19_38_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7bb475fbfa048ecf10bba4975ef40085.jpg","text":"TemporaryFile(/tmp/multipartBody7919582434431760261asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430005633,"filename":"image_23042025_19_36_54_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5de92d62b1a8a22b95534432645aacda.jpg","text":"TemporaryFile(/tmp/multipartBody8205629955320292545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430005633,"filename":"image_23042025_19_37_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4cea0c5eef52cd5f018a391e82848f1b.jpg","text":"TemporaryFile(/tmp/multipartBody2360658715025095189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430005633,"filename":"image_23042025_19_38_04_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353135096","file1":"1353135090","file0":"1353135084","file4":"1353135135","file5":"1353135141","file3":"1353135102"},"map_files_photo_id_array":[{"photo_id":"1353135141","filename":"file5"},{"photo_id":"1353135096","filename":"file2"},{"photo_id":"1353135135","filename":"file4"},{"photo_id":"1353135090","filename":"file1"},{"photo_id":"1353135084","filename":"file0"},{"photo_id":"1353135102","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353135096":["hashtag1","hashtag2"]},{"1353135090":["hashtag1","hashtag2"]},{"1353135084":["hashtag1","hashtag2"]},{"1353135141":["hashtag1","hashtag2"]},{"1353135135":["hashtag1","hashtag2"]},{"1353135102":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353135096, 1353135090, 1353135084, 1353135141, 1353135135, 1353135102)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.22582221031189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:40:02.714996
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_44_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_34_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_24_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_14_9687.jpg', 2), ('/home/nano/Desktop/images/23042025/19/38/image_23042025_19_39_04_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_54_10719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_44_9641.jpg', '/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_34_9649.jpg', '/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_24_10669.jpg', '/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_14_9687.jpg', '/home/nano/Desktop/images/23042025/19/38/image_23042025_19_39_04_9680.jpg', '/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_54_10719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_44_9641.jpg
/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_34_9649.jpg
/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_24_10669.jpg
/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_14_9687.jpg
/home/nano/Desktop/images/23042025/19/38/image_23042025_19_39_04_9680.jpg
/home/nano/Desktop/images/23042025/19/38/image_23042025_19_38_54_10719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353135251","1353135259","1353135285","1353135237","1353135254","1353135257"],"photo_ids_order":["1353135237","1353135251","1353135254","1353135257","1353135259","1353135285"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdb941b69ea0708e61ca35b9dc620c07.jpg","text":"TemporaryFile(/tmp/multipartBody1740754439011305736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430064715,"filename":"image_23042025_19_39_34_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef06ace2062ae8c39cb2cc52d96677d5.jpg","text":"TemporaryFile(/tmp/multipartBody4706899755229554484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430064715,"filename":"image_23042025_19_39_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88ea89bed7695b6092cab98f3cdcc888.jpg","text":"TemporaryFile(/tmp/multipartBody1540715777683950722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430064715,"filename":"image_23042025_19_38_54_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c5fdfd6ea6db3a35b9bd4d1142ab425.jpg","text":"TemporaryFile(/tmp/multipartBody612362644294111809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430064715,"filename":"image_23042025_19_39_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/546f3c50b7bc906d3cd5ebd2c0ecded2.jpg","text":"TemporaryFile(/tmp/multipartBody8180883559709547099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430064715,"filename":"image_23042025_19_39_24_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d26eace16d8a31751ff0fa790badbe06.jpg","text":"TemporaryFile(/tmp/multipartBody4559353767636671300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430064715,"filename":"image_23042025_19_39_14_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353135254","file1":"1353135251","file0":"1353135237","file4":"1353135259","file5":"1353135285","file3":"1353135257"},"map_files_photo_id_array":[{"photo_id":"1353135285","filename":"file5"},{"photo_id":"1353135254","filename":"file2"},{"photo_id":"1353135259","filename":"file4"},{"photo_id":"1353135251","filename":"file1"},{"photo_id":"1353135237","filename":"file0"},{"photo_id":"1353135257","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353135251":["hashtag1","hashtag2"]},{"1353135259":["hashtag1","hashtag2"]},{"1353135285":["hashtag1","hashtag2"]},{"1353135237":["hashtag1","hashtag2"]},{"1353135254":["hashtag1","hashtag2"]},{"1353135257":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353135251, 1353135259, 1353135285, 1353135237, 1353135254, 1353135257)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.35788536071777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:41:03.114508
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_44_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_34_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_24_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_14_9700.jpg', 2), ('/home/nano/Desktop/images/23042025/19/39/image_23042025_19_40_04_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_54_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_44_9655.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_34_9640.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_24_10654.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_14_9700.jpg', '/home/nano/Desktop/images/23042025/19/39/image_23042025_19_40_04_9654.jpg', '/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_54_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_44_9655.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_34_9640.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_24_10654.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_14_9700.jpg
/home/nano/Desktop/images/23042025/19/39/image_23042025_19_40_04_9654.jpg
/home/nano/Desktop/images/23042025/19/39/image_23042025_19_39_54_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353135391","1353135364","1353135346","1353135396","1353135354","1353135408"],"photo_ids_order":["1353135346","1353135354","1353135364","1353135391","1353135396","1353135408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d52cb0a555a6a9e57bce3eda12840af.jpg","text":"TemporaryFile(/tmp/multipartBody6251072816575326979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430125380,"filename":"image_23042025_19_40_14_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1005f30cade42033bccf29619b6ac518.jpg","text":"TemporaryFile(/tmp/multipartBody3454971160003371951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430125380,"filename":"image_23042025_19_40_24_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/921f7c9c38b02855a676e513a2adcdfa.jpg","text":"TemporaryFile(/tmp/multipartBody4551675503966684081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430125380,"filename":"image_23042025_19_40_44_9655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a2e9fc870d77c240508208e6888ee68.jpg","text":"TemporaryFile(/tmp/multipartBody6768532617074934029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430125380,"filename":"image_23042025_19_40_04_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f99df336bed566019b7691af08fcfd4f.jpg","text":"TemporaryFile(/tmp/multipartBody2265852442784647567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430125380,"filename":"image_23042025_19_40_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/deaa37df8b3e87da2801cfb0f3cb7762.jpg","text":"TemporaryFile(/tmp/multipartBody5150622950433042840asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430125380,"filename":"image_23042025_19_39_54_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353135364","file1":"1353135354","file0":"1353135346","file4":"1353135396","file5":"1353135408","file3":"1353135391"},"map_files_photo_id_array":[{"photo_id":"1353135408","filename":"file5"},{"photo_id":"1353135364","filename":"file2"},{"photo_id":"1353135396","filename":"file4"},{"photo_id":"1353135354","filename":"file1"},{"photo_id":"1353135346","filename":"file0"},{"photo_id":"1353135391","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353135391":["hashtag1","hashtag2"]},{"1353135364":["hashtag1","hashtag2"]},{"1353135346":["hashtag1","hashtag2"]},{"1353135396":["hashtag1","hashtag2"]},{"1353135354":["hashtag1","hashtag2"]},{"1353135408":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353135391, 1353135364, 1353135346, 1353135396, 1353135354, 1353135408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.144097566604614 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:42:02.928216
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_44_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_34_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_24_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_14_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_41_04_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_44_9655.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_34_9643.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_24_10673.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_14_9667.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_41_04_9660.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_44_9655.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_34_9643.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_24_10673.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_14_9667.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_41_04_9660.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_54_10668.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.2514312267303467 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:42:32.413390
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_44_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_34_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_24_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_14_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_42_04_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_44_9641.jpg', '/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_34_9655.jpg', '/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_24_10681.jpg', '/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_14_9680.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_42_04_9680.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_44_9641.jpg
/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_34_9655.jpg
/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_24_10681.jpg
/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_14_9680.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_42_04_9680.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_54_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353135800","1353135787","1353135817","1353135700","1353135690","1353135695"],"photo_ids_order":["1353135690","1353135695","1353135700","1353135787","1353135800","1353135817"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef3e30122c3c59bee14737abde9fbfa5.jpg","text":"TemporaryFile(/tmp/multipartBody8996017362634655050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430214809,"filename":"image_23042025_19_42_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3526b5d08d0d51e0ff099a205ac43b5.jpg","text":"TemporaryFile(/tmp/multipartBody6426960798573440193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430214809,"filename":"image_23042025_19_42_14_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48802dfab2ae036b75960735271877d9.jpg","text":"TemporaryFile(/tmp/multipartBody8150238287312928174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430214809,"filename":"image_23042025_19_41_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19aac842df07a08d647bce4f427efc3c.jpg","text":"TemporaryFile(/tmp/multipartBody2092518396435108488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430214809,"filename":"image_23042025_19_42_24_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/508f6fc7d1f8a25d0bab0e6451266aa1.jpg","text":"TemporaryFile(/tmp/multipartBody581493852984694370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430214809,"filename":"image_23042025_19_42_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a87ae053952d9774bdb9303f5afdb35.jpg","text":"TemporaryFile(/tmp/multipartBody2162765949154776875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430214809,"filename":"image_23042025_19_42_34_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353135700","file1":"1353135695","file0":"1353135690","file4":"1353135800","file5":"1353135817","file3":"1353135787"},"map_files_photo_id_array":[{"photo_id":"1353135817","filename":"file5"},{"photo_id":"1353135700","filename":"file2"},{"photo_id":"1353135800","filename":"file4"},{"photo_id":"1353135695","filename":"file1"},{"photo_id":"1353135690","filename":"file0"},{"photo_id":"1353135787","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353135800":["hashtag1","hashtag2"]},{"1353135787":["hashtag1","hashtag2"]},{"1353135817":["hashtag1","hashtag2"]},{"1353135700":["hashtag1","hashtag2"]},{"1353135690":["hashtag1","hashtag2"]},{"1353135695":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353135800, 1353135787, 1353135817, 1353135700, 1353135690, 1353135695)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.28125834465027 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:43:32.516620
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_44_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_34_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_24_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_14_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/19/42/image_23042025_19_43_04_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_54_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_44_9642.jpg', '/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_34_9657.jpg', '/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_24_10665.jpg', '/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_14_9650.jpg', '/home/nano/Desktop/images/23042025/19/42/image_23042025_19_43_04_9688.jpg', '/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_54_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_44_9642.jpg
/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_34_9657.jpg
/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_24_10665.jpg
/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_14_9650.jpg
/home/nano/Desktop/images/23042025/19/42/image_23042025_19_43_04_9688.jpg
/home/nano/Desktop/images/23042025/19/42/image_23042025_19_42_54_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353136033","1353136036","1353135998","1353135992","1353135986","1353135974"],"photo_ids_order":["1353135974","1353135986","1353135992","1353135998","1353136033","1353136036"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef75b4d7a29c563064f6442e37e484d7.jpg","text":"TemporaryFile(/tmp/multipartBody1500176842702663104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430274451,"filename":"image_23042025_19_43_04_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c728b96162eedb7a0f64acc93dc873b7.jpg","text":"TemporaryFile(/tmp/multipartBody4957614787890813428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430274451,"filename":"image_23042025_19_42_54_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db71e3399ee7c527a212a0a8dd767aef.jpg","text":"TemporaryFile(/tmp/multipartBody865207549828129305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430274451,"filename":"image_23042025_19_43_14_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cb3f7c25e3a5f9faeecb7f866001575.jpg","text":"TemporaryFile(/tmp/multipartBody6785246107684185133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430274451,"filename":"image_23042025_19_43_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ce85520daf964838b603f0e4a9082c2.jpg","text":"TemporaryFile(/tmp/multipartBody1623875272053259461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430274451,"filename":"image_23042025_19_43_34_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/411024324c7720e1cfdab2a7eca97847.jpg","text":"TemporaryFile(/tmp/multipartBody7634651019362674949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430274451,"filename":"image_23042025_19_43_44_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353135992","file1":"1353135986","file0":"1353135974","file4":"1353136033","file5":"1353136036","file3":"1353135998"},"map_files_photo_id_array":[{"photo_id":"1353136036","filename":"file5"},{"photo_id":"1353135992","filename":"file2"},{"photo_id":"1353136033","filename":"file4"},{"photo_id":"1353135986","filename":"file1"},{"photo_id":"1353135974","filename":"file0"},{"photo_id":"1353135998","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353136033":["hashtag1","hashtag2"]},{"1353136036":["hashtag1","hashtag2"]},{"1353135998":["hashtag1","hashtag2"]},{"1353135992":["hashtag1","hashtag2"]},{"1353135986":["hashtag1","hashtag2"]},{"1353135974":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353136033, 1353136036, 1353135998, 1353135992, 1353135986, 1353135974)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.52066659927368 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:44:32.628616
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_44_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_34_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_24_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_14_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/19/43/image_23042025_19_44_04_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_54_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_44_9679.jpg', '/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_34_9684.jpg', '/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_24_10672.jpg', '/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_14_9682.jpg', '/home/nano/Desktop/images/23042025/19/43/image_23042025_19_44_04_9669.jpg', '/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_54_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_44_9679.jpg
/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_34_9684.jpg
/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_24_10672.jpg
/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_14_9682.jpg
/home/nano/Desktop/images/23042025/19/43/image_23042025_19_44_04_9669.jpg
/home/nano/Desktop/images/23042025/19/43/image_23042025_19_43_54_10636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353136129","1353136123","1353136111","1353136134","1353136116","1353136271"],"photo_ids_order":["1353136111","1353136116","1353136123","1353136129","1353136134","1353136271"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90a417a564be422a36bff6d62ea9aef3.jpg","text":"TemporaryFile(/tmp/multipartBody2584315090141662819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430334677,"filename":"image_23042025_19_44_14_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9ca49b25cef3d13d15e6c8ac944f7f2.jpg","text":"TemporaryFile(/tmp/multipartBody3246717815756357409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430334677,"filename":"image_23042025_19_44_24_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a594d4cd6973ae0476d65c739663815d.jpg","text":"TemporaryFile(/tmp/multipartBody8811659841910675882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430334677,"filename":"image_23042025_19_44_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc76a4a725509547d2a4db9246fb8fcd.jpg","text":"TemporaryFile(/tmp/multipartBody4022398826604221102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430334677,"filename":"image_23042025_19_44_04_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2715bbdbcbea2037bbe067ab4f1dc8af.jpg","text":"TemporaryFile(/tmp/multipartBody3529723070941887210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430334677,"filename":"image_23042025_19_44_34_9684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d02de826e545c8529d5325a0087695b4.jpg","text":"TemporaryFile(/tmp/multipartBody7307800195851433115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430334677,"filename":"image_23042025_19_43_54_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353136123","file1":"1353136116","file0":"1353136111","file4":"1353136134","file5":"1353136271","file3":"1353136129"},"map_files_photo_id_array":[{"photo_id":"1353136271","filename":"file5"},{"photo_id":"1353136123","filename":"file2"},{"photo_id":"1353136134","filename":"file4"},{"photo_id":"1353136116","filename":"file1"},{"photo_id":"1353136111","filename":"file0"},{"photo_id":"1353136129","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353136129":["hashtag1","hashtag2"]},{"1353136123":["hashtag1","hashtag2"]},{"1353136111":["hashtag1","hashtag2"]},{"1353136134":["hashtag1","hashtag2"]},{"1353136116":["hashtag1","hashtag2"]},{"1353136271":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353136129, 1353136123, 1353136111, 1353136134, 1353136116, 1353136271)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.57326793670654 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:45:32.740630
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_44_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_34_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_24_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_14_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/19/44/image_23042025_19_45_04_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_54_10670.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_44_9679.jpg', '/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_34_9678.jpg', '/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_24_10669.jpg', '/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_14_9675.jpg', '/home/nano/Desktop/images/23042025/19/44/image_23042025_19_45_04_9684.jpg', '/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_54_10670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_44_9679.jpg
/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_34_9678.jpg
/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_24_10669.jpg
/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_14_9675.jpg
/home/nano/Desktop/images/23042025/19/44/image_23042025_19_45_04_9684.jpg
/home/nano/Desktop/images/23042025/19/44/image_23042025_19_44_54_10670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353136342","1353136438","1353136339","1353136312","1353136335","1353136359"],"photo_ids_order":["1353136312","1353136335","1353136339","1353136342","1353136359","1353136438"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2c87e6fa12f49b7c501f62326417ed0.jpg","text":"TemporaryFile(/tmp/multipartBody6725760427923222101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430394818,"filename":"image_23042025_19_45_14_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce7bc4a16045e6190d48c9a26f40ce0f.jpg","text":"TemporaryFile(/tmp/multipartBody7357677212923108966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430394818,"filename":"image_23042025_19_44_54_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2761eef418db0e21aeca1ef11d0a51fd.jpg","text":"TemporaryFile(/tmp/multipartBody8713872094083852989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430394818,"filename":"image_23042025_19_45_24_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32284a4ab67eef2f35974da9793e84ea.jpg","text":"TemporaryFile(/tmp/multipartBody8479429166603262868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430394818,"filename":"image_23042025_19_45_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd7ce3551f83e6c043ac46bf41f88823.jpg","text":"TemporaryFile(/tmp/multipartBody3426921996010436495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430394818,"filename":"image_23042025_19_45_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7677bbbbd4e1483062655ea5a158c70b.jpg","text":"TemporaryFile(/tmp/multipartBody858853383669163525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430394818,"filename":"image_23042025_19_45_04_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353136339","file1":"1353136335","file0":"1353136312","file4":"1353136359","file5":"1353136438","file3":"1353136342"},"map_files_photo_id_array":[{"photo_id":"1353136438","filename":"file5"},{"photo_id":"1353136339","filename":"file2"},{"photo_id":"1353136359","filename":"file4"},{"photo_id":"1353136335","filename":"file1"},{"photo_id":"1353136312","filename":"file0"},{"photo_id":"1353136342","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353136342":["hashtag1","hashtag2"]},{"1353136438":["hashtag1","hashtag2"]},{"1353136339":["hashtag1","hashtag2"]},{"1353136312":["hashtag1","hashtag2"]},{"1353136335":["hashtag1","hashtag2"]},{"1353136359":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353136342, 1353136438, 1353136339, 1353136312, 1353136335, 1353136359)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.15928101539612 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:46:31.838771
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_44_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_34_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_24_10683.jpg', 2), ('/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_14_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/19/45/image_23042025_19_46_04_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_44_9670.jpg', '/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_34_9644.jpg', '/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_24_10683.jpg', '/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_14_9666.jpg', '/home/nano/Desktop/images/23042025/19/45/image_23042025_19_46_04_9665.jpg', '/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_44_9670.jpg
/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_34_9644.jpg
/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_24_10683.jpg
/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_14_9666.jpg
/home/nano/Desktop/images/23042025/19/45/image_23042025_19_46_04_9665.jpg
/home/nano/Desktop/images/23042025/19/45/image_23042025_19_45_54_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353136621","1353136592","1353136682","1353136661","1353136544","1353136684"],"photo_ids_order":["1353136544","1353136592","1353136621","1353136661","1353136682","1353136684"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d4e88048c7ae928dcea3c2eeb62f515.jpg","text":"TemporaryFile(/tmp/multipartBody6115842138464451284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430453382,"filename":"image_23042025_19_46_24_10683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de7bbadfe35e5f777ecf188dc4fd8cc2.jpg","text":"TemporaryFile(/tmp/multipartBody2477770993688068192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430453382,"filename":"image_23042025_19_46_34_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48bea82bc122955d5efb497b734ea9ab.jpg","text":"TemporaryFile(/tmp/multipartBody7186785476283480898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430453382,"filename":"image_23042025_19_46_04_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30ebf6cd677bcaa5e67283ad03930695.jpg","text":"TemporaryFile(/tmp/multipartBody5022462484400704153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430453382,"filename":"image_23042025_19_46_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6036d8f97bdf5948d58ff86b006b3238.jpg","text":"TemporaryFile(/tmp/multipartBody7717459154265133569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430453382,"filename":"image_23042025_19_46_44_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea0bd55faf59891fc35e7fb0d8799b93.jpg","text":"TemporaryFile(/tmp/multipartBody991754344523583669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430453382,"filename":"image_23042025_19_45_54_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353136621","file1":"1353136592","file0":"1353136544","file4":"1353136682","file5":"1353136684","file3":"1353136661"},"map_files_photo_id_array":[{"photo_id":"1353136684","filename":"file5"},{"photo_id":"1353136621","filename":"file2"},{"photo_id":"1353136682","filename":"file4"},{"photo_id":"1353136592","filename":"file1"},{"photo_id":"1353136544","filename":"file0"},{"photo_id":"1353136661","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353136621":["hashtag1","hashtag2"]},{"1353136592":["hashtag1","hashtag2"]},{"1353136682":["hashtag1","hashtag2"]},{"1353136661":["hashtag1","hashtag2"]},{"1353136544":["hashtag1","hashtag2"]},{"1353136684":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353136621, 1353136592, 1353136682, 1353136661, 1353136544, 1353136684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.3529486656189 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:47:31.929992
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_44_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_34_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_24_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_14_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/19/46/image_23042025_19_47_04_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_54_10667.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_44_9650.jpg', '/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_34_9629.jpg', '/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_24_10673.jpg', '/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_14_9692.jpg', '/home/nano/Desktop/images/23042025/19/46/image_23042025_19_47_04_9646.jpg', '/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_54_10667.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_44_9650.jpg
/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_34_9629.jpg
/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_24_10673.jpg
/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_14_9692.jpg
/home/nano/Desktop/images/23042025/19/46/image_23042025_19_47_04_9646.jpg
/home/nano/Desktop/images/23042025/19/46/image_23042025_19_46_54_10667.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353136768","1353136815","1353136809","1353136772","1353136775","1353136798"],"photo_ids_order":["1353136768","1353136772","1353136775","1353136798","1353136809","1353136815"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/553e416d23a594855c207b984cb5163a.jpg","text":"TemporaryFile(/tmp/multipartBody8028596801697034533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430513589,"filename":"image_23042025_19_47_44_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bd4a19f8d18ce6bc41a3e4ab439ec7ab.jpg","text":"TemporaryFile(/tmp/multipartBody334876128519589276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430513589,"filename":"image_23042025_19_46_54_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12c6afbfab817a07f04a658a0891b9d4.jpg","text":"TemporaryFile(/tmp/multipartBody5649629162036577438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430513589,"filename":"image_23042025_19_47_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffcefd9aa4e66744b094ec0dfc53c0ef.jpg","text":"TemporaryFile(/tmp/multipartBody2279562901068867276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430513589,"filename":"image_23042025_19_47_34_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a4c7d1725b3606fd97d07ddce3358e8.jpg","text":"TemporaryFile(/tmp/multipartBody4192124483857675962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430513589,"filename":"image_23042025_19_47_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1620cf281b5fc371ea5807fd095704f2.jpg","text":"TemporaryFile(/tmp/multipartBody7659283863538970169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430513589,"filename":"image_23042025_19_47_14_9692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353136775","file1":"1353136772","file0":"1353136768","file4":"1353136809","file5":"1353136815","file3":"1353136798"},"map_files_photo_id_array":[{"photo_id":"1353136815","filename":"file5"},{"photo_id":"1353136775","filename":"file2"},{"photo_id":"1353136809","filename":"file4"},{"photo_id":"1353136772","filename":"file1"},{"photo_id":"1353136768","filename":"file0"},{"photo_id":"1353136798","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353136768":["hashtag1","hashtag2"]},{"1353136815":["hashtag1","hashtag2"]},{"1353136809":["hashtag1","hashtag2"]},{"1353136772":["hashtag1","hashtag2"]},{"1353136775":["hashtag1","hashtag2"]},{"1353136798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353136768, 1353136815, 1353136809, 1353136772, 1353136775, 1353136798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.13847756385803 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:48:32.004497
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_44_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_34_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_24_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_14_9689.jpg', 2), ('/home/nano/Desktop/images/23042025/19/47/image_23042025_19_48_04_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_54_10695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_44_9657.jpg', '/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_34_9640.jpg', '/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_24_10664.jpg', '/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_14_9689.jpg', '/home/nano/Desktop/images/23042025/19/47/image_23042025_19_48_04_9667.jpg', '/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_54_10695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_44_9657.jpg
/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_34_9640.jpg
/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_24_10664.jpg
/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_14_9689.jpg
/home/nano/Desktop/images/23042025/19/47/image_23042025_19_48_04_9667.jpg
/home/nano/Desktop/images/23042025/19/47/image_23042025_19_47_54_10695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353136879","1353136896","1353136917","1353136865","1353136856","1353136907"],"photo_ids_order":["1353136856","1353136865","1353136879","1353136896","1353136907","1353136917"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c04aed91b88837a56300bad82ca2e8c.jpg","text":"TemporaryFile(/tmp/multipartBody7096504393351983603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430574239,"filename":"image_23042025_19_48_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22cbd7c29fb50ca7840f44fd7820a3c1.jpg","text":"TemporaryFile(/tmp/multipartBody1107321421244098728asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430574239,"filename":"image_23042025_19_48_14_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0806af6aa79b6f94352530994971cec.jpg","text":"TemporaryFile(/tmp/multipartBody4299166411631115142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430574239,"filename":"image_23042025_19_47_54_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76ef823d774d0a0352e8cb73614f18a6.jpg","text":"TemporaryFile(/tmp/multipartBody2642843449844442194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430574239,"filename":"image_23042025_19_48_34_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8dbf95d19b222374a5b06de1087eb7ba.jpg","text":"TemporaryFile(/tmp/multipartBody7055569765221290959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430574239,"filename":"image_23042025_19_48_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1765179fdff30a89a02e14c1b596bc85.jpg","text":"TemporaryFile(/tmp/multipartBody2417313803226689991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430574239,"filename":"image_23042025_19_48_04_9667.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353136879","file1":"1353136865","file0":"1353136856","file4":"1353136907","file5":"1353136917","file3":"1353136896"},"map_files_photo_id_array":[{"photo_id":"1353136917","filename":"file5"},{"photo_id":"1353136879","filename":"file2"},{"photo_id":"1353136907","filename":"file4"},{"photo_id":"1353136865","filename":"file1"},{"photo_id":"1353136856","filename":"file0"},{"photo_id":"1353136896","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353136879":["hashtag1","hashtag2"]},{"1353136896":["hashtag1","hashtag2"]},{"1353136917":["hashtag1","hashtag2"]},{"1353136865":["hashtag1","hashtag2"]},{"1353136856":["hashtag1","hashtag2"]},{"1353136907":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353136879, 1353136896, 1353136917, 1353136865, 1353136856, 1353136907)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.8690721988678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:49:32.141286
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_44_9659.jpg', 2), ('/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_34_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_24_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_14_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/19/48/image_23042025_19_49_04_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_54_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_44_9659.jpg', '/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_34_9630.jpg', '/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_24_10649.jpg', '/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_14_9667.jpg', '/home/nano/Desktop/images/23042025/19/48/image_23042025_19_49_04_9680.jpg', '/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_54_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_44_9659.jpg
/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_34_9630.jpg
/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_24_10649.jpg
/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_14_9667.jpg
/home/nano/Desktop/images/23042025/19/48/image_23042025_19_49_04_9680.jpg
/home/nano/Desktop/images/23042025/19/48/image_23042025_19_48_54_10656.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137026","1353137022","1353137031","1353136982","1353137033","1353137018"],"photo_ids_order":["1353136982","1353137018","1353137022","1353137026","1353137031","1353137033"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d0d180092eb012dd583e8c97401ba61.jpg","text":"TemporaryFile(/tmp/multipartBody4990150050763591695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430633879,"filename":"image_23042025_19_49_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f39f9098907c5c08dcd33462838a41c.jpg","text":"TemporaryFile(/tmp/multipartBody3272409366495238058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430633879,"filename":"image_23042025_19_49_24_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab0fc4d2d6f12395e3803fb0cfa4398a.jpg","text":"TemporaryFile(/tmp/multipartBody1125040331910839744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430633879,"filename":"image_23042025_19_49_04_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2616b7a6671e6d336d10dcca3c6dfe7b.jpg","text":"TemporaryFile(/tmp/multipartBody2818047878931666611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430633879,"filename":"image_23042025_19_49_44_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6d233cc488b5edf4d930ea91b5de378.jpg","text":"TemporaryFile(/tmp/multipartBody2410575089370992221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430633879,"filename":"image_23042025_19_48_54_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cdb43411254bde81a7d6bea5152d0eb.jpg","text":"TemporaryFile(/tmp/multipartBody7407439983461202674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430633879,"filename":"image_23042025_19_49_34_9630.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137022","file1":"1353137018","file0":"1353136982","file4":"1353137031","file5":"1353137033","file3":"1353137026"},"map_files_photo_id_array":[{"photo_id":"1353137033","filename":"file5"},{"photo_id":"1353137022","filename":"file2"},{"photo_id":"1353137031","filename":"file4"},{"photo_id":"1353137018","filename":"file1"},{"photo_id":"1353136982","filename":"file0"},{"photo_id":"1353137026","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137026":["hashtag1","hashtag2"]},{"1353137022":["hashtag1","hashtag2"]},{"1353137031":["hashtag1","hashtag2"]},{"1353136982":["hashtag1","hashtag2"]},{"1353137033":["hashtag1","hashtag2"]},{"1353137018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137026, 1353137022, 1353137031, 1353136982, 1353137033, 1353137018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.816306591033936 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:50:32.224544
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_44_9946.jpg', 2), ('/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_34_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_24_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_13_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/19/49/image_23042025_19_50_04_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_54_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_44_9946.jpg', '/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_34_9646.jpg', '/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_24_10675.jpg', '/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_13_9680.jpg', '/home/nano/Desktop/images/23042025/19/49/image_23042025_19_50_04_9652.jpg', '/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_54_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_44_9946.jpg
/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_34_9646.jpg
/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_24_10675.jpg
/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_13_9680.jpg
/home/nano/Desktop/images/23042025/19/49/image_23042025_19_50_04_9652.jpg
/home/nano/Desktop/images/23042025/19/49/image_23042025_19_49_54_10637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137233","1353137238","1353137109","1353137231","1353137225","1353137149"],"photo_ids_order":["1353137109","1353137149","1353137225","1353137231","1353137233","1353137238"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67aa9d044fdf7020882e530753202f30.jpg","text":"TemporaryFile(/tmp/multipartBody3626324308769316039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430694565,"filename":"image_23042025_19_50_04_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f724031c9b8a548633eb61dfe1dd5e8b.jpg","text":"TemporaryFile(/tmp/multipartBody5341801768638535106asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430694565,"filename":"image_23042025_19_49_54_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4213fb4e298144cca7178e95e30056f5.jpg","text":"TemporaryFile(/tmp/multipartBody8874699714009315001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430694565,"filename":"image_23042025_19_50_44_9946.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54f660c7f94d7c56686c34921c35590b.jpg","text":"TemporaryFile(/tmp/multipartBody3941588389093309993asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430694565,"filename":"image_23042025_19_50_13_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8e49726903cf498e4b5e31912cefc50.jpg","text":"TemporaryFile(/tmp/multipartBody3428830212990262491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430694565,"filename":"image_23042025_19_50_24_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eab9041b684b2db210f07eb2598141f3.jpg","text":"TemporaryFile(/tmp/multipartBody8388603195669890454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430694565,"filename":"image_23042025_19_50_34_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137225","file1":"1353137149","file0":"1353137109","file4":"1353137233","file5":"1353137238","file3":"1353137231"},"map_files_photo_id_array":[{"photo_id":"1353137238","filename":"file5"},{"photo_id":"1353137225","filename":"file2"},{"photo_id":"1353137233","filename":"file4"},{"photo_id":"1353137149","filename":"file1"},{"photo_id":"1353137109","filename":"file0"},{"photo_id":"1353137231","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137233":["hashtag1","hashtag2"]},{"1353137238":["hashtag1","hashtag2"]},{"1353137109":["hashtag1","hashtag2"]},{"1353137231":["hashtag1","hashtag2"]},{"1353137225":["hashtag1","hashtag2"]},{"1353137149":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137233, 1353137238, 1353137109, 1353137231, 1353137225, 1353137149)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.0394012928009 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:51:32.323834
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_33_9781.jpg', 2), ('/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_24_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_14_9784.jpg', 2), ('/home/nano/Desktop/images/23042025/19/50/image_23042025_19_51_04_10769.jpg', 2), ('/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_53_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_44_9655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_33_9781.jpg', '/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_24_9645.jpg', '/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_14_9784.jpg', '/home/nano/Desktop/images/23042025/19/50/image_23042025_19_51_04_10769.jpg', '/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_53_9698.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_44_9655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_33_9781.jpg
/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_24_9645.jpg
/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_14_9784.jpg
/home/nano/Desktop/images/23042025/19/50/image_23042025_19_51_04_10769.jpg
/home/nano/Desktop/images/23042025/19/50/image_23042025_19_50_53_9698.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_44_9655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137289","1353137268","1353137279","1353137284","1353137293","1353137296"],"photo_ids_order":["1353137268","1353137279","1353137284","1353137289","1353137293","1353137296"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ae4d11174e396e3c8f8e65051950337.jpg","text":"TemporaryFile(/tmp/multipartBody7811340455667187101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430754336,"filename":"image_23042025_19_51_04_10769.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed6b1c4b61c131955c0340d5d03950ab.jpg","text":"TemporaryFile(/tmp/multipartBody5430659655037301560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430754336,"filename":"image_23042025_19_51_33_9781.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee5a8afc6b2112d6fe60d07ce759f302.jpg","text":"TemporaryFile(/tmp/multipartBody830968629962519137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430754336,"filename":"image_23042025_19_51_24_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b2e9b1972b283807284d6ad8afb2ceac.jpg","text":"TemporaryFile(/tmp/multipartBody3742907291748499131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430754336,"filename":"image_23042025_19_51_14_9784.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/741dbf0c349ce6f75a6b2aaf980a7891.jpg","text":"TemporaryFile(/tmp/multipartBody1600238500982031376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430754336,"filename":"image_23042025_19_50_53_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/411e65ef9ec91446f42ced5c80967bf9.jpg","text":"TemporaryFile(/tmp/multipartBody6059824213272906511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430754336,"filename":"image_23042025_19_41_44_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137284","file1":"1353137279","file0":"1353137268","file4":"1353137293","file5":"1353137296","file3":"1353137289"},"map_files_photo_id_array":[{"photo_id":"1353137296","filename":"file5"},{"photo_id":"1353137284","filename":"file2"},{"photo_id":"1353137293","filename":"file4"},{"photo_id":"1353137279","filename":"file1"},{"photo_id":"1353137268","filename":"file0"},{"photo_id":"1353137289","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137289":["hashtag1","hashtag2"]},{"1353137268":["hashtag1","hashtag2"]},{"1353137279":["hashtag1","hashtag2"]},{"1353137284":["hashtag1","hashtag2"]},{"1353137293":["hashtag1","hashtag2"]},{"1353137296":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137289, 1353137268, 1353137279, 1353137284, 1353137293, 1353137296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01295185089111 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:52:32.447897
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_43_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_34_9717.jpg', 2), ('/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_24_10685.jpg', 2), ('/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_13_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/19/51/image_23042025_19_52_04_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_54_9782.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_43_9656.jpg', '/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_34_9717.jpg', '/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_24_10685.jpg', '/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_13_9732.jpg', '/home/nano/Desktop/images/23042025/19/51/image_23042025_19_52_04_9660.jpg', '/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_54_9782.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_43_9656.jpg
/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_34_9717.jpg
/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_24_10685.jpg
/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_13_9732.jpg
/home/nano/Desktop/images/23042025/19/51/image_23042025_19_52_04_9660.jpg
/home/nano/Desktop/images/23042025/19/51/image_23042025_19_51_54_9782.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137344","1353137340","1353137325","1353137321","1353137335","1353137329"],"photo_ids_order":["1353137321","1353137325","1353137329","1353137335","1353137340","1353137344"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/411d0272d3392c27eb835615a05ab047.jpg","text":"TemporaryFile(/tmp/multipartBody5155677729271242305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430814450,"filename":"image_23042025_19_51_54_9782.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a7214ef74ab601516fa2129e982f00e.jpg","text":"TemporaryFile(/tmp/multipartBody7738601250738148677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430814450,"filename":"image_23042025_19_52_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14c95781011f32ed78c1aa9ae9148360.jpg","text":"TemporaryFile(/tmp/multipartBody1295402563623972951asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430814450,"filename":"image_23042025_19_52_34_9717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a18456e59b64d71005c9d237d584083c.jpg","text":"TemporaryFile(/tmp/multipartBody5723580227801591492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430814450,"filename":"image_23042025_19_52_43_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/99e33d5233406dce19b3fb970ba0c0cd.jpg","text":"TemporaryFile(/tmp/multipartBody3269114530022006430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430814450,"filename":"image_23042025_19_52_13_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e9662d064b2af96b47644b9621bc081.jpg","text":"TemporaryFile(/tmp/multipartBody3368998207969740396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430814450,"filename":"image_23042025_19_52_24_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137329","file1":"1353137325","file0":"1353137321","file4":"1353137340","file5":"1353137344","file3":"1353137335"},"map_files_photo_id_array":[{"photo_id":"1353137344","filename":"file5"},{"photo_id":"1353137329","filename":"file2"},{"photo_id":"1353137340","filename":"file4"},{"photo_id":"1353137325","filename":"file1"},{"photo_id":"1353137321","filename":"file0"},{"photo_id":"1353137335","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137344":["hashtag1","hashtag2"]},{"1353137340":["hashtag1","hashtag2"]},{"1353137325":["hashtag1","hashtag2"]},{"1353137321":["hashtag1","hashtag2"]},{"1353137335":["hashtag1","hashtag2"]},{"1353137329":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137344, 1353137340, 1353137325, 1353137321, 1353137335, 1353137329)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.546310901641846 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:53:32.515882
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_44_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_34_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_24_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_13_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/52/image_23042025_19_53_04_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_54_10673.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_44_10644.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_34_9632.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_24_10634.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_13_9670.jpg', '/home/nano/Desktop/images/23042025/19/52/image_23042025_19_53_04_9636.jpg', '/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_54_10673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_44_10644.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_34_9632.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_24_10634.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_13_9670.jpg
/home/nano/Desktop/images/23042025/19/52/image_23042025_19_53_04_9636.jpg
/home/nano/Desktop/images/23042025/19/52/image_23042025_19_52_54_10673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137359","1353137364","1353137367","1353137372","1353137380","1353137377"],"photo_ids_order":["1353137359","1353137364","1353137367","1353137372","1353137377","1353137380"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/958ae414ef8b749fa12284e8a0e48f0b.jpg","text":"TemporaryFile(/tmp/multipartBody8885524409021648226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430874333,"filename":"image_23042025_19_53_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b41fa4adff47dddccbdab26c5e3bc84d.jpg","text":"TemporaryFile(/tmp/multipartBody5682803993220643500asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430874333,"filename":"image_23042025_19_53_34_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72723b9430d0295ffd81619933982072.jpg","text":"TemporaryFile(/tmp/multipartBody9138434583120685665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430874333,"filename":"image_23042025_19_53_24_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad8047289e432afae10bd1ea475a4809.jpg","text":"TemporaryFile(/tmp/multipartBody7620317017725484036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430874333,"filename":"image_23042025_19_53_13_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5eb7b3daa393b1a61b09bf48340e528a.jpg","text":"TemporaryFile(/tmp/multipartBody6614050800144446124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430874333,"filename":"image_23042025_19_52_54_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a80cb537fdbf0568bcd6e6d8c8926e38.jpg","text":"TemporaryFile(/tmp/multipartBody5790005680824371013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430874333,"filename":"image_23042025_19_53_04_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137367","file1":"1353137364","file0":"1353137359","file4":"1353137377","file5":"1353137380","file3":"1353137372"},"map_files_photo_id_array":[{"photo_id":"1353137380","filename":"file5"},{"photo_id":"1353137367","filename":"file2"},{"photo_id":"1353137377","filename":"file4"},{"photo_id":"1353137364","filename":"file1"},{"photo_id":"1353137359","filename":"file0"},{"photo_id":"1353137372","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137359":["hashtag1","hashtag2"]},{"1353137364":["hashtag1","hashtag2"]},{"1353137367":["hashtag1","hashtag2"]},{"1353137372":["hashtag1","hashtag2"]},{"1353137380":["hashtag1","hashtag2"]},{"1353137377":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137359, 1353137364, 1353137367, 1353137372, 1353137380, 1353137377)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.391616344451904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:54:32.664433
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_44_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_34_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_24_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_14_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_54_04_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_54_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_44_10634.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_34_9634.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_24_9633.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_14_10659.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_54_04_9653.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_44_10634.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_34_9634.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_24_9633.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_14_10659.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_54_04_9653.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_54_9629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.636842966079712 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:55:03.174377
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_44_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_34_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_24_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_14_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_54_04_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_54_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_44_10634.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_34_9634.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_24_9633.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_14_10659.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_54_04_9653.jpg', '/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_54_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_44_10634.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_34_9634.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_24_9633.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_14_10659.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_54_04_9653.jpg
/home/nano/Desktop/images/23042025/19/53/image_23042025_19_53_54_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137422","1353137427","1353137424","1353137432","1353137429","1353137420"],"photo_ids_order":["1353137420","1353137422","1353137424","1353137427","1353137429","1353137432"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49ecab2810a374decfaf91b9090d3c7d.jpg","text":"TemporaryFile(/tmp/multipartBody3386783442695139088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430965384,"filename":"image_23042025_19_54_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e57fd529cd1fafd41d0f8daa9c8814bc.jpg","text":"TemporaryFile(/tmp/multipartBody4203269394374973553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430965384,"filename":"image_23042025_19_54_14_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3570592766dea16d57f1b6ab8ea0beed.jpg","text":"TemporaryFile(/tmp/multipartBody4715433691396067948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430965384,"filename":"image_23042025_19_54_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b27cb6310d70697e4caa6856f8fbece.jpg","text":"TemporaryFile(/tmp/multipartBody5276172427767182119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430965384,"filename":"image_23042025_19_53_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6572c7747085652343411266164b0a43.jpg","text":"TemporaryFile(/tmp/multipartBody5476138757194948745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430965384,"filename":"image_23042025_19_54_04_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25e47a980c08c2396f4dc3086dbaa0f4.jpg","text":"TemporaryFile(/tmp/multipartBody2184217005672479805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745430965384,"filename":"image_23042025_19_54_44_10634.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137424","file1":"1353137422","file0":"1353137420","file4":"1353137429","file5":"1353137432","file3":"1353137427"},"map_files_photo_id_array":[{"photo_id":"1353137432","filename":"file5"},{"photo_id":"1353137424","filename":"file2"},{"photo_id":"1353137429","filename":"file4"},{"photo_id":"1353137422","filename":"file1"},{"photo_id":"1353137420","filename":"file0"},{"photo_id":"1353137427","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137422":["hashtag1","hashtag2"]},{"1353137427":["hashtag1","hashtag2"]},{"1353137424":["hashtag1","hashtag2"]},{"1353137432":["hashtag1","hashtag2"]},{"1353137429":["hashtag1","hashtag2"]},{"1353137420":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137422, 1353137427, 1353137424, 1353137432, 1353137429, 1353137420)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.29731893539429 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:56:02.328151
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_44_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_33_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_24_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_14_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_55_03_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_44_10670.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_33_9636.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_24_9656.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_14_10669.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_55_03_9651.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_44_10670.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_33_9636.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_24_9656.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_14_10669.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_55_03_9651.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_54_9649.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.8728549480438232 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:56:31.835205
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_44_10701.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_33_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_24_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_14_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_56_03_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_54_9648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_44_10701.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_33_9640.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_24_9663.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_14_10671.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_56_03_9647.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_54_9648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_44_10701.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_33_9640.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_24_9663.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_14_10671.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_56_03_9647.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_54_9648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353137487","1353137484","1353137466","1353137480","1353137470","1353137473"],"photo_ids_order":["1353137466","1353137470","1353137473","1353137480","1353137484","1353137487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/669cacaf4d930e021199fa650b89f1c1.jpg","text":"TemporaryFile(/tmp/multipartBody4391768595009082786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431053471,"filename":"image_23042025_19_55_54_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad3edb77ffdd2d7964ef9dd84b0bee26.jpg","text":"TemporaryFile(/tmp/multipartBody5020205127297676629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431053471,"filename":"image_23042025_19_56_03_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5795296b45f1c826dded25b79990bedf.jpg","text":"TemporaryFile(/tmp/multipartBody6055323802933779786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431053471,"filename":"image_23042025_19_56_44_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0739ece28b331ddd2998382eb34b5bb0.jpg","text":"TemporaryFile(/tmp/multipartBody60015312290368558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431053471,"filename":"image_23042025_19_56_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85a3baf82ecb7fb518242a442d1a30d7.jpg","text":"TemporaryFile(/tmp/multipartBody4941788622991339665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431053471,"filename":"image_23042025_19_56_33_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3b0c806542167195c4deff836ae4965f.jpg","text":"TemporaryFile(/tmp/multipartBody8255800990568074875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431053471,"filename":"image_23042025_19_56_24_9663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353137473","file1":"1353137470","file0":"1353137466","file4":"1353137484","file5":"1353137487","file3":"1353137480"},"map_files_photo_id_array":[{"photo_id":"1353137487","filename":"file5"},{"photo_id":"1353137473","filename":"file2"},{"photo_id":"1353137484","filename":"file4"},{"photo_id":"1353137470","filename":"file1"},{"photo_id":"1353137466","filename":"file0"},{"photo_id":"1353137480","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353137487":["hashtag1","hashtag2"]},{"1353137484":["hashtag1","hashtag2"]},{"1353137466":["hashtag1","hashtag2"]},{"1353137480":["hashtag1","hashtag2"]},{"1353137470":["hashtag1","hashtag2"]},{"1353137473":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353137487, 1353137484, 1353137466, 1353137480, 1353137470, 1353137473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.852373838424683 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:57:31.936255
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_44_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_34_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_24_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_14_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_57_03_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_44_9645.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_34_10647.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_24_9629.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_14_10670.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_57_03_9621.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_44_9645.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_34_10647.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_24_9629.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_14_10670.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_57_03_9621.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_54_9645.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 19:59:03.139613
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_44_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_34_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_24_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_14_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_57_03_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_54_9645.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_44_9645.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_34_10647.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_24_9629.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_14_10670.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_57_03_9621.jpg', '/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_54_9645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_44_9645.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_34_10647.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_24_9629.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_14_10670.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_57_03_9621.jpg
/home/nano/Desktop/images/23042025/19/56/image_23042025_19_56_54_9645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353138171","1353138144","1353138153","1353138167","1353138161","1353138178"],"photo_ids_order":["1353138144","1353138153","1353138161","1353138167","1353138171","1353138178"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/785c7dcd02035f3af979ff1d984b756d.jpg","text":"TemporaryFile(/tmp/multipartBody3302827530024208560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431205071,"filename":"image_23042025_19_57_03_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec2be31d882c2f19383086012e336002.jpg","text":"TemporaryFile(/tmp/multipartBody505763527222091243asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431205071,"filename":"image_23042025_19_57_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8f8fe1246e478c4e9a08a769b8fb45a.jpg","text":"TemporaryFile(/tmp/multipartBody2791128471847077142asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431205071,"filename":"image_23042025_19_57_34_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09489c16c079d1a1037632640f97e8e0.jpg","text":"TemporaryFile(/tmp/multipartBody3416136281422389760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431205071,"filename":"image_23042025_19_57_14_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10e77beef9659ebfb2fdb780b43ec880.jpg","text":"TemporaryFile(/tmp/multipartBody1867053986835305390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431205071,"filename":"image_23042025_19_57_24_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e934a1d5cf59ec29b13f7549ec02075.jpg","text":"TemporaryFile(/tmp/multipartBody2041898487222650373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431205071,"filename":"image_23042025_19_56_54_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353138161","file1":"1353138153","file0":"1353138144","file4":"1353138171","file5":"1353138178","file3":"1353138167"},"map_files_photo_id_array":[{"photo_id":"1353138178","filename":"file5"},{"photo_id":"1353138161","filename":"file2"},{"photo_id":"1353138171","filename":"file4"},{"photo_id":"1353138153","filename":"file1"},{"photo_id":"1353138144","filename":"file0"},{"photo_id":"1353138167","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353138171":["hashtag1","hashtag2"]},{"1353138144":["hashtag1","hashtag2"]},{"1353138153":["hashtag1","hashtag2"]},{"1353138167":["hashtag1","hashtag2"]},{"1353138161":["hashtag1","hashtag2"]},{"1353138178":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353138171, 1353138144, 1353138153, 1353138167, 1353138161, 1353138178)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.98667335510254 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:00:02.720757
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_44_9566.jpg', 2), ('/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_34_10617.jpg', 2), ('/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_23_9610.jpg', 2), ('/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_14_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/19/58/image_23042025_19_59_04_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_54_9669.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_44_9566.jpg', '/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_34_10617.jpg', '/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_23_9610.jpg', '/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_14_9665.jpg', '/home/nano/Desktop/images/23042025/19/58/image_23042025_19_59_04_10651.jpg', '/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_54_9669.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_44_9566.jpg
/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_34_10617.jpg
/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_23_9610.jpg
/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_14_9665.jpg
/home/nano/Desktop/images/23042025/19/58/image_23042025_19_59_04_10651.jpg
/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_54_9669.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353138561","1353138423","1353138395","1353138589","1353138529","1353138471"],"photo_ids_order":["1353138395","1353138423","1353138471","1353138529","1353138561","1353138589"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d43895c51d3e3fee32541117ade0540.jpg","text":"TemporaryFile(/tmp/multipartBody8258537896256368305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431264329,"filename":"image_23042025_19_59_04_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b519317efb48197213dd2f7e90bfc96.jpg","text":"TemporaryFile(/tmp/multipartBody5227021058617249911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431264329,"filename":"image_23042025_19_59_34_10617.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b025e6ccb8e73d166d07d22afa97de4c.jpg","text":"TemporaryFile(/tmp/multipartBody1036208979455358453asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431264329,"filename":"image_23042025_19_59_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6bd18fd0bfe0eddc3722633da422e7a5.jpg","text":"TemporaryFile(/tmp/multipartBody7021959994066352653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431264329,"filename":"image_23042025_19_58_54_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01a4bf7a0a015240b2c9a04d39f6f068.jpg","text":"TemporaryFile(/tmp/multipartBody5955130322300595257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431264329,"filename":"image_23042025_19_59_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c147efe2dde59b96ab63e0412f7bbdab.jpg","text":"TemporaryFile(/tmp/multipartBody7946972103224836800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431264329,"filename":"image_23042025_19_59_23_9610.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353138471","file1":"1353138423","file0":"1353138395","file4":"1353138561","file5":"1353138589","file3":"1353138529"},"map_files_photo_id_array":[{"photo_id":"1353138589","filename":"file5"},{"photo_id":"1353138471","filename":"file2"},{"photo_id":"1353138561","filename":"file4"},{"photo_id":"1353138423","filename":"file1"},{"photo_id":"1353138395","filename":"file0"},{"photo_id":"1353138529","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353138561":["hashtag1","hashtag2"]},{"1353138423":["hashtag1","hashtag2"]},{"1353138395":["hashtag1","hashtag2"]},{"1353138589":["hashtag1","hashtag2"]},{"1353138529":["hashtag1","hashtag2"]},{"1353138471":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353138561, 1353138423, 1353138395, 1353138589, 1353138529, 1353138471)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65623998641968 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:01:02.872957
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_43_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_34_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_24_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_13_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/19/59/image_23042025_20_00_04_9584.jpg', 2), ('/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_54_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_43_9643.jpg', '/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_34_9636.jpg', '/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_24_10650.jpg', '/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_13_9647.jpg', '/home/nano/Desktop/images/23042025/19/59/image_23042025_20_00_04_9584.jpg', '/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_54_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_43_9643.jpg
/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_34_9636.jpg
/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_24_10650.jpg
/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_13_9647.jpg
/home/nano/Desktop/images/23042025/19/59/image_23042025_20_00_04_9584.jpg
/home/nano/Desktop/images/23042025/19/59/image_23042025_19_59_54_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353139230","1353139032","1353139097","1353139385","1353139304","1353139165"],"photo_ids_order":["1353139032","1353139097","1353139165","1353139230","1353139304","1353139385"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/557a6ee8315147701ccf52fb07cf369e.jpg","text":"TemporaryFile(/tmp/multipartBody1644504661105931960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431324592,"filename":"image_23042025_20_00_13_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2d2142089822d59bd68ec614b29676e6.jpg","text":"TemporaryFile(/tmp/multipartBody240165145700998169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431324592,"filename":"image_23042025_20_00_43_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/da68fbbc63ac0e5a1788f997f4f58bbe.jpg","text":"TemporaryFile(/tmp/multipartBody3475729913820369028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431324592,"filename":"image_23042025_20_00_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cc19ca9297fb0ed5ee630338896db1b.jpg","text":"TemporaryFile(/tmp/multipartBody5824934638625283603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431324592,"filename":"image_23042025_19_59_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c1e9e2997969a9a677f1bf88378c70b.jpg","text":"TemporaryFile(/tmp/multipartBody6777992972908664686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431324592,"filename":"image_23042025_20_00_04_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb049d576d1c30247c162530964042bc.jpg","text":"TemporaryFile(/tmp/multipartBody1001798114719851904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431324592,"filename":"image_23042025_20_00_24_10650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353139165","file1":"1353139097","file0":"1353139032","file4":"1353139304","file5":"1353139385","file3":"1353139230"},"map_files_photo_id_array":[{"photo_id":"1353139385","filename":"file5"},{"photo_id":"1353139165","filename":"file2"},{"photo_id":"1353139304","filename":"file4"},{"photo_id":"1353139097","filename":"file1"},{"photo_id":"1353139032","filename":"file0"},{"photo_id":"1353139230","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353139230":["hashtag1","hashtag2"]},{"1353139032":["hashtag1","hashtag2"]},{"1353139097":["hashtag1","hashtag2"]},{"1353139385":["hashtag1","hashtag2"]},{"1353139304":["hashtag1","hashtag2"]},{"1353139165":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353139230, 1353139032, 1353139097, 1353139385, 1353139304, 1353139165)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.93694758415222 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:02:02.819329
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_44_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_34_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_24_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_13_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/20/00/image_23042025_20_01_04_9668.jpg', 2), ('/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_54_10651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_44_10652.jpg', '/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_34_9631.jpg', '/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_24_10639.jpg', '/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_13_9679.jpg', '/home/nano/Desktop/images/23042025/20/00/image_23042025_20_01_04_9668.jpg', '/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_54_10651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_44_10652.jpg
/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_34_9631.jpg
/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_24_10639.jpg
/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_13_9679.jpg
/home/nano/Desktop/images/23042025/20/00/image_23042025_20_01_04_9668.jpg
/home/nano/Desktop/images/23042025/20/00/image_23042025_20_00_54_10651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353140104","1353140062","1353140164","1353140110","1353140011","1353140134"],"photo_ids_order":["1353140011","1353140062","1353140104","1353140110","1353140134","1353140164"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78e6e7823ec702af55e6fdef25cfe9df.jpg","text":"TemporaryFile(/tmp/multipartBody7753574318605845639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431384625,"filename":"image_23042025_20_01_24_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb0b46749ef35c8f6e9c3d85b8cd542b.jpg","text":"TemporaryFile(/tmp/multipartBody7022318575613366823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431384625,"filename":"image_23042025_20_01_34_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee5c083d1462f96d5f27f92a2696a76c.jpg","text":"TemporaryFile(/tmp/multipartBody3023481232827927777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431384625,"filename":"image_23042025_20_00_54_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39aa071687052aa54cb3f8f3d21e7023.jpg","text":"TemporaryFile(/tmp/multipartBody7174803530759148188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431384625,"filename":"image_23042025_20_01_13_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ee9ce1e2221accb1798199eed62cc34.jpg","text":"TemporaryFile(/tmp/multipartBody5313996511425137611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431384625,"filename":"image_23042025_20_01_44_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95411cebc1d13842a7c180a113f569cc.jpg","text":"TemporaryFile(/tmp/multipartBody8990270017985030162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431384625,"filename":"image_23042025_20_01_04_9668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353140104","file1":"1353140062","file0":"1353140011","file4":"1353140134","file5":"1353140164","file3":"1353140110"},"map_files_photo_id_array":[{"photo_id":"1353140164","filename":"file5"},{"photo_id":"1353140104","filename":"file2"},{"photo_id":"1353140134","filename":"file4"},{"photo_id":"1353140062","filename":"file1"},{"photo_id":"1353140011","filename":"file0"},{"photo_id":"1353140110","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353140104":["hashtag1","hashtag2"]},{"1353140062":["hashtag1","hashtag2"]},{"1353140164":["hashtag1","hashtag2"]},{"1353140110":["hashtag1","hashtag2"]},{"1353140011":["hashtag1","hashtag2"]},{"1353140134":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353140104, 1353140062, 1353140164, 1353140110, 1353140011, 1353140134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.19746208190918 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:03:03.123698
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_44_10615.jpg', 2), ('/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_33_9620.jpg', 2), ('/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_24_9607.jpg', 2), ('/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_14_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/20/01/image_23042025_20_02_04_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_54_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_44_10615.jpg', '/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_33_9620.jpg', '/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_24_9607.jpg', '/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_14_10633.jpg', '/home/nano/Desktop/images/23042025/20/01/image_23042025_20_02_04_9634.jpg', '/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_54_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_44_10615.jpg
/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_33_9620.jpg
/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_24_9607.jpg
/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_14_10633.jpg
/home/nano/Desktop/images/23042025/20/01/image_23042025_20_02_04_9634.jpg
/home/nano/Desktop/images/23042025/20/01/image_23042025_20_01_54_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353140396","1353140441","1353140368","1353140449","1353140341","1353140425"],"photo_ids_order":["1353140341","1353140368","1353140396","1353140425","1353140441","1353140449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2ffd6b816403346391cb47bf96c2642.jpg","text":"TemporaryFile(/tmp/multipartBody2574577711862870316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431444435,"filename":"image_23042025_20_02_24_9607.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01f14d4e8711955f179cf902a782b662.jpg","text":"TemporaryFile(/tmp/multipartBody2992122025230977485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431444435,"filename":"image_23042025_20_02_04_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8dac657e4d05552617371272cb9044b.jpg","text":"TemporaryFile(/tmp/multipartBody6101419370205648394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431444435,"filename":"image_23042025_20_02_33_9620.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa23272ea3b5954c108ec4a1477f8d4c.jpg","text":"TemporaryFile(/tmp/multipartBody3336549507121771018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431444435,"filename":"image_23042025_20_01_54_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fd82b95e1b55a2c506c838e88103d8e.jpg","text":"TemporaryFile(/tmp/multipartBody159494831782151941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431444435,"filename":"image_23042025_20_02_44_10615.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c6904e5a7bd2f3bcb44b803522c5f28.jpg","text":"TemporaryFile(/tmp/multipartBody2908668648684039437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431444435,"filename":"image_23042025_20_02_14_10633.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353140396","file1":"1353140368","file0":"1353140341","file4":"1353140441","file5":"1353140449","file3":"1353140425"},"map_files_photo_id_array":[{"photo_id":"1353140449","filename":"file5"},{"photo_id":"1353140396","filename":"file2"},{"photo_id":"1353140441","filename":"file4"},{"photo_id":"1353140368","filename":"file1"},{"photo_id":"1353140341","filename":"file0"},{"photo_id":"1353140425","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353140396":["hashtag1","hashtag2"]},{"1353140441":["hashtag1","hashtag2"]},{"1353140368":["hashtag1","hashtag2"]},{"1353140449":["hashtag1","hashtag2"]},{"1353140341":["hashtag1","hashtag2"]},{"1353140425":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353140396, 1353140441, 1353140368, 1353140449, 1353140341, 1353140425)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.235466957092285 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:04:03.313244
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_44_9809.jpg', 2), ('/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_34_9793.jpg', 2), ('/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_24_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_14_10812.jpg', 2), ('/home/nano/Desktop/images/23042025/20/02/image_23042025_20_03_03_9792.jpg', 2), ('/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_54_9609.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_44_9809.jpg', '/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_34_9793.jpg', '/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_24_9709.jpg', '/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_14_10812.jpg', '/home/nano/Desktop/images/23042025/20/02/image_23042025_20_03_03_9792.jpg', '/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_54_9609.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_44_9809.jpg
/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_34_9793.jpg
/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_24_9709.jpg
/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_14_10812.jpg
/home/nano/Desktop/images/23042025/20/02/image_23042025_20_03_03_9792.jpg
/home/nano/Desktop/images/23042025/20/02/image_23042025_20_02_54_9609.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353140544","1353140541","1353140535","1353140537","1353140546","1353140539"],"photo_ids_order":["1353140535","1353140537","1353140539","1353140541","1353140544","1353140546"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ed26144e0a765b7d2000da3dbfe8d5d.jpg","text":"TemporaryFile(/tmp/multipartBody771404550615491511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431506214,"filename":"image_23042025_20_03_03_9792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bbc434c823d38a2db923f2b6ab52dd24.jpg","text":"TemporaryFile(/tmp/multipartBody1158104367292868920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431506214,"filename":"image_23042025_20_03_14_10812.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b46d1f9a53e6a1031a67a6b3e00e146a.jpg","text":"TemporaryFile(/tmp/multipartBody8846509656321218452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431506214,"filename":"image_23042025_20_03_44_9809.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e80d01847432c25fe3b8ff92fb6741f.jpg","text":"TemporaryFile(/tmp/multipartBody8995772073925789827asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431506214,"filename":"image_23042025_20_03_34_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dedb890a246f5e83281c7a4c32222480.jpg","text":"TemporaryFile(/tmp/multipartBody4210768365415525811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431506214,"filename":"image_23042025_20_02_54_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e1ea4bb53f4247ffc420086d6ca6273.jpg","text":"TemporaryFile(/tmp/multipartBody8758079085073451887asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431506214,"filename":"image_23042025_20_03_24_9709.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353140539","file1":"1353140537","file0":"1353140535","file4":"1353140544","file5":"1353140546","file3":"1353140541"},"map_files_photo_id_array":[{"photo_id":"1353140546","filename":"file5"},{"photo_id":"1353140539","filename":"file2"},{"photo_id":"1353140544","filename":"file4"},{"photo_id":"1353140537","filename":"file1"},{"photo_id":"1353140535","filename":"file0"},{"photo_id":"1353140541","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353140544":["hashtag1","hashtag2"]},{"1353140541":["hashtag1","hashtag2"]},{"1353140535":["hashtag1","hashtag2"]},{"1353140537":["hashtag1","hashtag2"]},{"1353140546":["hashtag1","hashtag2"]},{"1353140539":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353140544, 1353140541, 1353140535, 1353140537, 1353140546, 1353140539)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.57303738594055 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:05:03.393304
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_44_9897.jpg', 2), ('/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_44_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_34_10730.jpg', 2), ('/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_23_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_14_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/20/03/image_23042025_20_04_04_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_44_9897.jpg', '/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_44_9710.jpg', '/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_34_10730.jpg', '/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_23_9697.jpg', '/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_14_9626.jpg', '/home/nano/Desktop/images/23042025/20/03/image_23042025_20_04_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_44_9897.jpg
/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_44_9710.jpg
/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_34_10730.jpg
/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_23_9697.jpg
/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_14_9626.jpg
/home/nano/Desktop/images/23042025/20/03/image_23042025_20_04_04_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353140757","1353140859","1353140727","1353140712","1353140715","1353140762"],"photo_ids_order":["1353140712","1353140715","1353140727","1353140757","1353140762","1353140859"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae99086dcd34a416dc43d18cf128c80f.jpg","text":"TemporaryFile(/tmp/multipartBody1174449313734963444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431566124,"filename":"image_23042025_20_04_23_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe5fa2bf75d1ca00d9205bbe7da7a0b5.jpg","text":"TemporaryFile(/tmp/multipartBody2940199404784458158asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431566124,"filename":"image_23042025_20_04_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/055b76911eb6639f82fd669ba0d28b78.jpg","text":"TemporaryFile(/tmp/multipartBody4844040836661916490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431566124,"filename":"image_23042025_20_04_34_10730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb995b47e8fe79aaffdb04bcac455c58.jpg","text":"TemporaryFile(/tmp/multipartBody8793129542911328963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431566124,"filename":"image_23042025_20_05_44_9897.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66cab26b7da15c5436d67b5082009495.jpg","text":"TemporaryFile(/tmp/multipartBody3794095597064199714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431566124,"filename":"image_23042025_20_04_44_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/298fa5c65a80d2c5cf21bc65fd39e446.jpg","text":"TemporaryFile(/tmp/multipartBody938280507181455302asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431566124,"filename":"image_23042025_20_04_14_9626.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353140727","file1":"1353140715","file0":"1353140712","file4":"1353140762","file5":"1353140859","file3":"1353140757"},"map_files_photo_id_array":[{"photo_id":"1353140859","filename":"file5"},{"photo_id":"1353140727","filename":"file2"},{"photo_id":"1353140762","filename":"file4"},{"photo_id":"1353140715","filename":"file1"},{"photo_id":"1353140712","filename":"file0"},{"photo_id":"1353140757","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353140757":["hashtag1","hashtag2"]},{"1353140859":["hashtag1","hashtag2"]},{"1353140727":["hashtag1","hashtag2"]},{"1353140712":["hashtag1","hashtag2"]},{"1353140715":["hashtag1","hashtag2"]},{"1353140762":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353140757, 1353140859, 1353140727, 1353140712, 1353140715, 1353140762)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.813042640686035 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:06:02.170299
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_34_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_24_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_14_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/20/04/image_23042025_20_05_04_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_53_9618.jpg', 2), ('/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_54_10760.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_34_10666.jpg', '/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_24_9633.jpg', '/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_14_9745.jpg', '/home/nano/Desktop/images/23042025/20/04/image_23042025_20_05_04_10680.jpg', '/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_53_9618.jpg', '/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_54_10760.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_34_10666.jpg
/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_24_9633.jpg
/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_14_9745.jpg
/home/nano/Desktop/images/23042025/20/04/image_23042025_20_05_04_10680.jpg
/home/nano/Desktop/images/23042025/20/04/image_23042025_20_04_53_9618.jpg
/home/nano/Desktop/images/23042025/20/03/image_23042025_20_03_54_10760.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353141042","1353141015","1353141092","1353141074","1353141077","1353141070"],"photo_ids_order":["1353141015","1353141042","1353141070","1353141074","1353141077","1353141092"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3773de026f133213ae3860a9656953b.jpg","text":"TemporaryFile(/tmp/multipartBody3498375199764010676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431626139,"filename":"image_23042025_20_05_24_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/231cc11ff6129f0861263f76080a2678.jpg","text":"TemporaryFile(/tmp/multipartBody5651801577458231808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431626139,"filename":"image_23042025_20_05_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90cd178f7f1139efb053d0778f4400ef.jpg","text":"TemporaryFile(/tmp/multipartBody6975485299333423097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431626139,"filename":"image_23042025_20_03_54_10760.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/554b6a3926c8045ed40475a4308413d7.jpg","text":"TemporaryFile(/tmp/multipartBody4424427382876317135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431626139,"filename":"image_23042025_20_05_04_10680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ce87f4ad9a6a2fc7b881ec0dcebda69.jpg","text":"TemporaryFile(/tmp/multipartBody8731544134021614730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431626139,"filename":"image_23042025_20_04_53_9618.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2184a37f8586fa7570f39e7f7cc4f09.jpg","text":"TemporaryFile(/tmp/multipartBody6611412264910168240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431626139,"filename":"image_23042025_20_05_14_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353141070","file1":"1353141042","file0":"1353141015","file4":"1353141077","file5":"1353141092","file3":"1353141074"},"map_files_photo_id_array":[{"photo_id":"1353141092","filename":"file5"},{"photo_id":"1353141070","filename":"file2"},{"photo_id":"1353141077","filename":"file4"},{"photo_id":"1353141042","filename":"file1"},{"photo_id":"1353141015","filename":"file0"},{"photo_id":"1353141074","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353141042":["hashtag1","hashtag2"]},{"1353141015":["hashtag1","hashtag2"]},{"1353141092":["hashtag1","hashtag2"]},{"1353141074":["hashtag1","hashtag2"]},{"1353141077":["hashtag1","hashtag2"]},{"1353141070":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353141042, 1353141015, 1353141092, 1353141074, 1353141077, 1353141070)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.95524191856384 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:07:02.623621
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_44_10865.jpg', 2), ('/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_33_9859.jpg', 2), ('/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_14_9872.jpg', 2), ('/home/nano/Desktop/images/23042025/20/05/image_23042025_20_06_04_9875.jpg', 2), ('/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_54_9829.jpg', 2), ('/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_44_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_44_10865.jpg', '/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_33_9859.jpg', '/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_14_9872.jpg', '/home/nano/Desktop/images/23042025/20/05/image_23042025_20_06_04_9875.jpg', '/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_54_9829.jpg', '/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_44_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_44_10865.jpg
/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_33_9859.jpg
/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_14_9872.jpg
/home/nano/Desktop/images/23042025/20/05/image_23042025_20_06_04_9875.jpg
/home/nano/Desktop/images/23042025/20/05/image_23042025_20_05_54_9829.jpg
/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_44_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353141191","1353141204","1353141209","1353141211","1353141189","1353141192"],"photo_ids_order":["1353141189","1353141191","1353141192","1353141204","1353141209","1353141211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c78d1fd1331858f37dcd0d3e5e41968.jpg","text":"TemporaryFile(/tmp/multipartBody1171379515677539986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431685705,"filename":"image_23042025_20_06_33_9859.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/63ed98bd98c5ad0e09882c6bb697da8a.jpg","text":"TemporaryFile(/tmp/multipartBody3619999376161894894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431685705,"filename":"image_23042025_20_06_04_9875.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3f0a36a5977c4439c65668f5535dfa0.jpg","text":"TemporaryFile(/tmp/multipartBody8204076758107646950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431685705,"filename":"image_23042025_20_05_54_9829.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00d4d32f922dfc5105bcc7b667c60a46.jpg","text":"TemporaryFile(/tmp/multipartBody8298411088130482459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431685705,"filename":"image_23042025_19_58_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb1dd95c0e396198eec8d3cb85f47bc2.jpg","text":"TemporaryFile(/tmp/multipartBody5093670096060754228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431685705,"filename":"image_23042025_20_06_44_10865.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86460a20cac7ae6fbd59c2458299d265.jpg","text":"TemporaryFile(/tmp/multipartBody8802409397807409793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431685705,"filename":"image_23042025_20_06_14_9872.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353141192","file1":"1353141191","file0":"1353141189","file4":"1353141209","file5":"1353141211","file3":"1353141204"},"map_files_photo_id_array":[{"photo_id":"1353141211","filename":"file5"},{"photo_id":"1353141192","filename":"file2"},{"photo_id":"1353141209","filename":"file4"},{"photo_id":"1353141191","filename":"file1"},{"photo_id":"1353141189","filename":"file0"},{"photo_id":"1353141204","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353141191":["hashtag1","hashtag2"]},{"1353141204":["hashtag1","hashtag2"]},{"1353141209":["hashtag1","hashtag2"]},{"1353141211":["hashtag1","hashtag2"]},{"1353141189":["hashtag1","hashtag2"]},{"1353141192":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353141191, 1353141204, 1353141209, 1353141211, 1353141189, 1353141192)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.863476514816284 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:08:02.702656
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_44_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_34_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_24_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_14_9875.jpg', 2), ('/home/nano/Desktop/images/23042025/20/06/image_23042025_20_07_04_9863.jpg', 2), ('/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_54_9859.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_44_9641.jpg', '/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_34_10668.jpg', '/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_24_9733.jpg', '/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_14_9875.jpg', '/home/nano/Desktop/images/23042025/20/06/image_23042025_20_07_04_9863.jpg', '/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_54_9859.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_44_9641.jpg
/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_34_10668.jpg
/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_24_9733.jpg
/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_14_9875.jpg
/home/nano/Desktop/images/23042025/20/06/image_23042025_20_07_04_9863.jpg
/home/nano/Desktop/images/23042025/20/06/image_23042025_20_06_54_9859.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353141327","1353141309","1353141314","1353141331","1353141316","1353141325"],"photo_ids_order":["1353141309","1353141314","1353141316","1353141325","1353141327","1353141331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77f6d6b140a4eefa983549705221af81.jpg","text":"TemporaryFile(/tmp/multipartBody5340065865849900003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431745061,"filename":"image_23042025_20_07_04_9863.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/424c7a2d8e961ac96d6da73f27d2289c.jpg","text":"TemporaryFile(/tmp/multipartBody9146125388890932836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431745061,"filename":"image_23042025_20_07_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/830ff989716fc1354c6a42b23f20959c.jpg","text":"TemporaryFile(/tmp/multipartBody4346089703939557150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431745061,"filename":"image_23042025_20_07_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6ba81fba95757fa5c548d0064323509.jpg","text":"TemporaryFile(/tmp/multipartBody7865667680638878920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431745061,"filename":"image_23042025_20_06_54_9859.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31f0c3e2b7dd9495a5ebabfbec0adeb4.jpg","text":"TemporaryFile(/tmp/multipartBody1089994031378955727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431745061,"filename":"image_23042025_20_07_24_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1ced6f1e4205b5905980683ac05db74.jpg","text":"TemporaryFile(/tmp/multipartBody3569236500414533383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431745061,"filename":"image_23042025_20_07_14_9875.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353141316","file1":"1353141314","file0":"1353141309","file4":"1353141327","file5":"1353141331","file3":"1353141325"},"map_files_photo_id_array":[{"photo_id":"1353141331","filename":"file5"},{"photo_id":"1353141316","filename":"file2"},{"photo_id":"1353141327","filename":"file4"},{"photo_id":"1353141314","filename":"file1"},{"photo_id":"1353141309","filename":"file0"},{"photo_id":"1353141325","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353141327":["hashtag1","hashtag2"]},{"1353141309":["hashtag1","hashtag2"]},{"1353141314":["hashtag1","hashtag2"]},{"1353141331":["hashtag1","hashtag2"]},{"1353141316":["hashtag1","hashtag2"]},{"1353141325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353141327, 1353141309, 1353141314, 1353141331, 1353141316, 1353141325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67775797843933 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:09:03.145647
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_44_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_34_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_24_9724.jpg', 2), ('/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_14_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/20/07/image_23042025_20_08_04_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_44_9654.jpg', '/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_34_10666.jpg', '/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_24_9724.jpg', '/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_14_9698.jpg', '/home/nano/Desktop/images/23042025/20/07/image_23042025_20_08_04_10681.jpg', '/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_44_9654.jpg
/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_34_10666.jpg
/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_24_9724.jpg
/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_14_9698.jpg
/home/nano/Desktop/images/23042025/20/07/image_23042025_20_08_04_10681.jpg
/home/nano/Desktop/images/23042025/20/07/image_23042025_20_07_54_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353141383","1353141386","1353141394","1353141388","1353141397","1353141391"],"photo_ids_order":["1353141383","1353141386","1353141388","1353141391","1353141394","1353141397"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5cf694aa6913dad7d1e2c9025dc9063f.jpg","text":"TemporaryFile(/tmp/multipartBody6986664572367590703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431805284,"filename":"image_23042025_20_08_44_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9891b3f274f5a91a0c2357ca529da774.jpg","text":"TemporaryFile(/tmp/multipartBody7714771825257890694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431805284,"filename":"image_23042025_20_08_34_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/281a3041209c06e3682358d63dc3c705.jpg","text":"TemporaryFile(/tmp/multipartBody5202815444927531916asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431805284,"filename":"image_23042025_20_08_04_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fa7c44888484f7d08f452101b338e4ad.jpg","text":"TemporaryFile(/tmp/multipartBody2247156533205993125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431805284,"filename":"image_23042025_20_08_24_9724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57ea70351380a6a3115901fd832b3166.jpg","text":"TemporaryFile(/tmp/multipartBody1554234825182411575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431805284,"filename":"image_23042025_20_07_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64dc4b89989d0ebc042cf0debadc6d9b.jpg","text":"TemporaryFile(/tmp/multipartBody7277148301309239793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431805284,"filename":"image_23042025_20_08_14_9698.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353141388","file1":"1353141386","file0":"1353141383","file4":"1353141394","file5":"1353141397","file3":"1353141391"},"map_files_photo_id_array":[{"photo_id":"1353141397","filename":"file5"},{"photo_id":"1353141388","filename":"file2"},{"photo_id":"1353141394","filename":"file4"},{"photo_id":"1353141386","filename":"file1"},{"photo_id":"1353141383","filename":"file0"},{"photo_id":"1353141391","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353141383":["hashtag1","hashtag2"]},{"1353141386":["hashtag1","hashtag2"]},{"1353141394":["hashtag1","hashtag2"]},{"1353141388":["hashtag1","hashtag2"]},{"1353141397":["hashtag1","hashtag2"]},{"1353141391":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353141383, 1353141386, 1353141394, 1353141388, 1353141397, 1353141391)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77373290061951 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:10:02.742902
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_44_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_34_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_24_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_14_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/20/08/image_23042025_20_09_04_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_44_9629.jpg', '/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_34_10658.jpg', '/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_24_9627.jpg', '/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_14_9663.jpg', '/home/nano/Desktop/images/23042025/20/08/image_23042025_20_09_04_10676.jpg', '/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_44_9629.jpg
/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_34_10658.jpg
/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_24_9627.jpg
/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_14_9663.jpg
/home/nano/Desktop/images/23042025/20/08/image_23042025_20_09_04_10676.jpg
/home/nano/Desktop/images/23042025/20/08/image_23042025_20_08_54_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353141519","1353141608","1353141619","1353141547","1353141582","1353141459"],"photo_ids_order":["1353141459","1353141519","1353141547","1353141582","1353141608","1353141619"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0d00329c725f4fcdc152f08d0c4b284.jpg","text":"TemporaryFile(/tmp/multipartBody4831600306159184079asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431864753,"filename":"image_23042025_20_09_34_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a6eaa8b25327a019aa82b035c9050cc9.jpg","text":"TemporaryFile(/tmp/multipartBody4817038397705511877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431864753,"filename":"image_23042025_20_09_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fc9d628a3644079c0fa8af06a20b7696.jpg","text":"TemporaryFile(/tmp/multipartBody3506787979235132477asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431864753,"filename":"image_23042025_20_08_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae7d27cec8a3e88ae8f90d1daa8452bc.jpg","text":"TemporaryFile(/tmp/multipartBody4889558530329910555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431864753,"filename":"image_23042025_20_09_24_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3e16cc44d3bb5c5a095193b4a4c0162.jpg","text":"TemporaryFile(/tmp/multipartBody2449916438096160144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431864753,"filename":"image_23042025_20_09_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9288a4021b9df9eb76c6e2d85786d688.jpg","text":"TemporaryFile(/tmp/multipartBody995864888049592842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431864753,"filename":"image_23042025_20_09_44_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353141547","file1":"1353141519","file0":"1353141459","file4":"1353141608","file5":"1353141619","file3":"1353141582"},"map_files_photo_id_array":[{"photo_id":"1353141619","filename":"file5"},{"photo_id":"1353141547","filename":"file2"},{"photo_id":"1353141608","filename":"file4"},{"photo_id":"1353141519","filename":"file1"},{"photo_id":"1353141459","filename":"file0"},{"photo_id":"1353141582","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353141519":["hashtag1","hashtag2"]},{"1353141608":["hashtag1","hashtag2"]},{"1353141619":["hashtag1","hashtag2"]},{"1353141547":["hashtag1","hashtag2"]},{"1353141582":["hashtag1","hashtag2"]},{"1353141459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353141519, 1353141608, 1353141619, 1353141547, 1353141582, 1353141459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 54.855879068374634 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:11:03.133205
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_44_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_34_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_23_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_14_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/20/09/image_23042025_20_10_04_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_53_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_44_9645.jpg', '/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_34_10668.jpg', '/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_23_9635.jpg', '/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_14_9666.jpg', '/home/nano/Desktop/images/23042025/20/09/image_23042025_20_10_04_10663.jpg', '/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_53_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_44_9645.jpg
/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_34_10668.jpg
/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_23_9635.jpg
/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_14_9666.jpg
/home/nano/Desktop/images/23042025/20/09/image_23042025_20_10_04_10663.jpg
/home/nano/Desktop/images/23042025/20/09/image_23042025_20_09_53_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353141738","1353141764","1353141737","1353141707","1353141736","1353141741"],"photo_ids_order":["1353141707","1353141736","1353141737","1353141738","1353141741","1353141764"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/060160905258d6f6bb02d04c512d8ded.jpg","text":"TemporaryFile(/tmp/multipartBody8965754126907687299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431925067,"filename":"image_23042025_20_10_14_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22b4cc0289e11fc3eddf45e1d8da8752.jpg","text":"TemporaryFile(/tmp/multipartBody2480942023288600878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431925067,"filename":"image_23042025_20_09_53_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0958eed0b7298d2b1e0bda5a7e6fd35.jpg","text":"TemporaryFile(/tmp/multipartBody6808433919217308919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431925067,"filename":"image_23042025_20_10_23_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50934284519a2a35d3ec89017a52f108.jpg","text":"TemporaryFile(/tmp/multipartBody7309612648320903691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431925067,"filename":"image_23042025_20_10_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3eb916a9b01c0240e702802470e41ea.jpg","text":"TemporaryFile(/tmp/multipartBody2812092295393452432asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431925067,"filename":"image_23042025_20_10_34_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ddc62a8f3144222161dedf5b01b25aaa.jpg","text":"TemporaryFile(/tmp/multipartBody3542869574194650696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431925067,"filename":"image_23042025_20_10_04_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353141737","file1":"1353141736","file0":"1353141707","file4":"1353141741","file5":"1353141764","file3":"1353141738"},"map_files_photo_id_array":[{"photo_id":"1353141764","filename":"file5"},{"photo_id":"1353141737","filename":"file2"},{"photo_id":"1353141741","filename":"file4"},{"photo_id":"1353141736","filename":"file1"},{"photo_id":"1353141707","filename":"file0"},{"photo_id":"1353141738","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353141738":["hashtag1","hashtag2"]},{"1353141764":["hashtag1","hashtag2"]},{"1353141737":["hashtag1","hashtag2"]},{"1353141707":["hashtag1","hashtag2"]},{"1353141736":["hashtag1","hashtag2"]},{"1353141741":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353141738, 1353141764, 1353141737, 1353141707, 1353141736, 1353141741)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.44485831260681 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:12:02.841636
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_44_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_34_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_23_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_14_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/20/10/image_23042025_20_11_04_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_53_9626.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_44_9637.jpg', '/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_34_10659.jpg', '/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_23_9638.jpg', '/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_14_9676.jpg', '/home/nano/Desktop/images/23042025/20/10/image_23042025_20_11_04_10676.jpg', '/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_53_9626.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_44_9637.jpg
/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_34_10659.jpg
/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_23_9638.jpg
/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_14_9676.jpg
/home/nano/Desktop/images/23042025/20/10/image_23042025_20_11_04_10676.jpg
/home/nano/Desktop/images/23042025/20/10/image_23042025_20_10_53_9626.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353142265","1353142193","1353142220","1353142260","1353142295","1353142199"],"photo_ids_order":["1353142193","1353142199","1353142220","1353142260","1353142265","1353142295"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c062f0f51be65bd3a97748308ba17d0b.jpg","text":"TemporaryFile(/tmp/multipartBody4175207691554861266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431984663,"filename":"image_23042025_20_11_04_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c4a0c0cdb09dc7be9b3c698a6ab2843.jpg","text":"TemporaryFile(/tmp/multipartBody2809444527065050766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431984663,"filename":"image_23042025_20_11_44_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08eee4a2eb08d1bfa944a64195d08a08.jpg","text":"TemporaryFile(/tmp/multipartBody3372610529860068925asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431984663,"filename":"image_23042025_20_11_23_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16ba57b45c34bc63c46407b131cadde9.jpg","text":"TemporaryFile(/tmp/multipartBody944125022979872787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431984663,"filename":"image_23042025_20_11_14_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eacb39844805d320bf259579fa333b66.jpg","text":"TemporaryFile(/tmp/multipartBody2498307236358334318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431984663,"filename":"image_23042025_20_10_53_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/048b3adf84e0fcea750ba5804103e372.jpg","text":"TemporaryFile(/tmp/multipartBody3406052359343171101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745431984663,"filename":"image_23042025_20_11_34_10659.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353142220","file1":"1353142199","file0":"1353142193","file4":"1353142265","file5":"1353142295","file3":"1353142260"},"map_files_photo_id_array":[{"photo_id":"1353142295","filename":"file5"},{"photo_id":"1353142220","filename":"file2"},{"photo_id":"1353142265","filename":"file4"},{"photo_id":"1353142199","filename":"file1"},{"photo_id":"1353142193","filename":"file0"},{"photo_id":"1353142260","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353142265":["hashtag1","hashtag2"]},{"1353142193":["hashtag1","hashtag2"]},{"1353142220":["hashtag1","hashtag2"]},{"1353142260":["hashtag1","hashtag2"]},{"1353142295":["hashtag1","hashtag2"]},{"1353142199":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353142265, 1353142193, 1353142220, 1353142260, 1353142295, 1353142199)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.129210233688354 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:13:03.134025
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_44_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_34_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_24_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_14_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/20/11/image_23042025_20_12_04_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_54_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_44_9640.jpg', '/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_34_9636.jpg', '/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_24_10678.jpg', '/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_14_9664.jpg', '/home/nano/Desktop/images/23042025/20/11/image_23042025_20_12_04_9637.jpg', '/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_54_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_44_9640.jpg
/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_34_9636.jpg
/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_24_10678.jpg
/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_14_9664.jpg
/home/nano/Desktop/images/23042025/20/11/image_23042025_20_12_04_9637.jpg
/home/nano/Desktop/images/23042025/20/11/image_23042025_20_11_54_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353142373","1353142378","1353142408","1353142398","1353142402","1353142404"],"photo_ids_order":["1353142373","1353142378","1353142398","1353142402","1353142404","1353142408"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebd514680a6e64c740b2514f6efb78ea.jpg","text":"TemporaryFile(/tmp/multipartBody2316506877737325465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432044681,"filename":"image_23042025_20_12_44_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51c0f77a40fb8cd18661d4daa650effa.jpg","text":"TemporaryFile(/tmp/multipartBody4713242139260640849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432044681,"filename":"image_23042025_20_12_34_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6e547b8219ba0150c46a0e71045d77f.jpg","text":"TemporaryFile(/tmp/multipartBody6104269937845570961asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432044681,"filename":"image_23042025_20_11_54_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45050d49acd592a6ab194d8cbc60c30c.jpg","text":"TemporaryFile(/tmp/multipartBody2919211619956225069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432044681,"filename":"image_23042025_20_12_24_10678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/caab0af689f7d1f9643496e521e46722.jpg","text":"TemporaryFile(/tmp/multipartBody6914027360396535359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432044681,"filename":"image_23042025_20_12_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cf7e021791635d7e1589aa4a2eeb634.jpg","text":"TemporaryFile(/tmp/multipartBody5531441045992096533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432044681,"filename":"image_23042025_20_12_04_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353142398","file1":"1353142378","file0":"1353142373","file4":"1353142404","file5":"1353142408","file3":"1353142402"},"map_files_photo_id_array":[{"photo_id":"1353142408","filename":"file5"},{"photo_id":"1353142398","filename":"file2"},{"photo_id":"1353142404","filename":"file4"},{"photo_id":"1353142378","filename":"file1"},{"photo_id":"1353142373","filename":"file0"},{"photo_id":"1353142402","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353142373":["hashtag1","hashtag2"]},{"1353142378":["hashtag1","hashtag2"]},{"1353142408":["hashtag1","hashtag2"]},{"1353142398":["hashtag1","hashtag2"]},{"1353142402":["hashtag1","hashtag2"]},{"1353142404":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353142373, 1353142378, 1353142408, 1353142398, 1353142402, 1353142404)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.08689045906067 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:14:03.345941
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_43_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_34_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_24_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_13_9594.jpg', 2), ('/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_54_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_34_10644.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_43_9641.jpg', '/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_34_9651.jpg', '/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_24_10636.jpg', '/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_13_9594.jpg', '/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_54_10665.jpg', '/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_34_10644.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_43_9641.jpg
/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_34_9651.jpg
/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_24_10636.jpg
/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_13_9594.jpg
/home/nano/Desktop/images/23042025/20/12/image_23042025_20_12_54_10665.jpg
/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_34_10644.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353142550","1353142451","1353142579","1353142576","1353142525","1353142475"],"photo_ids_order":["1353142451","1353142475","1353142525","1353142550","1353142576","1353142579"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c46c1fcc0d573e9bdbc6e0746f5b76ff.jpg","text":"TemporaryFile(/tmp/multipartBody4480054922104028372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432105123,"filename":"image_23042025_20_13_13_9594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a67a4ac9b02841986c8582dbee995ab.jpg","text":"TemporaryFile(/tmp/multipartBody6835776743883229186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432105123,"filename":"image_23042025_20_13_43_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88057b5cd3482ffa19c66b44942650c5.jpg","text":"TemporaryFile(/tmp/multipartBody6547698847818971290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432105123,"filename":"image_23042025_19_58_34_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e0e72739b53aa890bab9a77c7fe67d9.jpg","text":"TemporaryFile(/tmp/multipartBody4617207655768888303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432105123,"filename":"image_23042025_20_12_54_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b0ed66cc83c6a0da50c1a2120379a4f.jpg","text":"TemporaryFile(/tmp/multipartBody4605560704166237113asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432105123,"filename":"image_23042025_20_13_24_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b1f8185d3ed7e15a1749c3f960918ff.jpg","text":"TemporaryFile(/tmp/multipartBody3321345223087825691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432105123,"filename":"image_23042025_20_13_34_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353142525","file1":"1353142475","file0":"1353142451","file4":"1353142576","file5":"1353142579","file3":"1353142550"},"map_files_photo_id_array":[{"photo_id":"1353142579","filename":"file5"},{"photo_id":"1353142525","filename":"file2"},{"photo_id":"1353142576","filename":"file4"},{"photo_id":"1353142475","filename":"file1"},{"photo_id":"1353142451","filename":"file0"},{"photo_id":"1353142550","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353142550":["hashtag1","hashtag2"]},{"1353142451":["hashtag1","hashtag2"]},{"1353142579":["hashtag1","hashtag2"]},{"1353142576":["hashtag1","hashtag2"]},{"1353142525":["hashtag1","hashtag2"]},{"1353142475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353142550, 1353142451, 1353142579, 1353142576, 1353142525, 1353142475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.80645990371704 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:15:03.345475
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_54_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_34_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_24_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_13_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/20/13/image_23042025_20_14_04_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_54_10636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_54_9629.jpg', '/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_34_9634.jpg', '/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_24_10660.jpg', '/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_13_9652.jpg', '/home/nano/Desktop/images/23042025/20/13/image_23042025_20_14_04_9664.jpg', '/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_54_10636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_54_9629.jpg
/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_34_9634.jpg
/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_24_10660.jpg
/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_13_9652.jpg
/home/nano/Desktop/images/23042025/20/13/image_23042025_20_14_04_9664.jpg
/home/nano/Desktop/images/23042025/20/13/image_23042025_20_13_54_10636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353142757","1353142751","1353142750","1353142753","1353142782","1353142809"],"photo_ids_order":["1353142750","1353142751","1353142753","1353142757","1353142782","1353142809"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c56760fc34ccfeaeed7d8fab9b710b2e.jpg","text":"TemporaryFile(/tmp/multipartBody8681639949882294254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432165679,"filename":"image_23042025_20_14_13_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cce30ae581dd473128f7de17903273f0.jpg","text":"TemporaryFile(/tmp/multipartBody3919382843303487742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432165679,"filename":"image_23042025_20_14_34_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ab2140a8e047a33772a129aa5d9d949.jpg","text":"TemporaryFile(/tmp/multipartBody296197063357679944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432165679,"filename":"image_23042025_20_14_54_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a74d6b1010f86b1fdea89528b40a82f.jpg","text":"TemporaryFile(/tmp/multipartBody7239355850303485199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432165679,"filename":"image_23042025_20_14_24_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3632656c0d5849819090ba84cc93170f.jpg","text":"TemporaryFile(/tmp/multipartBody1975241911502070329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432165679,"filename":"image_23042025_20_14_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48af7d211c61feca205b262116680f3c.jpg","text":"TemporaryFile(/tmp/multipartBody5388045867487027823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432165679,"filename":"image_23042025_20_13_54_10636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353142753","file1":"1353142751","file0":"1353142750","file4":"1353142782","file5":"1353142809","file3":"1353142757"},"map_files_photo_id_array":[{"photo_id":"1353142809","filename":"file5"},{"photo_id":"1353142753","filename":"file2"},{"photo_id":"1353142782","filename":"file4"},{"photo_id":"1353142751","filename":"file1"},{"photo_id":"1353142750","filename":"file0"},{"photo_id":"1353142757","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353142757":["hashtag1","hashtag2"]},{"1353142751":["hashtag1","hashtag2"]},{"1353142750":["hashtag1","hashtag2"]},{"1353142753":["hashtag1","hashtag2"]},{"1353142782":["hashtag1","hashtag2"]},{"1353142809":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353142757, 1353142751, 1353142750, 1353142753, 1353142782, 1353142809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.596206188201904 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:16:02.240912
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_44_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_33_9611.jpg', 2), ('/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_24_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_14_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/20/14/image_23042025_20_15_04_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_44_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_44_10648.jpg', '/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_33_9611.jpg', '/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_24_9630.jpg', '/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_14_10657.jpg', '/home/nano/Desktop/images/23042025/20/14/image_23042025_20_15_04_9647.jpg', '/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_44_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_44_10648.jpg
/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_33_9611.jpg
/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_24_9630.jpg
/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_14_10657.jpg
/home/nano/Desktop/images/23042025/20/14/image_23042025_20_15_04_9647.jpg
/home/nano/Desktop/images/23042025/20/14/image_23042025_20_14_44_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353143008","1353143034","1353143058","1353142956","1353143087","1353143111"],"photo_ids_order":["1353142956","1353143008","1353143034","1353143058","1353143087","1353143111"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34cd8ed343ed435aa6715575ecb5d409.jpg","text":"TemporaryFile(/tmp/multipartBody3446494613131143596asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432224082,"filename":"image_23042025_20_15_33_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85ba170ddbfd9c4b09e7ea70b01fed99.jpg","text":"TemporaryFile(/tmp/multipartBody9208326662362071975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432224082,"filename":"image_23042025_20_15_24_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86bce7fce029e717680946a8eb2dd01d.jpg","text":"TemporaryFile(/tmp/multipartBody8536425537477819756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432224082,"filename":"image_23042025_20_15_14_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/833bc3e8d10c440e2d17bf2cd3905897.jpg","text":"TemporaryFile(/tmp/multipartBody1330317693145415268asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432224082,"filename":"image_23042025_20_15_44_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae406654f91461bef2ed87d0fc86f722.jpg","text":"TemporaryFile(/tmp/multipartBody3122132980854729576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432224082,"filename":"image_23042025_20_15_04_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f00def75653bb4b1afaf5f69fc95e03.jpg","text":"TemporaryFile(/tmp/multipartBody6049412940159647977asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432224082,"filename":"image_23042025_20_14_44_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353143034","file1":"1353143008","file0":"1353142956","file4":"1353143087","file5":"1353143111","file3":"1353143058"},"map_files_photo_id_array":[{"photo_id":"1353143111","filename":"file5"},{"photo_id":"1353143034","filename":"file2"},{"photo_id":"1353143087","filename":"file4"},{"photo_id":"1353143008","filename":"file1"},{"photo_id":"1353142956","filename":"file0"},{"photo_id":"1353143058","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353143008":["hashtag1","hashtag2"]},{"1353143034":["hashtag1","hashtag2"]},{"1353143058":["hashtag1","hashtag2"]},{"1353142956":["hashtag1","hashtag2"]},{"1353143087":["hashtag1","hashtag2"]},{"1353143111":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353143008, 1353143034, 1353143058, 1353142956, 1353143087, 1353143111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8122673034668 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:17:02.623798
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_44_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_33_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_24_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_14_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/20/15/image_23042025_20_16_03_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_54_9627.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_44_10666.jpg', '/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_33_9634.jpg', '/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_24_9653.jpg', '/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_14_10651.jpg', '/home/nano/Desktop/images/23042025/20/15/image_23042025_20_16_03_9635.jpg', '/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_54_9627.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_44_10666.jpg
/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_33_9634.jpg
/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_24_9653.jpg
/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_14_10651.jpg
/home/nano/Desktop/images/23042025/20/15/image_23042025_20_16_03_9635.jpg
/home/nano/Desktop/images/23042025/20/15/image_23042025_20_15_54_9627.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353143420","1353143389","1353143533","1353143362","1353143334","1353143459"],"photo_ids_order":["1353143334","1353143362","1353143389","1353143420","1353143459","1353143533"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d13c0b0a451dfa7d252b7d062d3657c7.jpg","text":"TemporaryFile(/tmp/multipartBody2874275285129583273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432284895,"filename":"image_23042025_20_16_14_10651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ec0491ac12f7f707eb59664779f3795.jpg","text":"TemporaryFile(/tmp/multipartBody4509256028345897924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432284895,"filename":"image_23042025_20_16_24_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4455325fc249d959988fa00dbfc7878c.jpg","text":"TemporaryFile(/tmp/multipartBody7094599628602217238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432284895,"filename":"image_23042025_20_15_54_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98a98f641949c6454b2aa89af7ec56b4.jpg","text":"TemporaryFile(/tmp/multipartBody9057283194513976882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432284895,"filename":"image_23042025_20_16_33_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77a2046cfe91319128414acbbf5550a0.jpg","text":"TemporaryFile(/tmp/multipartBody8581031787873351343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432284895,"filename":"image_23042025_20_16_44_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eaf7084f7cf728c96ac0023b2b1c4123.jpg","text":"TemporaryFile(/tmp/multipartBody4735640450742293816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432284895,"filename":"image_23042025_20_16_03_9635.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353143389","file1":"1353143362","file0":"1353143334","file4":"1353143459","file5":"1353143533","file3":"1353143420"},"map_files_photo_id_array":[{"photo_id":"1353143533","filename":"file5"},{"photo_id":"1353143389","filename":"file2"},{"photo_id":"1353143459","filename":"file4"},{"photo_id":"1353143362","filename":"file1"},{"photo_id":"1353143334","filename":"file0"},{"photo_id":"1353143420","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353143420":["hashtag1","hashtag2"]},{"1353143389":["hashtag1","hashtag2"]},{"1353143533":["hashtag1","hashtag2"]},{"1353143362":["hashtag1","hashtag2"]},{"1353143334":["hashtag1","hashtag2"]},{"1353143459":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353143420, 1353143389, 1353143533, 1353143362, 1353143334, 1353143459)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.002872705459595 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:18:02.544500
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_44_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_34_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_24_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_14_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/20/16/image_23042025_20_17_04_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_54_9631.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_44_9641.jpg', '/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_34_10665.jpg', '/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_24_9648.jpg', '/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_14_9657.jpg', '/home/nano/Desktop/images/23042025/20/16/image_23042025_20_17_04_10638.jpg', '/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_54_9631.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_44_9641.jpg
/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_34_10665.jpg
/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_24_9648.jpg
/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_14_9657.jpg
/home/nano/Desktop/images/23042025/20/16/image_23042025_20_17_04_10638.jpg
/home/nano/Desktop/images/23042025/20/16/image_23042025_20_16_54_9631.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353144562","1353144514","1353144436","1353144384","1353144621","1353144470"],"photo_ids_order":["1353144384","1353144436","1353144470","1353144514","1353144562","1353144621"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c15f46b00a9a2795667eacfce3ef5ae1.jpg","text":"TemporaryFile(/tmp/multipartBody7389187473409680369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432344629,"filename":"image_23042025_20_17_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/146cb5f725d66238d468e461e877d51f.jpg","text":"TemporaryFile(/tmp/multipartBody8197902917786464849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432344629,"filename":"image_23042025_20_17_14_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2cb1d2c6f71ad43c8b5b8bea86540da6.jpg","text":"TemporaryFile(/tmp/multipartBody4299943503266072476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432344629,"filename":"image_23042025_20_17_34_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20b17cbdcdd5bdba525143cbcd3c361e.jpg","text":"TemporaryFile(/tmp/multipartBody5612859211584486996asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432344629,"filename":"image_23042025_20_17_44_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69e041f4ac8cd461e050de16e2282e70.jpg","text":"TemporaryFile(/tmp/multipartBody1213507272587997404asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432344629,"filename":"image_23042025_20_16_54_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c5c1e274566d370305d0cd0e7c509b8f.jpg","text":"TemporaryFile(/tmp/multipartBody5508353484661997370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432344629,"filename":"image_23042025_20_17_24_9648.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353144470","file1":"1353144436","file0":"1353144384","file4":"1353144562","file5":"1353144621","file3":"1353144514"},"map_files_photo_id_array":[{"photo_id":"1353144621","filename":"file5"},{"photo_id":"1353144470","filename":"file2"},{"photo_id":"1353144562","filename":"file4"},{"photo_id":"1353144436","filename":"file1"},{"photo_id":"1353144384","filename":"file0"},{"photo_id":"1353144514","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353144562":["hashtag1","hashtag2"]},{"1353144514":["hashtag1","hashtag2"]},{"1353144436":["hashtag1","hashtag2"]},{"1353144384":["hashtag1","hashtag2"]},{"1353144621":["hashtag1","hashtag2"]},{"1353144470":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353144562, 1353144514, 1353144436, 1353144384, 1353144621, 1353144470)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65054416656494 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:19:03.187002
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_44_9677.jpg', 2), ('/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_34_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_24_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_14_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/20/17/image_23042025_20_18_04_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_54_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_44_9677.jpg', '/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_34_10672.jpg', '/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_24_9643.jpg', '/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_14_9663.jpg', '/home/nano/Desktop/images/23042025/20/17/image_23042025_20_18_04_10659.jpg', '/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_54_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_44_9677.jpg
/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_34_10672.jpg
/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_24_9643.jpg
/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_14_9663.jpg
/home/nano/Desktop/images/23042025/20/17/image_23042025_20_18_04_10659.jpg
/home/nano/Desktop/images/23042025/20/17/image_23042025_20_17_54_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353145293","1353145266","1353145356","1353145320","1353145346","1353145360"],"photo_ids_order":["1353145266","1353145293","1353145320","1353145346","1353145356","1353145360"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f983e5ff88761f5bf7ab379ec81450c.jpg","text":"TemporaryFile(/tmp/multipartBody2679638104877200967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432405114,"filename":"image_23042025_20_18_34_10672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f21168a209ed97d73e7367c0a384fce2.jpg","text":"TemporaryFile(/tmp/multipartBody6372536934621029592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432405114,"filename":"image_23042025_20_18_44_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/883f9f265f65093558993645b5dcc949.jpg","text":"TemporaryFile(/tmp/multipartBody9080106624054008107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432405114,"filename":"image_23042025_20_18_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d160d66f18e45d22450ff6181463733.jpg","text":"TemporaryFile(/tmp/multipartBody885334562704844814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432405114,"filename":"image_23042025_20_18_24_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d85968ed5565bdc18efe44a6b29e413d.jpg","text":"TemporaryFile(/tmp/multipartBody2296728318879526072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432405114,"filename":"image_23042025_20_18_14_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3ac6cf5bd23e653e8bdebad8424236dd.jpg","text":"TemporaryFile(/tmp/multipartBody1087194948225132389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432405114,"filename":"image_23042025_20_17_54_9636.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353145320","file1":"1353145293","file0":"1353145266","file4":"1353145356","file5":"1353145360","file3":"1353145346"},"map_files_photo_id_array":[{"photo_id":"1353145360","filename":"file5"},{"photo_id":"1353145320","filename":"file2"},{"photo_id":"1353145356","filename":"file4"},{"photo_id":"1353145293","filename":"file1"},{"photo_id":"1353145266","filename":"file0"},{"photo_id":"1353145346","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353145293":["hashtag1","hashtag2"]},{"1353145266":["hashtag1","hashtag2"]},{"1353145356":["hashtag1","hashtag2"]},{"1353145320":["hashtag1","hashtag2"]},{"1353145346":["hashtag1","hashtag2"]},{"1353145360":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353145293, 1353145266, 1353145356, 1353145320, 1353145346, 1353145360)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76620888710022 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:20:02.940439
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_44_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_34_10639.jpg', 2), ('/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_23_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_14_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/20/18/image_23042025_20_19_04_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_53_9646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_44_9653.jpg', '/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_34_10639.jpg', '/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_23_9644.jpg', '/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_14_9678.jpg', '/home/nano/Desktop/images/23042025/20/18/image_23042025_20_19_04_10663.jpg', '/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_53_9646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_44_9653.jpg
/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_34_10639.jpg
/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_23_9644.jpg
/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_14_9678.jpg
/home/nano/Desktop/images/23042025/20/18/image_23042025_20_19_04_10663.jpg
/home/nano/Desktop/images/23042025/20/18/image_23042025_20_18_53_9646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353145872","1353145773","1353145821","1353145707","1353145744","1353145906"],"photo_ids_order":["1353145707","1353145744","1353145773","1353145821","1353145872","1353145906"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7d9b3ba406f6f68aac31af4b41919a3.jpg","text":"TemporaryFile(/tmp/multipartBody5803393172213864910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432464802,"filename":"image_23042025_20_19_04_10663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f986500c03395c50f801fd57e0415a28.jpg","text":"TemporaryFile(/tmp/multipartBody4685624221583656912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432464802,"filename":"image_23042025_20_19_23_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b826b6030ddf85cc63aabf9313c1a99.jpg","text":"TemporaryFile(/tmp/multipartBody3968069675171553395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432464802,"filename":"image_23042025_20_19_14_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93ec05ffcce498788ac5b80b6edf403c.jpg","text":"TemporaryFile(/tmp/multipartBody1585609984534152129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432464802,"filename":"image_23042025_20_19_44_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/134de26aecc23f65cb30f4c88a542c47.jpg","text":"TemporaryFile(/tmp/multipartBody4528924846005821194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432464802,"filename":"image_23042025_20_19_34_10639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f4fc2c8f814c6c02cf8d5911734a9da.jpg","text":"TemporaryFile(/tmp/multipartBody8264010885953377955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432464802,"filename":"image_23042025_20_18_53_9646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353145773","file1":"1353145744","file0":"1353145707","file4":"1353145872","file5":"1353145906","file3":"1353145821"},"map_files_photo_id_array":[{"photo_id":"1353145906","filename":"file5"},{"photo_id":"1353145773","filename":"file2"},{"photo_id":"1353145872","filename":"file4"},{"photo_id":"1353145744","filename":"file1"},{"photo_id":"1353145707","filename":"file0"},{"photo_id":"1353145821","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353145872":["hashtag1","hashtag2"]},{"1353145773":["hashtag1","hashtag2"]},{"1353145821":["hashtag1","hashtag2"]},{"1353145707":["hashtag1","hashtag2"]},{"1353145744":["hashtag1","hashtag2"]},{"1353145906":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353145872, 1353145773, 1353145821, 1353145707, 1353145744, 1353145906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.13238263130188 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:21:03.152534
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_44_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_34_9611.jpg', 2), ('/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_24_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_14_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/20/19/image_23042025_20_20_04_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_53_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_44_9754.jpg', '/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_34_9611.jpg', '/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_24_10637.jpg', '/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_14_9625.jpg', '/home/nano/Desktop/images/23042025/20/19/image_23042025_20_20_04_10659.jpg', '/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_53_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_44_9754.jpg
/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_34_9611.jpg
/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_24_10637.jpg
/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_14_9625.jpg
/home/nano/Desktop/images/23042025/20/19/image_23042025_20_20_04_10659.jpg
/home/nano/Desktop/images/23042025/20/19/image_23042025_20_19_53_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353146358","1353146001","1353146004","1353146167","1353146344","1353146289"],"photo_ids_order":["1353146001","1353146004","1353146167","1353146289","1353146344","1353146358"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86f29faec5daaa22fbae98525cb3d198.jpg","text":"TemporaryFile(/tmp/multipartBody2495294125836411618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432524862,"filename":"image_23042025_20_19_53_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df63b32481ea8eb7d6f3d00e7c931c27.jpg","text":"TemporaryFile(/tmp/multipartBody8484533025520336426asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432524862,"filename":"image_23042025_20_20_44_9754.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73f4d53713eae1cd524a87e5a195fd70.jpg","text":"TemporaryFile(/tmp/multipartBody7045252419152572585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432524862,"filename":"image_23042025_20_20_34_9611.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fd7b201ef4dcbdc308db90bad0be08f.jpg","text":"TemporaryFile(/tmp/multipartBody908126556420438076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432524862,"filename":"image_23042025_20_20_24_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f2129429ba168b886b2b927896de904b.jpg","text":"TemporaryFile(/tmp/multipartBody8674418019315445126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432524862,"filename":"image_23042025_20_20_04_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0052b749da74e449fa0f20453b64ac16.jpg","text":"TemporaryFile(/tmp/multipartBody2978640966925936485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432524862,"filename":"image_23042025_20_20_14_9625.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353146167","file1":"1353146004","file0":"1353146001","file4":"1353146344","file5":"1353146358","file3":"1353146289"},"map_files_photo_id_array":[{"photo_id":"1353146358","filename":"file5"},{"photo_id":"1353146167","filename":"file2"},{"photo_id":"1353146344","filename":"file4"},{"photo_id":"1353146004","filename":"file1"},{"photo_id":"1353146001","filename":"file0"},{"photo_id":"1353146289","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353146358":["hashtag1","hashtag2"]},{"1353146001":["hashtag1","hashtag2"]},{"1353146004":["hashtag1","hashtag2"]},{"1353146167":["hashtag1","hashtag2"]},{"1353146344":["hashtag1","hashtag2"]},{"1353146289":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353146358, 1353146001, 1353146004, 1353146167, 1353146344, 1353146289)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.65525484085083 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:22:03.157066
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_44_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_34_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_23_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_14_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/20/20/image_23042025_20_21_04_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_54_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_44_9634.jpg', '/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_34_10656.jpg', '/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_23_9645.jpg', '/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_14_9671.jpg', '/home/nano/Desktop/images/23042025/20/20/image_23042025_20_21_04_9691.jpg', '/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_54_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_44_9634.jpg
/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_34_10656.jpg
/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_23_9645.jpg
/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_14_9671.jpg
/home/nano/Desktop/images/23042025/20/20/image_23042025_20_21_04_9691.jpg
/home/nano/Desktop/images/23042025/20/20/image_23042025_20_20_54_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353146478","1353146442","1353146502","1353146447","1353146477","1353146475"],"photo_ids_order":["1353146442","1353146447","1353146475","1353146477","1353146478","1353146502"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8832247632c5377745ea75bb588409d6.jpg","text":"TemporaryFile(/tmp/multipartBody5086347400289161276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432585086,"filename":"image_23042025_20_21_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b95155cee1e9b7f9f81be28634c30c90.jpg","text":"TemporaryFile(/tmp/multipartBody1948653809832652533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432585086,"filename":"image_23042025_20_21_44_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36e62cc40913df9e6e5035995b9779bd.jpg","text":"TemporaryFile(/tmp/multipartBody269101357003950508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432585086,"filename":"image_23042025_20_20_54_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/056a5161d88b15c56ef7ae693d818d1e.jpg","text":"TemporaryFile(/tmp/multipartBody1287167184018334518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432585086,"filename":"image_23042025_20_21_34_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/409725b7731278fd8a8a4d599d81d7bb.jpg","text":"TemporaryFile(/tmp/multipartBody4329658670333347956asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432585086,"filename":"image_23042025_20_21_14_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae40626d227398064d0db0383d1632b0.jpg","text":"TemporaryFile(/tmp/multipartBody1402793413863174262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432585086,"filename":"image_23042025_20_21_23_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353146475","file1":"1353146447","file0":"1353146442","file4":"1353146478","file5":"1353146502","file3":"1353146477"},"map_files_photo_id_array":[{"photo_id":"1353146502","filename":"file5"},{"photo_id":"1353146475","filename":"file2"},{"photo_id":"1353146478","filename":"file4"},{"photo_id":"1353146447","filename":"file1"},{"photo_id":"1353146442","filename":"file0"},{"photo_id":"1353146477","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353146478":["hashtag1","hashtag2"]},{"1353146442":["hashtag1","hashtag2"]},{"1353146502":["hashtag1","hashtag2"]},{"1353146447":["hashtag1","hashtag2"]},{"1353146477":["hashtag1","hashtag2"]},{"1353146475":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353146478, 1353146442, 1353146502, 1353146447, 1353146477, 1353146475)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.83527970314026 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:23:03.340088
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_44_9627.jpg', 2), ('/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_34_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_24_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_14_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/20/21/image_23042025_20_22_04_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_54_10679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_44_9627.jpg', '/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_34_9628.jpg', '/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_24_10645.jpg', '/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_14_9642.jpg', '/home/nano/Desktop/images/23042025/20/21/image_23042025_20_22_04_9661.jpg', '/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_54_10679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_44_9627.jpg
/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_34_9628.jpg
/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_24_10645.jpg
/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_14_9642.jpg
/home/nano/Desktop/images/23042025/20/21/image_23042025_20_22_04_9661.jpg
/home/nano/Desktop/images/23042025/20/21/image_23042025_20_21_54_10679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353146754","1353146757","1353146738","1353146753","1353146735","1353146755"],"photo_ids_order":["1353146735","1353146738","1353146753","1353146754","1353146755","1353146757"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8142ab85cbaf71978d1a95abd52e4b22.jpg","text":"TemporaryFile(/tmp/multipartBody1101646408213271533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432645219,"filename":"image_23042025_20_22_14_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75d25cd81592fe19cdfc8faeb20b3b5f.jpg","text":"TemporaryFile(/tmp/multipartBody3768078281616447518asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432645219,"filename":"image_23042025_20_21_54_10679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e941720c92de0cc5e1c6eeb744754c8.jpg","text":"TemporaryFile(/tmp/multipartBody4402364539411730467asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432645219,"filename":"image_23042025_20_22_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d08028f70df9d69cb97e013061d6de11.jpg","text":"TemporaryFile(/tmp/multipartBody1323182614796424034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432645219,"filename":"image_23042025_20_22_24_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab6660d63a8e46c46c715f1e40e071aa.jpg","text":"TemporaryFile(/tmp/multipartBody4050602432433656787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432645219,"filename":"image_23042025_20_22_44_9627.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a38455986e2ae01276847658430aec3a.jpg","text":"TemporaryFile(/tmp/multipartBody3434829111002676731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432645219,"filename":"image_23042025_20_22_04_9661.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353146753","file1":"1353146738","file0":"1353146735","file4":"1353146755","file5":"1353146757","file3":"1353146754"},"map_files_photo_id_array":[{"photo_id":"1353146757","filename":"file5"},{"photo_id":"1353146753","filename":"file2"},{"photo_id":"1353146755","filename":"file4"},{"photo_id":"1353146738","filename":"file1"},{"photo_id":"1353146735","filename":"file0"},{"photo_id":"1353146754","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353146754":["hashtag1","hashtag2"]},{"1353146757":["hashtag1","hashtag2"]},{"1353146738":["hashtag1","hashtag2"]},{"1353146753":["hashtag1","hashtag2"]},{"1353146735":["hashtag1","hashtag2"]},{"1353146755":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353146754, 1353146757, 1353146738, 1353146753, 1353146735, 1353146755)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.55356740951538 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:24:02.746837
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_44_10610.jpg', 2), ('/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_34_9601.jpg', 2), ('/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_24_10613.jpg', 2), ('/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_13_9622.jpg', 2), ('/home/nano/Desktop/images/23042025/20/22/image_23042025_20_23_04_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_44_10610.jpg', '/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_34_9601.jpg', '/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_24_10613.jpg', '/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_13_9622.jpg', '/home/nano/Desktop/images/23042025/20/22/image_23042025_20_23_04_9628.jpg', '/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_44_10610.jpg
/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_34_9601.jpg
/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_24_10613.jpg
/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_13_9622.jpg
/home/nano/Desktop/images/23042025/20/22/image_23042025_20_23_04_9628.jpg
/home/nano/Desktop/images/23042025/20/22/image_23042025_20_22_54_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353147275","1353147196","1353147169","1353147223","1353147304","1353147342"],"photo_ids_order":["1353147169","1353147196","1353147223","1353147275","1353147304","1353147342"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/440fd9668bf753ac6dd550547dde5a65.jpg","text":"TemporaryFile(/tmp/multipartBody593405466680464128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432704259,"filename":"image_23042025_20_23_13_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b71075579767fd6ea73ab9220cb3921c.jpg","text":"TemporaryFile(/tmp/multipartBody8141253079878790542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432704259,"filename":"image_23042025_20_23_34_9601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccadd9eaaed47ec4d5c07dc2f1d5cc29.jpg","text":"TemporaryFile(/tmp/multipartBody536782379802312570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432704259,"filename":"image_23042025_20_23_44_10610.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7a16c46cf85fdccb4f9f1d27895d468.jpg","text":"TemporaryFile(/tmp/multipartBody2872445195760851006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432704259,"filename":"image_23042025_20_23_24_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8c2e9010080d88ec4a2627dac6ffc47c.jpg","text":"TemporaryFile(/tmp/multipartBody7745655789467166179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432704259,"filename":"image_23042025_20_23_04_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/101402d00fe891498feea08325466aca.jpg","text":"TemporaryFile(/tmp/multipartBody7469978963223045619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432704259,"filename":"image_23042025_20_22_54_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353147223","file1":"1353147196","file0":"1353147169","file4":"1353147304","file5":"1353147342","file3":"1353147275"},"map_files_photo_id_array":[{"photo_id":"1353147342","filename":"file5"},{"photo_id":"1353147223","filename":"file2"},{"photo_id":"1353147304","filename":"file4"},{"photo_id":"1353147196","filename":"file1"},{"photo_id":"1353147169","filename":"file0"},{"photo_id":"1353147275","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353147275":["hashtag1","hashtag2"]},{"1353147196":["hashtag1","hashtag2"]},{"1353147169":["hashtag1","hashtag2"]},{"1353147223":["hashtag1","hashtag2"]},{"1353147304":["hashtag1","hashtag2"]},{"1353147342":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353147275, 1353147196, 1353147169, 1353147223, 1353147304, 1353147342)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.15090084075928 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:25:02.629117
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_44_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_33_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_24_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_14_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/20/23/image_23042025_20_24_04_9614.jpg', 2), ('/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_54_9605.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_44_10634.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_33_9628.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_24_9640.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_14_10660.jpg', '/home/nano/Desktop/images/23042025/20/23/image_23042025_20_24_04_9614.jpg', '/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_54_9605.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_44_10634.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_33_9628.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_24_9640.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_14_10660.jpg
/home/nano/Desktop/images/23042025/20/23/image_23042025_20_24_04_9614.jpg
/home/nano/Desktop/images/23042025/20/23/image_23042025_20_23_54_9605.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353147824","1353147731","1353147632","1353147688","1353147661","1353147855"],"photo_ids_order":["1353147632","1353147661","1353147688","1353147731","1353147824","1353147855"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/319953c725e63ae6681f0353d26d4bc5.jpg","text":"TemporaryFile(/tmp/multipartBody5518018835790992528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432764320,"filename":"image_23042025_20_24_04_9614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e9e0d7353fe35c7706c7ab176280053.jpg","text":"TemporaryFile(/tmp/multipartBody9137136183020330838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432764320,"filename":"image_23042025_20_24_14_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c525a05aaa4e3b344849a3e102abb838.jpg","text":"TemporaryFile(/tmp/multipartBody2992244335264778457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432764320,"filename":"image_23042025_20_24_44_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00228b3402ed5d583989eeb0e0cfc0c1.jpg","text":"TemporaryFile(/tmp/multipartBody7182351198597872066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432764320,"filename":"image_23042025_20_24_24_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c418f2023793929ceaf77f882ce8641e.jpg","text":"TemporaryFile(/tmp/multipartBody495022250012937491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432764320,"filename":"image_23042025_20_24_33_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40dbdfcc24b7aa7afb19c484c14d6bb4.jpg","text":"TemporaryFile(/tmp/multipartBody6452227984744639831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432764320,"filename":"image_23042025_20_23_54_9605.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353147688","file1":"1353147661","file0":"1353147632","file4":"1353147824","file5":"1353147855","file3":"1353147731"},"map_files_photo_id_array":[{"photo_id":"1353147855","filename":"file5"},{"photo_id":"1353147688","filename":"file2"},{"photo_id":"1353147824","filename":"file4"},{"photo_id":"1353147661","filename":"file1"},{"photo_id":"1353147632","filename":"file0"},{"photo_id":"1353147731","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353147824":["hashtag1","hashtag2"]},{"1353147731":["hashtag1","hashtag2"]},{"1353147632":["hashtag1","hashtag2"]},{"1353147688":["hashtag1","hashtag2"]},{"1353147661":["hashtag1","hashtag2"]},{"1353147855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353147824, 1353147731, 1353147632, 1353147688, 1353147661, 1353147855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.91723442077637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:26:02.584532
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_44_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_34_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_24_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_14_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_25_04_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_54_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_44_9679.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_34_10653.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_24_9651.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_14_9684.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_25_04_10638.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_44_9679.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_34_10653.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_24_9651.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_14_9684.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_25_04_10638.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_54_9633.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8068315982818604 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:26:32.015487
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_44_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_34_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_24_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_14_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_26_04_10681.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_54_9659.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_44_9645.jpg', '/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_34_10653.jpg', '/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_24_9638.jpg', '/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_14_9676.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_26_04_10681.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_54_9659.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_44_9645.jpg
/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_34_10653.jpg
/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_24_9638.jpg
/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_14_9676.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_26_04_10681.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_54_9659.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353148025","1353148185","1353148117","1353148068","1353148161","1353148137"],"photo_ids_order":["1353148025","1353148068","1353148117","1353148137","1353148161","1353148185"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be68edb1b10304fc40ab999daec6c331.jpg","text":"TemporaryFile(/tmp/multipartBody2642995471488862671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432855178,"filename":"image_23042025_20_26_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb74d5e862afb5c16af1ccf18a0d3f37.jpg","text":"TemporaryFile(/tmp/multipartBody2611133842456926959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432855178,"filename":"image_23042025_20_25_54_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f1ee51d2a15e75cd0ce0263ecc36be9.jpg","text":"TemporaryFile(/tmp/multipartBody8127727897333618296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432855178,"filename":"image_23042025_20_26_24_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f821e614c9b578f6bfb4bad797cbb536.jpg","text":"TemporaryFile(/tmp/multipartBody459818830388599175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432855178,"filename":"image_23042025_20_26_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b39d562ce4f470fa955b12126274aefc.jpg","text":"TemporaryFile(/tmp/multipartBody772482051909296356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432855178,"filename":"image_23042025_20_26_04_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b78086fb5341e014dbe9f783174fe5ff.jpg","text":"TemporaryFile(/tmp/multipartBody6211961950891902319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432855178,"filename":"image_23042025_20_26_14_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353148117","file1":"1353148068","file0":"1353148025","file4":"1353148161","file5":"1353148185","file3":"1353148137"},"map_files_photo_id_array":[{"photo_id":"1353148185","filename":"file5"},{"photo_id":"1353148117","filename":"file2"},{"photo_id":"1353148161","filename":"file4"},{"photo_id":"1353148068","filename":"file1"},{"photo_id":"1353148025","filename":"file0"},{"photo_id":"1353148137","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353148025":["hashtag1","hashtag2"]},{"1353148185":["hashtag1","hashtag2"]},{"1353148117":["hashtag1","hashtag2"]},{"1353148068":["hashtag1","hashtag2"]},{"1353148161":["hashtag1","hashtag2"]},{"1353148137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353148025, 1353148185, 1353148117, 1353148068, 1353148161, 1353148137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.514827251434326 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:27:32.180996
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_44_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_34_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_24_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_14_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/20/26/image_23042025_20_27_04_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_54_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_44_9642.jpg', '/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_34_10650.jpg', '/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_24_9639.jpg', '/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_14_9665.jpg', '/home/nano/Desktop/images/23042025/20/26/image_23042025_20_27_04_10671.jpg', '/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_54_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_44_9642.jpg
/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_34_10650.jpg
/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_24_9639.jpg
/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_14_9665.jpg
/home/nano/Desktop/images/23042025/20/26/image_23042025_20_27_04_10671.jpg
/home/nano/Desktop/images/23042025/20/26/image_23042025_20_26_54_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353148484","1353148463","1353148354","1353148413","1353148308","1353148487"],"photo_ids_order":["1353148308","1353148354","1353148413","1353148463","1353148484","1353148487"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1bb4801d4df278339562e8644259dc9.jpg","text":"TemporaryFile(/tmp/multipartBody6814245926100337875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432913894,"filename":"image_23042025_20_27_04_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0c9c5537b3811b36c091ef688dc04782.jpg","text":"TemporaryFile(/tmp/multipartBody3983184046215947055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432913894,"filename":"image_23042025_20_27_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86cc1303f1ee99d37affee2afd8eb3b4.jpg","text":"TemporaryFile(/tmp/multipartBody3616664289669037876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432913894,"filename":"image_23042025_20_27_34_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/618870003dda773c72a199e5866d1b65.jpg","text":"TemporaryFile(/tmp/multipartBody5592962134585396112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432913894,"filename":"image_23042025_20_27_24_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e99a86cf8ab538ce94e4aed6be0faed3.jpg","text":"TemporaryFile(/tmp/multipartBody1190586563567925520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432913894,"filename":"image_23042025_20_27_44_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75709902babb0f832d1e2b5c5ee39bd4.jpg","text":"TemporaryFile(/tmp/multipartBody2530060160469400289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432913894,"filename":"image_23042025_20_26_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353148413","file1":"1353148354","file0":"1353148308","file4":"1353148484","file5":"1353148487","file3":"1353148463"},"map_files_photo_id_array":[{"photo_id":"1353148487","filename":"file5"},{"photo_id":"1353148413","filename":"file2"},{"photo_id":"1353148484","filename":"file4"},{"photo_id":"1353148354","filename":"file1"},{"photo_id":"1353148308","filename":"file0"},{"photo_id":"1353148463","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353148484":["hashtag1","hashtag2"]},{"1353148463":["hashtag1","hashtag2"]},{"1353148354":["hashtag1","hashtag2"]},{"1353148413":["hashtag1","hashtag2"]},{"1353148308":["hashtag1","hashtag2"]},{"1353148487":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353148484, 1353148463, 1353148354, 1353148413, 1353148308, 1353148487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.999263763427734 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:28:32.254920
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/28/image_23042025_20_28_14_9664.jpg', 2), ('/home/nano/Desktop/images/23042025/20/27/image_23042025_20_28_04_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_54_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_44_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_34_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_24_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/28/image_23042025_20_28_14_9664.jpg', '/home/nano/Desktop/images/23042025/20/27/image_23042025_20_28_04_10660.jpg', '/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_54_9640.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_44_9679.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_34_10653.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_24_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/28/image_23042025_20_28_14_9664.jpg
/home/nano/Desktop/images/23042025/20/27/image_23042025_20_28_04_10660.jpg
/home/nano/Desktop/images/23042025/20/27/image_23042025_20_27_54_9640.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_44_9679.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_34_10653.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_24_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353148505","1353148498","1353148513","1353148519","1353148509","1353148503"],"photo_ids_order":["1353148498","1353148503","1353148505","1353148509","1353148513","1353148519"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/78cb7a453dd6ed2bcc8ff70093a87997.jpg","text":"TemporaryFile(/tmp/multipartBody1976332521515152742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432974467,"filename":"image_23042025_20_27_54_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/216f1096effb8cc99bed9be7d0f5ae1e.jpg","text":"TemporaryFile(/tmp/multipartBody3523017582789073387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432974467,"filename":"image_23042025_20_28_14_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2de37b5dd7f8882157fe69d26f627551.jpg","text":"TemporaryFile(/tmp/multipartBody3375798553859759222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432974467,"filename":"image_23042025_20_25_34_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e8758c5d4c3946ab356cba5268e39ff.jpg","text":"TemporaryFile(/tmp/multipartBody1190921551724967257asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432974467,"filename":"image_23042025_20_25_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f10f417e3b175bbcc3ff46d4eaf9d851.jpg","text":"TemporaryFile(/tmp/multipartBody5920990973960644146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432974467,"filename":"image_23042025_20_25_44_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54f2176aa60e044086ae46d8bee40129.jpg","text":"TemporaryFile(/tmp/multipartBody2302735563399159809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745432974467,"filename":"image_23042025_20_28_04_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353148505","file1":"1353148503","file0":"1353148498","file4":"1353148513","file5":"1353148519","file3":"1353148509"},"map_files_photo_id_array":[{"photo_id":"1353148519","filename":"file5"},{"photo_id":"1353148505","filename":"file2"},{"photo_id":"1353148513","filename":"file4"},{"photo_id":"1353148503","filename":"file1"},{"photo_id":"1353148498","filename":"file0"},{"photo_id":"1353148509","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353148505":["hashtag1","hashtag2"]},{"1353148498":["hashtag1","hashtag2"]},{"1353148513":["hashtag1","hashtag2"]},{"1353148519":["hashtag1","hashtag2"]},{"1353148509":["hashtag1","hashtag2"]},{"1353148503":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353148505, 1353148498, 1353148513, 1353148519, 1353148509, 1353148503)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.95699405670166 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:29:32.378846
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/29/image_23042025_20_29_24_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/20/28/image_23042025_20_29_03_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/20/28/image_23042025_20_28_54_9698.jpg', 2), ('/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_14_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_25_04_10638.jpg', 2), ('/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_54_9633.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/29/image_23042025_20_29_24_9696.jpg', '/home/nano/Desktop/images/23042025/20/28/image_23042025_20_29_03_9707.jpg', '/home/nano/Desktop/images/23042025/20/28/image_23042025_20_28_54_9698.jpg', '/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_14_9684.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_25_04_10638.jpg', '/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_54_9633.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/29/image_23042025_20_29_24_9696.jpg
/home/nano/Desktop/images/23042025/20/28/image_23042025_20_29_03_9707.jpg
/home/nano/Desktop/images/23042025/20/28/image_23042025_20_28_54_9698.jpg
/home/nano/Desktop/images/23042025/20/25/image_23042025_20_25_14_9684.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_25_04_10638.jpg
/home/nano/Desktop/images/23042025/20/24/image_23042025_20_24_54_9633.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353148712","1353148738","1353148893","1353149022","1353148824","1353148862"],"photo_ids_order":["1353148712","1353148738","1353148824","1353148862","1353148893","1353149022"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40c203afc6098eed33311af3294eb717.jpg","text":"TemporaryFile(/tmp/multipartBody7702850265561319017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433034437,"filename":"image_23042025_20_29_24_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b38d1ac1f3a08270b41efacb6e41644.jpg","text":"TemporaryFile(/tmp/multipartBody6937562987113236128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433034437,"filename":"image_23042025_20_29_03_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1dab0ee0e95e89265569a2fed2ed8346.jpg","text":"TemporaryFile(/tmp/multipartBody7554647106346040886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433034437,"filename":"image_23042025_20_25_04_10638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b61105f966073fefdf2e5c6b4d1c88b.jpg","text":"TemporaryFile(/tmp/multipartBody4695705520903686212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433034437,"filename":"image_23042025_20_24_54_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a38451c34b40b0a284fcfe0d6b72987.jpg","text":"TemporaryFile(/tmp/multipartBody3077374451015846994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433034437,"filename":"image_23042025_20_28_54_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be8fcdb83e09f7b5422867dffc10e362.jpg","text":"TemporaryFile(/tmp/multipartBody5035387418718181019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433034437,"filename":"image_23042025_20_25_14_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353148824","file1":"1353148738","file0":"1353148712","file4":"1353148893","file5":"1353149022","file3":"1353148862"},"map_files_photo_id_array":[{"photo_id":"1353149022","filename":"file5"},{"photo_id":"1353148824","filename":"file2"},{"photo_id":"1353148893","filename":"file4"},{"photo_id":"1353148738","filename":"file1"},{"photo_id":"1353148712","filename":"file0"},{"photo_id":"1353148862","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353148712":["hashtag1","hashtag2"]},{"1353148738":["hashtag1","hashtag2"]},{"1353148893":["hashtag1","hashtag2"]},{"1353149022":["hashtag1","hashtag2"]},{"1353148824":["hashtag1","hashtag2"]},{"1353148862":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353148712, 1353148738, 1353148893, 1353149022, 1353148824, 1353148862)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95951008796692 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:30:32.483260
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_24_9703.jpg', 2), ('/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_14_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/20/29/image_23042025_20_29_33_9699.jpg', 2), ('/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_24_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_14_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_58_04_10662.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_24_9703.jpg', '/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_14_10724.jpg', '/home/nano/Desktop/images/23042025/20/29/image_23042025_20_29_33_9699.jpg', '/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_24_9642.jpg', '/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_14_9674.jpg', '/home/nano/Desktop/images/23042025/19/57/image_23042025_19_58_04_10662.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_24_9703.jpg
/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_14_10724.jpg
/home/nano/Desktop/images/23042025/20/29/image_23042025_20_29_33_9699.jpg
/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_24_9642.jpg
/home/nano/Desktop/images/23042025/19/58/image_23042025_19_58_14_9674.jpg
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_58_04_10662.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353149191","1353149178","1353149223","1353149252","1353149219","1353149111"],"photo_ids_order":["1353149111","1353149178","1353149191","1353149219","1353149223","1353149252"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a9c9491ac38867b2c140f5cb5c0f917.jpg","text":"TemporaryFile(/tmp/multipartBody2076933729819086817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433094517,"filename":"image_23042025_20_29_33_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c23544cb8327a6d47fd1d3229b16695b.jpg","text":"TemporaryFile(/tmp/multipartBody192048496658130446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433094517,"filename":"image_23042025_20_30_14_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c07ce7bda070725e40af68901005ca88.jpg","text":"TemporaryFile(/tmp/multipartBody3041824589885199369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433094517,"filename":"image_23042025_19_58_14_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b04410101b293547c4e05baeae3b535.jpg","text":"TemporaryFile(/tmp/multipartBody8636679115893939846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433094517,"filename":"image_23042025_19_58_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/854d5855bccb1daf2fb9e77f464a1f5f.jpg","text":"TemporaryFile(/tmp/multipartBody1061622701286479786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433094517,"filename":"image_23042025_19_58_24_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/603ec5b6ed63c17c6d129c2ad5255ad3.jpg","text":"TemporaryFile(/tmp/multipartBody4477381134534367046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433094517,"filename":"image_23042025_20_30_24_9703.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353149191","file1":"1353149178","file0":"1353149111","file4":"1353149223","file5":"1353149252","file3":"1353149219"},"map_files_photo_id_array":[{"photo_id":"1353149252","filename":"file5"},{"photo_id":"1353149191","filename":"file2"},{"photo_id":"1353149223","filename":"file4"},{"photo_id":"1353149178","filename":"file1"},{"photo_id":"1353149111","filename":"file0"},{"photo_id":"1353149219","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353149191":["hashtag1","hashtag2"]},{"1353149178":["hashtag1","hashtag2"]},{"1353149223":["hashtag1","hashtag2"]},{"1353149252":["hashtag1","hashtag2"]},{"1353149219":["hashtag1","hashtag2"]},{"1353149111":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353149191, 1353149178, 1353149223, 1353149252, 1353149219, 1353149111)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.381223917007446 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:31:32.571004
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_54_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_44_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_33_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_24_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_14_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_55_03_9651.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_54_9660.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_44_10670.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_33_9636.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_24_9656.jpg', '/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_14_10669.jpg', '/home/nano/Desktop/images/23042025/19/54/image_23042025_19_55_03_9651.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/57/image_23042025_19_57_54_9660.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_44_10670.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_33_9636.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_24_9656.jpg
/home/nano/Desktop/images/23042025/19/55/image_23042025_19_55_14_10669.jpg
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_55_03_9651.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353149296","1353149299","1353149347","1353149341","1353149352","1353149387"],"photo_ids_order":["1353149296","1353149299","1353149341","1353149347","1353149352","1353149387"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/48f950657806f7fc0121e7ae25aec900.jpg","text":"TemporaryFile(/tmp/multipartBody4447320148742276143asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433154445,"filename":"image_23042025_19_57_54_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9663f562e006f73530d8a7507f116383.jpg","text":"TemporaryFile(/tmp/multipartBody8626891753804597359asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433154445,"filename":"image_23042025_19_55_44_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5aa727cc1a19c24cd28ed870f64d4cfc.jpg","text":"TemporaryFile(/tmp/multipartBody1244772362489135944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433154445,"filename":"image_23042025_19_55_24_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/092ad3c49d7506e7d83fe643edac7e4f.jpg","text":"TemporaryFile(/tmp/multipartBody5280688639675813975asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433154445,"filename":"image_23042025_19_55_33_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5924be1ce02437dfb25f9c19ba83ef9f.jpg","text":"TemporaryFile(/tmp/multipartBody4235423911053328279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433154445,"filename":"image_23042025_19_55_14_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ceceb7406d79388e214c117349bd5325.jpg","text":"TemporaryFile(/tmp/multipartBody3852396112543591928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433154445,"filename":"image_23042025_19_55_03_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353149341","file1":"1353149299","file0":"1353149296","file4":"1353149352","file5":"1353149387","file3":"1353149347"},"map_files_photo_id_array":[{"photo_id":"1353149387","filename":"file5"},{"photo_id":"1353149341","filename":"file2"},{"photo_id":"1353149352","filename":"file4"},{"photo_id":"1353149299","filename":"file1"},{"photo_id":"1353149296","filename":"file0"},{"photo_id":"1353149347","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353149296":["hashtag1","hashtag2"]},{"1353149299":["hashtag1","hashtag2"]},{"1353149347":["hashtag1","hashtag2"]},{"1353149341":["hashtag1","hashtag2"]},{"1353149352":["hashtag1","hashtag2"]},{"1353149387":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353149296, 1353149299, 1353149347, 1353149341, 1353149352, 1353149387)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.64710235595703 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:32:32.673800
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_54_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_34_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_24_10673.jpg', 2), ('/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_14_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_41_04_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_54_9649.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_34_9643.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_24_10673.jpg', '/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_14_9667.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_41_04_9660.jpg', '/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/19/54/image_23042025_19_54_54_9649.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_34_9643.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_24_10673.jpg
/home/nano/Desktop/images/23042025/19/41/image_23042025_19_41_14_9667.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_41_04_9660.jpg
/home/nano/Desktop/images/23042025/19/40/image_23042025_19_40_54_10668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353149635","1353149620","1353149541","1353149610","1353149654","1353149501"],"photo_ids_order":["1353149501","1353149541","1353149610","1353149620","1353149635","1353149654"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4954cefa7f30c2a45567dd73a8214f62.jpg","text":"TemporaryFile(/tmp/multipartBody4266898935166383072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433214812,"filename":"image_23042025_19_41_04_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0fff437f79be4c77e4fd7d8bc5abbaa.jpg","text":"TemporaryFile(/tmp/multipartBody8213435755224072092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433214812,"filename":"image_23042025_19_41_14_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/869a79362292202947939f5b9ae21131.jpg","text":"TemporaryFile(/tmp/multipartBody6493033707669609388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433214812,"filename":"image_23042025_19_41_34_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18f74cc5a8713885dc972b992e2449ef.jpg","text":"TemporaryFile(/tmp/multipartBody7107324196235519514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433214812,"filename":"image_23042025_19_41_24_10673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b553c900945c7c6cfacd52f5f81401d1.jpg","text":"TemporaryFile(/tmp/multipartBody6861593954394925310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433214812,"filename":"image_23042025_19_40_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db3a5fdf150e1037240e995c093a78e8.jpg","text":"TemporaryFile(/tmp/multipartBody1834031743107244038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433214812,"filename":"image_23042025_19_54_54_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353149610","file1":"1353149541","file0":"1353149501","file4":"1353149635","file5":"1353149654","file3":"1353149620"},"map_files_photo_id_array":[{"photo_id":"1353149654","filename":"file5"},{"photo_id":"1353149610","filename":"file2"},{"photo_id":"1353149635","filename":"file4"},{"photo_id":"1353149541","filename":"file1"},{"photo_id":"1353149501","filename":"file0"},{"photo_id":"1353149620","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353149635":["hashtag1","hashtag2"]},{"1353149620":["hashtag1","hashtag2"]},{"1353149541":["hashtag1","hashtag2"]},{"1353149610":["hashtag1","hashtag2"]},{"1353149654":["hashtag1","hashtag2"]},{"1353149501":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353149635, 1353149620, 1353149541, 1353149610, 1353149654, 1353149501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.65757369995117 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:33:31.799356
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_34_9907.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_24_9810.jpg', 2), ('/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_14_9912.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_37_04_9887.jpg', 2), ('/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_54_9884.jpg', 2), ('/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_15_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_34_9907.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_24_9810.jpg', '/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_14_9912.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_37_04_9887.jpg', '/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_54_9884.jpg', '/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_15_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_34_9907.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_24_9810.jpg
/home/nano/Desktop/images/23042025/18/37/image_23042025_18_37_14_9912.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_37_04_9887.jpg
/home/nano/Desktop/images/23042025/18/36/image_23042025_18_36_54_9884.jpg
/home/nano/Desktop/images/23042025/11/48/image_23042025_11_48_15_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353149779","1353149784","1353149793","1353149718","1353149789","1353149750"],"photo_ids_order":["1353149718","1353149750","1353149779","1353149784","1353149789","1353149793"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66d8c321f05328966f0c5370964aad57.jpg","text":"TemporaryFile(/tmp/multipartBody9104225987500469569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433273335,"filename":"image_23042025_18_37_14_9912.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7c3b2fbb35915276c996f3307a69124.jpg","text":"TemporaryFile(/tmp/multipartBody8169868778032566190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433273335,"filename":"image_23042025_18_37_04_9887.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dba17206b54a75542f46ba5b3a916fe3.jpg","text":"TemporaryFile(/tmp/multipartBody9125529165501102548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433273335,"filename":"image_23042025_11_48_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c22e5ecd5cb0e1076f8f4b30c77e9028.jpg","text":"TemporaryFile(/tmp/multipartBody2507665851637275868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433273335,"filename":"image_23042025_18_37_34_9907.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6fe9aa86de74bd39f126ef4aeedf19fc.jpg","text":"TemporaryFile(/tmp/multipartBody1388873847664403907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433273335,"filename":"image_23042025_18_36_54_9884.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1bcd3de06b9c97218f8b6eeab3c4eaf1.jpg","text":"TemporaryFile(/tmp/multipartBody3957075955327214156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433273335,"filename":"image_23042025_18_37_24_9810.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353149779","file1":"1353149750","file0":"1353149718","file4":"1353149789","file5":"1353149793","file3":"1353149784"},"map_files_photo_id_array":[{"photo_id":"1353149793","filename":"file5"},{"photo_id":"1353149779","filename":"file2"},{"photo_id":"1353149789","filename":"file4"},{"photo_id":"1353149750","filename":"file1"},{"photo_id":"1353149718","filename":"file0"},{"photo_id":"1353149784","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353149779":["hashtag1","hashtag2"]},{"1353149784":["hashtag1","hashtag2"]},{"1353149793":["hashtag1","hashtag2"]},{"1353149718":["hashtag1","hashtag2"]},{"1353149789":["hashtag1","hashtag2"]},{"1353149750":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353149779, 1353149784, 1353149793, 1353149718, 1353149789, 1353149750)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.97365045547485 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:34:31.886326
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/34/image_23042025_20_34_44_10676.jpg', 2), ('/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_34_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/11/47/image_23042025_11_48_05_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_55_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_45_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_35_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/34/image_23042025_20_34_44_10676.jpg', '/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_34_9696.jpg', '/home/nano/Desktop/images/23042025/11/47/image_23042025_11_48_05_9651.jpg', '/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_55_10665.jpg', '/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_45_9637.jpg', '/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_35_9652.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/34/image_23042025_20_34_44_10676.jpg
/home/nano/Desktop/images/23042025/20/30/image_23042025_20_30_34_9696.jpg
/home/nano/Desktop/images/23042025/11/47/image_23042025_11_48_05_9651.jpg
/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_55_10665.jpg
/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_45_9637.jpg
/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_35_9652.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353149839","1353149830","1353149827","1353149844","1353149847","1353149834"],"photo_ids_order":["1353149827","1353149830","1353149834","1353149839","1353149844","1353149847"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d3d818be36ab1ec15a13106dcfaf5f0.jpg","text":"TemporaryFile(/tmp/multipartBody3154307190392526454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433333894,"filename":"image_23042025_11_47_55_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3420887da9d2299b1311856043842ffc.jpg","text":"TemporaryFile(/tmp/multipartBody3424413939495718277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433333894,"filename":"image_23042025_20_30_34_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c334a286e10c95e8cc3fb4850a1ec18c.jpg","text":"TemporaryFile(/tmp/multipartBody7505055088326892440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433333894,"filename":"image_23042025_20_34_44_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/66430580a8fc8e442eb0cc171e177665.jpg","text":"TemporaryFile(/tmp/multipartBody6072182107847541487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433333894,"filename":"image_23042025_11_47_45_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/959c82e8755fdec7a186600346439cd4.jpg","text":"TemporaryFile(/tmp/multipartBody140601646826590816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433333894,"filename":"image_23042025_11_47_35_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e1aae39ae73c5388fb152ab1894b635.jpg","text":"TemporaryFile(/tmp/multipartBody1558423148448082219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433333894,"filename":"image_23042025_11_48_05_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353149834","file1":"1353149830","file0":"1353149827","file4":"1353149844","file5":"1353149847","file3":"1353149839"},"map_files_photo_id_array":[{"photo_id":"1353149847","filename":"file5"},{"photo_id":"1353149834","filename":"file2"},{"photo_id":"1353149844","filename":"file4"},{"photo_id":"1353149830","filename":"file1"},{"photo_id":"1353149827","filename":"file0"},{"photo_id":"1353149839","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353149839":["hashtag1","hashtag2"]},{"1353149830":["hashtag1","hashtag2"]},{"1353149827":["hashtag1","hashtag2"]},{"1353149844":["hashtag1","hashtag2"]},{"1353149847":["hashtag1","hashtag2"]},{"1353149834":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353149839, 1353149830, 1353149827, 1353149844, 1353149847, 1353149834)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.63192868232727 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:35:32.010654
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/34/image_23042025_20_35_04_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/20/34/image_23042025_20_34_54_9710.jpg', 2), ('/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_25_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_15_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/46/image_23042025_11_47_05_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_55_10654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/34/image_23042025_20_35_04_9711.jpg', '/home/nano/Desktop/images/23042025/20/34/image_23042025_20_34_54_9710.jpg', '/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_25_10646.jpg', '/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_15_9646.jpg', '/home/nano/Desktop/images/23042025/11/46/image_23042025_11_47_05_9666.jpg', '/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_55_10654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/34/image_23042025_20_35_04_9711.jpg
/home/nano/Desktop/images/23042025/20/34/image_23042025_20_34_54_9710.jpg
/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_25_10646.jpg
/home/nano/Desktop/images/23042025/11/47/image_23042025_11_47_15_9646.jpg
/home/nano/Desktop/images/23042025/11/46/image_23042025_11_47_05_9666.jpg
/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_55_10654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353150323","1353150760","1353150649","1353150252","1353150398","1353150191"],"photo_ids_order":["1353150191","1353150252","1353150323","1353150398","1353150649","1353150760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7eaf942c34108feb3562c54349053262.jpg","text":"TemporaryFile(/tmp/multipartBody6586035798664244475asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433393899,"filename":"image_23042025_11_47_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f1343331d7ebc7e5fecc73a84f8b095.jpg","text":"TemporaryFile(/tmp/multipartBody4594330627446585754asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433393899,"filename":"image_23042025_11_46_55_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34ee33e7816bbcd63571d318cef51b70.jpg","text":"TemporaryFile(/tmp/multipartBody4858534032494305174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433393899,"filename":"image_23042025_11_47_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2614d16d6bdff205ce3cf46a7477102e.jpg","text":"TemporaryFile(/tmp/multipartBody5147829970069585994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433393899,"filename":"image_23042025_20_34_54_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37fcd7b54c429eb7d5e0ac1c4d8ec93a.jpg","text":"TemporaryFile(/tmp/multipartBody1011190999943178616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433393899,"filename":"image_23042025_11_47_15_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19f31c001a8f8dd7a40157aeb961c4e5.jpg","text":"TemporaryFile(/tmp/multipartBody7040198023117167354asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433393899,"filename":"image_23042025_20_35_04_9711.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353150323","file1":"1353150252","file0":"1353150191","file4":"1353150649","file5":"1353150760","file3":"1353150398"},"map_files_photo_id_array":[{"photo_id":"1353150760","filename":"file5"},{"photo_id":"1353150323","filename":"file2"},{"photo_id":"1353150649","filename":"file4"},{"photo_id":"1353150252","filename":"file1"},{"photo_id":"1353150191","filename":"file0"},{"photo_id":"1353150398","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353150323":["hashtag1","hashtag2"]},{"1353150760":["hashtag1","hashtag2"]},{"1353150649":["hashtag1","hashtag2"]},{"1353150252":["hashtag1","hashtag2"]},{"1353150398":["hashtag1","hashtag2"]},{"1353150191":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353150323, 1353150760, 1353150649, 1353150252, 1353150398, 1353150191)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.94594597816467 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:36:32.093405
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/35/image_23042025_20_35_14_10771.jpg', 2), ('/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_45_9663.jpg', 2), ('/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_35_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_25_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_15_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/11/45/image_23042025_11_46_05_9661.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/35/image_23042025_20_35_14_10771.jpg', '/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_45_9663.jpg', '/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_35_9670.jpg', '/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_25_10656.jpg', '/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_15_9670.jpg', '/home/nano/Desktop/images/23042025/11/45/image_23042025_11_46_05_9661.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/35/image_23042025_20_35_14_10771.jpg
/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_45_9663.jpg
/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_35_9670.jpg
/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_25_10656.jpg
/home/nano/Desktop/images/23042025/11/46/image_23042025_11_46_15_9670.jpg
/home/nano/Desktop/images/23042025/11/45/image_23042025_11_46_05_9661.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353151486","1353151228","1353151408","1353151452","1353151286","1353151346"],"photo_ids_order":["1353151228","1353151286","1353151346","1353151408","1353151452","1353151486"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75fbfa2fdbf8f96e5c83c4cdb72e2851.jpg","text":"TemporaryFile(/tmp/multipartBody5782855386162690059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433453641,"filename":"image_23042025_11_46_05_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a645ed512ee0fe8cc6f71429512090d.jpg","text":"TemporaryFile(/tmp/multipartBody8238345776614383246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433453641,"filename":"image_23042025_20_35_14_10771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/65759d0396bac2efcca5ba9faa477fa5.jpg","text":"TemporaryFile(/tmp/multipartBody1384892396531748525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433453641,"filename":"image_23042025_11_46_25_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/426e52a5f9c93776dbadba0de8db3abd.jpg","text":"TemporaryFile(/tmp/multipartBody14388031927818447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433453641,"filename":"image_23042025_11_46_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/23e27eb2f33daff8cf2a1a7806350edf.jpg","text":"TemporaryFile(/tmp/multipartBody1635605777903020833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433453641,"filename":"image_23042025_11_46_45_9663.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e905559eb4f425afc02e0b0f9e55359.jpg","text":"TemporaryFile(/tmp/multipartBody790518534822467437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433453641,"filename":"image_23042025_11_46_35_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353151346","file1":"1353151286","file0":"1353151228","file4":"1353151452","file5":"1353151486","file3":"1353151408"},"map_files_photo_id_array":[{"photo_id":"1353151486","filename":"file5"},{"photo_id":"1353151346","filename":"file2"},{"photo_id":"1353151452","filename":"file4"},{"photo_id":"1353151286","filename":"file1"},{"photo_id":"1353151228","filename":"file0"},{"photo_id":"1353151408","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353151486":["hashtag1","hashtag2"]},{"1353151228":["hashtag1","hashtag2"]},{"1353151408":["hashtag1","hashtag2"]},{"1353151452":["hashtag1","hashtag2"]},{"1353151286":["hashtag1","hashtag2"]},{"1353151346":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353151486, 1353151228, 1353151408, 1353151452, 1353151286, 1353151346)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.90892267227173 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:37:32.223213
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/36/image_23042025_20_36_54_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_55_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_45_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_35_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_25_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_15_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/36/image_23042025_20_36_54_9638.jpg', '/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_55_10677.jpg', '/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_45_9652.jpg', '/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_35_9670.jpg', '/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_25_10666.jpg', '/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_15_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/36/image_23042025_20_36_54_9638.jpg
/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_55_10677.jpg
/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_45_9652.jpg
/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_35_9670.jpg
/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_25_10666.jpg
/home/nano/Desktop/images/23042025/11/45/image_23042025_11_45_15_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353151930","1353152028","1353151902","1353152057","1353151988","1353151958"],"photo_ids_order":["1353151902","1353151930","1353151958","1353151988","1353152028","1353152057"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94e68d446cc996c9908ccee373e455fe.jpg","text":"TemporaryFile(/tmp/multipartBody5674656008139594088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433514112,"filename":"image_23042025_11_45_55_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a35ac59c5043af880c0b89625a8d5728.jpg","text":"TemporaryFile(/tmp/multipartBody5497428926775017430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433514112,"filename":"image_23042025_11_45_25_10666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff3409269109194aecaac2d1b81c90cf.jpg","text":"TemporaryFile(/tmp/multipartBody4345400990885714602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433514112,"filename":"image_23042025_20_36_54_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8559969a5a940b2e572a29c967eda755.jpg","text":"TemporaryFile(/tmp/multipartBody929779771858591553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433514112,"filename":"image_23042025_11_45_15_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86adb77a20e70a853a6e594bc398ee1a.jpg","text":"TemporaryFile(/tmp/multipartBody1572650529814408316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433514112,"filename":"image_23042025_11_45_35_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9a09e92f46fba8074100cdf646af937.jpg","text":"TemporaryFile(/tmp/multipartBody7411996648337453058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433514112,"filename":"image_23042025_11_45_45_9652.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353151958","file1":"1353151930","file0":"1353151902","file4":"1353152028","file5":"1353152057","file3":"1353151988"},"map_files_photo_id_array":[{"photo_id":"1353152057","filename":"file5"},{"photo_id":"1353151958","filename":"file2"},{"photo_id":"1353152028","filename":"file4"},{"photo_id":"1353151930","filename":"file1"},{"photo_id":"1353151902","filename":"file0"},{"photo_id":"1353151988","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353151930":["hashtag1","hashtag2"]},{"1353152028":["hashtag1","hashtag2"]},{"1353151902":["hashtag1","hashtag2"]},{"1353152057":["hashtag1","hashtag2"]},{"1353151988":["hashtag1","hashtag2"]},{"1353151958":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353151930, 1353152028, 1353151902, 1353152057, 1353151988, 1353151958)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78224205970764 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:38:32.312764
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/44/image_23042025_11_45_05_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_55_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_45_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_35_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_25_10642.jpg', 2), ('/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_15_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/44/image_23042025_11_45_05_9669.jpg', '/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_55_10649.jpg', '/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_45_9642.jpg', '/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_35_9656.jpg', '/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_25_10642.jpg', '/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_15_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/44/image_23042025_11_45_05_9669.jpg
/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_55_10649.jpg
/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_45_9642.jpg
/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_35_9656.jpg
/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_25_10642.jpg
/home/nano/Desktop/images/23042025/11/44/image_23042025_11_44_15_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353152158","1353152212","1353152381","1353152348","1353152270","1353152312"],"photo_ids_order":["1353152158","1353152212","1353152270","1353152312","1353152348","1353152381"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1ba7d99f554242e7d7bafd22c433e773.jpg","text":"TemporaryFile(/tmp/multipartBody4276757004068931134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433574237,"filename":"image_23042025_11_45_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c18b76a07a08c557e9b0e6317592c31f.jpg","text":"TemporaryFile(/tmp/multipartBody485247072211467732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433574237,"filename":"image_23042025_11_44_55_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f63b3e154aa7d11a04b85d2b4535c31.jpg","text":"TemporaryFile(/tmp/multipartBody7967828434531695553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433574237,"filename":"image_23042025_11_44_15_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8b684b857b496a52031007d0e09ab4d.jpg","text":"TemporaryFile(/tmp/multipartBody8200700290871338339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433574237,"filename":"image_23042025_11_44_25_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77231043556dec195ab877bd9db3ded9.jpg","text":"TemporaryFile(/tmp/multipartBody7655893128768854281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433574237,"filename":"image_23042025_11_44_45_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f31e014856596f50f5e8c4bc24ac42d.jpg","text":"TemporaryFile(/tmp/multipartBody1558609838366753994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433574237,"filename":"image_23042025_11_44_35_9656.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353152270","file1":"1353152212","file0":"1353152158","file4":"1353152348","file5":"1353152381","file3":"1353152312"},"map_files_photo_id_array":[{"photo_id":"1353152381","filename":"file5"},{"photo_id":"1353152270","filename":"file2"},{"photo_id":"1353152348","filename":"file4"},{"photo_id":"1353152212","filename":"file1"},{"photo_id":"1353152158","filename":"file0"},{"photo_id":"1353152312","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353152158":["hashtag1","hashtag2"]},{"1353152212":["hashtag1","hashtag2"]},{"1353152381":["hashtag1","hashtag2"]},{"1353152348":["hashtag1","hashtag2"]},{"1353152270":["hashtag1","hashtag2"]},{"1353152312":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353152158, 1353152212, 1353152381, 1353152348, 1353152270, 1353152312)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.92893981933594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:39:32.403055
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_44_05_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_55_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_45_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_35_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_25_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_15_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/43/image_23042025_11_44_05_9669.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_55_10657.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_45_9660.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_35_9654.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_25_10663.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_15_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_44_05_9669.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_55_10657.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_45_9660.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_35_9654.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_25_10663.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_15_9636.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.8045017719268799 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:40:02.855909
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_44_05_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_55_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_45_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_35_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_25_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_15_9636.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/43/image_23042025_11_44_05_9669.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_55_10657.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_45_9660.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_35_9654.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_25_10663.jpg', '/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_15_9636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_44_05_9669.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_55_10657.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_45_9660.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_35_9654.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_25_10663.jpg
/home/nano/Desktop/images/23042025/11/43/image_23042025_11_43_15_9636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353152725","1353152772","1353152712","1353152753","1353152705","1353152761"],"photo_ids_order":["1353152705","1353152712","1353152725","1353152753","1353152761","1353152772"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49635b0d7e9a8da8c1421eec7acaec92.jpg","text":"TemporaryFile(/tmp/multipartBody7357649232958060122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433664668,"filename":"image_23042025_11_43_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b708624486c9de82c35ba663dc014307.jpg","text":"TemporaryFile(/tmp/multipartBody3245287043273470672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433664668,"filename":"image_23042025_11_43_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/17dfa225cebb094b6abf233884f13d5a.jpg","text":"TemporaryFile(/tmp/multipartBody3634080626372456436asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433664668,"filename":"image_23042025_11_43_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b54ea06b7a211ee31b671df0fd1c64cd.jpg","text":"TemporaryFile(/tmp/multipartBody582038061635394943asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433664668,"filename":"image_23042025_11_43_35_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/012a524d58b67df1f92efa48fdbc57b6.jpg","text":"TemporaryFile(/tmp/multipartBody2369083568008638749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433664668,"filename":"image_23042025_11_44_05_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fe46d722cc1ef62a76293c201348e61.jpg","text":"TemporaryFile(/tmp/multipartBody5774760104373572983asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433664668,"filename":"image_23042025_11_43_25_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353152725","file1":"1353152712","file0":"1353152705","file4":"1353152761","file5":"1353152772","file3":"1353152753"},"map_files_photo_id_array":[{"photo_id":"1353152772","filename":"file5"},{"photo_id":"1353152725","filename":"file2"},{"photo_id":"1353152761","filename":"file4"},{"photo_id":"1353152712","filename":"file1"},{"photo_id":"1353152705","filename":"file0"},{"photo_id":"1353152753","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353152725":["hashtag1","hashtag2"]},{"1353152772":["hashtag1","hashtag2"]},{"1353152712":["hashtag1","hashtag2"]},{"1353152753":["hashtag1","hashtag2"]},{"1353152705":["hashtag1","hashtag2"]},{"1353152761":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353152725, 1353152772, 1353152712, 1353152753, 1353152705, 1353152761)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.07729125022888 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:41:03.505211
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/42/image_23042025_11_43_05_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_55_9655.jpg', 2), ('/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_45_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_35_10650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_25_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_15_9665.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/42/image_23042025_11_43_05_10657.jpg', '/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_55_9655.jpg', '/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_45_9661.jpg', '/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_35_10650.jpg', '/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_25_9666.jpg', '/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_15_9665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/42/image_23042025_11_43_05_10657.jpg
/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_55_9655.jpg
/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_45_9661.jpg
/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_35_10650.jpg
/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_25_9666.jpg
/home/nano/Desktop/images/23042025/11/42/image_23042025_11_42_15_9665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353153520","1353153750","1353153717","1353153784","1353153667","1353153601"],"photo_ids_order":["1353153520","1353153601","1353153667","1353153717","1353153750","1353153784"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7cbefae275dfd14861979f0d3da4ce18.jpg","text":"TemporaryFile(/tmp/multipartBody2111014662539344025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433725601,"filename":"image_23042025_11_43_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b86caf96bd7e688243f72bc0d6e72465.jpg","text":"TemporaryFile(/tmp/multipartBody2083184481900113914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433725601,"filename":"image_23042025_11_42_25_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/555ca9a2bd10775fa5bb1f88e09a7c3e.jpg","text":"TemporaryFile(/tmp/multipartBody4788585665308749082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433725601,"filename":"image_23042025_11_42_35_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a832e5416c7a1b6e2218455140064245.jpg","text":"TemporaryFile(/tmp/multipartBody9082429689649614629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433725601,"filename":"image_23042025_11_42_15_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16b11330d47e32f3651efabb27b749b2.jpg","text":"TemporaryFile(/tmp/multipartBody3807364092998720046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433725601,"filename":"image_23042025_11_42_45_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74f736348dba63e5a9e0c869896cc58d.jpg","text":"TemporaryFile(/tmp/multipartBody9199897644872967824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433725601,"filename":"image_23042025_11_42_55_9655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353153667","file1":"1353153601","file0":"1353153520","file4":"1353153750","file5":"1353153784","file3":"1353153717"},"map_files_photo_id_array":[{"photo_id":"1353153784","filename":"file5"},{"photo_id":"1353153667","filename":"file2"},{"photo_id":"1353153750","filename":"file4"},{"photo_id":"1353153601","filename":"file1"},{"photo_id":"1353153520","filename":"file0"},{"photo_id":"1353153717","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353153520":["hashtag1","hashtag2"]},{"1353153750":["hashtag1","hashtag2"]},{"1353153717":["hashtag1","hashtag2"]},{"1353153784":["hashtag1","hashtag2"]},{"1353153667":["hashtag1","hashtag2"]},{"1353153601":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353153520, 1353153750, 1353153717, 1353153784, 1353153667, 1353153601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.58040904998779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:42:02.288711
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/41/image_23042025_11_42_05_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_55_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_45_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_35_10656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_25_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_15_9660.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/41/image_23042025_11_42_05_10669.jpg', '/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_55_9650.jpg', '/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_45_9646.jpg', '/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_35_10656.jpg', '/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_25_9650.jpg', '/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_15_9660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/41/image_23042025_11_42_05_10669.jpg
/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_55_9650.jpg
/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_45_9646.jpg
/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_35_10656.jpg
/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_25_9650.jpg
/home/nano/Desktop/images/23042025/11/41/image_23042025_11_41_15_9660.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353153870","1353153864","1353153833","1353153857","1353153844","1353153838"],"photo_ids_order":["1353153833","1353153838","1353153844","1353153857","1353153864","1353153870"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d232128daeffd8bacf73ca39ceafb325.jpg","text":"TemporaryFile(/tmp/multipartBody5027091138478145940asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433784298,"filename":"image_23042025_11_41_15_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/701bdafd21b0139fe92bd9c54a44c5ff.jpg","text":"TemporaryFile(/tmp/multipartBody8433737858559777018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433784298,"filename":"image_23042025_11_41_25_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f4eabc386c2ad69f4220f94d84fdc8c.jpg","text":"TemporaryFile(/tmp/multipartBody2256106994009399281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433784298,"filename":"image_23042025_11_42_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a3ddd828ee103d50d7d7374c7d01a46.jpg","text":"TemporaryFile(/tmp/multipartBody446966862353867390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433784298,"filename":"image_23042025_11_41_35_10656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56361e06c72bee929a52f61ec6295644.jpg","text":"TemporaryFile(/tmp/multipartBody7560407162743268316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433784298,"filename":"image_23042025_11_41_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8d7e97e268eab45e62b05488df067c3.jpg","text":"TemporaryFile(/tmp/multipartBody2288482123646089812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433784298,"filename":"image_23042025_11_41_55_9650.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353153844","file1":"1353153838","file0":"1353153833","file4":"1353153864","file5":"1353153870","file3":"1353153857"},"map_files_photo_id_array":[{"photo_id":"1353153870","filename":"file5"},{"photo_id":"1353153844","filename":"file2"},{"photo_id":"1353153864","filename":"file4"},{"photo_id":"1353153838","filename":"file1"},{"photo_id":"1353153833","filename":"file0"},{"photo_id":"1353153857","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353153870":["hashtag1","hashtag2"]},{"1353153864":["hashtag1","hashtag2"]},{"1353153833":["hashtag1","hashtag2"]},{"1353153857":["hashtag1","hashtag2"]},{"1353153844":["hashtag1","hashtag2"]},{"1353153838":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353153870, 1353153864, 1353153833, 1353153857, 1353153844, 1353153838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.18312406539917 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:43:02.469046
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/40/image_23042025_11_41_05_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_55_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_45_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_35_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_25_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_15_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/40/image_23042025_11_41_05_10669.jpg', '/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_55_9641.jpg', '/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_45_9639.jpg', '/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_35_10646.jpg', '/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_25_9661.jpg', '/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_15_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/40/image_23042025_11_41_05_10669.jpg
/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_55_9641.jpg
/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_45_9639.jpg
/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_35_10646.jpg
/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_25_9661.jpg
/home/nano/Desktop/images/23042025/11/40/image_23042025_11_40_15_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353153948","1353153950","1353153968","1353153953","1353153961","1353153955"],"photo_ids_order":["1353153948","1353153950","1353153953","1353153955","1353153961","1353153968"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8230052186ebb42ccef7e9357f6c2658.jpg","text":"TemporaryFile(/tmp/multipartBody4715395015338802530asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433844527,"filename":"image_23042025_11_41_05_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c08c1ab2239803bb551d907ca90cb454.jpg","text":"TemporaryFile(/tmp/multipartBody4778246000429908778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433844527,"filename":"image_23042025_11_40_55_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2df32939f733918661371210c921e82.jpg","text":"TemporaryFile(/tmp/multipartBody7764192949637827423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433844527,"filename":"image_23042025_11_40_15_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4781361ac680e57b01ea210962866af7.jpg","text":"TemporaryFile(/tmp/multipartBody5145733594137027360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433844527,"filename":"image_23042025_11_40_45_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68cf691ead1ad412987eb1a2ea9342c6.jpg","text":"TemporaryFile(/tmp/multipartBody3908112527955112614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433844527,"filename":"image_23042025_11_40_25_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e205ffc503cbf154159e46e68029e148.jpg","text":"TemporaryFile(/tmp/multipartBody7954918109041698917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433844527,"filename":"image_23042025_11_40_35_10646.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353153953","file1":"1353153950","file0":"1353153948","file4":"1353153961","file5":"1353153968","file3":"1353153955"},"map_files_photo_id_array":[{"photo_id":"1353153968","filename":"file5"},{"photo_id":"1353153953","filename":"file2"},{"photo_id":"1353153961","filename":"file4"},{"photo_id":"1353153950","filename":"file1"},{"photo_id":"1353153948","filename":"file0"},{"photo_id":"1353153955","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353153948":["hashtag1","hashtag2"]},{"1353153950":["hashtag1","hashtag2"]},{"1353153968":["hashtag1","hashtag2"]},{"1353153953":["hashtag1","hashtag2"]},{"1353153961":["hashtag1","hashtag2"]},{"1353153955":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353153948, 1353153950, 1353153968, 1353153953, 1353153961, 1353153955)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.56593203544617 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:44:02.911469
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/39/image_23042025_11_40_05_10668.jpg', 2), ('/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_55_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_45_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_35_10651.jpg', 2), ('/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_25_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_15_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/39/image_23042025_11_40_05_10668.jpg', '/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_55_9638.jpg', '/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_45_9640.jpg', '/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_35_10651.jpg', '/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_25_9656.jpg', '/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_15_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/39/image_23042025_11_40_05_10668.jpg
/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_55_9638.jpg
/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_45_9640.jpg
/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_35_10651.jpg
/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_25_9656.jpg
/home/nano/Desktop/images/23042025/11/39/image_23042025_11_39_15_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154128","1353154079","1353154133","1353154103","1353154117","1353154120"],"photo_ids_order":["1353154079","1353154103","1353154117","1353154120","1353154128","1353154133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a67f27fcb7d50b153ae91019b6cbc9ad.jpg","text":"TemporaryFile(/tmp/multipartBody7466888569894866333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433904801,"filename":"image_23042025_11_39_25_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/019dcf5d2fa25e976d2700b2e2babba2.jpg","text":"TemporaryFile(/tmp/multipartBody3095436480263825772asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433904801,"filename":"image_23042025_11_40_05_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7050e5695b8cb5a6668e774799e72366.jpg","text":"TemporaryFile(/tmp/multipartBody6890942863119021396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433904801,"filename":"image_23042025_11_39_15_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fbaad555e9599597a8772a378371934.jpg","text":"TemporaryFile(/tmp/multipartBody3712514461436428761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433904801,"filename":"image_23042025_11_39_55_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c31097b8758109062a87eb1f0be39748.jpg","text":"TemporaryFile(/tmp/multipartBody2869568741487515455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433904801,"filename":"image_23042025_11_39_45_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b776e2a8d4bb669eda6e505d0e021b3e.jpg","text":"TemporaryFile(/tmp/multipartBody4864248151865901141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433904801,"filename":"image_23042025_11_39_35_10651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154117","file1":"1353154103","file0":"1353154079","file4":"1353154128","file5":"1353154133","file3":"1353154120"},"map_files_photo_id_array":[{"photo_id":"1353154133","filename":"file5"},{"photo_id":"1353154117","filename":"file2"},{"photo_id":"1353154128","filename":"file4"},{"photo_id":"1353154103","filename":"file1"},{"photo_id":"1353154079","filename":"file0"},{"photo_id":"1353154120","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154128":["hashtag1","hashtag2"]},{"1353154079":["hashtag1","hashtag2"]},{"1353154133":["hashtag1","hashtag2"]},{"1353154103":["hashtag1","hashtag2"]},{"1353154117":["hashtag1","hashtag2"]},{"1353154120":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154128, 1353154079, 1353154133, 1353154103, 1353154117, 1353154120)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.75122547149658 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:45:02.870571
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/36/image_23042025_20_37_03_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/11/38/image_23042025_11_39_05_10667.jpg', 2), ('/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_55_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_45_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_35_10810.jpg', 2), ('/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_25_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/36/image_23042025_20_37_03_9638.jpg', '/home/nano/Desktop/images/23042025/11/38/image_23042025_11_39_05_10667.jpg', '/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_55_9631.jpg', '/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_45_9660.jpg', '/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_35_10810.jpg', '/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_25_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/36/image_23042025_20_37_03_9638.jpg
/home/nano/Desktop/images/23042025/11/38/image_23042025_11_39_05_10667.jpg
/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_55_9631.jpg
/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_45_9660.jpg
/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_35_10810.jpg
/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_25_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154413","1353154416","1353154370","1353154415","1353154402","1353154411"],"photo_ids_order":["1353154370","1353154402","1353154411","1353154413","1353154415","1353154416"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf5ae69939f6c7d7093f7a3ba658a05a.jpg","text":"TemporaryFile(/tmp/multipartBody9206314386635268089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433965004,"filename":"image_23042025_11_38_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff1d6f821a85c8dd055e91d8a6b606e5.jpg","text":"TemporaryFile(/tmp/multipartBody8066301335938553843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433965004,"filename":"image_23042025_11_38_25_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53e6b55aa2e94fb4489d737423ac4c11.jpg","text":"TemporaryFile(/tmp/multipartBody6731720731554609086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433965004,"filename":"image_23042025_20_37_03_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ddef43aa5c09716a689acc7ff9f1f7d.jpg","text":"TemporaryFile(/tmp/multipartBody618990999141743581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433965004,"filename":"image_23042025_11_38_35_10810.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34f0730f63a18fbe30e564d61671e8a6.jpg","text":"TemporaryFile(/tmp/multipartBody3466917451628141935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433965004,"filename":"image_23042025_11_39_05_10667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb17d8a782fa46ed1ef107971c0f086d.jpg","text":"TemporaryFile(/tmp/multipartBody908120974190495021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745433965004,"filename":"image_23042025_11_38_55_9631.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154411","file1":"1353154402","file0":"1353154370","file4":"1353154415","file5":"1353154416","file3":"1353154413"},"map_files_photo_id_array":[{"photo_id":"1353154416","filename":"file5"},{"photo_id":"1353154411","filename":"file2"},{"photo_id":"1353154415","filename":"file4"},{"photo_id":"1353154402","filename":"file1"},{"photo_id":"1353154370","filename":"file0"},{"photo_id":"1353154413","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154413":["hashtag1","hashtag2"]},{"1353154416":["hashtag1","hashtag2"]},{"1353154370":["hashtag1","hashtag2"]},{"1353154415":["hashtag1","hashtag2"]},{"1353154402":["hashtag1","hashtag2"]},{"1353154411":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154413, 1353154416, 1353154370, 1353154415, 1353154402, 1353154411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.755274057388306 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:46:02.631536
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/44/image_23042025_20_44_54_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_15_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/11/37/image_23042025_11_38_05_9795.jpg', 2), ('/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_55_10737.jpg', 2), ('/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_45_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_35_9690.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/44/image_23042025_20_44_54_10677.jpg', '/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_15_9742.jpg', '/home/nano/Desktop/images/23042025/11/37/image_23042025_11_38_05_9795.jpg', '/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_55_10737.jpg', '/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_45_9727.jpg', '/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_35_9690.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/44/image_23042025_20_44_54_10677.jpg
/home/nano/Desktop/images/23042025/11/38/image_23042025_11_38_15_9742.jpg
/home/nano/Desktop/images/23042025/11/37/image_23042025_11_38_05_9795.jpg
/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_55_10737.jpg
/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_45_9727.jpg
/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_35_9690.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154473","1353154448","1353154450","1353154453","1353154444","1353154458"],"photo_ids_order":["1353154444","1353154448","1353154450","1353154453","1353154458","1353154473"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf72bd8b11e9b3230978fb8a01d5fc69.jpg","text":"TemporaryFile(/tmp/multipartBody4531348911626001984asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434025037,"filename":"image_23042025_11_37_35_9690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/671679ef51997ed744c32a30ab16aeb0.jpg","text":"TemporaryFile(/tmp/multipartBody8324575088238870659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434025037,"filename":"image_23042025_11_38_15_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/142044958148f723691c189895ac8624.jpg","text":"TemporaryFile(/tmp/multipartBody3704183183245412025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434025037,"filename":"image_23042025_11_38_05_9795.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/76585ece0ddefdf66ae9792ab7786740.jpg","text":"TemporaryFile(/tmp/multipartBody4361256475313694963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434025037,"filename":"image_23042025_11_37_55_10737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/559d319316847078fbb29a6d6503926f.jpg","text":"TemporaryFile(/tmp/multipartBody4359462290979347555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434025037,"filename":"image_23042025_20_44_54_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0d20310c7387aaf6bda72decd2bfd81.jpg","text":"TemporaryFile(/tmp/multipartBody8481304112663604449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434025037,"filename":"image_23042025_11_37_45_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154450","file1":"1353154448","file0":"1353154444","file4":"1353154458","file5":"1353154473","file3":"1353154453"},"map_files_photo_id_array":[{"photo_id":"1353154473","filename":"file5"},{"photo_id":"1353154450","filename":"file2"},{"photo_id":"1353154458","filename":"file4"},{"photo_id":"1353154448","filename":"file1"},{"photo_id":"1353154444","filename":"file0"},{"photo_id":"1353154453","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154473":["hashtag1","hashtag2"]},{"1353154448":["hashtag1","hashtag2"]},{"1353154450":["hashtag1","hashtag2"]},{"1353154453":["hashtag1","hashtag2"]},{"1353154444":["hashtag1","hashtag2"]},{"1353154458":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154473, 1353154448, 1353154450, 1353154453, 1353154444, 1353154458)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.779589891433716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:47:03.045028
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_44_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_34_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_24_10664.jpg', 2), ('/home/nano/Desktop/images/23042025/20/44/image_23042025_20_45_04_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_25_9785.jpg', 2), ('/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_15_10785.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_44_9723.jpg', '/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_34_9633.jpg', '/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_24_10664.jpg', '/home/nano/Desktop/images/23042025/20/44/image_23042025_20_45_04_9644.jpg', '/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_25_9785.jpg', '/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_15_10785.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_44_9723.jpg
/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_34_9633.jpg
/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_24_10664.jpg
/home/nano/Desktop/images/23042025/20/44/image_23042025_20_45_04_9644.jpg
/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_25_9785.jpg
/home/nano/Desktop/images/23042025/11/37/image_23042025_11_37_15_10785.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154530","1353154541","1353154532","1353154526","1353154540","1353154536"],"photo_ids_order":["1353154526","1353154530","1353154532","1353154536","1353154540","1353154541"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbe38faa89745d8d65ade10552ef66b4.jpg","text":"TemporaryFile(/tmp/multipartBody3257332770148946583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434085509,"filename":"image_23042025_20_46_34_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a562f20360c2795e3bc066c97ff04eac.jpg","text":"TemporaryFile(/tmp/multipartBody4849091869755271394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434085509,"filename":"image_23042025_11_37_15_10785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5dc1e064664657711c5be367d979d8a7.jpg","text":"TemporaryFile(/tmp/multipartBody8983063813206188860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434085509,"filename":"image_23042025_20_46_24_10664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c220883ef23a45018433a5806c475c7.jpg","text":"TemporaryFile(/tmp/multipartBody1278985016260812886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434085509,"filename":"image_23042025_20_46_44_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e424314fa5ad4f905f83743761efb5bd.jpg","text":"TemporaryFile(/tmp/multipartBody4307883237454467407asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434085509,"filename":"image_23042025_11_37_25_9785.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bcb62f70af5bde30a70e9f25b2a9755d.jpg","text":"TemporaryFile(/tmp/multipartBody6063748678326122304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434085509,"filename":"image_23042025_20_45_04_9644.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154532","file1":"1353154530","file0":"1353154526","file4":"1353154540","file5":"1353154541","file3":"1353154536"},"map_files_photo_id_array":[{"photo_id":"1353154541","filename":"file5"},{"photo_id":"1353154532","filename":"file2"},{"photo_id":"1353154540","filename":"file4"},{"photo_id":"1353154530","filename":"file1"},{"photo_id":"1353154526","filename":"file0"},{"photo_id":"1353154536","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154530":["hashtag1","hashtag2"]},{"1353154541":["hashtag1","hashtag2"]},{"1353154532":["hashtag1","hashtag2"]},{"1353154526":["hashtag1","hashtag2"]},{"1353154540":["hashtag1","hashtag2"]},{"1353154536":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154530, 1353154541, 1353154532, 1353154526, 1353154540, 1353154536)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.216575145721436 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:48:02.935768
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/36/image_23042025_11_37_05_9792.jpg', 2), ('/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_55_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_45_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_35_9793.jpg', 2), ('/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_25_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_15_9666.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/36/image_23042025_11_37_05_9792.jpg', '/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_55_9666.jpg', '/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_45_10690.jpg', '/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_35_9793.jpg', '/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_25_9645.jpg', '/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_15_9666.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/36/image_23042025_11_37_05_9792.jpg
/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_55_9666.jpg
/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_45_10690.jpg
/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_35_9793.jpg
/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_25_9645.jpg
/home/nano/Desktop/images/23042025/11/36/image_23042025_11_36_15_9666.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154586","1353154574","1353154577","1353154570","1353154581","1353154575"],"photo_ids_order":["1353154570","1353154574","1353154575","1353154577","1353154581","1353154586"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e2eed7be28632f743d1fe007b7d50997.jpg","text":"TemporaryFile(/tmp/multipartBody2704260437825678065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434145697,"filename":"image_23042025_11_36_15_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2471676aaf4f626aaddc888e8676d22c.jpg","text":"TemporaryFile(/tmp/multipartBody1419194204269000577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434145697,"filename":"image_23042025_11_36_55_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d03ffaf3908a7075f67514e151cea801.jpg","text":"TemporaryFile(/tmp/multipartBody3857218140744508598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434145697,"filename":"image_23042025_11_36_35_9793.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf946a1e9bfabd2fc7fff8dc49ee427d.jpg","text":"TemporaryFile(/tmp/multipartBody9138308445744539758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434145697,"filename":"image_23042025_11_37_05_9792.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae75df09dcfa5966068fc8011c74c126.jpg","text":"TemporaryFile(/tmp/multipartBody530761166840019286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434145697,"filename":"image_23042025_11_36_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a58126cb1a834c0e96cffd56d711231.jpg","text":"TemporaryFile(/tmp/multipartBody4432556054797205059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434145697,"filename":"image_23042025_11_36_45_10690.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154575","file1":"1353154574","file0":"1353154570","file4":"1353154581","file5":"1353154586","file3":"1353154577"},"map_files_photo_id_array":[{"photo_id":"1353154586","filename":"file5"},{"photo_id":"1353154575","filename":"file2"},{"photo_id":"1353154581","filename":"file4"},{"photo_id":"1353154574","filename":"file1"},{"photo_id":"1353154570","filename":"file0"},{"photo_id":"1353154577","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154586":["hashtag1","hashtag2"]},{"1353154574":["hashtag1","hashtag2"]},{"1353154577":["hashtag1","hashtag2"]},{"1353154570":["hashtag1","hashtag2"]},{"1353154581":["hashtag1","hashtag2"]},{"1353154575":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154586, 1353154574, 1353154577, 1353154570, 1353154581, 1353154575)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.59558939933777 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:49:03.378239
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/35/image_23042025_11_36_05_10705.jpg', 2), ('/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_55_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_45_9789.jpg', 2), ('/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_35_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_25_9817.jpg', 2), ('/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_15_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/35/image_23042025_11_36_05_10705.jpg', '/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_55_9674.jpg', '/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_45_9789.jpg', '/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_35_10707.jpg', '/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_25_9817.jpg', '/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_15_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/35/image_23042025_11_36_05_10705.jpg
/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_55_9674.jpg
/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_45_9789.jpg
/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_35_10707.jpg
/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_25_9817.jpg
/home/nano/Desktop/images/23042025/11/35/image_23042025_11_35_15_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154632","1353154628","1353154625","1353154630","1353154633","1353154635"],"photo_ids_order":["1353154625","1353154628","1353154630","1353154632","1353154633","1353154635"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/baf401c5d72b0f7f029105caa9fc3ca0.jpg","text":"TemporaryFile(/tmp/multipartBody7577403978955521333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434205695,"filename":"image_23042025_11_35_35_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a02287ec24bfc4a6edc244bb9db7fa38.jpg","text":"TemporaryFile(/tmp/multipartBody6749593411616354140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434205695,"filename":"image_23042025_11_35_55_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/91dc475468a4dbd9545a32e339412086.jpg","text":"TemporaryFile(/tmp/multipartBody4060644992853009672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434205695,"filename":"image_23042025_11_36_05_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2580269aff03f81e59f1ea41eba84783.jpg","text":"TemporaryFile(/tmp/multipartBody5229106677968863767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434205695,"filename":"image_23042025_11_35_45_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ada8aa3077e244800dce963aa077dba1.jpg","text":"TemporaryFile(/tmp/multipartBody8359833280483879853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434205695,"filename":"image_23042025_11_35_25_9817.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b111d7798799e1133c24c579b05a0694.jpg","text":"TemporaryFile(/tmp/multipartBody2329073317998257413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434205695,"filename":"image_23042025_11_35_15_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154630","file1":"1353154628","file0":"1353154625","file4":"1353154633","file5":"1353154635","file3":"1353154632"},"map_files_photo_id_array":[{"photo_id":"1353154635","filename":"file5"},{"photo_id":"1353154630","filename":"file2"},{"photo_id":"1353154633","filename":"file4"},{"photo_id":"1353154628","filename":"file1"},{"photo_id":"1353154625","filename":"file0"},{"photo_id":"1353154632","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154632":["hashtag1","hashtag2"]},{"1353154628":["hashtag1","hashtag2"]},{"1353154625":["hashtag1","hashtag2"]},{"1353154630":["hashtag1","hashtag2"]},{"1353154633":["hashtag1","hashtag2"]},{"1353154635":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154632, 1353154628, 1353154625, 1353154630, 1353154633, 1353154635)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.26659941673279 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:50:03.189721
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/34/image_23042025_11_35_05_9815.jpg', 2), ('/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_55_9772.jpg', 2), ('/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_35_9778.jpg', 2), ('/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_25_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_15_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/11/33/image_23042025_11_34_05_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/34/image_23042025_11_35_05_9815.jpg', '/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_55_9772.jpg', '/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_35_9778.jpg', '/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_25_9679.jpg', '/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_15_10690.jpg', '/home/nano/Desktop/images/23042025/11/33/image_23042025_11_34_05_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/34/image_23042025_11_35_05_9815.jpg
/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_55_9772.jpg
/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_35_9778.jpg
/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_25_9679.jpg
/home/nano/Desktop/images/23042025/11/34/image_23042025_11_34_15_10690.jpg
/home/nano/Desktop/images/23042025/11/33/image_23042025_11_34_05_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154857","1353154847","1353154855","1353154849","1353154852","1353154851"],"photo_ids_order":["1353154847","1353154849","1353154851","1353154852","1353154855","1353154857"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc85254b5c20b9696dd1fb7ce4e9bc17.jpg","text":"TemporaryFile(/tmp/multipartBody6914163594131192958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434265606,"filename":"image_23042025_11_34_05_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a58ad7f381f58d204f73809bdbbbafb3.jpg","text":"TemporaryFile(/tmp/multipartBody6714619242636523076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434265606,"filename":"image_23042025_11_35_05_9815.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a16b51e2c319129e9b686b8845ff6600.jpg","text":"TemporaryFile(/tmp/multipartBody9183969189493126311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434265606,"filename":"image_23042025_11_34_15_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00072636e1b532aad195be0d5d4b73a6.jpg","text":"TemporaryFile(/tmp/multipartBody9191384180912758627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434265606,"filename":"image_23042025_11_34_55_9772.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d6102952aca37f50f8f26f6edd1b412.jpg","text":"TemporaryFile(/tmp/multipartBody7826854990427176834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434265606,"filename":"image_23042025_11_34_25_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/837529e900be3f3be981fb45c824bd91.jpg","text":"TemporaryFile(/tmp/multipartBody2147036669160689685asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434265606,"filename":"image_23042025_11_34_35_9778.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154851","file1":"1353154849","file0":"1353154847","file4":"1353154855","file5":"1353154857","file3":"1353154852"},"map_files_photo_id_array":[{"photo_id":"1353154857","filename":"file5"},{"photo_id":"1353154851","filename":"file2"},{"photo_id":"1353154855","filename":"file4"},{"photo_id":"1353154849","filename":"file1"},{"photo_id":"1353154847","filename":"file0"},{"photo_id":"1353154852","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154857":["hashtag1","hashtag2"]},{"1353154847":["hashtag1","hashtag2"]},{"1353154855":["hashtag1","hashtag2"]},{"1353154849":["hashtag1","hashtag2"]},{"1353154852":["hashtag1","hashtag2"]},{"1353154851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154857, 1353154847, 1353154855, 1353154849, 1353154852, 1353154851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.21664023399353 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:51:03.405620
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_54_10726.jpg', 2), ('/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_55_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_45_9831.jpg', 2), ('/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_35_10718.jpg', 2), ('/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_25_9843.jpg', 2), ('/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_15_9900.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_54_10726.jpg', '/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_55_9679.jpg', '/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_45_9831.jpg', '/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_35_10718.jpg', '/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_25_9843.jpg', '/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_15_9900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/46/image_23042025_20_46_54_10726.jpg
/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_55_9679.jpg
/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_45_9831.jpg
/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_35_10718.jpg
/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_25_9843.jpg
/home/nano/Desktop/images/23042025/11/33/image_23042025_11_33_15_9900.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353154891","1353154894","1353154888","1353154897","1353154896","1353154900"],"photo_ids_order":["1353154888","1353154891","1353154894","1353154896","1353154897","1353154900"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccef45e88d8cec2c6df8329f0cb3cc7c.jpg","text":"TemporaryFile(/tmp/multipartBody8749791474999598306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434325886,"filename":"image_23042025_11_33_55_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad0b4d44eedbc57089a0f362018a977b.jpg","text":"TemporaryFile(/tmp/multipartBody7806696124159426802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434325886,"filename":"image_23042025_11_33_45_9831.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/619174c03da1e3b8c718282c3d06d189.jpg","text":"TemporaryFile(/tmp/multipartBody3183314868696769765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434325886,"filename":"image_23042025_20_46_54_10726.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/803d1e1540b1b1cb1640a396b2caa3b3.jpg","text":"TemporaryFile(/tmp/multipartBody2654771744978795743asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434325886,"filename":"image_23042025_11_33_25_9843.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6ec66b6641d61efb1f8c286cfb8a1c4c.jpg","text":"TemporaryFile(/tmp/multipartBody1779190582737684952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434325886,"filename":"image_23042025_11_33_35_10718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44dd27e4babb6b05715a9b2a01623e3d.jpg","text":"TemporaryFile(/tmp/multipartBody5146586490646438810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434325886,"filename":"image_23042025_11_33_15_9900.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353154894","file1":"1353154891","file0":"1353154888","file4":"1353154897","file5":"1353154900","file3":"1353154896"},"map_files_photo_id_array":[{"photo_id":"1353154900","filename":"file5"},{"photo_id":"1353154894","filename":"file2"},{"photo_id":"1353154897","filename":"file4"},{"photo_id":"1353154891","filename":"file1"},{"photo_id":"1353154888","filename":"file0"},{"photo_id":"1353154896","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353154891":["hashtag1","hashtag2"]},{"1353154894":["hashtag1","hashtag2"]},{"1353154888":["hashtag1","hashtag2"]},{"1353154897":["hashtag1","hashtag2"]},{"1353154896":["hashtag1","hashtag2"]},{"1353154900":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353154891, 1353154894, 1353154888, 1353154897, 1353154896, 1353154900)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.58519911766052 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:52:02.477413
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/50/image_23042025_20_51_04_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/20/50/image_23042025_20_50_54_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/11/32/image_23042025_11_33_05_9862.jpg', 2), ('/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_55_9725.jpg', 2), ('/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_45_10713.jpg', 2), ('/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_35_9842.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/50/image_23042025_20_51_04_9662.jpg', '/home/nano/Desktop/images/23042025/20/50/image_23042025_20_50_54_9652.jpg', '/home/nano/Desktop/images/23042025/11/32/image_23042025_11_33_05_9862.jpg', '/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_55_9725.jpg', '/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_45_10713.jpg', '/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_35_9842.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/50/image_23042025_20_51_04_9662.jpg
/home/nano/Desktop/images/23042025/20/50/image_23042025_20_50_54_9652.jpg
/home/nano/Desktop/images/23042025/11/32/image_23042025_11_33_05_9862.jpg
/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_55_9725.jpg
/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_45_10713.jpg
/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_35_9842.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353155060","1353155063","1353155080","1353155056","1353155085","1353155073"],"photo_ids_order":["1353155056","1353155060","1353155063","1353155073","1353155080","1353155085"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8383799880fe91744590b17da6be1c7e.jpg","text":"TemporaryFile(/tmp/multipartBody7709573087382825098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434385253,"filename":"image_23042025_20_50_54_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25906c4f43913750bf60b675cf302edb.jpg","text":"TemporaryFile(/tmp/multipartBody4688048724781837047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434385253,"filename":"image_23042025_11_33_05_9862.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c3d4e63833805a2b41866219e3d5f61.jpg","text":"TemporaryFile(/tmp/multipartBody4319173425569062330asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434385253,"filename":"image_23042025_11_32_45_10713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7271a074ce0f17ebf0f78817895e691d.jpg","text":"TemporaryFile(/tmp/multipartBody7596040990862538137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434385253,"filename":"image_23042025_20_51_04_9662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff33e919c02bafe4e2f99f6e60dfe6f8.jpg","text":"TemporaryFile(/tmp/multipartBody1983898187844554228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434385253,"filename":"image_23042025_11_32_35_9842.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40fdfab782e3ca4f7d31bbf85e56d562.jpg","text":"TemporaryFile(/tmp/multipartBody6883475950793040808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434385253,"filename":"image_23042025_11_32_55_9725.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353155063","file1":"1353155060","file0":"1353155056","file4":"1353155080","file5":"1353155085","file3":"1353155073"},"map_files_photo_id_array":[{"photo_id":"1353155085","filename":"file5"},{"photo_id":"1353155063","filename":"file2"},{"photo_id":"1353155080","filename":"file4"},{"photo_id":"1353155060","filename":"file1"},{"photo_id":"1353155056","filename":"file0"},{"photo_id":"1353155073","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353155060":["hashtag1","hashtag2"]},{"1353155063":["hashtag1","hashtag2"]},{"1353155080":["hashtag1","hashtag2"]},{"1353155056":["hashtag1","hashtag2"]},{"1353155085":["hashtag1","hashtag2"]},{"1353155073":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353155060, 1353155063, 1353155080, 1353155056, 1353155085, 1353155073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.7838819026947 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:53:02.593408
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/52/image_23042025_20_52_14_10671.jpg', 2), ('/home/nano/Desktop/images/23042025/20/51/image_23042025_20_52_04_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/20/51/image_23042025_20_51_54_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_25_9773.jpg', 2), ('/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_15_9898.jpg', 2), ('/home/nano/Desktop/images/23042025/11/31/image_23042025_11_32_05_9748.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/52/image_23042025_20_52_14_10671.jpg', '/home/nano/Desktop/images/23042025/20/51/image_23042025_20_52_04_9723.jpg', '/home/nano/Desktop/images/23042025/20/51/image_23042025_20_51_54_9656.jpg', '/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_25_9773.jpg', '/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_15_9898.jpg', '/home/nano/Desktop/images/23042025/11/31/image_23042025_11_32_05_9748.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/52/image_23042025_20_52_14_10671.jpg
/home/nano/Desktop/images/23042025/20/51/image_23042025_20_52_04_9723.jpg
/home/nano/Desktop/images/23042025/20/51/image_23042025_20_51_54_9656.jpg
/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_25_9773.jpg
/home/nano/Desktop/images/23042025/11/32/image_23042025_11_32_15_9898.jpg
/home/nano/Desktop/images/23042025/11/31/image_23042025_11_32_05_9748.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353155120","1353155128","1353155122","1353155125","1353155130","1353155133"],"photo_ids_order":["1353155120","1353155122","1353155125","1353155128","1353155130","1353155133"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebdfe880c7736fc1fb53e66047c4a701.jpg","text":"TemporaryFile(/tmp/multipartBody1429624295326229759asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434445663,"filename":"image_23042025_20_52_14_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b36d12cf1eaf8a3456ad28c2a3450468.jpg","text":"TemporaryFile(/tmp/multipartBody1417806274435956196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434445663,"filename":"image_23042025_11_32_25_9773.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a00d7e6eed5f59e4af0300b039053727.jpg","text":"TemporaryFile(/tmp/multipartBody6122879203349986882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434445663,"filename":"image_23042025_20_52_04_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e80a0c51922c3a3c74657a9445cd982.jpg","text":"TemporaryFile(/tmp/multipartBody7496196885172380615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434445663,"filename":"image_23042025_20_51_54_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bde80f2f263df72fa5db1e9083b3fa12.jpg","text":"TemporaryFile(/tmp/multipartBody9002550739198574396asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434445663,"filename":"image_23042025_11_32_15_9898.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fae9caa2690ff5d9cd1ef4310d14d2f5.jpg","text":"TemporaryFile(/tmp/multipartBody3447577124189836877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434445663,"filename":"image_23042025_11_32_05_9748.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353155125","file1":"1353155122","file0":"1353155120","file4":"1353155130","file5":"1353155133","file3":"1353155128"},"map_files_photo_id_array":[{"photo_id":"1353155133","filename":"file5"},{"photo_id":"1353155125","filename":"file2"},{"photo_id":"1353155130","filename":"file4"},{"photo_id":"1353155122","filename":"file1"},{"photo_id":"1353155120","filename":"file0"},{"photo_id":"1353155128","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353155120":["hashtag1","hashtag2"]},{"1353155128":["hashtag1","hashtag2"]},{"1353155122":["hashtag1","hashtag2"]},{"1353155125":["hashtag1","hashtag2"]},{"1353155130":["hashtag1","hashtag2"]},{"1353155133":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353155120, 1353155128, 1353155122, 1353155125, 1353155130, 1353155133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.06381154060364 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:54:02.807473
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_55_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_45_9755.jpg', 2), ('/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_35_9821.jpg', 2), ('/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_25_9754.jpg', 2), ('/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_15_9780.jpg', 2), ('/home/nano/Desktop/images/23042025/11/30/image_23042025_11_31_05_10866.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_55_10690.jpg', '/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_45_9755.jpg', '/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_35_9821.jpg', '/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_25_9754.jpg', '/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_15_9780.jpg', '/home/nano/Desktop/images/23042025/11/30/image_23042025_11_31_05_10866.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_55_10690.jpg
/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_45_9755.jpg
/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_35_9821.jpg
/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_25_9754.jpg
/home/nano/Desktop/images/23042025/11/31/image_23042025_11_31_15_9780.jpg
/home/nano/Desktop/images/23042025/11/30/image_23042025_11_31_05_10866.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353155639","1353155810","1353155554","1353155557","1353155886","1353155721"],"photo_ids_order":["1353155554","1353155557","1353155639","1353155721","1353155810","1353155886"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/342c8d8e4db8c6129c8a2b4636dcf0b6.jpg","text":"TemporaryFile(/tmp/multipartBody3115687652075933498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434505432,"filename":"image_23042025_11_31_35_9821.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf4b09345dd0f3ad3f35df09ac64b2a3.jpg","text":"TemporaryFile(/tmp/multipartBody2467484326378584214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434505432,"filename":"image_23042025_11_31_15_9780.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/256e73cd909fd7fe7d3ed073f04ff52a.jpg","text":"TemporaryFile(/tmp/multipartBody7773839678711926999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434505432,"filename":"image_23042025_11_31_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea85f33358c0db42eecf789652576bbd.jpg","text":"TemporaryFile(/tmp/multipartBody7385730284383019505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434505432,"filename":"image_23042025_11_31_45_9755.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3a2d77be4a429134d8bdc6ebad47ac5.jpg","text":"TemporaryFile(/tmp/multipartBody8428715549185843099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434505432,"filename":"image_23042025_11_31_05_10866.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80483faa998a39129c07ac39520d4188.jpg","text":"TemporaryFile(/tmp/multipartBody106109941383709073asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434505432,"filename":"image_23042025_11_31_25_9754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353155639","file1":"1353155557","file0":"1353155554","file4":"1353155810","file5":"1353155886","file3":"1353155721"},"map_files_photo_id_array":[{"photo_id":"1353155886","filename":"file5"},{"photo_id":"1353155639","filename":"file2"},{"photo_id":"1353155810","filename":"file4"},{"photo_id":"1353155557","filename":"file1"},{"photo_id":"1353155554","filename":"file0"},{"photo_id":"1353155721","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353155639":["hashtag1","hashtag2"]},{"1353155810":["hashtag1","hashtag2"]},{"1353155554":["hashtag1","hashtag2"]},{"1353155557":["hashtag1","hashtag2"]},{"1353155886":["hashtag1","hashtag2"]},{"1353155721":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353155639, 1353155810, 1353155554, 1353155557, 1353155886, 1353155721)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49426746368408 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:55:02.744125
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/54/image_23042025_20_54_44_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/20/52/image_23042025_20_52_24_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_55_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_45_9660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_35_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_25_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/54/image_23042025_20_54_44_10645.jpg', '/home/nano/Desktop/images/23042025/20/52/image_23042025_20_52_24_9695.jpg', '/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_55_9676.jpg', '/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_45_9660.jpg', '/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_35_10657.jpg', '/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_25_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/54/image_23042025_20_54_44_10645.jpg
/home/nano/Desktop/images/23042025/20/52/image_23042025_20_52_24_9695.jpg
/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_55_9676.jpg
/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_45_9660.jpg
/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_35_10657.jpg
/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_25_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353156017","1353156011","1353156014","1353156008","1353156006","1353156003"],"photo_ids_order":["1353156003","1353156006","1353156008","1353156011","1353156014","1353156017"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/413a770c9162d2c1c13c32a3a5de847a.jpg","text":"TemporaryFile(/tmp/multipartBody3662053949623101417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434564913,"filename":"image_23042025_11_30_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51f339c2e2fc1fccf1e94d1c34d55f68.jpg","text":"TemporaryFile(/tmp/multipartBody4294821345561814614asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434564913,"filename":"image_23042025_11_30_45_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a706354a5af50d29a6bb106b630d4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2596373052693810937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434564913,"filename":"image_23042025_11_30_35_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a6832c14f6889cf4cf4d1ffe329a001.jpg","text":"TemporaryFile(/tmp/multipartBody7942481009691826057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434564913,"filename":"image_23042025_11_30_55_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40142cca7200259995686e62e6953312.jpg","text":"TemporaryFile(/tmp/multipartBody4810817623329969285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434564913,"filename":"image_23042025_20_52_24_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19de33f7eea3ed2d1034e7ddab5309c4.jpg","text":"TemporaryFile(/tmp/multipartBody3724974160525436003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434564913,"filename":"image_23042025_20_54_44_10645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353156008","file1":"1353156006","file0":"1353156003","file4":"1353156014","file5":"1353156017","file3":"1353156011"},"map_files_photo_id_array":[{"photo_id":"1353156017","filename":"file5"},{"photo_id":"1353156008","filename":"file2"},{"photo_id":"1353156014","filename":"file4"},{"photo_id":"1353156006","filename":"file1"},{"photo_id":"1353156003","filename":"file0"},{"photo_id":"1353156011","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353156017":["hashtag1","hashtag2"]},{"1353156011":["hashtag1","hashtag2"]},{"1353156014":["hashtag1","hashtag2"]},{"1353156008":["hashtag1","hashtag2"]},{"1353156006":["hashtag1","hashtag2"]},{"1353156003":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353156017, 1353156011, 1353156014, 1353156008, 1353156006, 1353156003)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.58702111244202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:56:02.685274
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/54/image_23042025_20_54_54_9585.jpg', 2), ('/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_15_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/11/29/image_23042025_11_30_05_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_55_9633.jpg', 2), ('/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_45_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_35_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/54/image_23042025_20_54_54_9585.jpg', '/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_15_9684.jpg', '/home/nano/Desktop/images/23042025/11/29/image_23042025_11_30_05_10660.jpg', '/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_55_9633.jpg', '/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_45_9632.jpg', '/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_35_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/54/image_23042025_20_54_54_9585.jpg
/home/nano/Desktop/images/23042025/11/30/image_23042025_11_30_15_9684.jpg
/home/nano/Desktop/images/23042025/11/29/image_23042025_11_30_05_10660.jpg
/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_55_9633.jpg
/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_45_9632.jpg
/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_35_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353156059","1353156050","1353156044","1353156052","1353156063","1353156047"],"photo_ids_order":["1353156044","1353156047","1353156050","1353156052","1353156059","1353156063"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cf7469df1edf74b1f1c2d5f73846188.jpg","text":"TemporaryFile(/tmp/multipartBody4184423609862659135asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434624311,"filename":"image_23042025_11_29_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f112ffe09305cb8f4383fa8f7f94037f.jpg","text":"TemporaryFile(/tmp/multipartBody7580755470903671835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434624311,"filename":"image_23042025_11_30_05_10660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/313a53356a4f75bbe74b391de1747363.jpg","text":"TemporaryFile(/tmp/multipartBody1713211362804605430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434624311,"filename":"image_23042025_20_54_54_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0829fcd9d070ee178190548b6823d4da.jpg","text":"TemporaryFile(/tmp/multipartBody6105403467288463415asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434624311,"filename":"image_23042025_11_29_55_9633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0026261d6118d9bfba171fd78543292b.jpg","text":"TemporaryFile(/tmp/multipartBody2403234792764290877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434624311,"filename":"image_23042025_11_29_35_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81b827016a5a207e63851ceeb5a9b8f4.jpg","text":"TemporaryFile(/tmp/multipartBody2058237752473684933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434624311,"filename":"image_23042025_11_30_15_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353156050","file1":"1353156047","file0":"1353156044","file4":"1353156059","file5":"1353156063","file3":"1353156052"},"map_files_photo_id_array":[{"photo_id":"1353156063","filename":"file5"},{"photo_id":"1353156050","filename":"file2"},{"photo_id":"1353156059","filename":"file4"},{"photo_id":"1353156047","filename":"file1"},{"photo_id":"1353156044","filename":"file0"},{"photo_id":"1353156052","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353156059":["hashtag1","hashtag2"]},{"1353156050":["hashtag1","hashtag2"]},{"1353156044":["hashtag1","hashtag2"]},{"1353156052":["hashtag1","hashtag2"]},{"1353156063":["hashtag1","hashtag2"]},{"1353156047":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353156059, 1353156050, 1353156044, 1353156052, 1353156063, 1353156047)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.34681987762451 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:57:02.963026
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_14_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/20/55/image_23042025_20_56_04_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/20/54/image_23042025_20_55_04_9740.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_14_9727.jpg', '/home/nano/Desktop/images/23042025/20/55/image_23042025_20_56_04_9719.jpg', '/home/nano/Desktop/images/23042025/20/54/image_23042025_20_55_04_9740.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_14_9727.jpg
/home/nano/Desktop/images/23042025/20/55/image_23042025_20_56_04_9719.jpg
/home/nano/Desktop/images/23042025/20/54/image_23042025_20_55_04_9740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.406487226486206 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:57:32.307455
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_23_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_14_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_53_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_23_9711.jpg', '/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_14_9665.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_53_9709.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_23_9711.jpg
/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_14_9665.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_53_9709.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 20:59:03.688779
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/58/image_23042025_20_58_14_9745.jpg', 2), ('/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_34_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_23_9711.jpg', 2), ('/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_14_9665.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_53_9709.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/58/image_23042025_20_58_14_9745.jpg', '/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_34_10724.jpg', '/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_23_9711.jpg', '/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_14_9665.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_53_9709.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/58/image_23042025_20_58_14_9745.jpg
/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_34_10724.jpg
/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_23_9711.jpg
/home/nano/Desktop/images/23042025/20/57/image_23042025_20_57_14_9665.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_53_9709.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_44_9709.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353156629","1353156763","1353156928","1353156817","1353156870","1353156683"],"photo_ids_order":["1353156629","1353156683","1353156763","1353156817","1353156870","1353156928"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08febb0cc3db19fbcd3747dc5170fc8b.jpg","text":"TemporaryFile(/tmp/multipartBody2459358748266790955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434806107,"filename":"image_23042025_20_58_14_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce3948adae8eb3f1de7f0c2c3a4d799f.jpg","text":"TemporaryFile(/tmp/multipartBody2867404692736289624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434806107,"filename":"image_23042025_20_57_23_9711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74bbbe233c97b9dc67017a37ed646f89.jpg","text":"TemporaryFile(/tmp/multipartBody2625153531334076787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434806107,"filename":"image_23042025_20_56_44_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2bee05f3875129f14345523a0415e567.jpg","text":"TemporaryFile(/tmp/multipartBody6782214034778388087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434806107,"filename":"image_23042025_20_57_14_9665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a053634dddbae090e6b51a503d895cda.jpg","text":"TemporaryFile(/tmp/multipartBody4923706535043546598asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434806107,"filename":"image_23042025_20_56_53_9709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/075cd2cb59f157b1e4f89c7c34f72337.jpg","text":"TemporaryFile(/tmp/multipartBody7121406663564442468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434806107,"filename":"image_23042025_20_57_34_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353156763","file1":"1353156683","file0":"1353156629","file4":"1353156870","file5":"1353156928","file3":"1353156817"},"map_files_photo_id_array":[{"photo_id":"1353156928","filename":"file5"},{"photo_id":"1353156763","filename":"file2"},{"photo_id":"1353156870","filename":"file4"},{"photo_id":"1353156683","filename":"file1"},{"photo_id":"1353156629","filename":"file0"},{"photo_id":"1353156817","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353156629":["hashtag1","hashtag2"]},{"1353156763":["hashtag1","hashtag2"]},{"1353156928":["hashtag1","hashtag2"]},{"1353156817":["hashtag1","hashtag2"]},{"1353156870":["hashtag1","hashtag2"]},{"1353156683":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353156629, 1353156763, 1353156928, 1353156817, 1353156870, 1353156683)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.86984705924988 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:00:03.214272
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/59/image_23042025_20_59_14_10677.jpg', 2), ('/home/nano/Desktop/images/23042025/20/58/image_23042025_20_58_24_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_14_9727.jpg', 2), ('/home/nano/Desktop/images/23042025/20/55/image_23042025_20_56_04_9719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/59/image_23042025_20_59_14_10677.jpg', '/home/nano/Desktop/images/23042025/20/58/image_23042025_20_58_24_9715.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg', '/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_14_9727.jpg', '/home/nano/Desktop/images/23042025/20/55/image_23042025_20_56_04_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/59/image_23042025_20_59_14_10677.jpg
/home/nano/Desktop/images/23042025/20/58/image_23042025_20_58_24_9715.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_34_9728.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_24_10721.jpg
/home/nano/Desktop/images/23042025/20/56/image_23042025_20_56_14_9727.jpg
/home/nano/Desktop/images/23042025/20/55/image_23042025_20_56_04_9719.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353157657","1353157510","1353157602","1353157404","1353157460","1353157556"],"photo_ids_order":["1353157404","1353157460","1353157510","1353157556","1353157602","1353157657"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26f66d8701ed17b3505ba58d1bda8db8.jpg","text":"TemporaryFile(/tmp/multipartBody4779962847198950482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434865314,"filename":"image_23042025_20_56_04_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1283770c4584593aebc6a50e2ff4576f.jpg","text":"TemporaryFile(/tmp/multipartBody5253390052900537646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434865314,"filename":"image_23042025_20_56_34_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50488562cfadfd873f947b7e42c5e4a2.jpg","text":"TemporaryFile(/tmp/multipartBody4604624487431138921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434865314,"filename":"image_23042025_20_56_14_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5996ff1d7369740904012df2797099d.jpg","text":"TemporaryFile(/tmp/multipartBody1637553093570682388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434865314,"filename":"image_23042025_20_59_14_10677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0baaf3a7157df20f3a65577e15442ea0.jpg","text":"TemporaryFile(/tmp/multipartBody3209392785811639128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434865314,"filename":"image_23042025_20_58_24_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d2fded902456951d99e050a1d28c8f3.jpg","text":"TemporaryFile(/tmp/multipartBody1342388965235380785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434865314,"filename":"image_23042025_20_56_24_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353157510","file1":"1353157460","file0":"1353157404","file4":"1353157602","file5":"1353157657","file3":"1353157556"},"map_files_photo_id_array":[{"photo_id":"1353157657","filename":"file5"},{"photo_id":"1353157510","filename":"file2"},{"photo_id":"1353157602","filename":"file4"},{"photo_id":"1353157460","filename":"file1"},{"photo_id":"1353157404","filename":"file0"},{"photo_id":"1353157556","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353157657":["hashtag1","hashtag2"]},{"1353157510":["hashtag1","hashtag2"]},{"1353157602":["hashtag1","hashtag2"]},{"1353157404":["hashtag1","hashtag2"]},{"1353157460":["hashtag1","hashtag2"]},{"1353157556":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353157657, 1353157510, 1353157602, 1353157404, 1353157460, 1353157556)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.027910232543945 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:01:02.434249
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/20/54/image_23042025_20_55_04_9740.jpg', 2), ('/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_25_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_15_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/28/image_23042025_11_29_05_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_55_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_45_9632.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/20/54/image_23042025_20_55_04_9740.jpg', '/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_25_9636.jpg', '/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_15_9637.jpg', '/home/nano/Desktop/images/23042025/11/28/image_23042025_11_29_05_10660.jpg', '/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_55_9644.jpg', '/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_45_9632.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/20/54/image_23042025_20_55_04_9740.jpg
/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_25_9636.jpg
/home/nano/Desktop/images/23042025/11/29/image_23042025_11_29_15_9637.jpg
/home/nano/Desktop/images/23042025/11/28/image_23042025_11_29_05_10660.jpg
/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_55_9644.jpg
/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_45_9632.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353157867","1353157858","1353157869","1353157860","1353157862","1353157865"],"photo_ids_order":["1353157858","1353157860","1353157862","1353157865","1353157867","1353157869"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bdc92ac34da5c4603c8ed90b619fd5c4.jpg","text":"TemporaryFile(/tmp/multipartBody4692320317584579389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434923632,"filename":"image_23042025_11_28_55_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/356c92503a19ed7bc9cab9eda56bfc3a.jpg","text":"TemporaryFile(/tmp/multipartBody8871334942835331410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434923632,"filename":"image_23042025_20_55_04_9740.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cf4c59c4b43316379143b36dbdae7589.jpg","text":"TemporaryFile(/tmp/multipartBody8195500930999445643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434923632,"filename":"image_23042025_11_28_45_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec190800e4cb34c8709d0ba69bbe4604.jpg","text":"TemporaryFile(/tmp/multipartBody122158202535657553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434923632,"filename":"image_23042025_11_29_25_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2796fb4f5c69a13de09f059844bf8599.jpg","text":"TemporaryFile(/tmp/multipartBody4970928553920726949asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434923632,"filename":"image_23042025_11_29_15_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88686309017c7b870ee49738fe1023fc.jpg","text":"TemporaryFile(/tmp/multipartBody8260708395301046332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434923632,"filename":"image_23042025_11_29_05_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353157862","file1":"1353157860","file0":"1353157858","file4":"1353157867","file5":"1353157869","file3":"1353157865"},"map_files_photo_id_array":[{"photo_id":"1353157869","filename":"file5"},{"photo_id":"1353157862","filename":"file2"},{"photo_id":"1353157867","filename":"file4"},{"photo_id":"1353157860","filename":"file1"},{"photo_id":"1353157858","filename":"file0"},{"photo_id":"1353157865","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353157867":["hashtag1","hashtag2"]},{"1353157858":["hashtag1","hashtag2"]},{"1353157869":["hashtag1","hashtag2"]},{"1353157860":["hashtag1","hashtag2"]},{"1353157862":["hashtag1","hashtag2"]},{"1353157865":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353157867, 1353157858, 1353157869, 1353157860, 1353157862, 1353157865)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.6632821559906 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:02:02.537035
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_24_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_14_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/20/59/image_23042025_20_59_24_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_35_10637.jpg', 2), ('/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_25_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_15_10693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_24_9719.jpg', '/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_14_9670.jpg', '/home/nano/Desktop/images/23042025/20/59/image_23042025_20_59_24_9650.jpg', '/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_35_10637.jpg', '/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_25_9645.jpg', '/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_15_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_24_9719.jpg
/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_14_9670.jpg
/home/nano/Desktop/images/23042025/20/59/image_23042025_20_59_24_9650.jpg
/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_35_10637.jpg
/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_25_9645.jpg
/home/nano/Desktop/images/23042025/11/28/image_23042025_11_28_15_10693.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158233","1353158289","1353158256","1353158282","1353158291","1353158251"],"photo_ids_order":["1353158233","1353158251","1353158256","1353158282","1353158289","1353158291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1c888babc1fc7e847a99170e9fd2b3b3.jpg","text":"TemporaryFile(/tmp/multipartBody5253987779223144437asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434984406,"filename":"image_23042025_21_01_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87fccb42c0bab337146b1ebe72845892.jpg","text":"TemporaryFile(/tmp/multipartBody5092579495102950901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434984406,"filename":"image_23042025_11_28_25_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/411fe9eddba99a375ead20056ae00c04.jpg","text":"TemporaryFile(/tmp/multipartBody3141965763883626042asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434984406,"filename":"image_23042025_20_59_24_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0ba036440deb4114056c210b81ed2f8.jpg","text":"TemporaryFile(/tmp/multipartBody6582477463470606084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434984406,"filename":"image_23042025_11_28_35_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d61cd392f96f00c30167a5059e15710.jpg","text":"TemporaryFile(/tmp/multipartBody1560047777405783749asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434984406,"filename":"image_23042025_11_28_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4a2668387f68564e8e2593e8232f987.jpg","text":"TemporaryFile(/tmp/multipartBody5891278068579908898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745434984406,"filename":"image_23042025_21_01_14_9670.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158256","file1":"1353158251","file0":"1353158233","file4":"1353158289","file5":"1353158291","file3":"1353158282"},"map_files_photo_id_array":[{"photo_id":"1353158291","filename":"file5"},{"photo_id":"1353158256","filename":"file2"},{"photo_id":"1353158289","filename":"file4"},{"photo_id":"1353158251","filename":"file1"},{"photo_id":"1353158233","filename":"file0"},{"photo_id":"1353158282","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158233":["hashtag1","hashtag2"]},{"1353158289":["hashtag1","hashtag2"]},{"1353158256":["hashtag1","hashtag2"]},{"1353158282":["hashtag1","hashtag2"]},{"1353158291":["hashtag1","hashtag2"]},{"1353158251":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158233, 1353158289, 1353158256, 1353158282, 1353158291, 1353158251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.066536903381348 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:03:02.812404
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/01/image_23042025_21_02_04_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_33_9721.jpg', 2), ('/home/nano/Desktop/images/23042025/11/27/image_23042025_11_28_05_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_55_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_45_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_35_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/01/image_23042025_21_02_04_9741.jpg', '/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_33_9721.jpg', '/home/nano/Desktop/images/23042025/11/27/image_23042025_11_28_05_9645.jpg', '/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_55_9648.jpg', '/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_45_10643.jpg', '/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_35_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/01/image_23042025_21_02_04_9741.jpg
/home/nano/Desktop/images/23042025/21/01/image_23042025_21_01_33_9721.jpg
/home/nano/Desktop/images/23042025/11/27/image_23042025_11_28_05_9645.jpg
/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_55_9648.jpg
/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_45_10643.jpg
/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_35_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158401","1353158391","1353158394","1353158388","1353158384","1353158398"],"photo_ids_order":["1353158384","1353158388","1353158391","1353158394","1353158398","1353158401"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbe2908ca68b6ce1f14e9226f966aa63.jpg","text":"TemporaryFile(/tmp/multipartBody1636553070268286057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435044767,"filename":"image_23042025_11_27_35_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6d488edd8064d179e7fa4dfcd1a0640.jpg","text":"TemporaryFile(/tmp/multipartBody3447809870442231286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435044767,"filename":"image_23042025_11_28_05_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14d67a36e154f2ed3ade3b3119387e1a.jpg","text":"TemporaryFile(/tmp/multipartBody5568280312689379742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435044767,"filename":"image_23042025_11_27_55_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/90987ba8f9e5ea3a0fc20ab6c07b408e.jpg","text":"TemporaryFile(/tmp/multipartBody2159735069820002882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435044767,"filename":"image_23042025_21_01_33_9721.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db34b0136572944b64aec7ea055fee5e.jpg","text":"TemporaryFile(/tmp/multipartBody7275939837827203655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435044767,"filename":"image_23042025_21_02_04_9741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3236f02e28ed450e1d5016c4aa8a3fb0.jpg","text":"TemporaryFile(/tmp/multipartBody5452395555006195941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435044767,"filename":"image_23042025_11_27_45_10643.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158391","file1":"1353158388","file0":"1353158384","file4":"1353158398","file5":"1353158401","file3":"1353158394"},"map_files_photo_id_array":[{"photo_id":"1353158401","filename":"file5"},{"photo_id":"1353158391","filename":"file2"},{"photo_id":"1353158398","filename":"file4"},{"photo_id":"1353158388","filename":"file1"},{"photo_id":"1353158384","filename":"file0"},{"photo_id":"1353158394","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158401":["hashtag1","hashtag2"]},{"1353158391":["hashtag1","hashtag2"]},{"1353158394":["hashtag1","hashtag2"]},{"1353158388":["hashtag1","hashtag2"]},{"1353158384":["hashtag1","hashtag2"]},{"1353158398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158401, 1353158391, 1353158394, 1353158388, 1353158384, 1353158398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.55779480934143 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:04:02.910457
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/02/image_23042025_21_02_13_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_25_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_15_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/11/26/image_23042025_11_27_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_55_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_45_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/02/image_23042025_21_02_13_9739.jpg', '/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_25_9640.jpg', '/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_15_10640.jpg', '/home/nano/Desktop/images/23042025/11/26/image_23042025_11_27_05_9642.jpg', '/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_55_9623.jpg', '/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_45_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/02/image_23042025_21_02_13_9739.jpg
/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_25_9640.jpg
/home/nano/Desktop/images/23042025/11/27/image_23042025_11_27_15_10640.jpg
/home/nano/Desktop/images/23042025/11/26/image_23042025_11_27_05_9642.jpg
/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_55_9623.jpg
/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_45_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158436","1353158427","1353158447","1353158432","1353158423","1353158443"],"photo_ids_order":["1353158423","1353158427","1353158432","1353158436","1353158443","1353158447"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/265058680c095e00eaff86c0923fd1fb.jpg","text":"TemporaryFile(/tmp/multipartBody290593337339650886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435106448,"filename":"image_23042025_11_27_05_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abfbd02c2f978bbed9067fd02b8522dc.jpg","text":"TemporaryFile(/tmp/multipartBody8551236538919942889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435106448,"filename":"image_23042025_11_27_25_9640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31569ff7ffc60ebfa5a16a2b450d295f.jpg","text":"TemporaryFile(/tmp/multipartBody8393188004796659146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435106448,"filename":"image_23042025_11_26_45_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41fcee5fb7310535aedb3f748cdab4cf.jpg","text":"TemporaryFile(/tmp/multipartBody3949809738115885921asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435106448,"filename":"image_23042025_11_27_15_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27236948fcf1ca6a6df614a9d0342d3e.jpg","text":"TemporaryFile(/tmp/multipartBody4530197840015030210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435106448,"filename":"image_23042025_21_02_13_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/109952a613be9d74fe8ce93a27440ae6.jpg","text":"TemporaryFile(/tmp/multipartBody216213294846463483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435106448,"filename":"image_23042025_11_26_55_9623.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158432","file1":"1353158427","file0":"1353158423","file4":"1353158443","file5":"1353158447","file3":"1353158436"},"map_files_photo_id_array":[{"photo_id":"1353158447","filename":"file5"},{"photo_id":"1353158432","filename":"file2"},{"photo_id":"1353158443","filename":"file4"},{"photo_id":"1353158427","filename":"file1"},{"photo_id":"1353158423","filename":"file0"},{"photo_id":"1353158436","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158436":["hashtag1","hashtag2"]},{"1353158427":["hashtag1","hashtag2"]},{"1353158447":["hashtag1","hashtag2"]},{"1353158432":["hashtag1","hashtag2"]},{"1353158423":["hashtag1","hashtag2"]},{"1353158443":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158436, 1353158427, 1353158447, 1353158432, 1353158423, 1353158443)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.67428946495056 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:05:02.840943
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/03/image_23042025_21_03_54_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_35_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_25_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_15_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/25/image_23042025_11_26_05_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_55_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/03/image_23042025_21_03_54_9636.jpg', '/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_35_9625.jpg', '/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_25_9643.jpg', '/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_15_10641.jpg', '/home/nano/Desktop/images/23042025/11/25/image_23042025_11_26_05_9634.jpg', '/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_55_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/03/image_23042025_21_03_54_9636.jpg
/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_35_9625.jpg
/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_25_9643.jpg
/home/nano/Desktop/images/23042025/11/26/image_23042025_11_26_15_10641.jpg
/home/nano/Desktop/images/23042025/11/25/image_23042025_11_26_05_9634.jpg
/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_55_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158472","1353158469","1353158480","1353158477","1353158474","1353158476"],"photo_ids_order":["1353158469","1353158472","1353158474","1353158476","1353158477","1353158480"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac6318839d30f8490ef032c524b77a91.jpg","text":"TemporaryFile(/tmp/multipartBody4062092081693480282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435164612,"filename":"image_23042025_11_26_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dde74e1d079f43e63641783797af9bcc.jpg","text":"TemporaryFile(/tmp/multipartBody4845007595010539931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435164612,"filename":"image_23042025_21_03_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6da4ef85de8db10dcbb6a2f4229b477.jpg","text":"TemporaryFile(/tmp/multipartBody5404985050310120592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435164612,"filename":"image_23042025_11_25_55_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b95b111ff0b9f0d6f42b30250cb8e050.jpg","text":"TemporaryFile(/tmp/multipartBody7188178161420194610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435164612,"filename":"image_23042025_11_26_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eafb92d8eb1346da215a8ab761caf682.jpg","text":"TemporaryFile(/tmp/multipartBody9052422917810119969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435164612,"filename":"image_23042025_11_26_25_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cbfa8d042db1bbc4605075d8a577d699.jpg","text":"TemporaryFile(/tmp/multipartBody3806229984334587541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435164612,"filename":"image_23042025_11_26_15_10641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158474","file1":"1353158472","file0":"1353158469","file4":"1353158477","file5":"1353158480","file3":"1353158476"},"map_files_photo_id_array":[{"photo_id":"1353158480","filename":"file5"},{"photo_id":"1353158474","filename":"file2"},{"photo_id":"1353158477","filename":"file4"},{"photo_id":"1353158472","filename":"file1"},{"photo_id":"1353158469","filename":"file0"},{"photo_id":"1353158476","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158472":["hashtag1","hashtag2"]},{"1353158469":["hashtag1","hashtag2"]},{"1353158480":["hashtag1","hashtag2"]},{"1353158477":["hashtag1","hashtag2"]},{"1353158474":["hashtag1","hashtag2"]},{"1353158476":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158472, 1353158469, 1353158480, 1353158477, 1353158474, 1353158476)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49020218849182 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:06:02.818065
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_45_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_35_9643.jpg', 2), ('/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_25_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_15_9652.jpg', 2), ('/home/nano/Desktop/images/23042025/11/24/image_23042025_11_25_05_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_55_10637.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_45_9641.jpg', '/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_35_9643.jpg', '/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_25_10646.jpg', '/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_15_9652.jpg', '/home/nano/Desktop/images/23042025/11/24/image_23042025_11_25_05_9681.jpg', '/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_55_10637.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_45_9641.jpg
/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_35_9643.jpg
/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_25_10646.jpg
/home/nano/Desktop/images/23042025/11/25/image_23042025_11_25_15_9652.jpg
/home/nano/Desktop/images/23042025/11/24/image_23042025_11_25_05_9681.jpg
/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_55_10637.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158506","1353158521","1353158509","1353158499","1353158503","1353158497"],"photo_ids_order":["1353158497","1353158499","1353158503","1353158506","1353158509","1353158521"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a510594fb22a3d12501e54438f01b4fe.jpg","text":"TemporaryFile(/tmp/multipartBody5039257517049072256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435224564,"filename":"image_23042025_11_25_15_9652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a05ce6a297ed3cb4ab012c68adf00c56.jpg","text":"TemporaryFile(/tmp/multipartBody4939010855459909253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435224564,"filename":"image_23042025_11_24_55_10637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d4215fef15990769d8921c6ec38f8ac.jpg","text":"TemporaryFile(/tmp/multipartBody3204495443456129046asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435224564,"filename":"image_23042025_11_25_05_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ce70eb69a8d5eb2d004f7cadce3a957.jpg","text":"TemporaryFile(/tmp/multipartBody2721590292892932380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435224564,"filename":"image_23042025_11_25_35_9643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f869b36d3748aff941da6e4aac7cfb0e.jpg","text":"TemporaryFile(/tmp/multipartBody8032644891320688666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435224564,"filename":"image_23042025_11_25_25_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/75bc8d53dcd44b9077d5af57d1787bac.jpg","text":"TemporaryFile(/tmp/multipartBody8654154947139661866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435224564,"filename":"image_23042025_11_25_45_9641.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158503","file1":"1353158499","file0":"1353158497","file4":"1353158509","file5":"1353158521","file3":"1353158506"},"map_files_photo_id_array":[{"photo_id":"1353158521","filename":"file5"},{"photo_id":"1353158503","filename":"file2"},{"photo_id":"1353158509","filename":"file4"},{"photo_id":"1353158499","filename":"file1"},{"photo_id":"1353158497","filename":"file0"},{"photo_id":"1353158506","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158506":["hashtag1","hashtag2"]},{"1353158521":["hashtag1","hashtag2"]},{"1353158509":["hashtag1","hashtag2"]},{"1353158499":["hashtag1","hashtag2"]},{"1353158503":["hashtag1","hashtag2"]},{"1353158497":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158506, 1353158521, 1353158509, 1353158499, 1353158503, 1353158497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.110743045806885 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:07:03.041290
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/03/image_23042025_21_04_04_9691.jpg', 2), ('/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_45_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_35_9656.jpg', 2), ('/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_25_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_15_9670.jpg', 2), ('/home/nano/Desktop/images/23042025/11/23/image_23042025_11_24_05_9634.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/03/image_23042025_21_04_04_9691.jpg', '/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_45_9628.jpg', '/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_35_9656.jpg', '/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_25_10669.jpg', '/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_15_9670.jpg', '/home/nano/Desktop/images/23042025/11/23/image_23042025_11_24_05_9634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/03/image_23042025_21_04_04_9691.jpg
/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_45_9628.jpg
/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_35_9656.jpg
/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_25_10669.jpg
/home/nano/Desktop/images/23042025/11/24/image_23042025_11_24_15_9670.jpg
/home/nano/Desktop/images/23042025/11/23/image_23042025_11_24_05_9634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158551","1353158547","1353158538","1353158561","1353158555","1353158542"],"photo_ids_order":["1353158538","1353158542","1353158547","1353158551","1353158555","1353158561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de654264e767dea13af6755b97130f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1615655639077493331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435284246,"filename":"image_23042025_11_24_25_10669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b96526d0552cf141e23e81c20bc2d169.jpg","text":"TemporaryFile(/tmp/multipartBody8803809160476488050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435284246,"filename":"image_23042025_11_24_35_9656.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f968783f9b03d248e51ab84b339b6569.jpg","text":"TemporaryFile(/tmp/multipartBody7566223469961967903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435284246,"filename":"image_23042025_21_04_04_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/919e51be61198737943fbe13f2ad8e21.jpg","text":"TemporaryFile(/tmp/multipartBody8540665559452930824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435284246,"filename":"image_23042025_11_24_05_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1aa0e0cab969d9c43426650c0e197bd6.jpg","text":"TemporaryFile(/tmp/multipartBody7348189754686623148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435284246,"filename":"image_23042025_11_24_15_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba1d3935c177de3e0b16f48e816ab9fc.jpg","text":"TemporaryFile(/tmp/multipartBody321280556520126402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435284246,"filename":"image_23042025_11_24_45_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158547","file1":"1353158542","file0":"1353158538","file4":"1353158555","file5":"1353158561","file3":"1353158551"},"map_files_photo_id_array":[{"photo_id":"1353158561","filename":"file5"},{"photo_id":"1353158547","filename":"file2"},{"photo_id":"1353158555","filename":"file4"},{"photo_id":"1353158542","filename":"file1"},{"photo_id":"1353158538","filename":"file0"},{"photo_id":"1353158551","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158551":["hashtag1","hashtag2"]},{"1353158547":["hashtag1","hashtag2"]},{"1353158538":["hashtag1","hashtag2"]},{"1353158561":["hashtag1","hashtag2"]},{"1353158555":["hashtag1","hashtag2"]},{"1353158542":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158551, 1353158547, 1353158538, 1353158561, 1353158555, 1353158542)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.37236046791077 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:08:03.116090
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_34_9732.jpg', 2), ('/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_13_9789.jpg', 2), ('/home/nano/Desktop/images/23042025/21/06/image_23042025_21_07_04_9742.jpg', 2), ('/home/nano/Desktop/images/23042025/21/06/image_23042025_21_06_44_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_55_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_45_9629.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_34_9732.jpg', '/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_13_9789.jpg', '/home/nano/Desktop/images/23042025/21/06/image_23042025_21_07_04_9742.jpg', '/home/nano/Desktop/images/23042025/21/06/image_23042025_21_06_44_10653.jpg', '/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_55_10657.jpg', '/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_45_9629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_34_9732.jpg
/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_13_9789.jpg
/home/nano/Desktop/images/23042025/21/06/image_23042025_21_07_04_9742.jpg
/home/nano/Desktop/images/23042025/21/06/image_23042025_21_06_44_10653.jpg
/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_55_10657.jpg
/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_45_9629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158595","1353158594","1353158597","1353158591","1353158600","1353158596"],"photo_ids_order":["1353158591","1353158594","1353158595","1353158596","1353158597","1353158600"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54394df9eb54cb0ffe23b0cf806e9ede.jpg","text":"TemporaryFile(/tmp/multipartBody7526772237598591246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435345121,"filename":"image_23042025_21_07_04_9742.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8cdbed1080eccbea585bf7308d15bdd8.jpg","text":"TemporaryFile(/tmp/multipartBody2370830877787162944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435345121,"filename":"image_23042025_21_07_13_9789.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/066025cac932dee674e0cc79abb163eb.jpg","text":"TemporaryFile(/tmp/multipartBody1174487689573352942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435345121,"filename":"image_23042025_11_23_55_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f02035dc6f566dd1061d9020ee04c521.jpg","text":"TemporaryFile(/tmp/multipartBody7008523270452304450asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435345121,"filename":"image_23042025_21_07_34_9732.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bb8c1d7429d9489f5dd1a4254106ee5.jpg","text":"TemporaryFile(/tmp/multipartBody4762403979663033659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435345121,"filename":"image_23042025_11_23_45_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b888d8dc12136958f9fefcb65c0b527.jpg","text":"TemporaryFile(/tmp/multipartBody4161759974044766736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435345121,"filename":"image_23042025_21_06_44_10653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158595","file1":"1353158594","file0":"1353158591","file4":"1353158597","file5":"1353158600","file3":"1353158596"},"map_files_photo_id_array":[{"photo_id":"1353158600","filename":"file5"},{"photo_id":"1353158595","filename":"file2"},{"photo_id":"1353158597","filename":"file4"},{"photo_id":"1353158594","filename":"file1"},{"photo_id":"1353158591","filename":"file0"},{"photo_id":"1353158596","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158595":["hashtag1","hashtag2"]},{"1353158594":["hashtag1","hashtag2"]},{"1353158597":["hashtag1","hashtag2"]},{"1353158591":["hashtag1","hashtag2"]},{"1353158600":["hashtag1","hashtag2"]},{"1353158596":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158595, 1353158594, 1353158597, 1353158591, 1353158600, 1353158596)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.03792643547058 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:09:03.610570
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/08/image_23042025_21_09_04_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_44_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_35_9626.jpg', 2), ('/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_25_10645.jpg', 2), ('/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_15_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/22/image_23042025_11_23_05_10657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/08/image_23042025_21_09_04_9679.jpg', '/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_44_9730.jpg', '/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_35_9626.jpg', '/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_25_10645.jpg', '/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_15_9629.jpg', '/home/nano/Desktop/images/23042025/11/22/image_23042025_11_23_05_10657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/08/image_23042025_21_09_04_9679.jpg
/home/nano/Desktop/images/23042025/21/07/image_23042025_21_07_44_9730.jpg
/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_35_9626.jpg
/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_25_10645.jpg
/home/nano/Desktop/images/23042025/11/23/image_23042025_11_23_15_9629.jpg
/home/nano/Desktop/images/23042025/11/22/image_23042025_11_23_05_10657.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158731","1353158725","1353158727","1353158723","1353158726","1353158728"],"photo_ids_order":["1353158723","1353158725","1353158726","1353158727","1353158728","1353158731"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14648980cfc44f09f7b96cbb166e6613.jpg","text":"TemporaryFile(/tmp/multipartBody6667906006325563072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435405389,"filename":"image_23042025_11_23_05_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac211c8e393294fd5941f8df4334a0d9.jpg","text":"TemporaryFile(/tmp/multipartBody3109561603103986539asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435405389,"filename":"image_23042025_21_07_44_9730.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd805594921df13e7b8807edc06f5d06.jpg","text":"TemporaryFile(/tmp/multipartBody8270241159230988853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435405389,"filename":"image_23042025_11_23_25_10645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8cd9b90521a5ea3255a6f12930e76f0.jpg","text":"TemporaryFile(/tmp/multipartBody3624888547432629322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435405389,"filename":"image_23042025_21_09_04_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26a0ef21f850b9bbf5a8ac5ca814ae71.jpg","text":"TemporaryFile(/tmp/multipartBody1853385247091137067asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435405389,"filename":"image_23042025_11_23_35_9626.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abe4008637083ebb08ac012f2f4939e3.jpg","text":"TemporaryFile(/tmp/multipartBody8373073538119805849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435405389,"filename":"image_23042025_11_23_15_9629.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158726","file1":"1353158725","file0":"1353158723","file4":"1353158728","file5":"1353158731","file3":"1353158727"},"map_files_photo_id_array":[{"photo_id":"1353158731","filename":"file5"},{"photo_id":"1353158726","filename":"file2"},{"photo_id":"1353158728","filename":"file4"},{"photo_id":"1353158725","filename":"file1"},{"photo_id":"1353158723","filename":"file0"},{"photo_id":"1353158727","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158731":["hashtag1","hashtag2"]},{"1353158725":["hashtag1","hashtag2"]},{"1353158727":["hashtag1","hashtag2"]},{"1353158723":["hashtag1","hashtag2"]},{"1353158726":["hashtag1","hashtag2"]},{"1353158728":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158731, 1353158725, 1353158727, 1353158723, 1353158726, 1353158728)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.136717796325684 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:10:03.329465
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/09/image_23042025_21_09_14_9693.jpg', 2), ('/home/nano/Desktop/images/23042025/21/08/image_23042025_21_08_54_10702.jpg', 2), ('/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_55_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_45_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_35_10630.jpg', 2), ('/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_25_9642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/09/image_23042025_21_09_14_9693.jpg', '/home/nano/Desktop/images/23042025/21/08/image_23042025_21_08_54_10702.jpg', '/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_55_9650.jpg', '/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_45_9646.jpg', '/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_35_10630.jpg', '/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_25_9642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/09/image_23042025_21_09_14_9693.jpg
/home/nano/Desktop/images/23042025/21/08/image_23042025_21_08_54_10702.jpg
/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_55_9650.jpg
/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_45_9646.jpg
/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_35_10630.jpg
/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_25_9642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158763","1353158766","1353158768","1353158759","1353158770","1353158776"],"photo_ids_order":["1353158759","1353158763","1353158766","1353158768","1353158770","1353158776"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c2ecdad94ba1cf4550926eb746875bf.jpg","text":"TemporaryFile(/tmp/multipartBody5741568110003006636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435465064,"filename":"image_23042025_21_08_54_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f135d055529e5df16001d96c671501d6.jpg","text":"TemporaryFile(/tmp/multipartBody4920931157085304506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435465064,"filename":"image_23042025_11_22_55_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ffb50e433bb217d1941c5bd92ee70e4.jpg","text":"TemporaryFile(/tmp/multipartBody683399239152285255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435465064,"filename":"image_23042025_11_22_45_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a2e7a793a4dbb466c4ed85ec3960107.jpg","text":"TemporaryFile(/tmp/multipartBody3847166760240069944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435465064,"filename":"image_23042025_21_09_14_9693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7dcc09a3ec25ddd2bc1b15042066645c.jpg","text":"TemporaryFile(/tmp/multipartBody7429942489221258137asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435465064,"filename":"image_23042025_11_22_35_10630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/050c1595d6075887163f177396b32e9f.jpg","text":"TemporaryFile(/tmp/multipartBody7798446134733478062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435465064,"filename":"image_23042025_11_22_25_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158766","file1":"1353158763","file0":"1353158759","file4":"1353158770","file5":"1353158776","file3":"1353158768"},"map_files_photo_id_array":[{"photo_id":"1353158776","filename":"file5"},{"photo_id":"1353158766","filename":"file2"},{"photo_id":"1353158770","filename":"file4"},{"photo_id":"1353158763","filename":"file1"},{"photo_id":"1353158759","filename":"file0"},{"photo_id":"1353158768","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158763":["hashtag1","hashtag2"]},{"1353158766":["hashtag1","hashtag2"]},{"1353158768":["hashtag1","hashtag2"]},{"1353158759":["hashtag1","hashtag2"]},{"1353158770":["hashtag1","hashtag2"]},{"1353158776":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158763, 1353158766, 1353158768, 1353158759, 1353158770, 1353158776)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.3681902885437 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:11:02.538669
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_15_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_22_05_10670.jpg', 2), ('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_55_9631.jpg', 2), ('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_45_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_35_10641.jpg', 2), ('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_25_9641.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_15_9621.jpg', '/home/nano/Desktop/images/23042025/11/21/image_23042025_11_22_05_10670.jpg', '/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_55_9631.jpg', '/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_45_9644.jpg', '/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_35_10641.jpg', '/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_25_9641.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/22/image_23042025_11_22_15_9621.jpg
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_22_05_10670.jpg
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_55_9631.jpg
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_45_9644.jpg
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_35_10641.jpg
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_25_9641.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353158949","1353158958","1353158805","1353158948","1353158945","1353158801"],"photo_ids_order":["1353158801","1353158805","1353158945","1353158948","1353158949","1353158958"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4dfa22bb066e212bdcc29295cd043a3a.jpg","text":"TemporaryFile(/tmp/multipartBody1923353980958021192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435524268,"filename":"image_23042025_11_21_35_10641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8f7259348471e82e649fe2c5895239f.jpg","text":"TemporaryFile(/tmp/multipartBody1321986233573150460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435524268,"filename":"image_23042025_11_21_25_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/12e5d5c756337c816583de0d2aebf012.jpg","text":"TemporaryFile(/tmp/multipartBody2362472292350584454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435524268,"filename":"image_23042025_11_22_05_10670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87bca888e3c60e31ac19a3cb5dd22b93.jpg","text":"TemporaryFile(/tmp/multipartBody2291333293278466884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435524268,"filename":"image_23042025_11_21_45_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f30123f407c5d070866f5900ad64796.jpg","text":"TemporaryFile(/tmp/multipartBody6590957258640397504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435524268,"filename":"image_23042025_11_21_55_9631.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/297bcfa9ae140170d11205c3269ef62a.jpg","text":"TemporaryFile(/tmp/multipartBody5836180910885728886asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435524268,"filename":"image_23042025_11_22_15_9621.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353158945","file1":"1353158805","file0":"1353158801","file4":"1353158949","file5":"1353158958","file3":"1353158948"},"map_files_photo_id_array":[{"photo_id":"1353158958","filename":"file5"},{"photo_id":"1353158945","filename":"file2"},{"photo_id":"1353158949","filename":"file4"},{"photo_id":"1353158805","filename":"file1"},{"photo_id":"1353158801","filename":"file0"},{"photo_id":"1353158948","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353158949":["hashtag1","hashtag2"]},{"1353158958":["hashtag1","hashtag2"]},{"1353158805":["hashtag1","hashtag2"]},{"1353158948":["hashtag1","hashtag2"]},{"1353158945":["hashtag1","hashtag2"]},{"1353158801":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353158949, 1353158958, 1353158805, 1353158948, 1353158945, 1353158801)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.989938735961914 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:12:02.420163
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_15_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_21_05_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_55_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_15_9658.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_21_05_10646.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_55_9629.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_15_9658.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_21_05_10646.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_55_9629.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 1.0146842002868652 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:12:31.935928
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_24_10666.jpg', 2), ('/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_13_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/21/11/image_23042025_21_12_04_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/21/09/image_23042025_21_09_24_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_15_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_21_05_10646.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_24_10666.jpg', '/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_13_9671.jpg', '/home/nano/Desktop/images/23042025/21/11/image_23042025_21_12_04_9646.jpg', '/home/nano/Desktop/images/23042025/21/09/image_23042025_21_09_24_10687.jpg', '/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_15_9658.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_21_05_10646.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_24_10666.jpg
/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_13_9671.jpg
/home/nano/Desktop/images/23042025/21/11/image_23042025_21_12_04_9646.jpg
/home/nano/Desktop/images/23042025/21/09/image_23042025_21_09_24_10687.jpg
/home/nano/Desktop/images/23042025/11/21/image_23042025_11_21_15_9658.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_21_05_10646.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159174","1353159191","1353159179","1353159188","1353159184","1353159142"],"photo_ids_order":["1353159142","1353159174","1353159179","1353159184","1353159188","1353159191"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a2fd00e1b8d3042731eded8e9299eae9.jpg","text":"TemporaryFile(/tmp/multipartBody6489289973074812699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435613132,"filename":"image_23042025_21_12_13_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8520c3d4771cc31260f2bc82cfd562a.jpg","text":"TemporaryFile(/tmp/multipartBody5889674712883762611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435613132,"filename":"image_23042025_11_21_05_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0693f10af1f132326cc8a960736166e.jpg","text":"TemporaryFile(/tmp/multipartBody6072390902667356747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435613132,"filename":"image_23042025_21_12_04_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9495569a6c176f31878fb6c9fffe62f.jpg","text":"TemporaryFile(/tmp/multipartBody818523130684706364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435613132,"filename":"image_23042025_11_21_15_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2b1d926388affa99b2718e88701a9fa6.jpg","text":"TemporaryFile(/tmp/multipartBody849242907031125860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435613132,"filename":"image_23042025_21_09_24_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f0983c1b85cc3ea44c808afce31e4d9.jpg","text":"TemporaryFile(/tmp/multipartBody3870963703088680325asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435613132,"filename":"image_23042025_21_12_24_10666.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159179","file1":"1353159174","file0":"1353159142","file4":"1353159188","file5":"1353159191","file3":"1353159184"},"map_files_photo_id_array":[{"photo_id":"1353159191","filename":"file5"},{"photo_id":"1353159179","filename":"file2"},{"photo_id":"1353159188","filename":"file4"},{"photo_id":"1353159174","filename":"file1"},{"photo_id":"1353159142","filename":"file0"},{"photo_id":"1353159184","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159174":["hashtag1","hashtag2"]},{"1353159191":["hashtag1","hashtag2"]},{"1353159179":["hashtag1","hashtag2"]},{"1353159188":["hashtag1","hashtag2"]},{"1353159184":["hashtag1","hashtag2"]},{"1353159142":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159174, 1353159191, 1353159179, 1353159188, 1353159184, 1353159142)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 40.95656633377075 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:13:32.041672
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/13/image_23042025_21_13_14_10655.jpg', 2), ('/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_34_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_55_9629.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg', 2), ('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/13/image_23042025_21_13_14_10655.jpg', '/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_34_9704.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_55_9629.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg', '/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/13/image_23042025_21_13_14_10655.jpg
/home/nano/Desktop/images/23042025/21/12/image_23042025_21_12_34_9704.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_55_9629.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_45_10695.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_34_9672.jpg
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_25_9674.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159275","1353159284","1353159272","1353159289","1353159280","1353159268"],"photo_ids_order":["1353159268","1353159272","1353159275","1353159280","1353159284","1353159289"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9745a6d7bb8d76f84f06abc77031577f.jpg","text":"TemporaryFile(/tmp/multipartBody2824550228511087122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435673799,"filename":"image_23042025_11_20_55_9629.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07d36e10708ca9fe2aaf4b1d9bd4e2fd.jpg","text":"TemporaryFile(/tmp/multipartBody5027843836354364856asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435673799,"filename":"image_23042025_11_20_34_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/048ac6e14b93ef2033dbd1c52154aa46.jpg","text":"TemporaryFile(/tmp/multipartBody9175263493552159545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435673799,"filename":"image_23042025_21_12_34_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69d72dda7cde7c641d68cf31e971f9ef.jpg","text":"TemporaryFile(/tmp/multipartBody7824959369328972150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435673799,"filename":"image_23042025_11_20_25_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33c01a250b581b56236ce0470ccdc117.jpg","text":"TemporaryFile(/tmp/multipartBody904070791812386043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435673799,"filename":"image_23042025_11_20_45_10695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa45eec2e480a06ec9ec138ae42dd549.jpg","text":"TemporaryFile(/tmp/multipartBody5205036342264539568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435673799,"filename":"image_23042025_21_13_14_10655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159275","file1":"1353159272","file0":"1353159268","file4":"1353159284","file5":"1353159289","file3":"1353159280"},"map_files_photo_id_array":[{"photo_id":"1353159289","filename":"file5"},{"photo_id":"1353159275","filename":"file2"},{"photo_id":"1353159284","filename":"file4"},{"photo_id":"1353159272","filename":"file1"},{"photo_id":"1353159268","filename":"file0"},{"photo_id":"1353159280","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159275":["hashtag1","hashtag2"]},{"1353159284":["hashtag1","hashtag2"]},{"1353159272":["hashtag1","hashtag2"]},{"1353159289":["hashtag1","hashtag2"]},{"1353159280":["hashtag1","hashtag2"]},{"1353159268":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159275, 1353159284, 1353159272, 1353159289, 1353159280, 1353159268)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.1744658946991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:14:32.156828
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_15_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_20_05_10771.jpg', 2), ('/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_55_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_45_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_35_9628.jpg', 2), ('/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_25_10653.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_15_9692.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_20_05_10771.jpg', '/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_55_9647.jpg', '/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_45_10647.jpg', '/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_35_9628.jpg', '/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_25_10653.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/11/20/image_23042025_11_20_15_9692.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_20_05_10771.jpg
/home/nano/Desktop/images/23042025/11/19/image_23042025_11_19_55_9647.jpg
/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_45_10647.jpg
/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_35_9628.jpg
/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_25_10653.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159309","1353159324","1353159312","1353159331","1353159319","1353159328"],"photo_ids_order":["1353159309","1353159312","1353159319","1353159324","1353159328","1353159331"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9480867715e24c0eb0dd862927dae3f6.jpg","text":"TemporaryFile(/tmp/multipartBody8374700712969812469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435733534,"filename":"image_23042025_11_20_15_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dabf426d73d086070158d40419d58639.jpg","text":"TemporaryFile(/tmp/multipartBody1422684598656437006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435733534,"filename":"image_23042025_10_58_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4f7c375e42061aea29776afaa83fab7b.jpg","text":"TemporaryFile(/tmp/multipartBody8235960095179071891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435733534,"filename":"image_23042025_11_20_05_10771.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/080e9f61508c1ac513f940b2b496c208.jpg","text":"TemporaryFile(/tmp/multipartBody5857511782935533876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435733534,"filename":"image_23042025_10_58_25_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/729aa4f3ddf3c8b4110c508ab8c3929c.jpg","text":"TemporaryFile(/tmp/multipartBody4553263441644909764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435733534,"filename":"image_23042025_11_19_55_9647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b1e954e1bbdbc61f3b239ecbd40a258.jpg","text":"TemporaryFile(/tmp/multipartBody8708325958513588139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435733534,"filename":"image_23042025_10_58_35_9628.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159319","file1":"1353159312","file0":"1353159309","file4":"1353159328","file5":"1353159331","file3":"1353159324"},"map_files_photo_id_array":[{"photo_id":"1353159331","filename":"file5"},{"photo_id":"1353159319","filename":"file2"},{"photo_id":"1353159328","filename":"file4"},{"photo_id":"1353159312","filename":"file1"},{"photo_id":"1353159309","filename":"file0"},{"photo_id":"1353159324","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159309":["hashtag1","hashtag2"]},{"1353159324":["hashtag1","hashtag2"]},{"1353159312":["hashtag1","hashtag2"]},{"1353159331":["hashtag1","hashtag2"]},{"1353159319":["hashtag1","hashtag2"]},{"1353159328":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159309, 1353159324, 1353159312, 1353159331, 1353159319, 1353159328)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.214208364486694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:15:32.225679
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/10/57/image_23042025_10_58_05_9647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_55_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_45_10659.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_35_9625.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_25_9622.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_15_9636.jpg', '/home/nano/Desktop/images/23042025/10/57/image_23042025_10_58_05_9647.jpg', '/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_55_10647.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_45_10659.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_35_9625.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_25_9622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/10/58/image_23042025_10_58_15_9636.jpg
/home/nano/Desktop/images/23042025/10/57/image_23042025_10_58_05_9647.jpg
/home/nano/Desktop/images/23042025/10/57/image_23042025_10_57_55_10647.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_45_10659.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_35_9625.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_25_9622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159702","1353159494","1353159405","1353159353","1353159580","1353159358"],"photo_ids_order":["1353159353","1353159358","1353159405","1353159494","1353159580","1353159702"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d8ea8d7aad4d4b0d140958d16ff9a51.jpg","text":"TemporaryFile(/tmp/multipartBody1853047003071199683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435793775,"filename":"image_23042025_10_45_25_9622.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3aaae33ad2e9945b1b47132788cfb25.jpg","text":"TemporaryFile(/tmp/multipartBody2701424152171694894asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435793775,"filename":"image_23042025_10_45_45_10659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ef35443d3e5680080722454281bd626.jpg","text":"TemporaryFile(/tmp/multipartBody8098089310409671271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435793775,"filename":"image_23042025_10_57_55_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3beec5abd050f4c46b297696851ec245.jpg","text":"TemporaryFile(/tmp/multipartBody6754411041059573447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435793775,"filename":"image_23042025_10_58_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8fa0f023d0fe8c309dc04fe82491aaeb.jpg","text":"TemporaryFile(/tmp/multipartBody3274643027851022417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435793775,"filename":"image_23042025_10_45_35_9625.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9483aa13c2e327705fb11f105e9e654.jpg","text":"TemporaryFile(/tmp/multipartBody2858233134621123509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435793775,"filename":"image_23042025_10_58_05_9647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159405","file1":"1353159358","file0":"1353159353","file4":"1353159580","file5":"1353159702","file3":"1353159494"},"map_files_photo_id_array":[{"photo_id":"1353159702","filename":"file5"},{"photo_id":"1353159405","filename":"file2"},{"photo_id":"1353159580","filename":"file4"},{"photo_id":"1353159358","filename":"file1"},{"photo_id":"1353159353","filename":"file0"},{"photo_id":"1353159494","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159702":["hashtag1","hashtag2"]},{"1353159494":["hashtag1","hashtag2"]},{"1353159405":["hashtag1","hashtag2"]},{"1353159353":["hashtag1","hashtag2"]},{"1353159580":["hashtag1","hashtag2"]},{"1353159358":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159702, 1353159494, 1353159405, 1353159353, 1353159580, 1353159358)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.28121900558472 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:16:32.325436
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/16/image_23042025_21_16_24_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/21/13/image_23042025_21_13_24_9634.jpg', 2), ('/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_15_10689.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_45_05_9662.jpg', 2), ('/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_55_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_45_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/16/image_23042025_21_16_24_9651.jpg', '/home/nano/Desktop/images/23042025/21/13/image_23042025_21_13_24_9634.jpg', '/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_15_10689.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_45_05_9662.jpg', '/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_55_9636.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_45_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/16/image_23042025_21_16_24_9651.jpg
/home/nano/Desktop/images/23042025/21/13/image_23042025_21_13_24_9634.jpg
/home/nano/Desktop/images/23042025/10/45/image_23042025_10_45_15_10689.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_45_05_9662.jpg
/home/nano/Desktop/images/23042025/10/44/image_23042025_10_44_55_9636.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_45_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159750","1353159746","1353159761","1353159743","1353159757","1353159754"],"photo_ids_order":["1353159743","1353159746","1353159750","1353159754","1353159757","1353159761"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8cafc1c3450bb91b6a286c5c8c7b0d51.jpg","text":"TemporaryFile(/tmp/multipartBody4519709220932893647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435854077,"filename":"image_23042025_10_45_15_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95cf4a188bc8fe55bde04b8b58dfdccd.jpg","text":"TemporaryFile(/tmp/multipartBody2714079029335398509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435854077,"filename":"image_23042025_21_13_24_9634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a28d7df4c1d560b710bc2373c363b70.jpg","text":"TemporaryFile(/tmp/multipartBody3463122445906803648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435854077,"filename":"image_23042025_09_59_45_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6a46c7bc3ad7f4a695793b7b04e9446b.jpg","text":"TemporaryFile(/tmp/multipartBody3831643704736000672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435854077,"filename":"image_23042025_21_16_24_9651.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25551e5a97fb8b428d0e9b58a21fbbbf.jpg","text":"TemporaryFile(/tmp/multipartBody8866612858075912676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435854077,"filename":"image_23042025_10_44_55_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b629680f91e54cde392b084ed0fd144.jpg","text":"TemporaryFile(/tmp/multipartBody4078778138306824797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435854077,"filename":"image_23042025_10_45_05_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159750","file1":"1353159746","file0":"1353159743","file4":"1353159757","file5":"1353159761","file3":"1353159754"},"map_files_photo_id_array":[{"photo_id":"1353159761","filename":"file5"},{"photo_id":"1353159750","filename":"file2"},{"photo_id":"1353159757","filename":"file4"},{"photo_id":"1353159746","filename":"file1"},{"photo_id":"1353159743","filename":"file0"},{"photo_id":"1353159754","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159750":["hashtag1","hashtag2"]},{"1353159746":["hashtag1","hashtag2"]},{"1353159761":["hashtag1","hashtag2"]},{"1353159743":["hashtag1","hashtag2"]},{"1353159757":["hashtag1","hashtag2"]},{"1353159754":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159750, 1353159746, 1353159761, 1353159743, 1353159757, 1353159754)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.763046741485596 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:17:32.434707
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_15_9559.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_59_05_10573.jpg', 2), ('/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_55_9574.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_45_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_35_10572.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_25_9560.jpg', '/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_15_9559.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_59_05_10573.jpg', '/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_55_9574.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_45_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_35_10572.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_25_9560.jpg
/home/nano/Desktop/images/23042025/09/59/image_23042025_09_59_15_9559.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_59_05_10573.jpg
/home/nano/Desktop/images/23042025/09/58/image_23042025_09_58_55_9574.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_45_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159789","1353159794","1353159776","1353159781","1353159784","1353159798"],"photo_ids_order":["1353159776","1353159781","1353159784","1353159789","1353159794","1353159798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/633d2cf1c77e6894885036a5381e92df.jpg","text":"TemporaryFile(/tmp/multipartBody8314181466951089247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435913358,"filename":"image_23042025_09_59_05_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c73683f827dc9d76adbf8b10abeddaa0.jpg","text":"TemporaryFile(/tmp/multipartBody7200110603633658117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435913358,"filename":"image_23042025_09_58_55_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d84ef51cf4563342e52b999c88567e0a.jpg","text":"TemporaryFile(/tmp/multipartBody8862227832062450086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435913358,"filename":"image_23042025_09_59_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c262a88c431906f3a0e3682340a53181.jpg","text":"TemporaryFile(/tmp/multipartBody2406036301858413567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435913358,"filename":"image_23042025_09_59_25_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6cbe33a7a7ea71af5ac3ceba64eae69f.jpg","text":"TemporaryFile(/tmp/multipartBody7278392118159214197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435913358,"filename":"image_23042025_09_59_15_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54828add48c96df3ba0f5c0b49c6d72b.jpg","text":"TemporaryFile(/tmp/multipartBody7668955052151485832asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435913358,"filename":"image_23042025_09_57_45_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159784","file1":"1353159781","file0":"1353159776","file4":"1353159794","file5":"1353159798","file3":"1353159789"},"map_files_photo_id_array":[{"photo_id":"1353159798","filename":"file5"},{"photo_id":"1353159784","filename":"file2"},{"photo_id":"1353159794","filename":"file4"},{"photo_id":"1353159781","filename":"file1"},{"photo_id":"1353159776","filename":"file0"},{"photo_id":"1353159789","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159789":["hashtag1","hashtag2"]},{"1353159794":["hashtag1","hashtag2"]},{"1353159776":["hashtag1","hashtag2"]},{"1353159781":["hashtag1","hashtag2"]},{"1353159784":["hashtag1","hashtag2"]},{"1353159798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159789, 1353159794, 1353159776, 1353159781, 1353159784, 1353159798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.34199285507202 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:18:32.515349
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_34_10678.jpg', 2), ('/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_23_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_14_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/21/16/image_23042025_21_16_34_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_35_10570.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_25_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_34_10678.jpg', '/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_23_9666.jpg', '/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_14_9669.jpg', '/home/nano/Desktop/images/23042025/21/16/image_23042025_21_16_34_10646.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_35_10570.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_25_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_34_10678.jpg
/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_23_9666.jpg
/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_14_9669.jpg
/home/nano/Desktop/images/23042025/21/16/image_23042025_21_16_34_10646.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_35_10570.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_25_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159816","1353159831","1353159819","1353159828","1353159824","1353159814"],"photo_ids_order":["1353159814","1353159816","1353159819","1353159824","1353159828","1353159831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a29ef1b364cd14214103ca4f1ac6a916.jpg","text":"TemporaryFile(/tmp/multipartBody375939008528841022asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435973929,"filename":"image_23042025_21_18_23_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/303e8bce1a18067d8b1ddc0b80c6422d.jpg","text":"TemporaryFile(/tmp/multipartBody3428220794221853505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435973929,"filename":"image_23042025_09_57_25_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6490788668b44b575cb45ad30f3c5b30.jpg","text":"TemporaryFile(/tmp/multipartBody8153240221002367705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435973929,"filename":"image_23042025_21_18_14_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3e3197e0909ccfaec24ce275cc59524.jpg","text":"TemporaryFile(/tmp/multipartBody1606773736169076358asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435973929,"filename":"image_23042025_09_57_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d12fdf314c6b94869b4dc7ce74e3841a.jpg","text":"TemporaryFile(/tmp/multipartBody4951843741066679339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435973929,"filename":"image_23042025_21_16_34_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d32684d8d887dfd65cde1a4327a90f3.jpg","text":"TemporaryFile(/tmp/multipartBody8312789909772680115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745435973929,"filename":"image_23042025_21_18_34_10678.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159819","file1":"1353159816","file0":"1353159814","file4":"1353159828","file5":"1353159831","file3":"1353159824"},"map_files_photo_id_array":[{"photo_id":"1353159831","filename":"file5"},{"photo_id":"1353159819","filename":"file2"},{"photo_id":"1353159828","filename":"file4"},{"photo_id":"1353159816","filename":"file1"},{"photo_id":"1353159814","filename":"file0"},{"photo_id":"1353159824","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159816":["hashtag1","hashtag2"]},{"1353159831":["hashtag1","hashtag2"]},{"1353159819":["hashtag1","hashtag2"]},{"1353159828":["hashtag1","hashtag2"]},{"1353159824":["hashtag1","hashtag2"]},{"1353159814":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159816, 1353159831, 1353159819, 1353159828, 1353159824, 1353159814)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.50967502593994 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:19:32.634043
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_23_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_14_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_44_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_15_10587.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_57_05_9580.jpg', 2), ('/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_55_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_23_9642.jpg', '/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_14_9661.jpg', '/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_44_9645.jpg', '/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_15_10587.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_57_05_9580.jpg', '/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_55_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_23_9642.jpg
/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_14_9661.jpg
/home/nano/Desktop/images/23042025/21/18/image_23042025_21_18_44_9645.jpg
/home/nano/Desktop/images/23042025/09/57/image_23042025_09_57_15_10587.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_57_05_9580.jpg
/home/nano/Desktop/images/23042025/09/56/image_23042025_09_56_55_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159852","1353159864","1353159869","1353159848","1353159856","1353159859"],"photo_ids_order":["1353159848","1353159852","1353159856","1353159859","1353159864","1353159869"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f48003493ce4808e78279705f218f3a3.jpg","text":"TemporaryFile(/tmp/multipartBody5200846541388027649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436034232,"filename":"image_23042025_21_19_14_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/11a69d9eff74dd5c8a2b8fdc110b2f69.jpg","text":"TemporaryFile(/tmp/multipartBody1647180880356952689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436034232,"filename":"image_23042025_09_57_05_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fa45567c4301ca169ffdf8c0b325f23.jpg","text":"TemporaryFile(/tmp/multipartBody1389726318561592253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436034232,"filename":"image_23042025_09_56_55_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98ada47cbe618933df757248cee24446.jpg","text":"TemporaryFile(/tmp/multipartBody4978813106100703602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436034232,"filename":"image_23042025_21_19_23_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd8c6ad22601dde7d255ef8d2cdfcbe4.jpg","text":"TemporaryFile(/tmp/multipartBody8325430359844063702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436034232,"filename":"image_23042025_21_18_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac04eb12deb192e5cb6aa9be20959fdd.jpg","text":"TemporaryFile(/tmp/multipartBody461373784873502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436034232,"filename":"image_23042025_09_57_15_10587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159856","file1":"1353159852","file0":"1353159848","file4":"1353159864","file5":"1353159869","file3":"1353159859"},"map_files_photo_id_array":[{"photo_id":"1353159869","filename":"file5"},{"photo_id":"1353159856","filename":"file2"},{"photo_id":"1353159864","filename":"file4"},{"photo_id":"1353159852","filename":"file1"},{"photo_id":"1353159848","filename":"file0"},{"photo_id":"1353159859","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159852":["hashtag1","hashtag2"]},{"1353159864":["hashtag1","hashtag2"]},{"1353159869":["hashtag1","hashtag2"]},{"1353159848":["hashtag1","hashtag2"]},{"1353159856":["hashtag1","hashtag2"]},{"1353159859":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159852, 1353159864, 1353159869, 1353159848, 1353159856, 1353159859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.76452422142029 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:20:32.784124
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_44_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_34_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_24_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_14_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/21/19/image_23042025_21_20_04_10662.jpg', 2), ('/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_34_10671.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_44_9639.jpg', '/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_34_9635.jpg', '/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_24_10646.jpg', '/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_14_9675.jpg', '/home/nano/Desktop/images/23042025/21/19/image_23042025_21_20_04_10662.jpg', '/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_34_10671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_44_9639.jpg
/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_34_9635.jpg
/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_24_10646.jpg
/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_14_9675.jpg
/home/nano/Desktop/images/23042025/21/19/image_23042025_21_20_04_10662.jpg
/home/nano/Desktop/images/23042025/21/19/image_23042025_21_19_34_10671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159894","1353159915","1353159884","1353159911","1353159889","1353159904"],"photo_ids_order":["1353159884","1353159889","1353159894","1353159904","1353159911","1353159915"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc34b68fad1d2a06f7b702121d3a5a6c.jpg","text":"TemporaryFile(/tmp/multipartBody6261949447429240373asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436094458,"filename":"image_23042025_21_20_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c94ef7f40582a0c594715b72cc5f0b6d.jpg","text":"TemporaryFile(/tmp/multipartBody362950884514137612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436094458,"filename":"image_23042025_21_19_34_10671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad06ca26503efba9916c83cec034ebfb.jpg","text":"TemporaryFile(/tmp/multipartBody4456357358286054148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436094458,"filename":"image_23042025_21_20_44_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5196969e2e6192ec066bc63d367629ff.jpg","text":"TemporaryFile(/tmp/multipartBody7170141140386941063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436094458,"filename":"image_23042025_21_20_04_10662.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0829ddd4458ff5a01798668f6ada43ff.jpg","text":"TemporaryFile(/tmp/multipartBody7177034309195077454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436094458,"filename":"image_23042025_21_20_34_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/433102520dd34f965f152a82ffa42c37.jpg","text":"TemporaryFile(/tmp/multipartBody6059005390118986706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436094458,"filename":"image_23042025_21_20_14_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159894","file1":"1353159889","file0":"1353159884","file4":"1353159911","file5":"1353159915","file3":"1353159904"},"map_files_photo_id_array":[{"photo_id":"1353159915","filename":"file5"},{"photo_id":"1353159894","filename":"file2"},{"photo_id":"1353159911","filename":"file4"},{"photo_id":"1353159889","filename":"file1"},{"photo_id":"1353159884","filename":"file0"},{"photo_id":"1353159904","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159894":["hashtag1","hashtag2"]},{"1353159915":["hashtag1","hashtag2"]},{"1353159884":["hashtag1","hashtag2"]},{"1353159911":["hashtag1","hashtag2"]},{"1353159889":["hashtag1","hashtag2"]},{"1353159904":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159894, 1353159915, 1353159884, 1353159911, 1353159889, 1353159904)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44640898704529 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:21:31.883538
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/21/image_23042025_21_21_43_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_54_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_35_10572.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_25_9560.jpg', 2), ('/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_15_10594.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_43_05_9558.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/21/image_23042025_21_21_43_9638.jpg', '/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_54_10647.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_35_10572.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_25_9560.jpg', '/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_15_10594.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_43_05_9558.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/21/image_23042025_21_21_43_9638.jpg
/home/nano/Desktop/images/23042025/21/20/image_23042025_21_20_54_10647.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_35_10572.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_25_9560.jpg
/home/nano/Desktop/images/23042025/09/43/image_23042025_09_43_15_10594.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_43_05_9558.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159933","1353159936","1353159930","1353159940","1353159952","1353159946"],"photo_ids_order":["1353159930","1353159933","1353159936","1353159940","1353159946","1353159952"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f97e353682c4583f702c765f20c548e5.jpg","text":"TemporaryFile(/tmp/multipartBody6366614304412501786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436153761,"filename":"image_23042025_21_20_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/86d7d9897c82b444ca3074e9c4cc4ad4.jpg","text":"TemporaryFile(/tmp/multipartBody802432952114417591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436153761,"filename":"image_23042025_09_43_35_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0cbab65ac0e55f9bb05f16ed55dc4a0a.jpg","text":"TemporaryFile(/tmp/multipartBody8250772673790536944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436153761,"filename":"image_23042025_21_21_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e78a45477885f1baf59f805110d27a60.jpg","text":"TemporaryFile(/tmp/multipartBody4777718257167389259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436153761,"filename":"image_23042025_09_43_25_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d0ca821f9cd3da2ce6fe4ba39fb19dbf.jpg","text":"TemporaryFile(/tmp/multipartBody4343502826915148597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436153761,"filename":"image_23042025_09_43_05_9558.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29cac1a8f8eee7a487859c825d04d64b.jpg","text":"TemporaryFile(/tmp/multipartBody6453631388441733495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436153761,"filename":"image_23042025_09_43_15_10594.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159936","file1":"1353159933","file0":"1353159930","file4":"1353159946","file5":"1353159952","file3":"1353159940"},"map_files_photo_id_array":[{"photo_id":"1353159952","filename":"file5"},{"photo_id":"1353159936","filename":"file2"},{"photo_id":"1353159946","filename":"file4"},{"photo_id":"1353159933","filename":"file1"},{"photo_id":"1353159930","filename":"file0"},{"photo_id":"1353159940","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159933":["hashtag1","hashtag2"]},{"1353159936":["hashtag1","hashtag2"]},{"1353159930":["hashtag1","hashtag2"]},{"1353159940":["hashtag1","hashtag2"]},{"1353159952":["hashtag1","hashtag2"]},{"1353159946":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159933, 1353159936, 1353159930, 1353159940, 1353159952, 1353159946)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.25697159767151 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:22:31.978069
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_43_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_24_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_13_9661.jpg', 2), ('/home/nano/Desktop/images/23042025/21/21/image_23042025_21_22_04_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/21/21/image_23042025_21_21_54_10646.jpg', 2), ('/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_55_9575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_43_9638.jpg', '/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_24_10646.jpg', '/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_13_9661.jpg', '/home/nano/Desktop/images/23042025/21/21/image_23042025_21_22_04_9645.jpg', '/home/nano/Desktop/images/23042025/21/21/image_23042025_21_21_54_10646.jpg', '/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_55_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_43_9638.jpg
/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_24_10646.jpg
/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_13_9661.jpg
/home/nano/Desktop/images/23042025/21/21/image_23042025_21_22_04_9645.jpg
/home/nano/Desktop/images/23042025/21/21/image_23042025_21_21_54_10646.jpg
/home/nano/Desktop/images/23042025/09/42/image_23042025_09_42_55_9575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353159993","1353159972","1353159989","1353159976","1353159979","1353159984"],"photo_ids_order":["1353159972","1353159976","1353159979","1353159984","1353159989","1353159993"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/308bfa93bf74f18a44b45fface3c56d6.jpg","text":"TemporaryFile(/tmp/multipartBody6913511249868422265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436213800,"filename":"image_23042025_09_42_55_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/068f977cbad9326dee032d59bba68dac.jpg","text":"TemporaryFile(/tmp/multipartBody6552488898034877222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436213800,"filename":"image_23042025_21_22_43_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5762cb5c3be71faf4c106f0f4b6310aa.jpg","text":"TemporaryFile(/tmp/multipartBody6038534347668723014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436213800,"filename":"image_23042025_21_21_54_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/762eb3eab8e62f003258eb83a3fc69ae.jpg","text":"TemporaryFile(/tmp/multipartBody7329519631032762773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436213800,"filename":"image_23042025_21_22_24_10646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8da69824923d85b517fe3725f88345d.jpg","text":"TemporaryFile(/tmp/multipartBody4214253352591638788asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436213800,"filename":"image_23042025_21_22_13_9661.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/93fcc64fc1eea0212625d43a9fed631f.jpg","text":"TemporaryFile(/tmp/multipartBody472632394026027127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436213800,"filename":"image_23042025_21_22_04_9645.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353159979","file1":"1353159976","file0":"1353159972","file4":"1353159989","file5":"1353159993","file3":"1353159984"},"map_files_photo_id_array":[{"photo_id":"1353159993","filename":"file5"},{"photo_id":"1353159979","filename":"file2"},{"photo_id":"1353159989","filename":"file4"},{"photo_id":"1353159976","filename":"file1"},{"photo_id":"1353159972","filename":"file0"},{"photo_id":"1353159984","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353159993":["hashtag1","hashtag2"]},{"1353159972":["hashtag1","hashtag2"]},{"1353159989":["hashtag1","hashtag2"]},{"1353159976":["hashtag1","hashtag2"]},{"1353159979":["hashtag1","hashtag2"]},{"1353159984":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353159993, 1353159972, 1353159989, 1353159976, 1353159979, 1353159984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.78777241706848 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:23:32.079122
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_34_9680.jpg', 2), ('/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_24_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_13_9739.jpg', 2), ('/home/nano/Desktop/images/23042025/21/22/image_23042025_21_23_04_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_54_10647.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_35_9649.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_34_9680.jpg', '/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_24_10724.jpg', '/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_13_9739.jpg', '/home/nano/Desktop/images/23042025/21/22/image_23042025_21_23_04_9640.jpg', '/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_54_10647.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_35_9649.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_34_9680.jpg
/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_24_10724.jpg
/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_13_9739.jpg
/home/nano/Desktop/images/23042025/21/22/image_23042025_21_23_04_9640.jpg
/home/nano/Desktop/images/23042025/21/22/image_23042025_21_22_54_10647.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_35_9649.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160012","1353160015","1353160023","1353160026","1353160008","1353160019"],"photo_ids_order":["1353160008","1353160012","1353160015","1353160019","1353160023","1353160026"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0dcde7ca18f65ba3d2ef77fc48dd1c6.jpg","text":"TemporaryFile(/tmp/multipartBody8070461017916379875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436274064,"filename":"image_23042025_21_23_24_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c00d6d0d7f487a1383b451161435a55e.jpg","text":"TemporaryFile(/tmp/multipartBody2865370925798468617asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436274064,"filename":"image_23042025_21_23_13_9739.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e5cc9f7ca3d91c231094f14be71be19.jpg","text":"TemporaryFile(/tmp/multipartBody8953839445488529103asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436274064,"filename":"image_23042025_21_22_54_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1558185c36c5ca6d246d1a6b2a69a46.jpg","text":"TemporaryFile(/tmp/multipartBody7968350619450482153asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436274064,"filename":"image_23042025_09_11_35_9649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/45f3ae22ab5a1b75f5d6aa3e06dcc5bb.jpg","text":"TemporaryFile(/tmp/multipartBody3815106464951650035asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436274064,"filename":"image_23042025_21_23_34_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b532bacbee94e81b6c50e99fd17b4b25.jpg","text":"TemporaryFile(/tmp/multipartBody3955641301449322948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436274064,"filename":"image_23042025_21_23_04_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160015","file1":"1353160012","file0":"1353160008","file4":"1353160023","file5":"1353160026","file3":"1353160019"},"map_files_photo_id_array":[{"photo_id":"1353160026","filename":"file5"},{"photo_id":"1353160015","filename":"file2"},{"photo_id":"1353160023","filename":"file4"},{"photo_id":"1353160012","filename":"file1"},{"photo_id":"1353160008","filename":"file0"},{"photo_id":"1353160019","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160012":["hashtag1","hashtag2"]},{"1353160015":["hashtag1","hashtag2"]},{"1353160023":["hashtag1","hashtag2"]},{"1353160026":["hashtag1","hashtag2"]},{"1353160008":["hashtag1","hashtag2"]},{"1353160019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160012, 1353160015, 1353160023, 1353160026, 1353160008, 1353160019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.17758274078369 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:24:32.178245
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_34_9730.jpg', 2), ('/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_24_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_43_9685.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_25_10649.jpg', 2), ('/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_14_9641.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_11_05_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_34_9730.jpg', '/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_24_10665.jpg', '/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_43_9685.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_25_10649.jpg', '/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_14_9641.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_11_05_9668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_34_9730.jpg
/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_24_10665.jpg
/home/nano/Desktop/images/23042025/21/23/image_23042025_21_23_43_9685.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_25_10649.jpg
/home/nano/Desktop/images/23042025/09/11/image_23042025_09_11_14_9641.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_11_05_9668.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160102","1353160104","1353160107","1353160087","1353160096","1353160084"],"photo_ids_order":["1353160084","1353160087","1353160096","1353160102","1353160104","1353160107"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb2e66c06901068250cf628cb4bd40a8.jpg","text":"TemporaryFile(/tmp/multipartBody9021169720243334245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436334204,"filename":"image_23042025_09_11_25_10649.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34733a5ab79b6b64d028d5c6ec251aaf.jpg","text":"TemporaryFile(/tmp/multipartBody1457151328459849967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436334204,"filename":"image_23042025_09_11_14_9641.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/680de919f93198e60cddb495b5c8ebb2.jpg","text":"TemporaryFile(/tmp/multipartBody4811793766919317658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436334204,"filename":"image_23042025_09_11_05_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98a22e9e96109a71eed100b2a1d9e077.jpg","text":"TemporaryFile(/tmp/multipartBody8629068606191690892asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436334204,"filename":"image_23042025_21_24_24_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/16e0b4963de8845311238a88420a970a.jpg","text":"TemporaryFile(/tmp/multipartBody5634874551988551710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436334204,"filename":"image_23042025_21_23_43_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9eeb489fbbc6f23771c8dea2820b53e.jpg","text":"TemporaryFile(/tmp/multipartBody7960237112381279606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436334204,"filename":"image_23042025_21_24_34_9730.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160096","file1":"1353160087","file0":"1353160084","file4":"1353160104","file5":"1353160107","file3":"1353160102"},"map_files_photo_id_array":[{"photo_id":"1353160107","filename":"file5"},{"photo_id":"1353160096","filename":"file2"},{"photo_id":"1353160104","filename":"file4"},{"photo_id":"1353160087","filename":"file1"},{"photo_id":"1353160084","filename":"file0"},{"photo_id":"1353160102","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160102":["hashtag1","hashtag2"]},{"1353160104":["hashtag1","hashtag2"]},{"1353160107":["hashtag1","hashtag2"]},{"1353160087":["hashtag1","hashtag2"]},{"1353160096":["hashtag1","hashtag2"]},{"1353160084":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160102, 1353160104, 1353160107, 1353160087, 1353160096, 1353160084)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.01733589172363 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:25:32.284006
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_34_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_14_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/21/24/image_23042025_21_25_04_9733.jpg', 2), ('/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_54_10741.jpg', 2), ('/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_55_10653.jpg', 2), ('/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_45_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_34_10660.jpg', '/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_14_9728.jpg', '/home/nano/Desktop/images/23042025/21/24/image_23042025_21_25_04_9733.jpg', '/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_54_10741.jpg', '/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_55_10653.jpg', '/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_34_10660.jpg
/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_14_9728.jpg
/home/nano/Desktop/images/23042025/21/24/image_23042025_21_25_04_9733.jpg
/home/nano/Desktop/images/23042025/21/24/image_23042025_21_24_54_10741.jpg
/home/nano/Desktop/images/23042025/09/10/image_23042025_09_10_55_10653.jpg
/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_45_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160138","1353160147","1353160149","1353160140","1353160143","1353160135"],"photo_ids_order":["1353160135","1353160138","1353160140","1353160143","1353160147","1353160149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6dae2fd20e83be58783bcd77af3d6c63.jpg","text":"TemporaryFile(/tmp/multipartBody1873524162572373136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436394054,"filename":"image_23042025_21_25_14_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4040e34b88e477771512dffcaf6cd36b.jpg","text":"TemporaryFile(/tmp/multipartBody7092513213768781560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436394054,"filename":"image_23042025_09_10_55_10653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e529b2b7692c02bae52b5badd9e9bed2.jpg","text":"TemporaryFile(/tmp/multipartBody5710728279319069051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436394054,"filename":"image_23042025_08_58_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d71f979a15570ddf28d828bf9a0368f5.jpg","text":"TemporaryFile(/tmp/multipartBody4714919023167808345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436394054,"filename":"image_23042025_21_25_04_9733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1cb1a4f27d32a666e05aab4d760f9ef9.jpg","text":"TemporaryFile(/tmp/multipartBody659016127376260972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436394054,"filename":"image_23042025_21_24_54_10741.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dca993b08d691297e3006763c30e1f1a.jpg","text":"TemporaryFile(/tmp/multipartBody7854587480001754165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436394054,"filename":"image_23042025_21_25_34_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160140","file1":"1353160138","file0":"1353160135","file4":"1353160147","file5":"1353160149","file3":"1353160143"},"map_files_photo_id_array":[{"photo_id":"1353160149","filename":"file5"},{"photo_id":"1353160140","filename":"file2"},{"photo_id":"1353160147","filename":"file4"},{"photo_id":"1353160138","filename":"file1"},{"photo_id":"1353160135","filename":"file0"},{"photo_id":"1353160143","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160138":["hashtag1","hashtag2"]},{"1353160147":["hashtag1","hashtag2"]},{"1353160149":["hashtag1","hashtag2"]},{"1353160140":["hashtag1","hashtag2"]},{"1353160143":["hashtag1","hashtag2"]},{"1353160135":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160138, 1353160147, 1353160149, 1353160140, 1353160143, 1353160135)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 38.50033235549927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:26:32.379307
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/26/image_23042025_21_26_14_9651.jpg', 2), ('/home/nano/Desktop/images/23042025/21/25/image_23042025_21_26_04_10657.jpg', 2), ('/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_44_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_35_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_25_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_15_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/26/image_23042025_21_26_14_9651.jpg', '/home/nano/Desktop/images/23042025/21/25/image_23042025_21_26_04_10657.jpg', '/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_44_9671.jpg', '/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_35_9638.jpg', '/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_25_9657.jpg', '/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_15_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/26/image_23042025_21_26_14_9651.jpg
/home/nano/Desktop/images/23042025/21/25/image_23042025_21_26_04_10657.jpg
/home/nano/Desktop/images/23042025/21/25/image_23042025_21_25_44_9671.jpg
/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_35_9638.jpg
/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_25_9657.jpg
/home/nano/Desktop/images/23042025/08/58/image_23042025_08_58_15_10681.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160223","1353160232","1353160226","1353160235","1353160229","1353160220"],"photo_ids_order":["1353160220","1353160223","1353160226","1353160229","1353160232","1353160235"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0a6f81511426d01ceb60c2e63d8ea66.jpg","text":"TemporaryFile(/tmp/multipartBody750608973309724645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436454154,"filename":"image_23042025_21_26_04_10657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/50ecc2ffe4aedc8c58c5912865416369.jpg","text":"TemporaryFile(/tmp/multipartBody7844455321516528948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436454154,"filename":"image_23042025_08_58_25_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/442601ea51faf4d537fbde89547256a1.jpg","text":"TemporaryFile(/tmp/multipartBody7668128419720894345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436454154,"filename":"image_23042025_21_25_44_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5036a95a63e1b42e37a361797054489e.jpg","text":"TemporaryFile(/tmp/multipartBody5091625174564102693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436454154,"filename":"image_23042025_08_58_15_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a8de371a819183ad0ea6cce59984caf.jpg","text":"TemporaryFile(/tmp/multipartBody5574885077626407287asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436454154,"filename":"image_23042025_08_58_35_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9e377c4c17c6ec3edb813f7765d6656.jpg","text":"TemporaryFile(/tmp/multipartBody5249699731097060508asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436454154,"filename":"image_23042025_21_26_14_9651.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160226","file1":"1353160223","file0":"1353160220","file4":"1353160232","file5":"1353160235","file3":"1353160229"},"map_files_photo_id_array":[{"photo_id":"1353160235","filename":"file5"},{"photo_id":"1353160226","filename":"file2"},{"photo_id":"1353160232","filename":"file4"},{"photo_id":"1353160223","filename":"file1"},{"photo_id":"1353160220","filename":"file0"},{"photo_id":"1353160229","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160223":["hashtag1","hashtag2"]},{"1353160232":["hashtag1","hashtag2"]},{"1353160226":["hashtag1","hashtag2"]},{"1353160235":["hashtag1","hashtag2"]},{"1353160229":["hashtag1","hashtag2"]},{"1353160220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160223, 1353160232, 1353160226, 1353160235, 1353160229, 1353160220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.06717848777771 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:27:32.481119
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/27/image_23042025_21_27_24_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/21/26/image_23042025_21_27_04_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/21/26/image_23042025_21_26_24_10669.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_58_05_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_55_9658.jpg', 2), ('/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_45_10650.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/27/image_23042025_21_27_24_10640.jpg', '/home/nano/Desktop/images/23042025/21/26/image_23042025_21_27_04_9671.jpg', '/home/nano/Desktop/images/23042025/21/26/image_23042025_21_26_24_10669.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_58_05_9654.jpg', '/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_55_9658.jpg', '/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_45_10650.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/27/image_23042025_21_27_24_10640.jpg
/home/nano/Desktop/images/23042025/21/26/image_23042025_21_27_04_9671.jpg
/home/nano/Desktop/images/23042025/21/26/image_23042025_21_26_24_10669.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_58_05_9654.jpg
/home/nano/Desktop/images/23042025/08/57/image_23042025_08_57_55_9658.jpg
/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_45_10650.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160555","1353160438","1353160527","1353160576","1353160573","1353160552"],"photo_ids_order":["1353160438","1353160527","1353160552","1353160555","1353160573","1353160576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed708e82e9fa62d2ed592b4b67098421.jpg","text":"TemporaryFile(/tmp/multipartBody7637124373464698213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436514322,"filename":"image_23042025_08_58_05_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/faa57ca50205066c36ea1d038df5e078.jpg","text":"TemporaryFile(/tmp/multipartBody5484843560617892165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436514322,"filename":"image_23042025_21_27_24_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c728dfc8b1504f3d366153387192e22.jpg","text":"TemporaryFile(/tmp/multipartBody7941888297988100097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436514322,"filename":"image_23042025_21_27_04_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15d7bd129179e4d3e8e8496372e5b159.jpg","text":"TemporaryFile(/tmp/multipartBody6676726941328887205asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436514322,"filename":"image_23042025_08_41_45_10650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1005742cfa948bd89caefeb6be84b130.jpg","text":"TemporaryFile(/tmp/multipartBody3445016648884170123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436514322,"filename":"image_23042025_08_57_55_9658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b1920f259b3e86790f84dd8570c1cba.jpg","text":"TemporaryFile(/tmp/multipartBody3491049034832103080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436514322,"filename":"image_23042025_21_26_24_10669.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160552","file1":"1353160527","file0":"1353160438","file4":"1353160573","file5":"1353160576","file3":"1353160555"},"map_files_photo_id_array":[{"photo_id":"1353160576","filename":"file5"},{"photo_id":"1353160552","filename":"file2"},{"photo_id":"1353160573","filename":"file4"},{"photo_id":"1353160527","filename":"file1"},{"photo_id":"1353160438","filename":"file0"},{"photo_id":"1353160555","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160555":["hashtag1","hashtag2"]},{"1353160438":["hashtag1","hashtag2"]},{"1353160527":["hashtag1","hashtag2"]},{"1353160576":["hashtag1","hashtag2"]},{"1353160573":["hashtag1","hashtag2"]},{"1353160552":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160555, 1353160438, 1353160527, 1353160576, 1353160573, 1353160552)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.376893043518066 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:28:32.582778
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_34_9646.jpg', 2), ('/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_25_9640.jpg', 2), ('/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_15_10654.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_41_05_9638.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_55_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_45_10655.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_34_9646.jpg', '/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_25_9640.jpg', '/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_15_10654.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_41_05_9638.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_55_9639.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_45_10655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_34_9646.jpg
/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_25_9640.jpg
/home/nano/Desktop/images/23042025/08/41/image_23042025_08_41_15_10654.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_41_05_9638.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_55_9639.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_45_10655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160600","1353160605","1353160608","1353160602","1353160594","1353160597"],"photo_ids_order":["1353160594","1353160597","1353160600","1353160602","1353160605","1353160608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9fcdb967965ca7483c4b4f42f1b4184.jpg","text":"TemporaryFile(/tmp/multipartBody8468635386720467845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436574386,"filename":"image_23042025_08_41_15_10654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4fd4ed41ac53050ab2ab78267b4567ee.jpg","text":"TemporaryFile(/tmp/multipartBody3787195762678527219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436574386,"filename":"image_23042025_08_40_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b05ffac38ce7910a7faff94658b791f1.jpg","text":"TemporaryFile(/tmp/multipartBody6427710802665184842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436574386,"filename":"image_23042025_08_40_45_10655.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/43a15873683c3598130f8ffdec6f6052.jpg","text":"TemporaryFile(/tmp/multipartBody1443808441290388758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436574386,"filename":"image_23042025_08_41_05_9638.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6291e0ac6b5db4e7ebe28fdb8b1381fd.jpg","text":"TemporaryFile(/tmp/multipartBody2864769144536355059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436574386,"filename":"image_23042025_08_41_34_9646.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f59c3536110058acf6915fc680c8b76f.jpg","text":"TemporaryFile(/tmp/multipartBody3322720426195151027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436574386,"filename":"image_23042025_08_41_25_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160600","file1":"1353160597","file0":"1353160594","file4":"1353160605","file5":"1353160608","file3":"1353160602"},"map_files_photo_id_array":[{"photo_id":"1353160608","filename":"file5"},{"photo_id":"1353160600","filename":"file2"},{"photo_id":"1353160605","filename":"file4"},{"photo_id":"1353160597","filename":"file1"},{"photo_id":"1353160594","filename":"file0"},{"photo_id":"1353160602","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160600":["hashtag1","hashtag2"]},{"1353160605":["hashtag1","hashtag2"]},{"1353160608":["hashtag1","hashtag2"]},{"1353160602":["hashtag1","hashtag2"]},{"1353160594":["hashtag1","hashtag2"]},{"1353160597":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160600, 1353160605, 1353160608, 1353160602, 1353160594, 1353160597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.01138162612915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:29:32.690807
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/29/image_23042025_21_29_24_10675.jpg', 2), ('/home/nano/Desktop/images/23042025/21/27/image_23042025_21_27_44_9632.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_35_9671.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_25_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_15_10693.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_40_05_9658.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/29/image_23042025_21_29_24_10675.jpg', '/home/nano/Desktop/images/23042025/21/27/image_23042025_21_27_44_9632.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_35_9671.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_25_9637.jpg', '/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_15_10693.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_40_05_9658.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/29/image_23042025_21_29_24_10675.jpg
/home/nano/Desktop/images/23042025/21/27/image_23042025_21_27_44_9632.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_35_9671.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_25_9637.jpg
/home/nano/Desktop/images/23042025/08/40/image_23042025_08_40_15_10693.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_40_05_9658.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160633","1353160656","1353160661","1353160628","1353160663","1353160666"],"photo_ids_order":["1353160628","1353160633","1353160656","1353160661","1353160663","1353160666"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7d81be9074a58caaada89fd2df6e96d.jpg","text":"TemporaryFile(/tmp/multipartBody8436837991785637632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436634522,"filename":"image_23042025_21_27_44_9632.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/637390f7ec2d9ceb546c0fb6338cf870.jpg","text":"TemporaryFile(/tmp/multipartBody2900345902549660944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436634522,"filename":"image_23042025_08_40_35_9671.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e6f92411a290946dd02906be87bf030d.jpg","text":"TemporaryFile(/tmp/multipartBody8070593822196661628asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436634522,"filename":"image_23042025_08_40_25_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9697ba8ba46cbc9a9495e2c0dc58201d.jpg","text":"TemporaryFile(/tmp/multipartBody5018575941088890725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436634522,"filename":"image_23042025_21_29_24_10675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f487616cea79c8bbb3f6a2d35b4cb54.jpg","text":"TemporaryFile(/tmp/multipartBody53894269433343180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436634522,"filename":"image_23042025_08_40_15_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44d5f9f8478df41cdb8df292a90c7e2b.jpg","text":"TemporaryFile(/tmp/multipartBody1839843928931374915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436634522,"filename":"image_23042025_08_40_05_9658.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160656","file1":"1353160633","file0":"1353160628","file4":"1353160663","file5":"1353160666","file3":"1353160661"},"map_files_photo_id_array":[{"photo_id":"1353160666","filename":"file5"},{"photo_id":"1353160656","filename":"file2"},{"photo_id":"1353160663","filename":"file4"},{"photo_id":"1353160633","filename":"file1"},{"photo_id":"1353160628","filename":"file0"},{"photo_id":"1353160661","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160633":["hashtag1","hashtag2"]},{"1353160656":["hashtag1","hashtag2"]},{"1353160661":["hashtag1","hashtag2"]},{"1353160628":["hashtag1","hashtag2"]},{"1353160663":["hashtag1","hashtag2"]},{"1353160666":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160633, 1353160656, 1353160661, 1353160628, 1353160663, 1353160666)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60055422782898 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:30:31.788666
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/30/image_23042025_21_30_44_10644.jpg', 2), ('/home/nano/Desktop/images/23042025/21/29/image_23042025_21_29_43_9653.jpg', 2), ('/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_55_9623.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_45_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_35_9644.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_25_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/30/image_23042025_21_30_44_10644.jpg', '/home/nano/Desktop/images/23042025/21/29/image_23042025_21_29_43_9653.jpg', '/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_55_9623.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_45_9648.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_35_9644.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_25_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/30/image_23042025_21_30_44_10644.jpg
/home/nano/Desktop/images/23042025/21/29/image_23042025_21_29_43_9653.jpg
/home/nano/Desktop/images/23042025/08/39/image_23042025_08_39_55_9623.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_45_9648.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_35_9644.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_25_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160791","1353160779","1353160850","1353160844","1353160853","1353160855"],"photo_ids_order":["1353160779","1353160791","1353160844","1353160850","1353160853","1353160855"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d1592dd91aceac21c4534f7e25595c5.jpg","text":"TemporaryFile(/tmp/multipartBody7183320179591689736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436693437,"filename":"image_23042025_21_29_43_9653.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f9b2c0eddf394d9cb8cb4e0a1c1bbe1.jpg","text":"TemporaryFile(/tmp/multipartBody7025313227533990962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436693437,"filename":"image_23042025_21_30_44_10644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1d84b214ffd0a596704ce89e41a65345.jpg","text":"TemporaryFile(/tmp/multipartBody2149411815929209833asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436693437,"filename":"image_23042025_08_17_45_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5b516fd9bed9346513d2e4c9a31819f.jpg","text":"TemporaryFile(/tmp/multipartBody2671230010332605575asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436693437,"filename":"image_23042025_08_39_55_9623.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/430938ab462c64b3a790ce4b9262f3f2.jpg","text":"TemporaryFile(/tmp/multipartBody9141624036425613567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436693437,"filename":"image_23042025_08_17_35_9644.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec77f40a70a960fd2f652b1e48a8fd77.jpg","text":"TemporaryFile(/tmp/multipartBody2572619284154080198asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436693437,"filename":"image_23042025_08_17_25_10647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160844","file1":"1353160791","file0":"1353160779","file4":"1353160853","file5":"1353160855","file3":"1353160850"},"map_files_photo_id_array":[{"photo_id":"1353160855","filename":"file5"},{"photo_id":"1353160844","filename":"file2"},{"photo_id":"1353160853","filename":"file4"},{"photo_id":"1353160791","filename":"file1"},{"photo_id":"1353160779","filename":"file0"},{"photo_id":"1353160850","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160791":["hashtag1","hashtag2"]},{"1353160779":["hashtag1","hashtag2"]},{"1353160850":["hashtag1","hashtag2"]},{"1353160844":["hashtag1","hashtag2"]},{"1353160853":["hashtag1","hashtag2"]},{"1353160855":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160791, 1353160779, 1353160850, 1353160844, 1353160853, 1353160855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.75509476661682 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:31:31.877017
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/31/image_23042025_21_31_24_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/21/30/image_23042025_21_30_54_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_15_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_17_05_9666.jpg', 2), ('/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_55_10640.jpg', 2), ('/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_45_10647.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/31/image_23042025_21_31_24_9639.jpg', '/home/nano/Desktop/images/23042025/21/30/image_23042025_21_30_54_9636.jpg', '/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_15_9645.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_17_05_9666.jpg', '/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_55_10640.jpg', '/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_45_10647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/31/image_23042025_21_31_24_9639.jpg
/home/nano/Desktop/images/23042025/21/30/image_23042025_21_30_54_9636.jpg
/home/nano/Desktop/images/23042025/08/17/image_23042025_08_17_15_9645.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_17_05_9666.jpg
/home/nano/Desktop/images/23042025/08/16/image_23042025_08_16_55_10640.jpg
/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_45_10647.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160884","1353160897","1353160891","1353160894","1353160888","1353160882"],"photo_ids_order":["1353160882","1353160884","1353160888","1353160891","1353160894","1353160897"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c04526a9e5a61f6f41069f8bfd0545e.jpg","text":"TemporaryFile(/tmp/multipartBody3843113744816685333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436753486,"filename":"image_23042025_21_30_54_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a5e3ea13f2629a8657540d7549d2803.jpg","text":"TemporaryFile(/tmp/multipartBody8812864633389141646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436753486,"filename":"image_23042025_07_59_45_10647.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21ad8bf06acc2c48e6558bdd74024c43.jpg","text":"TemporaryFile(/tmp/multipartBody1453679581450255110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436753486,"filename":"image_23042025_08_17_05_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b10c1a1d27719ab11e065e270a43b07.jpg","text":"TemporaryFile(/tmp/multipartBody8992527777224143578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436753486,"filename":"image_23042025_08_16_55_10640.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c83841077b728f46e2db381263caa06d.jpg","text":"TemporaryFile(/tmp/multipartBody6910263415193510734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436753486,"filename":"image_23042025_08_17_15_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44dc20a3ebc164c358c42b8d0c1e7b95.jpg","text":"TemporaryFile(/tmp/multipartBody2443032467926522919asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436753486,"filename":"image_23042025_21_31_24_9639.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160888","file1":"1353160884","file0":"1353160882","file4":"1353160894","file5":"1353160897","file3":"1353160891"},"map_files_photo_id_array":[{"photo_id":"1353160897","filename":"file5"},{"photo_id":"1353160888","filename":"file2"},{"photo_id":"1353160894","filename":"file4"},{"photo_id":"1353160884","filename":"file1"},{"photo_id":"1353160882","filename":"file0"},{"photo_id":"1353160891","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160884":["hashtag1","hashtag2"]},{"1353160897":["hashtag1","hashtag2"]},{"1353160891":["hashtag1","hashtag2"]},{"1353160894":["hashtag1","hashtag2"]},{"1353160888":["hashtag1","hashtag2"]},{"1353160882":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160884, 1353160897, 1353160891, 1353160894, 1353160888, 1353160882)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.736952781677246 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:32:31.989988
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_35_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_25_9649.jpg', 2), ('/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_15_10684.jpg', 2), ('/home/nano/Desktop/images/23042025/07/58/image_23042025_07_59_05_9683.jpg', 2), ('/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_55_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_45_10613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_35_9635.jpg', '/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_25_9649.jpg', '/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_15_10684.jpg', '/home/nano/Desktop/images/23042025/07/58/image_23042025_07_59_05_9683.jpg', '/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_55_9639.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_45_10613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_35_9635.jpg
/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_25_9649.jpg
/home/nano/Desktop/images/23042025/07/59/image_23042025_07_59_15_10684.jpg
/home/nano/Desktop/images/23042025/07/58/image_23042025_07_59_05_9683.jpg
/home/nano/Desktop/images/23042025/07/58/image_23042025_07_58_55_9639.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_45_10613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353160989","1353160991","1353160938","1353160961","1353160946","1353160942"],"photo_ids_order":["1353160938","1353160942","1353160946","1353160961","1353160989","1353160991"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/377f4f2dcbc71db283ee351caf7f1b66.jpg","text":"TemporaryFile(/tmp/multipartBody2085081277383617488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436813844,"filename":"image_23042025_07_58_55_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f61ea3d023234b7ddc6fa7d9cdde60c.jpg","text":"TemporaryFile(/tmp/multipartBody6129984912681771065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436813844,"filename":"image_23042025_07_57_45_10613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/52ebc26ea7ace5319a9d7ff9f41578b2.jpg","text":"TemporaryFile(/tmp/multipartBody5369993617182116182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436813844,"filename":"image_23042025_07_59_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a5f96332229eafca736c34cf6a99cbf.jpg","text":"TemporaryFile(/tmp/multipartBody1611242002613034523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436813844,"filename":"image_23042025_07_59_05_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd3abd5e9e847c51712504d32d292842.jpg","text":"TemporaryFile(/tmp/multipartBody464282510513657275asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436813844,"filename":"image_23042025_07_59_15_10684.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cccce35f951a44126b11563c2aed1565.jpg","text":"TemporaryFile(/tmp/multipartBody9189158497037120723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436813844,"filename":"image_23042025_07_59_25_9649.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353160946","file1":"1353160942","file0":"1353160938","file4":"1353160989","file5":"1353160991","file3":"1353160961"},"map_files_photo_id_array":[{"photo_id":"1353160991","filename":"file5"},{"photo_id":"1353160946","filename":"file2"},{"photo_id":"1353160989","filename":"file4"},{"photo_id":"1353160942","filename":"file1"},{"photo_id":"1353160938","filename":"file0"},{"photo_id":"1353160961","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353160989":["hashtag1","hashtag2"]},{"1353160991":["hashtag1","hashtag2"]},{"1353160938":["hashtag1","hashtag2"]},{"1353160961":["hashtag1","hashtag2"]},{"1353160946":["hashtag1","hashtag2"]},{"1353160942":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353160989, 1353160991, 1353160938, 1353160961, 1353160946, 1353160942)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.79953193664551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:33:32.068930
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_35_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_25_9621.jpg', 2), ('/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_15_10643.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_57_05_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_55_10648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_45_9764.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_35_9639.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_25_9621.jpg', '/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_15_10643.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_57_05_9642.jpg', '/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_55_10648.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_45_9764.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_35_9639.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_25_9621.jpg
/home/nano/Desktop/images/23042025/07/57/image_23042025_07_57_15_10643.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_57_05_9642.jpg
/home/nano/Desktop/images/23042025/07/56/image_23042025_07_56_55_10648.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_45_9764.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161019","1353161004","1353161006","1353161015","1353161009","1353161011"],"photo_ids_order":["1353161004","1353161006","1353161009","1353161011","1353161015","1353161019"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd7a80653c6c4b9f8fbb22251e0f3cd3.jpg","text":"TemporaryFile(/tmp/multipartBody5730350282973491208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436873557,"filename":"image_23042025_07_53_45_9764.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/afff34a6d075f8cc3d06f038eb32b2a2.jpg","text":"TemporaryFile(/tmp/multipartBody5408404199227015950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436873557,"filename":"image_23042025_07_57_35_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96ed05937fe6195404a707bca34114ac.jpg","text":"TemporaryFile(/tmp/multipartBody4926459057130931130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436873557,"filename":"image_23042025_07_57_25_9621.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02d7e5e8e2495c532d144ffe3f2b06a6.jpg","text":"TemporaryFile(/tmp/multipartBody3917776825519604809asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436873557,"filename":"image_23042025_07_56_55_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25d1dcb69d97f088070b635c1dc35941.jpg","text":"TemporaryFile(/tmp/multipartBody7765362871892914784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436873557,"filename":"image_23042025_07_57_15_10643.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33eb9242d09c042fe1e3b57e10e5f398.jpg","text":"TemporaryFile(/tmp/multipartBody7103762223300786194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436873557,"filename":"image_23042025_07_57_05_9642.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161009","file1":"1353161006","file0":"1353161004","file4":"1353161015","file5":"1353161019","file3":"1353161011"},"map_files_photo_id_array":[{"photo_id":"1353161019","filename":"file5"},{"photo_id":"1353161009","filename":"file2"},{"photo_id":"1353161015","filename":"file4"},{"photo_id":"1353161006","filename":"file1"},{"photo_id":"1353161004","filename":"file0"},{"photo_id":"1353161011","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353161019":["hashtag1","hashtag2"]},{"1353161004":["hashtag1","hashtag2"]},{"1353161006":["hashtag1","hashtag2"]},{"1353161015":["hashtag1","hashtag2"]},{"1353161009":["hashtag1","hashtag2"]},{"1353161011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353161019, 1353161004, 1353161006, 1353161015, 1353161009, 1353161011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.41779828071594 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:34:32.166066
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_35_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_25_10822.jpg', 2), ('/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_15_9642.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_53_05_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_55_10633.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_45_9664.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_35_9678.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_25_10822.jpg', '/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_15_9642.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_53_05_9637.jpg', '/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_55_10633.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_45_9664.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_35_9678.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_25_10822.jpg
/home/nano/Desktop/images/23042025/07/53/image_23042025_07_53_15_9642.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_53_05_9637.jpg
/home/nano/Desktop/images/23042025/07/52/image_23042025_07_52_55_10633.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_45_9664.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161046","1353161042","1353161036","1353161039","1353161033","1353161050"],"photo_ids_order":["1353161033","1353161036","1353161039","1353161042","1353161046","1353161050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/80a3812297bc048d190f9b2457f8b9b1.jpg","text":"TemporaryFile(/tmp/multipartBody8532152122012231774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436934201,"filename":"image_23042025_07_52_55_10633.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7af9bff399d3021b91da9405505b065d.jpg","text":"TemporaryFile(/tmp/multipartBody4540629305098255946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436934201,"filename":"image_23042025_07_53_05_9637.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36cfbfcd7eb62af1b877f238cbbff6b9.jpg","text":"TemporaryFile(/tmp/multipartBody6636325734772255017asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436934201,"filename":"image_23042025_07_53_25_10822.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ef248ddc364c9e2c172383134652d82d.jpg","text":"TemporaryFile(/tmp/multipartBody3762375124597888136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436934201,"filename":"image_23042025_07_53_15_9642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08252f4dff87e0e67dd493b96b215ac2.jpg","text":"TemporaryFile(/tmp/multipartBody7215951119169404865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436934201,"filename":"image_23042025_07_53_35_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2fef907f6b3e18adb325377f90b98ba9.jpg","text":"TemporaryFile(/tmp/multipartBody3571283993784719099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436934201,"filename":"image_23042025_07_37_45_9664.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161039","file1":"1353161036","file0":"1353161033","file4":"1353161046","file5":"1353161050","file3":"1353161042"},"map_files_photo_id_array":[{"photo_id":"1353161050","filename":"file5"},{"photo_id":"1353161039","filename":"file2"},{"photo_id":"1353161046","filename":"file4"},{"photo_id":"1353161036","filename":"file1"},{"photo_id":"1353161033","filename":"file0"},{"photo_id":"1353161042","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353161046":["hashtag1","hashtag2"]},{"1353161042":["hashtag1","hashtag2"]},{"1353161036":["hashtag1","hashtag2"]},{"1353161039":["hashtag1","hashtag2"]},{"1353161033":["hashtag1","hashtag2"]},{"1353161050":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353161046, 1353161042, 1353161036, 1353161039, 1353161033, 1353161050)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.51762676239014 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:35:32.264148
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_35_9637.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_25_10636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_15_9636.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_37_05_9639.jpg', 2), ('/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_55_10674.jpg', 2), ('/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_45_10648.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_35_9637.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_25_10636.jpg', '/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_15_9636.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_37_05_9639.jpg', '/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_55_10674.jpg', '/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_45_10648.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_35_9637.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_25_10636.jpg
/home/nano/Desktop/images/23042025/07/37/image_23042025_07_37_15_9636.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_37_05_9639.jpg
/home/nano/Desktop/images/23042025/07/36/image_23042025_07_36_55_10674.jpg
/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_45_10648.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161067","1353161072","1353161075","1353161069","1353161078","1353161063"],"photo_ids_order":["1353161063","1353161067","1353161069","1353161072","1353161075","1353161078"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ba3dd62a07e42572e770fa65732d88f.jpg","text":"TemporaryFile(/tmp/multipartBody7948332415807570909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436993885,"filename":"image_23042025_07_37_25_10636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01f62fdd86569056649264cd85fe9085.jpg","text":"TemporaryFile(/tmp/multipartBody1241837908919446932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436993885,"filename":"image_23042025_07_37_05_9639.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b63ccc4e1af60696d60d9fb08fb403be.jpg","text":"TemporaryFile(/tmp/multipartBody194699322718603486asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436993885,"filename":"image_23042025_07_36_55_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9a25bdf82e3857829da8f014d13402ec.jpg","text":"TemporaryFile(/tmp/multipartBody6621846694429710372asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436993885,"filename":"image_23042025_07_37_15_9636.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c58f22b79e97f209fa1b937aced5a3e3.jpg","text":"TemporaryFile(/tmp/multipartBody8029814694072575901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436993885,"filename":"image_23042025_07_04_45_10648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/405bf85b62d2729afca04d5f8bfd7ad5.jpg","text":"TemporaryFile(/tmp/multipartBody815313892197643112asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745436993885,"filename":"image_23042025_07_37_35_9637.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161069","file1":"1353161067","file0":"1353161063","file4":"1353161075","file5":"1353161078","file3":"1353161072"},"map_files_photo_id_array":[{"photo_id":"1353161078","filename":"file5"},{"photo_id":"1353161069","filename":"file2"},{"photo_id":"1353161075","filename":"file4"},{"photo_id":"1353161067","filename":"file1"},{"photo_id":"1353161063","filename":"file0"},{"photo_id":"1353161072","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353161067":["hashtag1","hashtag2"]},{"1353161072":["hashtag1","hashtag2"]},{"1353161075":["hashtag1","hashtag2"]},{"1353161069":["hashtag1","hashtag2"]},{"1353161078":["hashtag1","hashtag2"]},{"1353161063":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353161067, 1353161072, 1353161075, 1353161069, 1353161078, 1353161063)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.347151041030884 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:36:32.406679
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/36/image_23042025_21_36_34_10652.jpg', 2), ('/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_35_9635.jpg', 2), ('/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_25_9630.jpg', 2), ('/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_15_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/07/03/image_23042025_07_04_05_9648.jpg', 2), ('/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_45_10642.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/36/image_23042025_21_36_34_10652.jpg', '/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_35_9635.jpg', '/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_25_9630.jpg', '/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_15_10704.jpg', '/home/nano/Desktop/images/23042025/07/03/image_23042025_07_04_05_9648.jpg', '/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_45_10642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/36/image_23042025_21_36_34_10652.jpg
/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_35_9635.jpg
/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_25_9630.jpg
/home/nano/Desktop/images/23042025/07/04/image_23042025_07_04_15_10704.jpg
/home/nano/Desktop/images/23042025/07/03/image_23042025_07_04_05_9648.jpg
/home/nano/Desktop/images/23042025/07/03/image_23042025_07_03_45_10642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161178","1353161205","1353161183","1353161216","1353161213","1353161209"],"photo_ids_order":["1353161178","1353161183","1353161205","1353161209","1353161213","1353161216"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba0c70142b985518a2f1fdcfcac3c84f.jpg","text":"TemporaryFile(/tmp/multipartBody8459132812009652237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437053764,"filename":"image_23042025_21_36_34_10652.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc31c4c34a6bd6d09916afcb5174247f.jpg","text":"TemporaryFile(/tmp/multipartBody2373957141447913703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437053764,"filename":"image_23042025_07_04_25_9630.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25b30877832c7f4efabc64dea296acf2.jpg","text":"TemporaryFile(/tmp/multipartBody5038400529330856537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437053764,"filename":"image_23042025_07_04_35_9635.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c16bb0f97a6cc1846de9fbf905e211c6.jpg","text":"TemporaryFile(/tmp/multipartBody3558343431867645032asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437053764,"filename":"image_23042025_07_03_45_10642.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79c95af6807306111ff98ceea5dce5a9.jpg","text":"TemporaryFile(/tmp/multipartBody1111623305844782588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437053764,"filename":"image_23042025_07_04_05_9648.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05decb32b040c440284cf1ecf5c8e68f.jpg","text":"TemporaryFile(/tmp/multipartBody8690674198235438611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437053764,"filename":"image_23042025_07_04_15_10704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161205","file1":"1353161183","file0":"1353161178","file4":"1353161213","file5":"1353161216","file3":"1353161209"},"map_files_photo_id_array":[{"photo_id":"1353161216","filename":"file5"},{"photo_id":"1353161205","filename":"file2"},{"photo_id":"1353161213","filename":"file4"},{"photo_id":"1353161183","filename":"file1"},{"photo_id":"1353161178","filename":"file0"},{"photo_id":"1353161209","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353161178":["hashtag1","hashtag2"]},{"1353161205":["hashtag1","hashtag2"]},{"1353161183":["hashtag1","hashtag2"]},{"1353161216":["hashtag1","hashtag2"]},{"1353161213":["hashtag1","hashtag2"]},{"1353161209":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353161178, 1353161205, 1353161183, 1353161216, 1353161213, 1353161209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.237754344940186 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:37:32.497026
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_44_9564.jpg
/home/nano/Desktop/images/14042025/23/59/image_14042025_23_59_34_10571.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_59_04_9575.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_54_9561.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_45_10569.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_34_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161340","1353161358","1353161343","1353161354","1353161350","1353161347"],"photo_ids_order":["1353161340","1353161343","1353161347","1353161350","1353161354","1353161358"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/56645900ad2cfac3929a0a5802d2e035.jpg","text":"TemporaryFile(/tmp/multipartBody455393517050278011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437114468,"filename":"image_14042025_23_59_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5b72501dba8ead558245a3430955331b.jpg","text":"TemporaryFile(/tmp/multipartBody7295651027367905633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437114468,"filename":"image_14042025_23_58_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/842915d510c77fa87889917e5de0fdc9.jpg","text":"TemporaryFile(/tmp/multipartBody4025379447403083926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437114468,"filename":"image_14042025_23_59_34_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4480c4f8750944f7fb96fbdd1b7186a4.jpg","text":"TemporaryFile(/tmp/multipartBody127971337844205008asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437114468,"filename":"image_14042025_23_58_45_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e62ab68d29827fedf8156819c5f8c80e.jpg","text":"TemporaryFile(/tmp/multipartBody116831960501407280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437114468,"filename":"image_14042025_23_58_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/187acc84cf0dbdd2e3a3bc5f784fc63a.jpg","text":"TemporaryFile(/tmp/multipartBody8314788573123840646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437114468,"filename":"image_14042025_23_59_04_9575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161347","file1":"1353161343","file0":"1353161340","file4":"1353161354","file5":"1353161358","file3":"1353161350"},"map_files_photo_id_array":[{"photo_id":"1353161358","filename":"file5"},{"photo_id":"1353161347","filename":"file2"},{"photo_id":"1353161354","filename":"file4"},{"photo_id":"1353161343","filename":"file1"},{"photo_id":"1353161340","filename":"file0"},{"photo_id":"1353161350","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353161340":["hashtag1","hashtag2"]},{"1353161358":["hashtag1","hashtag2"]},{"1353161343":["hashtag1","hashtag2"]},{"1353161354":["hashtag1","hashtag2"]},{"1353161350":["hashtag1","hashtag2"]},{"1353161347":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353161340, 1353161358, 1353161343, 1353161354, 1353161350, 1353161347)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.413867235183716 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:38:32.591285
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/38/image_23042025_21_38_34_9654.jpg', 2), ('/home/nano/Desktop/images/23042025/21/31/image_23042025_21_31_34_9628.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/38/image_23042025_21_38_34_9654.jpg', '/home/nano/Desktop/images/23042025/21/31/image_23042025_21_31_34_9628.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/38/image_23042025_21_38_34_9654.jpg
/home/nano/Desktop/images/23042025/21/31/image_23042025_21_31_34_9628.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161471","1353161468"],"photo_ids_order":["1353161468","1353161471"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6227a7b26456f2a1c852b19992a422e.jpg","text":"TemporaryFile(/tmp/multipartBody3894606495459691091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437173471,"filename":"image_23042025_21_31_34_9628.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d5eec7c60e64e26e20646d1aeac4b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7744981012764969538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437173471,"filename":"image_23042025_21_38_34_9654.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353161471","file0":"1353161468"},"map_files_photo_id_array":[{"photo_id":"1353161471","filename":"file1"},{"photo_id":"1353161468","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353161471":["hashtag1","hashtag2"]},{"1353161468":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353161471, 1353161468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.626691102981567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:39:03.689286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_24_10570.jpg', 2), ('/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_14_9579.jpg', 2), ('/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_44_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_24_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_14_10592.jpg', 2), ('/home/nano/Desktop/images/14042025/23/56/image_14042025_23_57_04_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_24_10570.jpg', '/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_14_9579.jpg', '/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_44_9561.jpg', '/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_24_9563.jpg', '/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_14_10592.jpg', '/home/nano/Desktop/images/14042025/23/56/image_14042025_23_57_04_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_24_10570.jpg
/home/nano/Desktop/images/14042025/23/58/image_14042025_23_58_14_9579.jpg
/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_44_9561.jpg
/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_24_9563.jpg
/home/nano/Desktop/images/14042025/23/57/image_14042025_23_57_14_10592.jpg
/home/nano/Desktop/images/14042025/23/56/image_14042025_23_57_04_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161559","1353161550","1353161526","1353161567","1353161545","1353161533"],"photo_ids_order":["1353161526","1353161533","1353161545","1353161550","1353161559","1353161567"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51a597a5d4b6d9f3e4f1bc2ac3346b9e.jpg","text":"TemporaryFile(/tmp/multipartBody8408433197893182972asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437205478,"filename":"image_14042025_23_57_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59ba544442bd5f6dd41e0dfc038c0fad.jpg","text":"TemporaryFile(/tmp/multipartBody5074723646521464538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437205478,"filename":"image_14042025_23_57_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72aa8f34fcdcdcc14e9b36cf44e36b22.jpg","text":"TemporaryFile(/tmp/multipartBody4390347577075564683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437205478,"filename":"image_14042025_23_58_24_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fd9c18e017e5008fb398fdc5e116d2d6.jpg","text":"TemporaryFile(/tmp/multipartBody7428517022451789026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437205478,"filename":"image_14042025_23_57_04_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a47b054753714af405e545d4b88922fa.jpg","text":"TemporaryFile(/tmp/multipartBody7471053075573852737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437205478,"filename":"image_14042025_23_57_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/179d50955b7f04567d8ee8bd4049a1c1.jpg","text":"TemporaryFile(/tmp/multipartBody8084443223062745722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437205478,"filename":"image_14042025_23_58_14_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161545","file1":"1353161533","file0":"1353161526","file4":"1353161559","file5":"1353161567","file3":"1353161550"},"map_files_photo_id_array":[{"photo_id":"1353161567","filename":"file5"},{"photo_id":"1353161545","filename":"file2"},{"photo_id":"1353161559","filename":"file4"},{"photo_id":"1353161533","filename":"file1"},{"photo_id":"1353161526","filename":"file0"},{"photo_id":"1353161550","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353161559":["hashtag1","hashtag2"]},{"1353161550":["hashtag1","hashtag2"]},{"1353161526":["hashtag1","hashtag2"]},{"1353161567":["hashtag1","hashtag2"]},{"1353161545":["hashtag1","hashtag2"]},{"1353161533":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353161559, 1353161550, 1353161526, 1353161567, 1353161545, 1353161533)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.992594957351685 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:40:02.229628
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/56/image_14042025_23_56_54_10584.jpg', 2), ('/home/nano/Desktop/images/14042025/23/56/image_14042025_23_56_44_9578.jpg', 2), ('/home/nano/Desktop/images/14042025/23/55/image_14042025_23_56_04_10614.jpg', 2), ('/home/nano/Desktop/images/14042025/23/55/image_14042025_23_55_54_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/54/image_14042025_23_55_04_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_54_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/56/image_14042025_23_56_54_10584.jpg', '/home/nano/Desktop/images/14042025/23/56/image_14042025_23_56_44_9578.jpg', '/home/nano/Desktop/images/14042025/23/55/image_14042025_23_56_04_10614.jpg', '/home/nano/Desktop/images/14042025/23/55/image_14042025_23_55_54_9563.jpg', '/home/nano/Desktop/images/14042025/23/54/image_14042025_23_55_04_9566.jpg', '/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_54_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/56/image_14042025_23_56_54_10584.jpg
/home/nano/Desktop/images/14042025/23/56/image_14042025_23_56_44_9578.jpg
/home/nano/Desktop/images/14042025/23/55/image_14042025_23_56_04_10614.jpg
/home/nano/Desktop/images/14042025/23/55/image_14042025_23_55_54_9563.jpg
/home/nano/Desktop/images/14042025/23/54/image_14042025_23_55_04_9566.jpg
/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_54_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353161883","1353161873","1353161881","1353161878","1353161875","1353161880"],"photo_ids_order":["1353161873","1353161875","1353161878","1353161880","1353161881","1353161883"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6f0cb53d22282b17710107790fb5d61a.jpg","text":"TemporaryFile(/tmp/multipartBody4808167906104231579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437263839,"filename":"image_14042025_23_54_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/82edbeff5a52e8d0717c73fcb1797c22.jpg","text":"TemporaryFile(/tmp/multipartBody5234837483324340963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437263839,"filename":"image_14042025_23_56_54_10584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f09d4f456ae0f936b33c560f7eae9540.jpg","text":"TemporaryFile(/tmp/multipartBody1717238264131192279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437263839,"filename":"image_14042025_23_55_04_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9188b696ade9e7485d239b25df848201.jpg","text":"TemporaryFile(/tmp/multipartBody3071894676159918265asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437263839,"filename":"image_14042025_23_56_04_10614.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3d8d02e374a42605975138de75dab74.jpg","text":"TemporaryFile(/tmp/multipartBody6881880495442690732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437263839,"filename":"image_14042025_23_56_44_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14075dd3d3cde28902ebc3c00181f2e6.jpg","text":"TemporaryFile(/tmp/multipartBody5254900188127970497asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437263839,"filename":"image_14042025_23_55_54_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353161878","file1":"1353161875","file0":"1353161873","file4":"1353161881","file5":"1353161883","file3":"1353161880"},"map_files_photo_id_array":[{"photo_id":"1353161883","filename":"file5"},{"photo_id":"1353161878","filename":"file2"},{"photo_id":"1353161881","filename":"file4"},{"photo_id":"1353161875","filename":"file1"},{"photo_id":"1353161873","filename":"file0"},{"photo_id":"1353161880","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353161883":["hashtag1","hashtag2"]},{"1353161873":["hashtag1","hashtag2"]},{"1353161881":["hashtag1","hashtag2"]},{"1353161878":["hashtag1","hashtag2"]},{"1353161875":["hashtag1","hashtag2"]},{"1353161880":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353161883, 1353161873, 1353161881, 1353161878, 1353161875, 1353161880)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.463958740234375 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:41:02.714924
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_25_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_14_9586.jpg', 2), ('/home/nano/Desktop/images/14042025/23/53/image_14042025_23_53_24_9586.jpg', 2), ('/home/nano/Desktop/images/14042025/23/53/image_14042025_23_53_15_10595.jpg', 2), ('/home/nano/Desktop/images/14042025/23/52/image_14042025_23_53_04_9586.jpg', 2), ('/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_54_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_25_10573.jpg', '/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_14_9586.jpg', '/home/nano/Desktop/images/14042025/23/53/image_14042025_23_53_24_9586.jpg', '/home/nano/Desktop/images/14042025/23/53/image_14042025_23_53_15_10595.jpg', '/home/nano/Desktop/images/14042025/23/52/image_14042025_23_53_04_9586.jpg', '/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_54_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_25_10573.jpg
/home/nano/Desktop/images/14042025/23/54/image_14042025_23_54_14_9586.jpg
/home/nano/Desktop/images/14042025/23/53/image_14042025_23_53_24_9586.jpg
/home/nano/Desktop/images/14042025/23/53/image_14042025_23_53_15_10595.jpg
/home/nano/Desktop/images/14042025/23/52/image_14042025_23_53_04_9586.jpg
/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_54_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353162239","1353162241","1353162238","1353162232","1353162235","1353162240"],"photo_ids_order":["1353162232","1353162235","1353162238","1353162239","1353162240","1353162241"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebf9539bbcf9f311cb68c88465f39317.jpg","text":"TemporaryFile(/tmp/multipartBody7603915968843371572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437324332,"filename":"image_14042025_23_53_15_10595.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/41fb0ac52ef0f99babb5a4bdfd378376.jpg","text":"TemporaryFile(/tmp/multipartBody1981810860529270136asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437324332,"filename":"image_14042025_23_52_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d192be478b11c19d11bc62c7a6d4603f.jpg","text":"TemporaryFile(/tmp/multipartBody5796397636891706005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437324332,"filename":"image_14042025_23_53_24_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c09dfbf0ca35fd9e8c3cd246225a766.jpg","text":"TemporaryFile(/tmp/multipartBody2756453394088021298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437324332,"filename":"image_14042025_23_54_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d23d3a99738b4240fb2860ceac6607cc.jpg","text":"TemporaryFile(/tmp/multipartBody4209146717861570394asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437324332,"filename":"image_14042025_23_54_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2741a053d68c05d9cf021579c0b5d7de.jpg","text":"TemporaryFile(/tmp/multipartBody6952907850099570570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437324332,"filename":"image_14042025_23_53_04_9586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353162238","file1":"1353162235","file0":"1353162232","file4":"1353162240","file5":"1353162241","file3":"1353162239"},"map_files_photo_id_array":[{"photo_id":"1353162241","filename":"file5"},{"photo_id":"1353162238","filename":"file2"},{"photo_id":"1353162240","filename":"file4"},{"photo_id":"1353162235","filename":"file1"},{"photo_id":"1353162232","filename":"file0"},{"photo_id":"1353162239","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353162239":["hashtag1","hashtag2"]},{"1353162241":["hashtag1","hashtag2"]},{"1353162238":["hashtag1","hashtag2"]},{"1353162232":["hashtag1","hashtag2"]},{"1353162235":["hashtag1","hashtag2"]},{"1353162240":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353162239, 1353162241, 1353162238, 1353162232, 1353162235, 1353162240)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.98013710975647 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:42:02.485888
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_44_9560.jpg', 2), ('/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_24_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_14_9591.jpg', 2), ('/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_54_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_24_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_14_9587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_44_9560.jpg', '/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_24_9561.jpg', '/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_14_9591.jpg', '/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_54_9562.jpg', '/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_24_10572.jpg', '/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_14_9587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_44_9560.jpg
/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_24_9561.jpg
/home/nano/Desktop/images/14042025/23/52/image_14042025_23_52_14_9591.jpg
/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_54_9562.jpg
/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_24_10572.jpg
/home/nano/Desktop/images/14042025/23/51/image_14042025_23_51_14_9587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353162272","1353162269","1353162277","1353162271","1353162265","1353162270"],"photo_ids_order":["1353162265","1353162269","1353162270","1353162271","1353162272","1353162277"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed3ef0817b444f0869abaee2c3e71ff9.jpg","text":"TemporaryFile(/tmp/multipartBody4409122041118281585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437384123,"filename":"image_14042025_23_51_24_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15f6b1db6fbc001ec0a42240542a1fd7.jpg","text":"TemporaryFile(/tmp/multipartBody527865227805989509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437384123,"filename":"image_14042025_23_52_24_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c3653b136783299ea2f7f27c05005cd2.jpg","text":"TemporaryFile(/tmp/multipartBody132896499546931657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437384123,"filename":"image_14042025_23_51_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f1c629522c5a2dad76ddd304cda1428.jpg","text":"TemporaryFile(/tmp/multipartBody6882879893164227955asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437384123,"filename":"image_14042025_23_51_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9ea5f354feabeb205240f1f38b526ddc.jpg","text":"TemporaryFile(/tmp/multipartBody1244727065963735102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437384123,"filename":"image_14042025_23_52_44_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4491f548cf3372d72b7d08971da2a37a.jpg","text":"TemporaryFile(/tmp/multipartBody533434572595274276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437384123,"filename":"image_14042025_23_52_14_9591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353162270","file1":"1353162269","file0":"1353162265","file4":"1353162272","file5":"1353162277","file3":"1353162271"},"map_files_photo_id_array":[{"photo_id":"1353162277","filename":"file5"},{"photo_id":"1353162270","filename":"file2"},{"photo_id":"1353162272","filename":"file4"},{"photo_id":"1353162269","filename":"file1"},{"photo_id":"1353162265","filename":"file0"},{"photo_id":"1353162271","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353162272":["hashtag1","hashtag2"]},{"1353162269":["hashtag1","hashtag2"]},{"1353162277":["hashtag1","hashtag2"]},{"1353162271":["hashtag1","hashtag2"]},{"1353162265":["hashtag1","hashtag2"]},{"1353162270":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353162272, 1353162269, 1353162277, 1353162271, 1353162265, 1353162270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.72537636756897 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:43:02.814221
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_24_9738.jpg', 2), ('/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_14_9741.jpg', 2), ('/home/nano/Desktop/images/23042025/21/41/image_23042025_21_42_04_10665.jpg', 2), ('/home/nano/Desktop/images/23042025/21/38/image_23042025_21_38_44_9657.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_24_9738.jpg', '/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_14_9741.jpg', '/home/nano/Desktop/images/23042025/21/41/image_23042025_21_42_04_10665.jpg', '/home/nano/Desktop/images/23042025/21/38/image_23042025_21_38_44_9657.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_24_9738.jpg
/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_14_9741.jpg
/home/nano/Desktop/images/23042025/21/41/image_23042025_21_42_04_10665.jpg
/home/nano/Desktop/images/23042025/21/38/image_23042025_21_38_44_9657.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353162501","1353162595","1353162567","1353162531"],"photo_ids_order":["1353162501","1353162531","1353162567","1353162595"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/08cd85c956d727f0a52ae26cb6db5be7.jpg","text":"TemporaryFile(/tmp/multipartBody5985891120853725563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437444483,"filename":"image_23042025_21_42_24_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fecaf5899479764a11d015fd4ed212c2.jpg","text":"TemporaryFile(/tmp/multipartBody8774487415820994055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437444483,"filename":"image_23042025_21_38_44_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/059eae43c30986558d61c570482a305c.jpg","text":"TemporaryFile(/tmp/multipartBody6497595606555383129asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437444483,"filename":"image_23042025_21_42_04_10665.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea85136dc3966b9f43c4e219a9f97e29.jpg","text":"TemporaryFile(/tmp/multipartBody348096996547387180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437444483,"filename":"image_23042025_21_42_14_9741.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353162567","file1":"1353162531","file0":"1353162501","file3":"1353162595"},"map_files_photo_id_array":[{"photo_id":"1353162567","filename":"file2"},{"photo_id":"1353162531","filename":"file1"},{"photo_id":"1353162501","filename":"file0"},{"photo_id":"1353162595","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353162501":["hashtag1","hashtag2"]},{"1353162595":["hashtag1","hashtag2"]},{"1353162567":["hashtag1","hashtag2"]},{"1353162531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353162501, 1353162595, 1353162567, 1353162531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.428987503051758 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:43:32.075574
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_34_10728.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_34_10728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/42/image_23042025_21_42_34_10728.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353162743"],"photo_id":"1353162743","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7af2867791d857c749983823172c85b.jpg","text":"TemporaryFile(/tmp/multipartBody383482638312015049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437472782,"filename":"image_23042025_21_42_34_10728.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353162743"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353162743"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.866385459899902 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:44:03.091009
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_55_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_44_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_34_10586.jpg', 2), ('/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_14_9581.jpg', 2), ('/home/nano/Desktop/images/14042025/23/49/image_14042025_23_50_05_10581.jpg', 2), ('/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_54_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_55_10573.jpg', '/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_44_9562.jpg', '/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_34_10586.jpg', '/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_14_9581.jpg', '/home/nano/Desktop/images/14042025/23/49/image_14042025_23_50_05_10581.jpg', '/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_54_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_55_10573.jpg
/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_44_9562.jpg
/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_34_10586.jpg
/home/nano/Desktop/images/14042025/23/50/image_14042025_23_50_14_9581.jpg
/home/nano/Desktop/images/14042025/23/49/image_14042025_23_50_05_10581.jpg
/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_54_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353162831","1353162825","1353162828","1353162820","1353162823","1353162817"],"photo_ids_order":["1353162817","1353162820","1353162823","1353162825","1353162828","1353162831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/062fc7d868a41bae746b00a4f7f76091.jpg","text":"TemporaryFile(/tmp/multipartBody4756953160367552946asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437504927,"filename":"image_14042025_23_49_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1eee8e2f53b85b7f73bb99d63d0192e5.jpg","text":"TemporaryFile(/tmp/multipartBody3469230336296717828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437504927,"filename":"image_14042025_23_50_14_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d28ad470fb08375af197bb7ad074bf7.jpg","text":"TemporaryFile(/tmp/multipartBody5824757097366144246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437504927,"filename":"image_14042025_23_50_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/25ced9f1ae2ee54407704b7ef9f96407.jpg","text":"TemporaryFile(/tmp/multipartBody4517658748372202705asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437504927,"filename":"image_14042025_23_50_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/70969d1f6ea78c94e2aa726abc6723b0.jpg","text":"TemporaryFile(/tmp/multipartBody6919247050999109722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437504927,"filename":"image_14042025_23_50_34_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9027a53f07466ff7b6f05a87d8003152.jpg","text":"TemporaryFile(/tmp/multipartBody7272810315711029981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437504927,"filename":"image_14042025_23_50_55_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353162823","file1":"1353162820","file0":"1353162817","file4":"1353162828","file5":"1353162831","file3":"1353162825"},"map_files_photo_id_array":[{"photo_id":"1353162831","filename":"file5"},{"photo_id":"1353162823","filename":"file2"},{"photo_id":"1353162828","filename":"file4"},{"photo_id":"1353162820","filename":"file1"},{"photo_id":"1353162817","filename":"file0"},{"photo_id":"1353162825","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353162831":["hashtag1","hashtag2"]},{"1353162825":["hashtag1","hashtag2"]},{"1353162828":["hashtag1","hashtag2"]},{"1353162820":["hashtag1","hashtag2"]},{"1353162823":["hashtag1","hashtag2"]},{"1353162817":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353162831, 1353162825, 1353162828, 1353162820, 1353162823, 1353162817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.956809282302856 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:45:03.095802
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/45/image_23042025_21_45_44_10656.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/45/image_23042025_21_45_44_10656.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/45/image_23042025_21_45_44_10656.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353162852"],"photo_id":"1353162852","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/527ca20500af326f144a237025e549e3.jpg","text":"TemporaryFile(/tmp/multipartBody435637159609270634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437563764,"filename":"image_23042025_21_45_44_10656.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353162852"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353162852"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.507847547531128 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:45:32.304831
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_45_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_34_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_24_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/48/image_14042025_23_49_04_9571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_55_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_44_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_45_10574.jpg', '/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_34_9563.jpg', '/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_24_10574.jpg', '/home/nano/Desktop/images/14042025/23/48/image_14042025_23_49_04_9571.jpg', '/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_55_10575.jpg', '/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_44_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_45_10574.jpg
/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_34_9563.jpg
/home/nano/Desktop/images/14042025/23/49/image_14042025_23_49_24_10574.jpg
/home/nano/Desktop/images/14042025/23/48/image_14042025_23_49_04_9571.jpg
/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_55_10575.jpg
/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_44_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163048","1353163045","1353163050","1353163041","1353163035","1353163038"],"photo_ids_order":["1353163035","1353163038","1353163041","1353163045","1353163048","1353163050"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/39f19723087a60f4c3b18c7e69ea9f48.jpg","text":"TemporaryFile(/tmp/multipartBody6085182463883089815asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437593631,"filename":"image_14042025_23_48_55_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/24dbb7c2120f2b2168e4a5adf1f33391.jpg","text":"TemporaryFile(/tmp/multipartBody2455547657705389618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437593631,"filename":"image_14042025_23_49_04_9571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0cd144952a52d4deb1b2b43f5a2dda1.jpg","text":"TemporaryFile(/tmp/multipartBody6723425501875942880asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437593631,"filename":"image_14042025_23_48_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0a10180309af58e83b6826d4732bcf20.jpg","text":"TemporaryFile(/tmp/multipartBody6651794136933775871asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437593631,"filename":"image_14042025_23_49_24_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d54d9b9f55916d9d64b46fd2e1f1f5f.jpg","text":"TemporaryFile(/tmp/multipartBody4259839218804647480asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437593631,"filename":"image_14042025_23_49_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f112a1752af967d65cf52ba33d4cdb63.jpg","text":"TemporaryFile(/tmp/multipartBody3497422959440637556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437593631,"filename":"image_14042025_23_49_34_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163041","file1":"1353163038","file0":"1353163035","file4":"1353163048","file5":"1353163050","file3":"1353163045"},"map_files_photo_id_array":[{"photo_id":"1353163050","filename":"file5"},{"photo_id":"1353163041","filename":"file2"},{"photo_id":"1353163048","filename":"file4"},{"photo_id":"1353163038","filename":"file1"},{"photo_id":"1353163035","filename":"file0"},{"photo_id":"1353163045","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353163048":["hashtag1","hashtag2"]},{"1353163045":["hashtag1","hashtag2"]},{"1353163050":["hashtag1","hashtag2"]},{"1353163041":["hashtag1","hashtag2"]},{"1353163035":["hashtag1","hashtag2"]},{"1353163038":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353163048, 1353163045, 1353163050, 1353163041, 1353163035, 1353163038)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.490355253219604 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:46:32.385127
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/46/image_23042025_21_46_44_9645.jpg', 2), ('/home/nano/Desktop/images/23042025/21/42/image_23042025_21_43_03_9745.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/46/image_23042025_21_46_44_9645.jpg', '/home/nano/Desktop/images/23042025/21/42/image_23042025_21_43_03_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/46/image_23042025_21_46_44_9645.jpg
/home/nano/Desktop/images/23042025/21/42/image_23042025_21_43_03_9745.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163076","1353163081"],"photo_ids_order":["1353163076","1353163081"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5f77c0c19a07a1435ead45f05a0eedf.jpg","text":"TemporaryFile(/tmp/multipartBody1506252265326766003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437653155,"filename":"image_23042025_21_46_44_9645.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ca7d23be40e118cad9c51dbfd72c7847.jpg","text":"TemporaryFile(/tmp/multipartBody233048120027125464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437653155,"filename":"image_23042025_21_43_03_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353163081","file0":"1353163076"},"map_files_photo_id_array":[{"photo_id":"1353163081","filename":"file1"},{"photo_id":"1353163076","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353163076":["hashtag1","hashtag2"]},{"1353163081":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353163076, 1353163081)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.823955535888672 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:47:03.236061
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_14_10587.jpg', 2), ('/home/nano/Desktop/images/14042025/23/47/image_14042025_23_48_04_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_54_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_45_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_34_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_25_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_14_10587.jpg', '/home/nano/Desktop/images/14042025/23/47/image_14042025_23_48_04_9565.jpg', '/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_54_9565.jpg', '/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_45_10574.jpg', '/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_34_9565.jpg', '/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_25_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/48/image_14042025_23_48_14_10587.jpg
/home/nano/Desktop/images/14042025/23/47/image_14042025_23_48_04_9565.jpg
/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_54_9565.jpg
/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_45_10574.jpg
/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_34_9565.jpg
/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_25_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163183","1353163186","1353163180","1353163132","1353163134","1353163137"],"photo_ids_order":["1353163132","1353163134","1353163137","1353163180","1353163183","1353163186"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df8c009a156b83d9fdcd72670e8d537a.jpg","text":"TemporaryFile(/tmp/multipartBody6625735111001716241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437685066,"filename":"image_14042025_23_47_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/31197c2bb4630bc5069b24a31c620b5e.jpg","text":"TemporaryFile(/tmp/multipartBody6605619152190000863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437685066,"filename":"image_14042025_23_47_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5ae16e60af1fe1fca806679d26755229.jpg","text":"TemporaryFile(/tmp/multipartBody5829581752557133576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437685066,"filename":"image_14042025_23_47_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b45fa23ef1e91b42110a7f2178317dee.jpg","text":"TemporaryFile(/tmp/multipartBody4676149663727051151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437685066,"filename":"image_14042025_23_48_14_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a3d2d3451db5a99cdd75412e0c4e5f5.jpg","text":"TemporaryFile(/tmp/multipartBody8958156690515698030asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437685066,"filename":"image_14042025_23_48_04_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8e61f8c6a3fa7aa6af04526bce65a8d.jpg","text":"TemporaryFile(/tmp/multipartBody2984263501795818532asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437685066,"filename":"image_14042025_23_47_54_9565.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163137","file1":"1353163134","file0":"1353163132","file4":"1353163183","file5":"1353163186","file3":"1353163180"},"map_files_photo_id_array":[{"photo_id":"1353163186","filename":"file5"},{"photo_id":"1353163137","filename":"file2"},{"photo_id":"1353163183","filename":"file4"},{"photo_id":"1353163134","filename":"file1"},{"photo_id":"1353163132","filename":"file0"},{"photo_id":"1353163180","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353163183":["hashtag1","hashtag2"]},{"1353163186":["hashtag1","hashtag2"]},{"1353163180":["hashtag1","hashtag2"]},{"1353163132":["hashtag1","hashtag2"]},{"1353163134":["hashtag1","hashtag2"]},{"1353163137":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353163183, 1353163186, 1353163180, 1353163132, 1353163134, 1353163137)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.90807628631592 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:48:03.064841
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/47/image_23042025_21_47_34_10680.jpg', 2), ('/home/nano/Desktop/images/23042025/21/46/image_23042025_21_46_54_9714.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/47/image_23042025_21_47_34_10680.jpg', '/home/nano/Desktop/images/23042025/21/46/image_23042025_21_46_54_9714.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/47/image_23042025_21_47_34_10680.jpg
/home/nano/Desktop/images/23042025/21/46/image_23042025_21_46_54_9714.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163291","1353163288"],"photo_ids_order":["1353163288","1353163291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b09cc8874303075d2cfc132094650795.jpg","text":"TemporaryFile(/tmp/multipartBody5705733626109538332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437743940,"filename":"image_23042025_21_46_54_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/209112d83f727e756323fefbff97f78e.jpg","text":"TemporaryFile(/tmp/multipartBody4207991840299894744asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437743940,"filename":"image_23042025_21_47_34_10680.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353163291","file0":"1353163288"},"map_files_photo_id_array":[{"photo_id":"1353163291","filename":"file1"},{"photo_id":"1353163288","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353163291":["hashtag1","hashtag2"]},{"1353163288":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353163291, 1353163288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.884747743606567 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:48:32.595685
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_14_9612.jpg', 2), ('/home/nano/Desktop/images/14042025/23/46/image_14042025_23_47_04_10589.jpg', 2), ('/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_54_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_35_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_24_9580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_14_9612.jpg', '/home/nano/Desktop/images/14042025/23/46/image_14042025_23_47_04_10589.jpg', '/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_54_9565.jpg', '/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_44_9565.jpg', '/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_35_10575.jpg', '/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_24_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/47/image_14042025_23_47_14_9612.jpg
/home/nano/Desktop/images/14042025/23/46/image_14042025_23_47_04_10589.jpg
/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_54_9565.jpg
/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_44_9565.jpg
/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_35_10575.jpg
/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_24_9580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163451","1353163409","1353163368","1353163440","1353163413","1353163401"],"photo_ids_order":["1353163368","1353163401","1353163409","1353163413","1353163440","1353163451"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc93c38832764db278dfc144562e2e21.jpg","text":"TemporaryFile(/tmp/multipartBody3908115091057236842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437774287,"filename":"image_14042025_23_46_24_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc0f864070995c29704536dde4b6c1eb.jpg","text":"TemporaryFile(/tmp/multipartBody5983559494829950573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437774287,"filename":"image_14042025_23_46_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f2bb3b0c1eb6cd2bc779775b7216050.jpg","text":"TemporaryFile(/tmp/multipartBody6788481503067527126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437774287,"filename":"image_14042025_23_47_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dad1e7674af03aa5a30081dd8bfc36f6.jpg","text":"TemporaryFile(/tmp/multipartBody1881743609558296121asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437774287,"filename":"image_14042025_23_46_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/211808a58011819d25e3b258516fba8f.jpg","text":"TemporaryFile(/tmp/multipartBody3037989388777308196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437774287,"filename":"image_14042025_23_46_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d0cf7239601c2749d216fc9dff77b6d.jpg","text":"TemporaryFile(/tmp/multipartBody5011802575899805204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437774287,"filename":"image_14042025_23_47_04_10589.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163409","file1":"1353163401","file0":"1353163368","file4":"1353163440","file5":"1353163451","file3":"1353163413"},"map_files_photo_id_array":[{"photo_id":"1353163451","filename":"file5"},{"photo_id":"1353163409","filename":"file2"},{"photo_id":"1353163440","filename":"file4"},{"photo_id":"1353163401","filename":"file1"},{"photo_id":"1353163368","filename":"file0"},{"photo_id":"1353163413","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353163451":["hashtag1","hashtag2"]},{"1353163409":["hashtag1","hashtag2"]},{"1353163368":["hashtag1","hashtag2"]},{"1353163440":["hashtag1","hashtag2"]},{"1353163413":["hashtag1","hashtag2"]},{"1353163401":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353163451, 1353163409, 1353163368, 1353163440, 1353163413, 1353163401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.87717318534851 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:49:32.724684
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_34_10658.jpg', 2), ('/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_24_9669.jpg', 2), ('/home/nano/Desktop/images/23042025/21/47/image_23042025_21_47_44_9597.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_34_10658.jpg', '/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_24_9669.jpg', '/home/nano/Desktop/images/23042025/21/47/image_23042025_21_47_44_9597.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_34_10658.jpg
/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_24_9669.jpg
/home/nano/Desktop/images/23042025/21/47/image_23042025_21_47_44_9597.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163475","1353163468","1353163485"],"photo_ids_order":["1353163468","1353163475","1353163485"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cb5d5b0933d6ba2a36d43d86d78246ae.jpg","text":"TemporaryFile(/tmp/multipartBody678509985703192452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437833866,"filename":"image_23042025_21_49_24_9669.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb89ecc739775d64b9ea9c92b96ca3d9.jpg","text":"TemporaryFile(/tmp/multipartBody5457871678209013818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437833866,"filename":"image_23042025_21_49_34_10658.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8abdc33fc6659dd45745fbbdf8187fb0.jpg","text":"TemporaryFile(/tmp/multipartBody3294280940510395228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437833866,"filename":"image_23042025_21_47_44_9597.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163485","file1":"1353163475","file0":"1353163468"},"map_files_photo_id_array":[{"photo_id":"1353163485","filename":"file2"},{"photo_id":"1353163475","filename":"file1"},{"photo_id":"1353163468","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353163475":["hashtag1","hashtag2"]},{"1353163468":["hashtag1","hashtag2"]},{"1353163485":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353163475, 1353163468, 1353163485)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 18.589401960372925 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:50:02.283301
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_14_10592.jpg', 2), ('/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_54_10578.jpg', 2), ('/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_34_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_25_10577.jpg', 2), ('/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_14_9580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_14_10592.jpg', '/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_54_10578.jpg', '/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_44_9564.jpg', '/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_34_9564.jpg', '/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_25_10577.jpg', '/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_14_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/46/image_14042025_23_46_14_10592.jpg
/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_54_10578.jpg
/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_44_9564.jpg
/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_34_9564.jpg
/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_25_10577.jpg
/home/nano/Desktop/images/14042025/23/45/image_14042025_23_45_14_9580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163580","1353163511","1353163495","1353163566","1353163539","1353163577"],"photo_ids_order":["1353163495","1353163511","1353163539","1353163566","1353163577","1353163580"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b657290cb1d22d97599b0bed6cf53ad.jpg","text":"TemporaryFile(/tmp/multipartBody128668569141562281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437863985,"filename":"image_14042025_23_45_14_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f73ca51150547e74868f238c24adf7a3.jpg","text":"TemporaryFile(/tmp/multipartBody2561510065850814034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437863985,"filename":"image_14042025_23_45_54_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9b3b6c6fe30b6730d150efe9a971b8e.jpg","text":"TemporaryFile(/tmp/multipartBody7733004982735260211asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437863985,"filename":"image_14042025_23_46_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/018c168c7e7bc9892382b4c146898e3a.jpg","text":"TemporaryFile(/tmp/multipartBody555959273131055193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437863985,"filename":"image_14042025_23_45_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01e35877f88395d378ef4d2924f3b769.jpg","text":"TemporaryFile(/tmp/multipartBody4966029999028414400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437863985,"filename":"image_14042025_23_45_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06f1375a642e8aee8dc2ca43747484e4.jpg","text":"TemporaryFile(/tmp/multipartBody914364060106879611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437863985,"filename":"image_14042025_23_45_25_10577.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163539","file1":"1353163511","file0":"1353163495","file4":"1353163577","file5":"1353163580","file3":"1353163566"},"map_files_photo_id_array":[{"photo_id":"1353163580","filename":"file5"},{"photo_id":"1353163539","filename":"file2"},{"photo_id":"1353163577","filename":"file4"},{"photo_id":"1353163511","filename":"file1"},{"photo_id":"1353163495","filename":"file0"},{"photo_id":"1353163566","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353163580":["hashtag1","hashtag2"]},{"1353163511":["hashtag1","hashtag2"]},{"1353163495":["hashtag1","hashtag2"]},{"1353163566":["hashtag1","hashtag2"]},{"1353163539":["hashtag1","hashtag2"]},{"1353163577":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353163580, 1353163511, 1353163495, 1353163566, 1353163539, 1353163577)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.9959282875061 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:51:02.702003
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_44_10724.jpg', 2), ('/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_33_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_24_9713.jpg', 2), ('/home/nano/Desktop/images/23042025/21/49/image_23042025_21_50_04_10747.jpg', 2), ('/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_54_9654.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_44_10724.jpg', '/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_33_9713.jpg', '/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_24_9713.jpg', '/home/nano/Desktop/images/23042025/21/49/image_23042025_21_50_04_10747.jpg', '/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_54_9654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_44_10724.jpg
/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_33_9713.jpg
/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_24_9713.jpg
/home/nano/Desktop/images/23042025/21/49/image_23042025_21_50_04_10747.jpg
/home/nano/Desktop/images/23042025/21/49/image_23042025_21_49_54_9654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163613","1353163636","1353163618","1353163633","1353163611"],"photo_ids_order":["1353163611","1353163613","1353163618","1353163633","1353163636"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/950ef207f7f97580a2d29b9065544bc9.jpg","text":"TemporaryFile(/tmp/multipartBody5590108718067738603asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437924332,"filename":"image_23042025_21_50_33_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b5db8fac3c74845e9ad53d9d80c67a3.jpg","text":"TemporaryFile(/tmp/multipartBody5478368128221127207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437924332,"filename":"image_23042025_21_49_54_9654.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a01a2d37ca08f8fec2fae102c319850.jpg","text":"TemporaryFile(/tmp/multipartBody6659873931857833922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437924332,"filename":"image_23042025_21_50_24_9713.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/428dbd782fcbbf0624ec122683f4bfbb.jpg","text":"TemporaryFile(/tmp/multipartBody7849011970964727031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437924332,"filename":"image_23042025_21_50_04_10747.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d9dfe63605937976af08f7838960c9ca.jpg","text":"TemporaryFile(/tmp/multipartBody1986241660256136662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437924332,"filename":"image_23042025_21_50_44_10724.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163618","file1":"1353163613","file0":"1353163611","file4":"1353163636","file3":"1353163633"},"map_files_photo_id_array":[{"photo_id":"1353163618","filename":"file2"},{"photo_id":"1353163636","filename":"file4"},{"photo_id":"1353163613","filename":"file1"},{"photo_id":"1353163611","filename":"file0"},{"photo_id":"1353163633","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353163613":["hashtag1","hashtag2"]},{"1353163636":["hashtag1","hashtag2"]},{"1353163618":["hashtag1","hashtag2"]},{"1353163633":["hashtag1","hashtag2"]},{"1353163611":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353163613, 1353163636, 1353163618, 1353163633, 1353163611)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 41.33597660064697 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:52:02.484177
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/50/image_23042025_21_51_04_9714.jpg', 2), ('/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_54_9718.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/50/image_23042025_21_51_04_9714.jpg', '/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_54_9718.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/50/image_23042025_21_51_04_9714.jpg
/home/nano/Desktop/images/23042025/21/50/image_23042025_21_50_54_9718.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163727","1353163731"],"photo_ids_order":["1353163727","1353163731"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4aa0774a6f36edda52dce9b9106e416a.jpg","text":"TemporaryFile(/tmp/multipartBody4860436334635702352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437983518,"filename":"image_23042025_21_51_04_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09b6fccdf603cf9f01163db6818d9644.jpg","text":"TemporaryFile(/tmp/multipartBody6792851954306726388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745437983518,"filename":"image_23042025_21_50_54_9718.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353163731","file0":"1353163727"},"map_files_photo_id_array":[{"photo_id":"1353163731","filename":"file1"},{"photo_id":"1353163727","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353163727":["hashtag1","hashtag2"]},{"1353163731":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353163727, 1353163731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 30.060561418533325 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:53:02.741704
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/44/image_14042025_23_45_04_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/23/44/image_14042025_23_44_54_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/44/image_14042025_23_44_15_10588.jpg', 2), ('/home/nano/Desktop/images/14042025/23/43/image_14042025_23_44_04_9576.jpg', 2), ('/home/nano/Desktop/images/14042025/23/43/image_14042025_23_43_54_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/43/image_14042025_23_43_44_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/44/image_14042025_23_45_04_10576.jpg', '/home/nano/Desktop/images/14042025/23/44/image_14042025_23_44_54_9562.jpg', '/home/nano/Desktop/images/14042025/23/44/image_14042025_23_44_15_10588.jpg', '/home/nano/Desktop/images/14042025/23/43/image_14042025_23_44_04_9576.jpg', '/home/nano/Desktop/images/14042025/23/43/image_14042025_23_43_54_10569.jpg', '/home/nano/Desktop/images/14042025/23/43/image_14042025_23_43_44_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/44/image_14042025_23_45_04_10576.jpg
/home/nano/Desktop/images/14042025/23/44/image_14042025_23_44_54_9562.jpg
/home/nano/Desktop/images/14042025/23/44/image_14042025_23_44_15_10588.jpg
/home/nano/Desktop/images/14042025/23/43/image_14042025_23_44_04_9576.jpg
/home/nano/Desktop/images/14042025/23/43/image_14042025_23_43_54_10569.jpg
/home/nano/Desktop/images/14042025/23/43/image_14042025_23_43_44_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163784","1353163807","1353163791","1353163788","1353163800","1353163803"],"photo_ids_order":["1353163784","1353163788","1353163791","1353163800","1353163803","1353163807"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8489b1088a040481ef96c03fd0ebf4f0.jpg","text":"TemporaryFile(/tmp/multipartBody8126075276373512212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438044677,"filename":"image_14042025_23_45_04_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/986fe7cf97f01f39ea25145dd9966842.jpg","text":"TemporaryFile(/tmp/multipartBody5258336210296329917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438044677,"filename":"image_14042025_23_43_44_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19f28a3d72352c291ae9caa3b56a7e64.jpg","text":"TemporaryFile(/tmp/multipartBody1417046749026271005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438044677,"filename":"image_14042025_23_44_15_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4e99986111efd74e81868ecdc6cde54.jpg","text":"TemporaryFile(/tmp/multipartBody7592528441579362347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438044677,"filename":"image_14042025_23_44_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1496dfb1503f78c23ad7cc1cbe026772.jpg","text":"TemporaryFile(/tmp/multipartBody1602101867387577922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438044677,"filename":"image_14042025_23_44_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c35b6bf06fa6adf6d159422b9d11f54a.jpg","text":"TemporaryFile(/tmp/multipartBody2736488571471102710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438044677,"filename":"image_14042025_23_43_54_10569.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163791","file1":"1353163788","file0":"1353163784","file4":"1353163803","file5":"1353163807","file3":"1353163800"},"map_files_photo_id_array":[{"photo_id":"1353163807","filename":"file5"},{"photo_id":"1353163791","filename":"file2"},{"photo_id":"1353163803","filename":"file4"},{"photo_id":"1353163788","filename":"file1"},{"photo_id":"1353163784","filename":"file0"},{"photo_id":"1353163800","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353163784":["hashtag1","hashtag2"]},{"1353163807":["hashtag1","hashtag2"]},{"1353163791":["hashtag1","hashtag2"]},{"1353163788":["hashtag1","hashtag2"]},{"1353163800":["hashtag1","hashtag2"]},{"1353163803":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353163784, 1353163807, 1353163791, 1353163788, 1353163800, 1353163803)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 42.0708372592926 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:54:03.141475
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/54/image_23042025_21_54_54_9650.jpg', 2), ('/home/nano/Desktop/images/23042025/21/53/image_23042025_21_53_14_10663.jpg', 2), ('/home/nano/Desktop/images/23042025/21/51/image_23042025_21_51_13_9736.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/54/image_23042025_21_54_54_9650.jpg', '/home/nano/Desktop/images/23042025/21/53/image_23042025_21_53_14_10663.jpg', '/home/nano/Desktop/images/23042025/21/51/image_23042025_21_51_13_9736.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/54/image_23042025_21_54_54_9650.jpg
/home/nano/Desktop/images/23042025/21/53/image_23042025_21_53_14_10663.jpg
/home/nano/Desktop/images/23042025/21/51/image_23042025_21_51_13_9736.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353163831","1353163819","1353163824"],"photo_ids_order":["1353163819","1353163824","1353163831"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe0deace1791ec5718c97aebb9487723.jpg","text":"TemporaryFile(/tmp/multipartBody9036620654681929199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438104333,"filename":"image_23042025_21_51_13_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6b7abc06f01ee85638aabea0474f975.jpg","text":"TemporaryFile(/tmp/multipartBody7099999524991415692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438104333,"filename":"image_23042025_21_54_54_9650.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b5d740385f474dfcc36fa6cda904d4b.jpg","text":"TemporaryFile(/tmp/multipartBody3434681158058601521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438104333,"filename":"image_23042025_21_53_14_10663.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353163831","file1":"1353163824","file0":"1353163819"},"map_files_photo_id_array":[{"photo_id":"1353163831","filename":"file2"},{"photo_id":"1353163824","filename":"file1"},{"photo_id":"1353163819","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353163831":["hashtag1","hashtag2"]},{"1353163819":["hashtag1","hashtag2"]},{"1353163824":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353163831, 1353163819, 1353163824)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 21.22655177116394 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:54:32.223091
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_54_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_45_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_34_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/37/image_14042025_23_37_24_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_54_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_44_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_54_9566.jpg', '/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_45_10571.jpg', '/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_34_9561.jpg', '/home/nano/Desktop/images/14042025/23/37/image_14042025_23_37_24_9561.jpg', '/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_54_10571.jpg', '/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_44_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_54_9566.jpg
/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_45_10571.jpg
/home/nano/Desktop/images/14042025/23/38/image_14042025_23_38_34_9561.jpg
/home/nano/Desktop/images/14042025/23/37/image_14042025_23_37_24_9561.jpg
/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_54_10571.jpg
/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_44_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353164404","1353164212","1353164451","1353164310","1353164406","1353164409"],"photo_ids_order":["1353164212","1353164310","1353164404","1353164406","1353164409","1353164451"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd2c0cfb125263ec57dfc97edf56f99b.jpg","text":"TemporaryFile(/tmp/multipartBody2067176260857354974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438133997,"filename":"image_14042025_23_38_34_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53d944bbc62e85d8d4ba718da0ab9c73.jpg","text":"TemporaryFile(/tmp/multipartBody7522279262904006908asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438133997,"filename":"image_14042025_23_38_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4e4ca22a9accf30f9c646482b04ab4e.jpg","text":"TemporaryFile(/tmp/multipartBody7785802337253179660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438133997,"filename":"image_14042025_23_36_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/49343b22ca96c937f9c263c656729d3e.jpg","text":"TemporaryFile(/tmp/multipartBody7114320810678849760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438133997,"filename":"image_14042025_23_38_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07371053899f96ab436511b540094aad.jpg","text":"TemporaryFile(/tmp/multipartBody148884304827785639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438133997,"filename":"image_14042025_23_37_24_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0898b5006f3f78f92359c6c4a1df7810.jpg","text":"TemporaryFile(/tmp/multipartBody4805325420183417990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438133997,"filename":"image_14042025_23_36_54_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353164404","file1":"1353164310","file0":"1353164212","file4":"1353164409","file5":"1353164451","file3":"1353164406"},"map_files_photo_id_array":[{"photo_id":"1353164451","filename":"file5"},{"photo_id":"1353164404","filename":"file2"},{"photo_id":"1353164409","filename":"file4"},{"photo_id":"1353164310","filename":"file1"},{"photo_id":"1353164212","filename":"file0"},{"photo_id":"1353164406","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353164404":["hashtag1","hashtag2"]},{"1353164212":["hashtag1","hashtag2"]},{"1353164451":["hashtag1","hashtag2"]},{"1353164310":["hashtag1","hashtag2"]},{"1353164406":["hashtag1","hashtag2"]},{"1353164409":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353164404, 1353164212, 1353164451, 1353164310, 1353164406, 1353164409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.65748906135559 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:55:32.345071
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/55/image_23042025_21_55_44_10660.jpg', 2), ('/home/nano/Desktop/images/23042025/21/53/image_23042025_21_53_24_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/55/image_23042025_21_55_44_10660.jpg', '/home/nano/Desktop/images/23042025/21/53/image_23042025_21_53_24_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/55/image_23042025_21_55_44_10660.jpg
/home/nano/Desktop/images/23042025/21/53/image_23042025_21_53_24_9712.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353164514","1353164511"],"photo_ids_order":["1353164511","1353164514"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/880052f5907bb1bd295f997280715e04.jpg","text":"TemporaryFile(/tmp/multipartBody5663340310849000549asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438193162,"filename":"image_23042025_21_53_24_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72e047176c6bd0309443eee76f051a0f.jpg","text":"TemporaryFile(/tmp/multipartBody5891323632973128863asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438193162,"filename":"image_23042025_21_55_44_10660.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353164514","file0":"1353164511"},"map_files_photo_id_array":[{"photo_id":"1353164514","filename":"file1"},{"photo_id":"1353164511","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353164514":["hashtag1","hashtag2"]},{"1353164511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353164514, 1353164511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.735156059265137 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:56:03.013783
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_34_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_14_9584.jpg', 2), ('/home/nano/Desktop/images/14042025/23/35/image_14042025_23_36_05_10585.jpg', 2), ('/home/nano/Desktop/images/14042025/23/35/image_14042025_23_35_34_9568.jpg', 2), ('/home/nano/Desktop/images/14042025/23/35/image_14042025_23_35_24_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/34/image_14042025_23_35_04_9575.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_34_9565.jpg', '/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_14_9584.jpg', '/home/nano/Desktop/images/14042025/23/35/image_14042025_23_36_05_10585.jpg', '/home/nano/Desktop/images/14042025/23/35/image_14042025_23_35_34_9568.jpg', '/home/nano/Desktop/images/14042025/23/35/image_14042025_23_35_24_9563.jpg', '/home/nano/Desktop/images/14042025/23/34/image_14042025_23_35_04_9575.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_34_9565.jpg
/home/nano/Desktop/images/14042025/23/36/image_14042025_23_36_14_9584.jpg
/home/nano/Desktop/images/14042025/23/35/image_14042025_23_36_05_10585.jpg
/home/nano/Desktop/images/14042025/23/35/image_14042025_23_35_34_9568.jpg
/home/nano/Desktop/images/14042025/23/35/image_14042025_23_35_24_9563.jpg
/home/nano/Desktop/images/14042025/23/34/image_14042025_23_35_04_9575.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353164612","1353164615","1353164609","1353164600","1353164619","1353164604"],"photo_ids_order":["1353164600","1353164604","1353164609","1353164612","1353164615","1353164619"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2437b7fb3af31a4bc50ae1cb3f8f8368.jpg","text":"TemporaryFile(/tmp/multipartBody4802967628556314715asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438224925,"filename":"image_14042025_23_35_34_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/64ab41875a87bfdac60f8bb40149d1ba.jpg","text":"TemporaryFile(/tmp/multipartBody4786115754157593551asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438224925,"filename":"image_14042025_23_35_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d68fcfd24cd115b5c1490a3cdb537568.jpg","text":"TemporaryFile(/tmp/multipartBody5662217710888037050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438224925,"filename":"image_14042025_23_36_05_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7077af646293d53032c17d343fab548.jpg","text":"TemporaryFile(/tmp/multipartBody8693578158590272390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438224925,"filename":"image_14042025_23_36_34_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/167f6fa6a19ad48821b2f9bd6cdfa0f1.jpg","text":"TemporaryFile(/tmp/multipartBody2346638235613000455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438224925,"filename":"image_14042025_23_35_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8c7fd6945626981abfc91492faa2e8a.jpg","text":"TemporaryFile(/tmp/multipartBody6568584979187159844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438224925,"filename":"image_14042025_23_36_14_9584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353164609","file1":"1353164604","file0":"1353164600","file4":"1353164615","file5":"1353164619","file3":"1353164612"},"map_files_photo_id_array":[{"photo_id":"1353164619","filename":"file5"},{"photo_id":"1353164609","filename":"file2"},{"photo_id":"1353164615","filename":"file4"},{"photo_id":"1353164604","filename":"file1"},{"photo_id":"1353164600","filename":"file0"},{"photo_id":"1353164612","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353164612":["hashtag1","hashtag2"]},{"1353164615":["hashtag1","hashtag2"]},{"1353164609":["hashtag1","hashtag2"]},{"1353164600":["hashtag1","hashtag2"]},{"1353164619":["hashtag1","hashtag2"]},{"1353164604":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353164612, 1353164615, 1353164609, 1353164600, 1353164619, 1353164604)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.89848780632019 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:57:03.249812
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_34_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_24_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/21/55/image_23042025_21_56_03_9731.jpg', 2), ('/home/nano/Desktop/images/23042025/21/55/image_23042025_21_55_54_9584.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_34_9720.jpg', '/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_24_9719.jpg', '/home/nano/Desktop/images/23042025/21/55/image_23042025_21_56_03_9731.jpg', '/home/nano/Desktop/images/23042025/21/55/image_23042025_21_55_54_9584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_34_9720.jpg
/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_24_9719.jpg
/home/nano/Desktop/images/23042025/21/55/image_23042025_21_56_03_9731.jpg
/home/nano/Desktop/images/23042025/21/55/image_23042025_21_55_54_9584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353164658","1353164643","1353164667","1353164663"],"photo_ids_order":["1353164643","1353164658","1353164663","1353164667"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f8e4ddba726891cbf5b154cb45433bb.jpg","text":"TemporaryFile(/tmp/multipartBody104039054081900255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438285072,"filename":"image_23042025_21_56_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18f360101ceeb7d08c8c7aa5c59d3ef7.jpg","text":"TemporaryFile(/tmp/multipartBody2566795493203262476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438285072,"filename":"image_23042025_21_56_34_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5f9905166193eb01484af1589f8cc7fa.jpg","text":"TemporaryFile(/tmp/multipartBody5836221950312304301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438285072,"filename":"image_23042025_21_55_54_9584.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c44d19dde00c70da8d878c971ba1b900.jpg","text":"TemporaryFile(/tmp/multipartBody5909950178448888997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438285072,"filename":"image_23042025_21_56_03_9731.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353164663","file1":"1353164658","file0":"1353164643","file3":"1353164667"},"map_files_photo_id_array":[{"photo_id":"1353164663","filename":"file2"},{"photo_id":"1353164658","filename":"file1"},{"photo_id":"1353164643","filename":"file0"},{"photo_id":"1353164667","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353164658":["hashtag1","hashtag2"]},{"1353164643":["hashtag1","hashtag2"]},{"1353164667":["hashtag1","hashtag2"]},{"1353164663":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353164658, 1353164643, 1353164667, 1353164663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 39.33832097053528 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:58:03.127044
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_54_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_54_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/21/56/image_23042025_21_56_54_9715.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353164685"],"photo_id":"1353164685","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6be219ca052f03a11ba6e8f712ae9ce7.jpg","text":"TemporaryFile(/tmp/multipartBody2917529189751045541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438344016,"filename":"image_23042025_21_56_54_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353164685"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353164685"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.112969160079956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 21:59:03.115164
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_55_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_34_10589.jpg', 2), ('/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_14_9590.jpg', 2), ('/home/nano/Desktop/images/14042025/23/33/image_14042025_23_34_05_10587.jpg', 2), ('/home/nano/Desktop/images/14042025/23/33/image_14042025_23_33_54_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/33/image_14042025_23_33_44_10587.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_55_10572.jpg', '/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_34_10589.jpg', '/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_14_9590.jpg', '/home/nano/Desktop/images/14042025/23/33/image_14042025_23_34_05_10587.jpg', '/home/nano/Desktop/images/14042025/23/33/image_14042025_23_33_54_9563.jpg', '/home/nano/Desktop/images/14042025/23/33/image_14042025_23_33_44_10587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_55_10572.jpg
/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_34_10589.jpg
/home/nano/Desktop/images/14042025/23/34/image_14042025_23_34_14_9590.jpg
/home/nano/Desktop/images/14042025/23/33/image_14042025_23_34_05_10587.jpg
/home/nano/Desktop/images/14042025/23/33/image_14042025_23_33_54_9563.jpg
/home/nano/Desktop/images/14042025/23/33/image_14042025_23_33_44_10587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353165144","1353165182","1353165114","1353165015","1353164987","1353164954"],"photo_ids_order":["1353164954","1353164987","1353165015","1353165114","1353165144","1353165182"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/315457fce6c54e0bc26c802b4fbbc8f6.jpg","text":"TemporaryFile(/tmp/multipartBody9135803726622015533asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438404833,"filename":"image_14042025_23_33_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10bc730ac725ea794015a7eca98b4352.jpg","text":"TemporaryFile(/tmp/multipartBody1586957116986003393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438404833,"filename":"image_14042025_23_33_44_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f7716557f99a64be070e11a56002a03.jpg","text":"TemporaryFile(/tmp/multipartBody2523996041067445803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438404833,"filename":"image_14042025_23_34_05_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e925f69d6d9bdaeaa46e5aa66991c2a3.jpg","text":"TemporaryFile(/tmp/multipartBody1955240873009263269asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438404833,"filename":"image_14042025_23_34_14_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/77022949d52ffbf282569ab3b2283d43.jpg","text":"TemporaryFile(/tmp/multipartBody2077209468686481607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438404833,"filename":"image_14042025_23_34_34_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df2bfb5f0dbb793d47d12011192d0adc.jpg","text":"TemporaryFile(/tmp/multipartBody5833676741010020960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438404833,"filename":"image_14042025_23_34_55_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353165015","file1":"1353164987","file0":"1353164954","file4":"1353165144","file5":"1353165182","file3":"1353165114"},"map_files_photo_id_array":[{"photo_id":"1353165182","filename":"file5"},{"photo_id":"1353165015","filename":"file2"},{"photo_id":"1353165144","filename":"file4"},{"photo_id":"1353164987","filename":"file1"},{"photo_id":"1353164954","filename":"file0"},{"photo_id":"1353165114","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353165144":["hashtag1","hashtag2"]},{"1353165182":["hashtag1","hashtag2"]},{"1353165114":["hashtag1","hashtag2"]},{"1353165015":["hashtag1","hashtag2"]},{"1353164987":["hashtag1","hashtag2"]},{"1353164954":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353165144, 1353165182, 1353165114, 1353165015, 1353164987, 1353164954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 45.872002840042114 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:00:02.643336
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/32/image_14042025_23_32_34_10590.jpg', 2), ('/home/nano/Desktop/images/14042025/23/32/image_14042025_23_32_14_9582.jpg', 2), ('/home/nano/Desktop/images/14042025/23/31/image_14042025_23_31_14_9601.jpg', 2), ('/home/nano/Desktop/images/14042025/23/30/image_14042025_23_31_04_9568.jpg', 2), ('/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_55_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_24_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/32/image_14042025_23_32_34_10590.jpg', '/home/nano/Desktop/images/14042025/23/32/image_14042025_23_32_14_9582.jpg', '/home/nano/Desktop/images/14042025/23/31/image_14042025_23_31_14_9601.jpg', '/home/nano/Desktop/images/14042025/23/30/image_14042025_23_31_04_9568.jpg', '/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_55_10572.jpg', '/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_24_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/32/image_14042025_23_32_34_10590.jpg
/home/nano/Desktop/images/14042025/23/32/image_14042025_23_32_14_9582.jpg
/home/nano/Desktop/images/14042025/23/31/image_14042025_23_31_14_9601.jpg
/home/nano/Desktop/images/14042025/23/30/image_14042025_23_31_04_9568.jpg
/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_55_10572.jpg
/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_24_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353165526","1353165408","1353165491","1353165437","1353165562","1353165463"],"photo_ids_order":["1353165408","1353165437","1353165463","1353165491","1353165526","1353165562"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dde1abacf36ea7da75ec0e62e979e5f6.jpg","text":"TemporaryFile(/tmp/multipartBody1069341963143180582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438464186,"filename":"image_14042025_23_30_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35ba0eade40f69e3faa899f6f03ff445.jpg","text":"TemporaryFile(/tmp/multipartBody3095153535118184360asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438464186,"filename":"image_14042025_23_32_34_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4cc8bf73738675fbc43ba040faa57f8.jpg","text":"TemporaryFile(/tmp/multipartBody5785004054354173356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438464186,"filename":"image_14042025_23_31_04_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b644a0ef1abc30175a2bd0514ba76220.jpg","text":"TemporaryFile(/tmp/multipartBody3800457463019170962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438464186,"filename":"image_14042025_23_32_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a7cc2a341b2332aa4f614aa0589dba1c.jpg","text":"TemporaryFile(/tmp/multipartBody6341348926296248736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438464186,"filename":"image_14042025_23_30_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6c675bbd5c21baf1eca6edc7b0159260.jpg","text":"TemporaryFile(/tmp/multipartBody3808751650636353301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438464186,"filename":"image_14042025_23_31_14_9601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353165463","file1":"1353165437","file0":"1353165408","file4":"1353165526","file5":"1353165562","file3":"1353165491"},"map_files_photo_id_array":[{"photo_id":"1353165562","filename":"file5"},{"photo_id":"1353165463","filename":"file2"},{"photo_id":"1353165526","filename":"file4"},{"photo_id":"1353165437","filename":"file1"},{"photo_id":"1353165408","filename":"file0"},{"photo_id":"1353165491","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353165526":["hashtag1","hashtag2"]},{"1353165408":["hashtag1","hashtag2"]},{"1353165491":["hashtag1","hashtag2"]},{"1353165437":["hashtag1","hashtag2"]},{"1353165562":["hashtag1","hashtag2"]},{"1353165463":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353165526, 1353165408, 1353165491, 1353165437, 1353165562, 1353165463)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.123159646987915 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:01:03.040278
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_14_10589.jpg', 2), ('/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_54_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_45_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_34_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_24_10586.jpg', 2), ('/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_54_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_14_10589.jpg', '/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_54_9563.jpg', '/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_45_10574.jpg', '/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_34_9562.jpg', '/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_24_10586.jpg', '/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_54_9562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/30/image_14042025_23_30_14_10589.jpg
/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_54_9563.jpg
/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_45_10574.jpg
/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_34_9562.jpg
/home/nano/Desktop/images/14042025/23/29/image_14042025_23_29_24_10586.jpg
/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_54_9562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166126","1353166170","1353166164","1353166029","1353166175","1353166085"],"photo_ids_order":["1353166029","1353166085","1353166126","1353166164","1353166170","1353166175"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bee3246501fd6a7e15d493af1ae4ab9.jpg","text":"TemporaryFile(/tmp/multipartBody2390291767757702681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438524789,"filename":"image_14042025_23_29_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28a6cbb9bf89b1b989e713b0cdbd067d.jpg","text":"TemporaryFile(/tmp/multipartBody6531322400164519063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438524789,"filename":"image_14042025_23_29_24_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed0eac3cf4898c4c5e21e25b0d65fe8a.jpg","text":"TemporaryFile(/tmp/multipartBody4707860056847180078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438524789,"filename":"image_14042025_23_29_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1bc2721c1c07164dd9abae58312bce1.jpg","text":"TemporaryFile(/tmp/multipartBody2780931296559317224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438524789,"filename":"image_14042025_23_30_14_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ae6aea5d52c452866c1e83ed92a66e34.jpg","text":"TemporaryFile(/tmp/multipartBody4849364746202932324asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438524789,"filename":"image_14042025_23_28_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e996cae1adb6979bdcd7a996c8792b71.jpg","text":"TemporaryFile(/tmp/multipartBody8189305832917732782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438524789,"filename":"image_14042025_23_29_54_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166126","file1":"1353166085","file0":"1353166029","file4":"1353166170","file5":"1353166175","file3":"1353166164"},"map_files_photo_id_array":[{"photo_id":"1353166175","filename":"file5"},{"photo_id":"1353166126","filename":"file2"},{"photo_id":"1353166170","filename":"file4"},{"photo_id":"1353166085","filename":"file1"},{"photo_id":"1353166029","filename":"file0"},{"photo_id":"1353166164","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166126":["hashtag1","hashtag2"]},{"1353166170":["hashtag1","hashtag2"]},{"1353166164":["hashtag1","hashtag2"]},{"1353166029":["hashtag1","hashtag2"]},{"1353166175":["hashtag1","hashtag2"]},{"1353166085":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166126, 1353166170, 1353166164, 1353166029, 1353166175, 1353166085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.21167874336243 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:02:03.031543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_35_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_24_9560.jpg', 2), ('/home/nano/Desktop/images/14042025/23/27/image_14042025_23_27_45_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/26/image_14042025_23_27_04_10579.jpg', 2), ('/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_54_9560.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_44_9565.jpg', '/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_35_10574.jpg', '/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_24_9560.jpg', '/home/nano/Desktop/images/14042025/23/27/image_14042025_23_27_45_10574.jpg', '/home/nano/Desktop/images/14042025/23/26/image_14042025_23_27_04_10579.jpg', '/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_54_9560.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_44_9565.jpg
/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_35_10574.jpg
/home/nano/Desktop/images/14042025/23/28/image_14042025_23_28_24_9560.jpg
/home/nano/Desktop/images/14042025/23/27/image_14042025_23_27_45_10574.jpg
/home/nano/Desktop/images/14042025/23/26/image_14042025_23_27_04_10579.jpg
/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_54_9560.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166257","1353166266","1353166271","1353166247","1353166276","1353166291"],"photo_ids_order":["1353166247","1353166257","1353166266","1353166271","1353166276","1353166291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d6cd4844bb119886b2192543b428130.jpg","text":"TemporaryFile(/tmp/multipartBody4265068886731797304asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438584905,"filename":"image_14042025_23_28_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acaf60410b50886dcdf6ac87d5fe7fe6.jpg","text":"TemporaryFile(/tmp/multipartBody7885660716012900504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438584905,"filename":"image_14042025_23_28_24_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d5785413c2d0cd719c97f1be43448035.jpg","text":"TemporaryFile(/tmp/multipartBody7884323868363885400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438584905,"filename":"image_14042025_23_27_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4d357fbc69d6dd67640d265db1b4db84.jpg","text":"TemporaryFile(/tmp/multipartBody5957161399201617709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438584905,"filename":"image_14042025_23_28_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5fc8727dbaf5cbc198cb640c557b6603.jpg","text":"TemporaryFile(/tmp/multipartBody1591959754941202352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438584905,"filename":"image_14042025_23_27_04_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dab3b842e51b71b3b269e1e5646a100c.jpg","text":"TemporaryFile(/tmp/multipartBody6370767286749877151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438584905,"filename":"image_14042025_23_26_54_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166266","file1":"1353166257","file0":"1353166247","file4":"1353166276","file5":"1353166291","file3":"1353166271"},"map_files_photo_id_array":[{"photo_id":"1353166291","filename":"file5"},{"photo_id":"1353166266","filename":"file2"},{"photo_id":"1353166276","filename":"file4"},{"photo_id":"1353166257","filename":"file1"},{"photo_id":"1353166247","filename":"file0"},{"photo_id":"1353166271","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166257":["hashtag1","hashtag2"]},{"1353166266":["hashtag1","hashtag2"]},{"1353166271":["hashtag1","hashtag2"]},{"1353166247":["hashtag1","hashtag2"]},{"1353166276":["hashtag1","hashtag2"]},{"1353166291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166257, 1353166266, 1353166271, 1353166247, 1353166276, 1353166291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.835116147994995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:03:03.123112
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_24_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_15_10589.jpg', 2), ('/home/nano/Desktop/images/14042025/23/25/image_14042025_23_26_04_9567.jpg', 2), ('/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_44_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_34_9581.jpg', 2), ('/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_25_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_24_9565.jpg', '/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_15_10589.jpg', '/home/nano/Desktop/images/14042025/23/25/image_14042025_23_26_04_9567.jpg', '/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_44_9563.jpg', '/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_34_9581.jpg', '/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_25_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_24_9565.jpg
/home/nano/Desktop/images/14042025/23/26/image_14042025_23_26_15_10589.jpg
/home/nano/Desktop/images/14042025/23/25/image_14042025_23_26_04_9567.jpg
/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_44_9563.jpg
/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_34_9581.jpg
/home/nano/Desktop/images/14042025/23/25/image_14042025_23_25_25_10572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166482","1353166470","1353166464","1353166478","1353166466","1353166474"],"photo_ids_order":["1353166464","1353166466","1353166470","1353166474","1353166478","1353166482"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f6e6b21c927765e1a7cb0fc0365354f.jpg","text":"TemporaryFile(/tmp/multipartBody5173384010072822942asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438644494,"filename":"image_14042025_23_25_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa8372cd762a1d00a83955089b18dd4a.jpg","text":"TemporaryFile(/tmp/multipartBody8851239671702327173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438644494,"filename":"image_14042025_23_26_04_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/052ca7bfe2507bd087aec851ffd5d383.jpg","text":"TemporaryFile(/tmp/multipartBody4417292026413698308asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438644494,"filename":"image_14042025_23_26_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/59032e90bdcc9d72cfcee0cac9f5be22.jpg","text":"TemporaryFile(/tmp/multipartBody7034077551998354478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438644494,"filename":"image_14042025_23_25_34_9581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2ec4c6e738315bd543856d2c8fb56f20.jpg","text":"TemporaryFile(/tmp/multipartBody8089926826441003724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438644494,"filename":"image_14042025_23_26_15_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b767a5943d37375c3e3402e2a45ae1a3.jpg","text":"TemporaryFile(/tmp/multipartBody1076010096032035345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438644494,"filename":"image_14042025_23_25_44_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166470","file1":"1353166466","file0":"1353166464","file4":"1353166478","file5":"1353166482","file3":"1353166474"},"map_files_photo_id_array":[{"photo_id":"1353166482","filename":"file5"},{"photo_id":"1353166470","filename":"file2"},{"photo_id":"1353166478","filename":"file4"},{"photo_id":"1353166466","filename":"file1"},{"photo_id":"1353166464","filename":"file0"},{"photo_id":"1353166474","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166482":["hashtag1","hashtag2"]},{"1353166470":["hashtag1","hashtag2"]},{"1353166464":["hashtag1","hashtag2"]},{"1353166478":["hashtag1","hashtag2"]},{"1353166466":["hashtag1","hashtag2"]},{"1353166474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166482, 1353166470, 1353166464, 1353166478, 1353166466, 1353166474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.44682431221008 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:04:03.376552
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/23/image_14042025_23_24_04_9580.jpg', 2), ('/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_54_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_44_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_34_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_24_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/22/image_14042025_23_23_05_10577.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/23/image_14042025_23_24_04_9580.jpg', '/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_54_10571.jpg', '/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_44_9561.jpg', '/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_34_10572.jpg', '/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_24_9563.jpg', '/home/nano/Desktop/images/14042025/23/22/image_14042025_23_23_05_10577.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/23/image_14042025_23_24_04_9580.jpg
/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_54_10571.jpg
/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_44_9561.jpg
/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_34_10572.jpg
/home/nano/Desktop/images/14042025/23/23/image_14042025_23_23_24_9563.jpg
/home/nano/Desktop/images/14042025/23/22/image_14042025_23_23_05_10577.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166521","1353166515","1353166530","1353166532","1353166526","1353166510"],"photo_ids_order":["1353166510","1353166515","1353166521","1353166526","1353166530","1353166532"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8afbb6baef67af02c38c6f23a8e00d5c.jpg","text":"TemporaryFile(/tmp/multipartBody6565433751647602803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438704959,"filename":"image_14042025_23_23_44_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/67d1944d4c6fc19386e597711dd4c4ee.jpg","text":"TemporaryFile(/tmp/multipartBody1370346859747022950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438704959,"filename":"image_14042025_23_23_54_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e27211865534a15609f001a0440be4b.jpg","text":"TemporaryFile(/tmp/multipartBody8533596127268784663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438704959,"filename":"image_14042025_23_23_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b7cde61a6d7962c61ceb35d9a46f1b8f.jpg","text":"TemporaryFile(/tmp/multipartBody7622557718345989612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438704959,"filename":"image_14042025_23_23_05_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e30e80a0ffa62a6e04a1182249bd618.jpg","text":"TemporaryFile(/tmp/multipartBody7728528038438644160asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438704959,"filename":"image_14042025_23_23_34_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f8ac4f510beb16361f453a27e9102542.jpg","text":"TemporaryFile(/tmp/multipartBody5774958085137729377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438704959,"filename":"image_14042025_23_24_04_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166521","file1":"1353166515","file0":"1353166510","file4":"1353166530","file5":"1353166532","file3":"1353166526"},"map_files_photo_id_array":[{"photo_id":"1353166532","filename":"file5"},{"photo_id":"1353166521","filename":"file2"},{"photo_id":"1353166530","filename":"file4"},{"photo_id":"1353166515","filename":"file1"},{"photo_id":"1353166510","filename":"file0"},{"photo_id":"1353166526","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166521":["hashtag1","hashtag2"]},{"1353166515":["hashtag1","hashtag2"]},{"1353166530":["hashtag1","hashtag2"]},{"1353166532":["hashtag1","hashtag2"]},{"1353166526":["hashtag1","hashtag2"]},{"1353166510":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166521, 1353166515, 1353166530, 1353166532, 1353166526, 1353166510)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.843055963516235 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:05:02.410268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_54_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_34_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_24_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/21/image_14042025_23_22_04_9587.jpg', 2), ('/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_55_10570.jpg', 2), ('/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_44_9568.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_54_9563.jpg', '/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_34_9562.jpg', '/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_24_10572.jpg', '/home/nano/Desktop/images/14042025/23/21/image_14042025_23_22_04_9587.jpg', '/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_55_10570.jpg', '/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_44_9568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_54_9563.jpg
/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_34_9562.jpg
/home/nano/Desktop/images/14042025/23/22/image_14042025_23_22_24_10572.jpg
/home/nano/Desktop/images/14042025/23/21/image_14042025_23_22_04_9587.jpg
/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_55_10570.jpg
/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_44_9568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166599","1353166584","1353166589","1353166601","1353166594","1353166582"],"photo_ids_order":["1353166582","1353166584","1353166589","1353166594","1353166599","1353166601"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/acd6b49a76cb863f5ce087eb96c5459e.jpg","text":"TemporaryFile(/tmp/multipartBody3836400724162637173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438763882,"filename":"image_14042025_23_21_55_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad8652843ad1a1d167038e3eba16b29f.jpg","text":"TemporaryFile(/tmp/multipartBody5183193640884584846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438763882,"filename":"image_14042025_23_22_34_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a018f6a2ecac313e1fcb5a8ccbed4bd1.jpg","text":"TemporaryFile(/tmp/multipartBody372266744894057813asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438763882,"filename":"image_14042025_23_22_24_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0d94f034c72a77fa563d8017d158f68.jpg","text":"TemporaryFile(/tmp/multipartBody1995088333421294992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438763882,"filename":"image_14042025_23_21_44_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/04c529cb626ee8edd47f69d0f2d1dc9f.jpg","text":"TemporaryFile(/tmp/multipartBody4404191360533048193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438763882,"filename":"image_14042025_23_22_04_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b20a74a014a694fa284596c4745d2744.jpg","text":"TemporaryFile(/tmp/multipartBody7556250206674751535asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438763882,"filename":"image_14042025_23_22_54_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166589","file1":"1353166584","file0":"1353166582","file4":"1353166599","file5":"1353166601","file3":"1353166594"},"map_files_photo_id_array":[{"photo_id":"1353166601","filename":"file5"},{"photo_id":"1353166589","filename":"file2"},{"photo_id":"1353166599","filename":"file4"},{"photo_id":"1353166584","filename":"file1"},{"photo_id":"1353166582","filename":"file0"},{"photo_id":"1353166594","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166599":["hashtag1","hashtag2"]},{"1353166584":["hashtag1","hashtag2"]},{"1353166589":["hashtag1","hashtag2"]},{"1353166601":["hashtag1","hashtag2"]},{"1353166594":["hashtag1","hashtag2"]},{"1353166582":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166599, 1353166584, 1353166589, 1353166601, 1353166594, 1353166582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.15709066390991 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:06:02.379268
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_34_10587.jpg', 2), ('/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_14_10596.jpg', 2), ('/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_45_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_34_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_14_9580.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_34_10587.jpg', '/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_14_10596.jpg', '/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_54_9561.jpg', '/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_45_10573.jpg', '/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_34_9563.jpg', '/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_14_9580.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_34_10587.jpg
/home/nano/Desktop/images/14042025/23/21/image_14042025_23_21_14_10596.jpg
/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_54_9561.jpg
/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_45_10573.jpg
/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_34_9563.jpg
/home/nano/Desktop/images/14042025/23/20/image_14042025_23_20_14_9580.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166621","1353166650","1353166680","1353166710","1353166628","1353166645"],"photo_ids_order":["1353166621","1353166628","1353166645","1353166650","1353166680","1353166710"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b07624017f78b026c69c14124628c827.jpg","text":"TemporaryFile(/tmp/multipartBody6915859534998720645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438824077,"filename":"image_14042025_23_21_34_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6858d51fea561e0c1989968c0c2a77f5.jpg","text":"TemporaryFile(/tmp/multipartBody3640014492817539241asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438824077,"filename":"image_14042025_23_20_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/87df125fc8271ff98644e6ecc8605139.jpg","text":"TemporaryFile(/tmp/multipartBody808561579221126741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438824077,"filename":"image_14042025_23_20_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69d833844e7d6279db927d293f223d24.jpg","text":"TemporaryFile(/tmp/multipartBody2026330583321681677asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438824077,"filename":"image_14042025_23_20_14_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7fd7351e79e512cb407152359eacf520.jpg","text":"TemporaryFile(/tmp/multipartBody5974703226652307501asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438824077,"filename":"image_14042025_23_21_14_10596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/be22f15cab2f7e2c56f3ea0530e03fbc.jpg","text":"TemporaryFile(/tmp/multipartBody2560978649739408818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438824077,"filename":"image_14042025_23_20_54_9561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166645","file1":"1353166628","file0":"1353166621","file4":"1353166680","file5":"1353166710","file3":"1353166650"},"map_files_photo_id_array":[{"photo_id":"1353166710","filename":"file5"},{"photo_id":"1353166645","filename":"file2"},{"photo_id":"1353166680","filename":"file4"},{"photo_id":"1353166628","filename":"file1"},{"photo_id":"1353166621","filename":"file0"},{"photo_id":"1353166650","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166621":["hashtag1","hashtag2"]},{"1353166650":["hashtag1","hashtag2"]},{"1353166680":["hashtag1","hashtag2"]},{"1353166710":["hashtag1","hashtag2"]},{"1353166628":["hashtag1","hashtag2"]},{"1353166645":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166621, 1353166650, 1353166680, 1353166710, 1353166628, 1353166645)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.9345338344574 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:07:02.705292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/19/image_14042025_23_20_04_10577.jpg', 2), ('/home/nano/Desktop/images/14042025/23/19/image_14042025_23_19_14_10592.jpg', 2), ('/home/nano/Desktop/images/14042025/23/18/image_14042025_23_19_04_9580.jpg', 2), ('/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_54_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_34_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_14_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/19/image_14042025_23_20_04_10577.jpg', '/home/nano/Desktop/images/14042025/23/19/image_14042025_23_19_14_10592.jpg', '/home/nano/Desktop/images/14042025/23/18/image_14042025_23_19_04_9580.jpg', '/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_54_10573.jpg', '/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_34_9564.jpg', '/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_14_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/19/image_14042025_23_20_04_10577.jpg
/home/nano/Desktop/images/14042025/23/19/image_14042025_23_19_14_10592.jpg
/home/nano/Desktop/images/14042025/23/18/image_14042025_23_19_04_9580.jpg
/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_54_10573.jpg
/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_34_9564.jpg
/home/nano/Desktop/images/14042025/23/18/image_14042025_23_18_14_9585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353166903","1353166839","1353166911","1353166941","1353166871","1353166897"],"photo_ids_order":["1353166839","1353166871","1353166897","1353166903","1353166911","1353166941"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/79dc8eb31e387642852ad83dbb319e87.jpg","text":"TemporaryFile(/tmp/multipartBody7485379240141184400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438884304,"filename":"image_14042025_23_18_54_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/900ac01e00d3ddf9c3b8c84af94a42bd.jpg","text":"TemporaryFile(/tmp/multipartBody7451645344924034671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438884304,"filename":"image_14042025_23_20_04_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57c537d6a09bfdd5c8295cfd944ddd1a.jpg","text":"TemporaryFile(/tmp/multipartBody273787209312919526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438884304,"filename":"image_14042025_23_18_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/946b4a5047e2b96de64e92add0d7daa2.jpg","text":"TemporaryFile(/tmp/multipartBody1914254023517112636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438884304,"filename":"image_14042025_23_18_14_9585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9b8896eda7b4f63d06bd07a2552b59af.jpg","text":"TemporaryFile(/tmp/multipartBody5991763355578083697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438884304,"filename":"image_14042025_23_19_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4e462b89bd31c41b17b0710223c52259.jpg","text":"TemporaryFile(/tmp/multipartBody3612808764789278342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438884304,"filename":"image_14042025_23_19_04_9580.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353166897","file1":"1353166871","file0":"1353166839","file4":"1353166911","file5":"1353166941","file3":"1353166903"},"map_files_photo_id_array":[{"photo_id":"1353166941","filename":"file5"},{"photo_id":"1353166897","filename":"file2"},{"photo_id":"1353166911","filename":"file4"},{"photo_id":"1353166871","filename":"file1"},{"photo_id":"1353166839","filename":"file0"},{"photo_id":"1353166903","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353166903":["hashtag1","hashtag2"]},{"1353166839":["hashtag1","hashtag2"]},{"1353166911":["hashtag1","hashtag2"]},{"1353166941":["hashtag1","hashtag2"]},{"1353166871":["hashtag1","hashtag2"]},{"1353166897":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353166903, 1353166839, 1353166911, 1353166941, 1353166871, 1353166897)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.49996089935303 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:08:02.580222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/17/image_14042025_23_18_04_10588.jpg', 2), ('/home/nano/Desktop/images/14042025/23/17/image_14042025_23_17_24_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/16/image_14042025_23_17_04_9568.jpg', 2), ('/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_54_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_25_10572.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/17/image_14042025_23_18_04_10588.jpg', '/home/nano/Desktop/images/14042025/23/17/image_14042025_23_17_24_9564.jpg', '/home/nano/Desktop/images/14042025/23/16/image_14042025_23_17_04_9568.jpg', '/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_54_10574.jpg', '/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_44_9565.jpg', '/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_25_10572.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/17/image_14042025_23_18_04_10588.jpg
/home/nano/Desktop/images/14042025/23/17/image_14042025_23_17_24_9564.jpg
/home/nano/Desktop/images/14042025/23/16/image_14042025_23_17_04_9568.jpg
/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_54_10574.jpg
/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_44_9565.jpg
/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_25_10572.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353167148","1353167188","1353167164","1353167125","1353167200","1353167203"],"photo_ids_order":["1353167125","1353167148","1353167164","1353167188","1353167200","1353167203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26e387b3dd0fcdf7d5265603a2519524.jpg","text":"TemporaryFile(/tmp/multipartBody8149745965938866162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438944173,"filename":"image_14042025_23_17_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1ecea6a2775768455af7ec15a999d8b.jpg","text":"TemporaryFile(/tmp/multipartBody1468657521678023663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438944173,"filename":"image_14042025_23_16_54_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/20a2c7836d806bbba1a4a074e9f8a172.jpg","text":"TemporaryFile(/tmp/multipartBody2356271602993411986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438944173,"filename":"image_14042025_23_17_04_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15baf9fd57c8ef05076e4e5fcfce2ee1.jpg","text":"TemporaryFile(/tmp/multipartBody1183944103530968424asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438944173,"filename":"image_14042025_23_18_04_10588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/334b864b0e236a6ae93c94fbd87e3055.jpg","text":"TemporaryFile(/tmp/multipartBody5155341834819870646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438944173,"filename":"image_14042025_23_16_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5c3c4ff28f8a841983ce0dae8f861d92.jpg","text":"TemporaryFile(/tmp/multipartBody702535640141837313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745438944173,"filename":"image_14042025_23_16_25_10572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353167164","file1":"1353167148","file0":"1353167125","file4":"1353167200","file5":"1353167203","file3":"1353167188"},"map_files_photo_id_array":[{"photo_id":"1353167203","filename":"file5"},{"photo_id":"1353167164","filename":"file2"},{"photo_id":"1353167200","filename":"file4"},{"photo_id":"1353167148","filename":"file1"},{"photo_id":"1353167125","filename":"file0"},{"photo_id":"1353167188","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353167148":["hashtag1","hashtag2"]},{"1353167188":["hashtag1","hashtag2"]},{"1353167164":["hashtag1","hashtag2"]},{"1353167125":["hashtag1","hashtag2"]},{"1353167200":["hashtag1","hashtag2"]},{"1353167203":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353167148, 1353167188, 1353167164, 1353167125, 1353167200, 1353167203)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.83448505401611 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:09:03.427861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_14_9602.jpg', 2), ('/home/nano/Desktop/images/14042025/23/15/image_14042025_23_16_05_10600.jpg', 2), ('/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_44_10593.jpg', 2), ('/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_34_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_15_10600.jpg', 2), ('/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_44_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_14_9602.jpg', '/home/nano/Desktop/images/14042025/23/15/image_14042025_23_16_05_10600.jpg', '/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_44_10593.jpg', '/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_34_9566.jpg', '/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_15_10600.jpg', '/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_44_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/16/image_14042025_23_16_14_9602.jpg
/home/nano/Desktop/images/14042025/23/15/image_14042025_23_16_05_10600.jpg
/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_44_10593.jpg
/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_34_9566.jpg
/home/nano/Desktop/images/14042025/23/15/image_14042025_23_15_15_10600.jpg
/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_44_9565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353167259","1353167378","1353167287","1353167374","1353167344","1353167317"],"photo_ids_order":["1353167259","1353167287","1353167317","1353167344","1353167374","1353167378"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aefe17a57461b14e7ccd17859033f42c.jpg","text":"TemporaryFile(/tmp/multipartBody6553517386090386874asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439005357,"filename":"image_14042025_23_16_14_9602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/458b13a8d4b3a610464455e9950ce46d.jpg","text":"TemporaryFile(/tmp/multipartBody1933958357091804338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439005357,"filename":"image_14042025_23_14_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1f64462dfe8d75ae076eccf2441a917f.jpg","text":"TemporaryFile(/tmp/multipartBody6449517766566138256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439005357,"filename":"image_14042025_23_16_05_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/662cfa3107b8d8b1c745adbc9ffffa4b.jpg","text":"TemporaryFile(/tmp/multipartBody1279636929683878092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439005357,"filename":"image_14042025_23_15_15_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee6361e9a44e5b957d7048b6d6392831.jpg","text":"TemporaryFile(/tmp/multipartBody4467731026769915331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439005357,"filename":"image_14042025_23_15_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88f9f6d708a78c60937471e940a4649d.jpg","text":"TemporaryFile(/tmp/multipartBody1137787703256225479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439005357,"filename":"image_14042025_23_15_44_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353167317","file1":"1353167287","file0":"1353167259","file4":"1353167374","file5":"1353167378","file3":"1353167344"},"map_files_photo_id_array":[{"photo_id":"1353167378","filename":"file5"},{"photo_id":"1353167317","filename":"file2"},{"photo_id":"1353167374","filename":"file4"},{"photo_id":"1353167287","filename":"file1"},{"photo_id":"1353167259","filename":"file0"},{"photo_id":"1353167344","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353167259":["hashtag1","hashtag2"]},{"1353167378":["hashtag1","hashtag2"]},{"1353167287":["hashtag1","hashtag2"]},{"1353167374":["hashtag1","hashtag2"]},{"1353167344":["hashtag1","hashtag2"]},{"1353167317":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353167259, 1353167378, 1353167287, 1353167374, 1353167344, 1353167317)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.77439260482788 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:10:02.584289
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_34_9580.jpg', 2), ('/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_14_9576.jpg', 2), ('/home/nano/Desktop/images/14042025/23/13/image_14042025_23_14_05_10582.jpg', 2), ('/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_44_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_34_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_24_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_34_9580.jpg', '/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_14_9576.jpg', '/home/nano/Desktop/images/14042025/23/13/image_14042025_23_14_05_10582.jpg', '/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_44_10572.jpg', '/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_34_9564.jpg', '/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_24_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_34_9580.jpg
/home/nano/Desktop/images/14042025/23/14/image_14042025_23_14_14_9576.jpg
/home/nano/Desktop/images/14042025/23/13/image_14042025_23_14_05_10582.jpg
/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_44_10572.jpg
/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_34_9564.jpg
/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_24_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353167445","1353167424","1353167438","1353167453","1353167411","1353167417"],"photo_ids_order":["1353167411","1353167417","1353167424","1353167438","1353167445","1353167453"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5606c315868ff10f77b08ce5be9f551d.jpg","text":"TemporaryFile(/tmp/multipartBody8840284699725416747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439064443,"filename":"image_14042025_23_13_34_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a1111f795b7bbd46528e44f1291af763.jpg","text":"TemporaryFile(/tmp/multipartBody972870663231626762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439064443,"filename":"image_14042025_23_14_05_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f1cc79015dff9dac7ff359efbe27363.jpg","text":"TemporaryFile(/tmp/multipartBody6163625160574286468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439064443,"filename":"image_14042025_23_13_44_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f117c93b84303c4a9b05dd4ed08b696c.jpg","text":"TemporaryFile(/tmp/multipartBody7074937224753341513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439064443,"filename":"image_14042025_23_13_24_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f05dbc2c11b07563ddd6e0b67f3bebbb.jpg","text":"TemporaryFile(/tmp/multipartBody1956555435755177711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439064443,"filename":"image_14042025_23_14_34_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d45204cc30c659edafc4ee0331ba478.jpg","text":"TemporaryFile(/tmp/multipartBody831797641327873926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439064443,"filename":"image_14042025_23_14_14_9576.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353167424","file1":"1353167417","file0":"1353167411","file4":"1353167445","file5":"1353167453","file3":"1353167438"},"map_files_photo_id_array":[{"photo_id":"1353167453","filename":"file5"},{"photo_id":"1353167424","filename":"file2"},{"photo_id":"1353167445","filename":"file4"},{"photo_id":"1353167417","filename":"file1"},{"photo_id":"1353167411","filename":"file0"},{"photo_id":"1353167438","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353167445":["hashtag1","hashtag2"]},{"1353167424":["hashtag1","hashtag2"]},{"1353167438":["hashtag1","hashtag2"]},{"1353167453":["hashtag1","hashtag2"]},{"1353167411":["hashtag1","hashtag2"]},{"1353167417":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353167445, 1353167424, 1353167438, 1353167453, 1353167411, 1353167417)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.73125433921814 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:11:03.156745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_15_10585.jpg', 2), ('/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_34_10577.jpg', 2), ('/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_24_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_14_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/23/11/image_14042025_23_12_05_10581.jpg', 2), ('/home/nano/Desktop/images/14042025/23/11/image_14042025_23_11_24_10571.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_15_10585.jpg', '/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_34_10577.jpg', '/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_24_9562.jpg', '/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_14_9583.jpg', '/home/nano/Desktop/images/14042025/23/11/image_14042025_23_12_05_10581.jpg', '/home/nano/Desktop/images/14042025/23/11/image_14042025_23_11_24_10571.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/13/image_14042025_23_13_15_10585.jpg
/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_34_10577.jpg
/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_24_9562.jpg
/home/nano/Desktop/images/14042025/23/12/image_14042025_23_12_14_9583.jpg
/home/nano/Desktop/images/14042025/23/11/image_14042025_23_12_05_10581.jpg
/home/nano/Desktop/images/14042025/23/11/image_14042025_23_11_24_10571.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353167739","1353167588","1353167777","1353167822","1353167659","1353167851"],"photo_ids_order":["1353167588","1353167659","1353167739","1353167777","1353167822","1353167851"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7607b0029f68f994ba75215d531ad667.jpg","text":"TemporaryFile(/tmp/multipartBody6786287620159061246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439124587,"filename":"image_14042025_23_12_24_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/38aa0c2c7859e835968c4583094e1444.jpg","text":"TemporaryFile(/tmp/multipartBody7151782281875610746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439124587,"filename":"image_14042025_23_13_15_10585.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/856eebe7a5416ac815b2b36916caf326.jpg","text":"TemporaryFile(/tmp/multipartBody8249882420248624417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439124587,"filename":"image_14042025_23_12_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d8e736a28088965b79ac4d106549834.jpg","text":"TemporaryFile(/tmp/multipartBody7217723153005381266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439124587,"filename":"image_14042025_23_12_05_10581.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d56bb57b1a2f350c3e6ca339421fc92.jpg","text":"TemporaryFile(/tmp/multipartBody4384226903352900712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439124587,"filename":"image_14042025_23_12_34_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/72dfecd74f048a66c45a76fb393fffaa.jpg","text":"TemporaryFile(/tmp/multipartBody3976271975064955860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439124587,"filename":"image_14042025_23_11_24_10571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353167739","file1":"1353167659","file0":"1353167588","file4":"1353167822","file5":"1353167851","file3":"1353167777"},"map_files_photo_id_array":[{"photo_id":"1353167851","filename":"file5"},{"photo_id":"1353167739","filename":"file2"},{"photo_id":"1353167822","filename":"file4"},{"photo_id":"1353167659","filename":"file1"},{"photo_id":"1353167588","filename":"file0"},{"photo_id":"1353167777","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353167739":["hashtag1","hashtag2"]},{"1353167588":["hashtag1","hashtag2"]},{"1353167777":["hashtag1","hashtag2"]},{"1353167822":["hashtag1","hashtag2"]},{"1353167659":["hashtag1","hashtag2"]},{"1353167851":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353167739, 1353167588, 1353167777, 1353167822, 1353167659, 1353167851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.36981654167175 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:12:03.041283
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/11/image_14042025_23_11_14_9581.jpg', 2), ('/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_55_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_44_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_35_10570.jpg', 2), ('/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_14_10591.jpg', 2), ('/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_54_9559.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/11/image_14042025_23_11_14_9581.jpg', '/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_55_10572.jpg', '/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_44_9562.jpg', '/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_35_10570.jpg', '/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_14_10591.jpg', '/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_54_9559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/11/image_14042025_23_11_14_9581.jpg
/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_55_10572.jpg
/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_44_9562.jpg
/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_35_10570.jpg
/home/nano/Desktop/images/14042025/23/10/image_14042025_23_10_14_10591.jpg
/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_54_9559.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353168027","1353168047","1353168023","1353168058","1353168031","1353168019"],"photo_ids_order":["1353168019","1353168023","1353168027","1353168031","1353168047","1353168058"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fb48f2b06241559bce634092852354cc.jpg","text":"TemporaryFile(/tmp/multipartBody4176353166747924867asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439184410,"filename":"image_14042025_23_10_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9c093b1051989ef6660249d11d3b7e79.jpg","text":"TemporaryFile(/tmp/multipartBody6323439651954303002asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439184410,"filename":"image_14042025_23_10_14_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6726a3eb19f7768692959d6eefc99c14.jpg","text":"TemporaryFile(/tmp/multipartBody6615619217989748244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439184410,"filename":"image_14042025_23_10_55_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8c795d1dec5e8c4fc3ca38d3ff15faf.jpg","text":"TemporaryFile(/tmp/multipartBody1812416338971332014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439184410,"filename":"image_14042025_23_09_54_9559.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/21ce46340bc35d1a5cdbfe89f9b48801.jpg","text":"TemporaryFile(/tmp/multipartBody6415995095599577238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439184410,"filename":"image_14042025_23_10_35_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3711ff281219ca2232aefc7ed8f11cd2.jpg","text":"TemporaryFile(/tmp/multipartBody5959171690386369872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439184410,"filename":"image_14042025_23_11_14_9581.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353168027","file1":"1353168023","file0":"1353168019","file4":"1353168047","file5":"1353168058","file3":"1353168031"},"map_files_photo_id_array":[{"photo_id":"1353168058","filename":"file5"},{"photo_id":"1353168027","filename":"file2"},{"photo_id":"1353168047","filename":"file4"},{"photo_id":"1353168023","filename":"file1"},{"photo_id":"1353168019","filename":"file0"},{"photo_id":"1353168031","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353168027":["hashtag1","hashtag2"]},{"1353168047":["hashtag1","hashtag2"]},{"1353168023":["hashtag1","hashtag2"]},{"1353168058":["hashtag1","hashtag2"]},{"1353168031":["hashtag1","hashtag2"]},{"1353168019":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353168027, 1353168047, 1353168023, 1353168058, 1353168031, 1353168019)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 30.637139081954956 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:13:03.354542
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_45_10587.jpg', 2), ('/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_34_9576.jpg', 2), ('/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_25_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_14_9582.jpg', 2), ('/home/nano/Desktop/images/14042025/23/08/image_14042025_23_09_04_10598.jpg', 2), ('/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_54_9561.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_45_10587.jpg', '/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_34_9576.jpg', '/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_25_10576.jpg', '/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_14_9582.jpg', '/home/nano/Desktop/images/14042025/23/08/image_14042025_23_09_04_10598.jpg', '/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_54_9561.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_45_10587.jpg
/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_34_9576.jpg
/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_25_10576.jpg
/home/nano/Desktop/images/14042025/23/09/image_14042025_23_09_14_9582.jpg
/home/nano/Desktop/images/14042025/23/08/image_14042025_23_09_04_10598.jpg
/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_54_9561.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353168138","1353168143","1353168149","1353168142","1353168145","1353168147"],"photo_ids_order":["1353168138","1353168142","1353168143","1353168145","1353168147","1353168149"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc89bd92a55970f662952e419c57f599.jpg","text":"TemporaryFile(/tmp/multipartBody4620346562512680561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439245032,"filename":"image_14042025_23_09_45_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55c6097d6169e776818de907c11eebe4.jpg","text":"TemporaryFile(/tmp/multipartBody829070940782485023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439245032,"filename":"image_14042025_23_09_25_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7a67020c6bf5d4f83d2dd7f305c848be.jpg","text":"TemporaryFile(/tmp/multipartBody99091107568276805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439245032,"filename":"image_14042025_23_08_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bf94993922efa6ff66514162780a75ba.jpg","text":"TemporaryFile(/tmp/multipartBody4535836888212989417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439245032,"filename":"image_14042025_23_09_34_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f674e8e8d34677b6eb431e33bb1e7c70.jpg","text":"TemporaryFile(/tmp/multipartBody4122263999214596055asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439245032,"filename":"image_14042025_23_09_14_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/33cfe8058818721820e372a63df591d8.jpg","text":"TemporaryFile(/tmp/multipartBody6717047646103467231asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439245032,"filename":"image_14042025_23_09_04_10598.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353168143","file1":"1353168142","file0":"1353168138","file4":"1353168147","file5":"1353168149","file3":"1353168145"},"map_files_photo_id_array":[{"photo_id":"1353168149","filename":"file5"},{"photo_id":"1353168143","filename":"file2"},{"photo_id":"1353168147","filename":"file4"},{"photo_id":"1353168142","filename":"file1"},{"photo_id":"1353168138","filename":"file0"},{"photo_id":"1353168145","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353168138":["hashtag1","hashtag2"]},{"1353168143":["hashtag1","hashtag2"]},{"1353168149":["hashtag1","hashtag2"]},{"1353168142":["hashtag1","hashtag2"]},{"1353168145":["hashtag1","hashtag2"]},{"1353168147":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353168138, 1353168143, 1353168149, 1353168142, 1353168145, 1353168147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.50202250480652 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:14:03.344117
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_43_9728.jpg', 2), ('/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_34_9673.jpg', 2), ('/home/nano/Desktop/images/23042025/21/56/image_23042025_21_57_04_9723.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_43_9728.jpg', '/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_34_9673.jpg', '/home/nano/Desktop/images/23042025/21/56/image_23042025_21_57_04_9723.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_43_9728.jpg
/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_34_9673.jpg
/home/nano/Desktop/images/23042025/21/56/image_23042025_21_57_04_9723.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353168518","1353168500","1353168522"],"photo_ids_order":["1353168500","1353168518","1353168522"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7347b44cf93d347013f9d964d799eaed.jpg","text":"TemporaryFile(/tmp/multipartBody8703560537672633428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439304645,"filename":"image_23042025_22_13_34_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e381138e6534a4aa6ab9125ebe76c04.jpg","text":"TemporaryFile(/tmp/multipartBody8255525982491119028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439304645,"filename":"image_23042025_22_13_43_9728.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6b9320b8a4969b71abfa06884132d0e.jpg","text":"TemporaryFile(/tmp/multipartBody4688058778155929773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439304645,"filename":"image_23042025_21_57_04_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353168522","file1":"1353168518","file0":"1353168500"},"map_files_photo_id_array":[{"photo_id":"1353168522","filename":"file2"},{"photo_id":"1353168518","filename":"file1"},{"photo_id":"1353168500","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353168518":["hashtag1","hashtag2"]},{"1353168500":["hashtag1","hashtag2"]},{"1353168522":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353168518, 1353168500, 1353168522)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.62231159210205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:14:32.709950
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/14/image_23042025_22_14_23_9744.jpg', 2), ('/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_54_10743.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/14/image_23042025_22_14_23_9744.jpg', '/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_54_10743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/14/image_23042025_22_14_23_9744.jpg
/home/nano/Desktop/images/23042025/22/13/image_23042025_22_13_54_10743.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353168640","1353168798"],"photo_ids_order":["1353168640","1353168798"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e647127ccb95cadf69bbaa37c009eb2c.jpg","text":"TemporaryFile(/tmp/multipartBody7096435140327442036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439333641,"filename":"image_23042025_22_14_23_9744.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55d1bff708a5738cee275b24cddb1027.jpg","text":"TemporaryFile(/tmp/multipartBody3101413232547777898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439333641,"filename":"image_23042025_22_13_54_10743.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353168798","file0":"1353168640"},"map_files_photo_id_array":[{"photo_id":"1353168798","filename":"file1"},{"photo_id":"1353168640","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353168640":["hashtag1","hashtag2"]},{"1353168798":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353168640, 1353168798)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.185407638549805 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:15:02.557462
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_35_10569.jpg', 2), ('/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_24_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_15_10601.jpg', 2), ('/home/nano/Desktop/images/14042025/23/07/image_14042025_23_08_04_9575.jpg', 2), ('/home/nano/Desktop/images/14042025/23/06/image_14042025_23_06_24_9565.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_44_9565.jpg', '/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_35_10569.jpg', '/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_24_9563.jpg', '/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_15_10601.jpg', '/home/nano/Desktop/images/14042025/23/07/image_14042025_23_08_04_9575.jpg', '/home/nano/Desktop/images/14042025/23/06/image_14042025_23_06_24_9565.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_44_9565.jpg
/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_35_10569.jpg
/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_24_9563.jpg
/home/nano/Desktop/images/14042025/23/08/image_14042025_23_08_15_10601.jpg
/home/nano/Desktop/images/14042025/23/07/image_14042025_23_08_04_9575.jpg
/home/nano/Desktop/images/14042025/23/06/image_14042025_23_06_24_9565.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353169058","1353169001","1353169141","1353169029","1353169203","1353169088"],"photo_ids_order":["1353169001","1353169029","1353169058","1353169088","1353169141","1353169203"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9f27e9f65bcb3588fffa96eca229aa65.jpg","text":"TemporaryFile(/tmp/multipartBody6988473770986153249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439364289,"filename":"image_14042025_23_08_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/01fc7481044f378f87293cf4ffa260e2.jpg","text":"TemporaryFile(/tmp/multipartBody4503280579257625934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439364289,"filename":"image_14042025_23_08_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e322ed039c1afcd07e1429e5fc47025e.jpg","text":"TemporaryFile(/tmp/multipartBody392183073450795301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439364289,"filename":"image_14042025_23_08_04_9575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ee0adc26aa4dfa9868d337efdce55891.jpg","text":"TemporaryFile(/tmp/multipartBody1707070966472907528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439364289,"filename":"image_14042025_23_08_35_10569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3a2137846d2c03f6b84c796c8e079d43.jpg","text":"TemporaryFile(/tmp/multipartBody7872516888722028247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439364289,"filename":"image_14042025_23_06_24_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/74ec3fb5f14bf173e5d7e2cbf96a5132.jpg","text":"TemporaryFile(/tmp/multipartBody7888718656555474747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439364289,"filename":"image_14042025_23_08_15_10601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353169058","file1":"1353169029","file0":"1353169001","file4":"1353169141","file5":"1353169203","file3":"1353169088"},"map_files_photo_id_array":[{"photo_id":"1353169203","filename":"file5"},{"photo_id":"1353169058","filename":"file2"},{"photo_id":"1353169141","filename":"file4"},{"photo_id":"1353169029","filename":"file1"},{"photo_id":"1353169001","filename":"file0"},{"photo_id":"1353169088","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353169058":["hashtag1","hashtag2"]},{"1353169001":["hashtag1","hashtag2"]},{"1353169141":["hashtag1","hashtag2"]},{"1353169029":["hashtag1","hashtag2"]},{"1353169203":["hashtag1","hashtag2"]},{"1353169088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353169058, 1353169001, 1353169141, 1353169029, 1353169203, 1353169088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01848244667053 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:16:02.476796
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_34_10685.jpg', 2), ('/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_24_9678.jpg', 2), ('/home/nano/Desktop/images/23042025/22/14/image_23042025_22_15_04_10688.jpg', 2), ('/home/nano/Desktop/images/23042025/22/14/image_23042025_22_14_53_9677.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_34_10685.jpg', '/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_24_9678.jpg', '/home/nano/Desktop/images/23042025/22/14/image_23042025_22_15_04_10688.jpg', '/home/nano/Desktop/images/23042025/22/14/image_23042025_22_14_53_9677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_34_10685.jpg
/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_24_9678.jpg
/home/nano/Desktop/images/23042025/22/14/image_23042025_22_15_04_10688.jpg
/home/nano/Desktop/images/23042025/22/14/image_23042025_22_14_53_9677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353169883","1353169783","1353169750","1353169630"],"photo_ids_order":["1353169630","1353169750","1353169783","1353169883"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d614d4fa8c08923dd4aa861d875e506d.jpg","text":"TemporaryFile(/tmp/multipartBody1927906464634286496asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439423775,"filename":"image_23042025_22_14_53_9677.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c2ae7c4ba58da13c81244f74345c7014.jpg","text":"TemporaryFile(/tmp/multipartBody4204678984466768422asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439423775,"filename":"image_23042025_22_15_04_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b1c761d854d3660b59fdc91e258430b.jpg","text":"TemporaryFile(/tmp/multipartBody5585243634370205147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439423775,"filename":"image_23042025_22_15_24_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ba6375bd2c0b31d8caaec6f203db81d.jpg","text":"TemporaryFile(/tmp/multipartBody5035861149862832860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439423775,"filename":"image_23042025_22_15_34_10685.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353169783","file1":"1353169750","file0":"1353169630","file3":"1353169883"},"map_files_photo_id_array":[{"photo_id":"1353169783","filename":"file2"},{"photo_id":"1353169750","filename":"file1"},{"photo_id":"1353169630","filename":"file0"},{"photo_id":"1353169883","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353169883":["hashtag1","hashtag2"]},{"1353169783":["hashtag1","hashtag2"]},{"1353169750":["hashtag1","hashtag2"]},{"1353169630":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353169883, 1353169783, 1353169750, 1353169630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.965585470199585 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:16:31.903648
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_24_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_14_9736.jpg', 2), ('/home/nano/Desktop/images/23042025/22/15/image_23042025_22_16_04_10695.jpg', 2), ('/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_54_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_24_9679.jpg', '/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_14_9736.jpg', '/home/nano/Desktop/images/23042025/22/15/image_23042025_22_16_04_10695.jpg', '/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_54_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_24_9679.jpg
/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_14_9736.jpg
/home/nano/Desktop/images/23042025/22/15/image_23042025_22_16_04_10695.jpg
/home/nano/Desktop/images/23042025/22/15/image_23042025_22_15_54_9675.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353170015","1353170179","1353170050","1353170079"],"photo_ids_order":["1353170015","1353170050","1353170079","1353170179"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05392cda6e0a53ff4a5935eda4918bff.jpg","text":"TemporaryFile(/tmp/multipartBody6294952042230218519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439453261,"filename":"image_23042025_22_16_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2a8c432ea83046691dfeda0e6a742bdb.jpg","text":"TemporaryFile(/tmp/multipartBody2980142482101227738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439453261,"filename":"image_23042025_22_15_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/517d0ec5c21a2969e9afa849975c7338.jpg","text":"TemporaryFile(/tmp/multipartBody3415346530902362541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439453261,"filename":"image_23042025_22_16_14_9736.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3cbf0c2164fe2697f36d4e8cab7ae64e.jpg","text":"TemporaryFile(/tmp/multipartBody9016906810317107105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439453261,"filename":"image_23042025_22_16_04_10695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353170079","file1":"1353170050","file0":"1353170015","file3":"1353170179"},"map_files_photo_id_array":[{"photo_id":"1353170079","filename":"file2"},{"photo_id":"1353170050","filename":"file1"},{"photo_id":"1353170015","filename":"file0"},{"photo_id":"1353170179","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353170015":["hashtag1","hashtag2"]},{"1353170179":["hashtag1","hashtag2"]},{"1353170050":["hashtag1","hashtag2"]},{"1353170079":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353170015, 1353170179, 1353170050, 1353170079)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.498083353042603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:17:02.692143
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/06/image_14042025_23_06_15_10594.jpg', 2), ('/home/nano/Desktop/images/14042025/23/02/image_14042025_23_02_45_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/23/02/image_14042025_23_02_34_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_55_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_44_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_35_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/06/image_14042025_23_06_15_10594.jpg', '/home/nano/Desktop/images/14042025/23/02/image_14042025_23_02_45_10574.jpg', '/home/nano/Desktop/images/14042025/23/02/image_14042025_23_02_34_9564.jpg', '/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_55_10573.jpg', '/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_44_9562.jpg', '/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_35_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/06/image_14042025_23_06_15_10594.jpg
/home/nano/Desktop/images/14042025/23/02/image_14042025_23_02_45_10574.jpg
/home/nano/Desktop/images/14042025/23/02/image_14042025_23_02_34_9564.jpg
/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_55_10573.jpg
/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_44_9562.jpg
/home/nano/Desktop/images/14042025/23/01/image_14042025_23_01_35_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353170486","1353170479","1353170488","1353170419","1353170496","1353170481"],"photo_ids_order":["1353170419","1353170479","1353170481","1353170486","1353170488","1353170496"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0f8d85cd2382c522e2e76934ed2bb17.jpg","text":"TemporaryFile(/tmp/multipartBody7557785854539960154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439484383,"filename":"image_14042025_23_01_55_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3184c29b1e4201903d29485e790d0171.jpg","text":"TemporaryFile(/tmp/multipartBody8687472496815475316asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439484383,"filename":"image_14042025_23_02_45_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e8bb227cd6c98bd5c7c787010f28ca8.jpg","text":"TemporaryFile(/tmp/multipartBody433691488354375271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439484383,"filename":"image_14042025_23_01_44_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7d19f6eaf457071d8c435c3d9362091a.jpg","text":"TemporaryFile(/tmp/multipartBody1406802300547307524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439484383,"filename":"image_14042025_23_06_15_10594.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/df71018ac9139b8c938ac46f3f2c519e.jpg","text":"TemporaryFile(/tmp/multipartBody8557075680213277329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439484383,"filename":"image_14042025_23_01_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d28a415e14b773c7ce075c17dda61376.jpg","text":"TemporaryFile(/tmp/multipartBody4924877011993378915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439484383,"filename":"image_14042025_23_02_34_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353170481","file1":"1353170479","file0":"1353170419","file4":"1353170488","file5":"1353170496","file3":"1353170486"},"map_files_photo_id_array":[{"photo_id":"1353170496","filename":"file5"},{"photo_id":"1353170481","filename":"file2"},{"photo_id":"1353170488","filename":"file4"},{"photo_id":"1353170479","filename":"file1"},{"photo_id":"1353170419","filename":"file0"},{"photo_id":"1353170486","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353170486":["hashtag1","hashtag2"]},{"1353170479":["hashtag1","hashtag2"]},{"1353170488":["hashtag1","hashtag2"]},{"1353170419":["hashtag1","hashtag2"]},{"1353170496":["hashtag1","hashtag2"]},{"1353170481":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353170486, 1353170479, 1353170488, 1353170419, 1353170496, 1353170481)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 44.072765827178955 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:18:02.701078
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_43_9936.jpg', 2), ('/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_33_9679.jpg', 2), ('/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_24_9676.jpg', 2), ('/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_33_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_43_9936.jpg', '/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_33_9679.jpg', '/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_24_9676.jpg', '/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_33_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_43_9936.jpg
/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_33_9679.jpg
/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_24_9676.jpg
/home/nano/Desktop/images/23042025/22/16/image_23042025_22_16_33_9696.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353170610","1353170648","1353170678","1353170621"],"photo_ids_order":["1353170610","1353170621","1353170648","1353170678"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/62a90360335e07701a954c169df03aeb.jpg","text":"TemporaryFile(/tmp/multipartBody8999152412625586798asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439544104,"filename":"image_23042025_22_17_43_9936.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55aea39972fd5a26eb13fc4e1985022b.jpg","text":"TemporaryFile(/tmp/multipartBody1532872150920187111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439544104,"filename":"image_23042025_22_17_24_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/de25c1b5262d7dd407be2c8500856206.jpg","text":"TemporaryFile(/tmp/multipartBody7713709228362780741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439544104,"filename":"image_23042025_22_16_33_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3667aec1d7867568f63a53ac856611bd.jpg","text":"TemporaryFile(/tmp/multipartBody311296561023838171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439544104,"filename":"image_23042025_22_17_33_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353170648","file1":"1353170621","file0":"1353170610","file3":"1353170678"},"map_files_photo_id_array":[{"photo_id":"1353170648","filename":"file2"},{"photo_id":"1353170621","filename":"file1"},{"photo_id":"1353170610","filename":"file0"},{"photo_id":"1353170678","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353170610":["hashtag1","hashtag2"]},{"1353170648":["hashtag1","hashtag2"]},{"1353170678":["hashtag1","hashtag2"]},{"1353170621":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353170610, 1353170648, 1353170678, 1353170621)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 23.747112035751343 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:18:32.145130
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/23/00/image_14042025_23_01_04_9570.jpg', 2), ('/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_54_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_45_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_34_9560.jpg', 2), ('/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_25_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_14_9578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/23/00/image_14042025_23_01_04_9570.jpg', '/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_54_9562.jpg', '/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_45_10572.jpg', '/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_34_9560.jpg', '/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_25_10573.jpg', '/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_14_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/23/00/image_14042025_23_01_04_9570.jpg
/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_54_9562.jpg
/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_45_10572.jpg
/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_34_9560.jpg
/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_25_10573.jpg
/home/nano/Desktop/images/14042025/23/00/image_14042025_23_00_14_9578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353170820","1353170867","1353170876","1353170878","1353170851","1353170871"],"photo_ids_order":["1353170820","1353170851","1353170867","1353170871","1353170876","1353170878"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4275686d3bad53013c7b46a761216910.jpg","text":"TemporaryFile(/tmp/multipartBody8084988478312403442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439573871,"filename":"image_14042025_23_01_04_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4a75ea90bf247dd8ba4e8a303920a882.jpg","text":"TemporaryFile(/tmp/multipartBody303492047399440910asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439573871,"filename":"image_14042025_23_00_45_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ccf2b3de824c03156157f7a6ff932328.jpg","text":"TemporaryFile(/tmp/multipartBody3646359545650791738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439573871,"filename":"image_14042025_23_00_25_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e9e3e08f81ceb8f27cc70202f7a198d9.jpg","text":"TemporaryFile(/tmp/multipartBody4258849371892070576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439573871,"filename":"image_14042025_23_00_14_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d15d692f3cf6982dfb4b04382034fb54.jpg","text":"TemporaryFile(/tmp/multipartBody5380347040799999363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439573871,"filename":"image_14042025_23_00_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/703eb2648bf32da10518085603c2c300.jpg","text":"TemporaryFile(/tmp/multipartBody3540959154222286250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439573871,"filename":"image_14042025_23_00_34_9560.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353170867","file1":"1353170851","file0":"1353170820","file4":"1353170876","file5":"1353170878","file3":"1353170871"},"map_files_photo_id_array":[{"photo_id":"1353170878","filename":"file5"},{"photo_id":"1353170867","filename":"file2"},{"photo_id":"1353170876","filename":"file4"},{"photo_id":"1353170851","filename":"file1"},{"photo_id":"1353170820","filename":"file0"},{"photo_id":"1353170871","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353170820":["hashtag1","hashtag2"]},{"1353170867":["hashtag1","hashtag2"]},{"1353170876":["hashtag1","hashtag2"]},{"1353170878":["hashtag1","hashtag2"]},{"1353170851":["hashtag1","hashtag2"]},{"1353170871":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353170820, 1353170867, 1353170876, 1353170878, 1353170851, 1353170871)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.81190228462219 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:19:32.276418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/59/image_14042025_23_00_04_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_54_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_24_9568.jpg', 2), ('/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_15_10586.jpg', 2), ('/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_54_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_44_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/59/image_14042025_23_00_04_10575.jpg', '/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_54_9564.jpg', '/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_24_9568.jpg', '/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_15_10586.jpg', '/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_54_10575.jpg', '/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_44_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/59/image_14042025_23_00_04_10575.jpg
/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_54_9564.jpg
/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_24_9568.jpg
/home/nano/Desktop/images/14042025/22/59/image_14042025_22_59_15_10586.jpg
/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_54_10575.jpg
/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_44_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353171088","1353171277","1353171223","1353171121","1353171153","1353171182"],"photo_ids_order":["1353171088","1353171121","1353171153","1353171182","1353171223","1353171277"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d65ef49af0752ec550462039b042d98f.jpg","text":"TemporaryFile(/tmp/multipartBody1477611518928963934asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439633986,"filename":"image_14042025_23_00_04_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8a2fada7ca6087221feb534b8d5bbe4.jpg","text":"TemporaryFile(/tmp/multipartBody7471419220853493986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439633986,"filename":"image_14042025_22_58_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/562764ea7a5c7a2eae98d0a017083f96.jpg","text":"TemporaryFile(/tmp/multipartBody7034755560111062364asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439633986,"filename":"image_14042025_22_58_54_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5315087050ae4ad0932d951e8bc0bc52.jpg","text":"TemporaryFile(/tmp/multipartBody1618560703143728375asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439633986,"filename":"image_14042025_22_59_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5698addf9e09cc695d405eab835c2c1.jpg","text":"TemporaryFile(/tmp/multipartBody6438375452222513563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439633986,"filename":"image_14042025_22_59_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb14f064cb634e20e2f7db6e2ab2eaba.jpg","text":"TemporaryFile(/tmp/multipartBody3772165102316877689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439633986,"filename":"image_14042025_22_59_15_10586.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353171153","file1":"1353171121","file0":"1353171088","file4":"1353171223","file5":"1353171277","file3":"1353171182"},"map_files_photo_id_array":[{"photo_id":"1353171277","filename":"file5"},{"photo_id":"1353171153","filename":"file2"},{"photo_id":"1353171223","filename":"file4"},{"photo_id":"1353171121","filename":"file1"},{"photo_id":"1353171088","filename":"file0"},{"photo_id":"1353171182","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353171088":["hashtag1","hashtag2"]},{"1353171277":["hashtag1","hashtag2"]},{"1353171223":["hashtag1","hashtag2"]},{"1353171121":["hashtag1","hashtag2"]},{"1353171153":["hashtag1","hashtag2"]},{"1353171182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353171088, 1353171277, 1353171223, 1353171121, 1353171153, 1353171182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.846880197525024 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:20:32.349555
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_34_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_25_10572.jpg', 2), ('/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_14_9587.jpg', 2), ('/home/nano/Desktop/images/14042025/22/57/image_14042025_22_58_05_10579.jpg', 2), ('/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_54_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_44_10570.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_34_9563.jpg', '/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_25_10572.jpg', '/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_14_9587.jpg', '/home/nano/Desktop/images/14042025/22/57/image_14042025_22_58_05_10579.jpg', '/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_54_9564.jpg', '/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_44_10570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_34_9563.jpg
/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_25_10572.jpg
/home/nano/Desktop/images/14042025/22/58/image_14042025_22_58_14_9587.jpg
/home/nano/Desktop/images/14042025/22/57/image_14042025_22_58_05_10579.jpg
/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_54_9564.jpg
/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_44_10570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353171839","1353171812","1353171751","1353171690","1353171723","1353171782"],"photo_ids_order":["1353171690","1353171723","1353171751","1353171782","1353171812","1353171839"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe77c1568ace5f940014f10ac0fee162.jpg","text":"TemporaryFile(/tmp/multipartBody1074091973580817039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439694039,"filename":"image_14042025_22_57_44_10570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9097e334e361c685bd9d9fcf3aa4345e.jpg","text":"TemporaryFile(/tmp/multipartBody1504588420131674185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439694039,"filename":"image_14042025_22_57_54_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8d9365fb0ea85aa51e39a93325c5b30.jpg","text":"TemporaryFile(/tmp/multipartBody1279487479592547875asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439694039,"filename":"image_14042025_22_58_14_9587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a3ff77522ba3484881fef2c3993c4eb.jpg","text":"TemporaryFile(/tmp/multipartBody7371230651821304765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439694039,"filename":"image_14042025_22_58_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5658789a40318b76ae774de8e251e80.jpg","text":"TemporaryFile(/tmp/multipartBody8453832941222843626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439694039,"filename":"image_14042025_22_58_25_10572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c8a15e7a2fc4d38e00a9d0a61b02d9bd.jpg","text":"TemporaryFile(/tmp/multipartBody4799515729847872282asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439694039,"filename":"image_14042025_22_58_05_10579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353171751","file1":"1353171723","file0":"1353171690","file4":"1353171812","file5":"1353171839","file3":"1353171782"},"map_files_photo_id_array":[{"photo_id":"1353171839","filename":"file5"},{"photo_id":"1353171751","filename":"file2"},{"photo_id":"1353171812","filename":"file4"},{"photo_id":"1353171723","filename":"file1"},{"photo_id":"1353171690","filename":"file0"},{"photo_id":"1353171782","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353171839":["hashtag1","hashtag2"]},{"1353171812":["hashtag1","hashtag2"]},{"1353171751":["hashtag1","hashtag2"]},{"1353171690":["hashtag1","hashtag2"]},{"1353171723":["hashtag1","hashtag2"]},{"1353171782":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353171839, 1353171812, 1353171751, 1353171690, 1353171723, 1353171782)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.403422355651855 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:21:32.461336
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/20/image_23042025_22_21_04_9657.jpg', 2), ('/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_54_10693.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/20/image_23042025_22_21_04_9657.jpg', '/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_54_10693.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/20/image_23042025_22_21_04_9657.jpg
/home/nano/Desktop/images/23042025/22/17/image_23042025_22_17_54_10693.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353172144","1353172204"],"photo_ids_order":["1353172144","1353172204"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/53297e2f2d9e15428e364c045918f27a.jpg","text":"TemporaryFile(/tmp/multipartBody8447839853293960502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439753346,"filename":"image_23042025_22_21_04_9657.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/42e406af19d73471c8570887c5bc0a86.jpg","text":"TemporaryFile(/tmp/multipartBody3213823945451394225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439753346,"filename":"image_23042025_22_17_54_10693.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353172204","file0":"1353172144"},"map_files_photo_id_array":[{"photo_id":"1353172204","filename":"file1"},{"photo_id":"1353172144","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353172144":["hashtag1","hashtag2"]},{"1353172204":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353172144, 1353172204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.610351800918579 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:22:03.107806
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_34_9560.jpg', 2), ('/home/nano/Desktop/images/14042025/22/56/image_14042025_22_57_04_9590.jpg', 2), ('/home/nano/Desktop/images/14042025/22/56/image_14042025_22_56_14_9577.jpg', 2), ('/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_54_9561.jpg', 2), ('/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_45_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_24_10573.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_34_9560.jpg', '/home/nano/Desktop/images/14042025/22/56/image_14042025_22_57_04_9590.jpg', '/home/nano/Desktop/images/14042025/22/56/image_14042025_22_56_14_9577.jpg', '/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_54_9561.jpg', '/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_45_10576.jpg', '/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_24_10573.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/57/image_14042025_22_57_34_9560.jpg
/home/nano/Desktop/images/14042025/22/56/image_14042025_22_57_04_9590.jpg
/home/nano/Desktop/images/14042025/22/56/image_14042025_22_56_14_9577.jpg
/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_54_9561.jpg
/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_45_10576.jpg
/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_24_10573.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353172804","1353172878","1353173087","1353172722","1353172970","1353173182"],"photo_ids_order":["1353172722","1353172804","1353172878","1353172970","1353173087","1353173182"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6e15be2c4ec6f2db82cce57279ccc447.jpg","text":"TemporaryFile(/tmp/multipartBody5686616927245636954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439785081,"filename":"image_14042025_22_57_04_9590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8a19e7cd7a91e87fa2712a546a24c576.jpg","text":"TemporaryFile(/tmp/multipartBody7141300530569982722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439785081,"filename":"image_14042025_22_56_14_9577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/998189e07083cb5e384f28a3392f63b1.jpg","text":"TemporaryFile(/tmp/multipartBody7557616449853002960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439785081,"filename":"image_14042025_22_55_45_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bf15a14b38a0197cffc519aeb0b26ac.jpg","text":"TemporaryFile(/tmp/multipartBody1192202722874286836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439785081,"filename":"image_14042025_22_57_34_9560.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aa5ec29f687bc5a95710ada75368856c.jpg","text":"TemporaryFile(/tmp/multipartBody4193540717450491371asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439785081,"filename":"image_14042025_22_55_54_9561.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d8a522038eef7fa8442cd41f2cd4e4f4.jpg","text":"TemporaryFile(/tmp/multipartBody8601523806856831305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439785081,"filename":"image_14042025_22_55_24_10573.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353172878","file1":"1353172804","file0":"1353172722","file4":"1353173087","file5":"1353173182","file3":"1353172970"},"map_files_photo_id_array":[{"photo_id":"1353173182","filename":"file5"},{"photo_id":"1353172878","filename":"file2"},{"photo_id":"1353173087","filename":"file4"},{"photo_id":"1353172804","filename":"file1"},{"photo_id":"1353172722","filename":"file0"},{"photo_id":"1353172970","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353172804":["hashtag1","hashtag2"]},{"1353172878":["hashtag1","hashtag2"]},{"1353173087":["hashtag1","hashtag2"]},{"1353172722":["hashtag1","hashtag2"]},{"1353172970":["hashtag1","hashtag2"]},{"1353173182":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353172804, 1353172878, 1353173087, 1353172722, 1353172970, 1353173182)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.19192409515381 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:23:03.423406
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_14_9585.jpg', 2), ('/home/nano/Desktop/images/14042025/22/54/image_14042025_22_54_34_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/22/54/image_14042025_22_54_24_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/22/53/image_14042025_22_54_04_9592.jpg', 2), ('/home/nano/Desktop/images/14042025/22/53/image_14042025_22_53_54_9562.jpg', 2), ('/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_55_10574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_14_9585.jpg', '/home/nano/Desktop/images/14042025/22/54/image_14042025_22_54_34_10573.jpg', '/home/nano/Desktop/images/14042025/22/54/image_14042025_22_54_24_9564.jpg', '/home/nano/Desktop/images/14042025/22/53/image_14042025_22_54_04_9592.jpg', '/home/nano/Desktop/images/14042025/22/53/image_14042025_22_53_54_9562.jpg', '/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_55_10574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/55/image_14042025_22_55_14_9585.jpg
/home/nano/Desktop/images/14042025/22/54/image_14042025_22_54_34_10573.jpg
/home/nano/Desktop/images/14042025/22/54/image_14042025_22_54_24_9564.jpg
/home/nano/Desktop/images/14042025/22/53/image_14042025_22_54_04_9592.jpg
/home/nano/Desktop/images/14042025/22/53/image_14042025_22_53_54_9562.jpg
/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_55_10574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353173701","1353173760","1353173748","1353173750","1353173732","1353173665"],"photo_ids_order":["1353173665","1353173701","1353173732","1353173748","1353173750","1353173760"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14736f9c8de566fcdfb02ed8f75597b8.jpg","text":"TemporaryFile(/tmp/multipartBody8397961295989455088asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439845330,"filename":"image_14042025_22_54_34_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/06c54031ec3ab8f411e13303323f65ad.jpg","text":"TemporaryFile(/tmp/multipartBody3331099544334613213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439845330,"filename":"image_14042025_22_52_55_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d6dcdec3af93580a28f0ecc11ea6ea3.jpg","text":"TemporaryFile(/tmp/multipartBody6467001041449548504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439845330,"filename":"image_14042025_22_54_04_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e41e5f5821901a823f5f0c5e8d216d59.jpg","text":"TemporaryFile(/tmp/multipartBody561179356323629507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439845330,"filename":"image_14042025_22_53_54_9562.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97d879500f0abd1a0ac58ee7cc88b195.jpg","text":"TemporaryFile(/tmp/multipartBody9052801919179919120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439845330,"filename":"image_14042025_22_54_24_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c905c574615412aad0539747cc44ea8f.jpg","text":"TemporaryFile(/tmp/multipartBody1327904657198540797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439845330,"filename":"image_14042025_22_55_14_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353173732","file1":"1353173701","file0":"1353173665","file4":"1353173750","file5":"1353173760","file3":"1353173748"},"map_files_photo_id_array":[{"photo_id":"1353173760","filename":"file5"},{"photo_id":"1353173732","filename":"file2"},{"photo_id":"1353173750","filename":"file4"},{"photo_id":"1353173701","filename":"file1"},{"photo_id":"1353173665","filename":"file0"},{"photo_id":"1353173748","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353173701":["hashtag1","hashtag2"]},{"1353173760":["hashtag1","hashtag2"]},{"1353173748":["hashtag1","hashtag2"]},{"1353173750":["hashtag1","hashtag2"]},{"1353173732":["hashtag1","hashtag2"]},{"1353173665":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353173701, 1353173760, 1353173748, 1353173750, 1353173732, 1353173665)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.78494381904602 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:24:02.451442
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_44_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_35_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_24_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_14_10592.jpg', 2), ('/home/nano/Desktop/images/14042025/22/51/image_14042025_22_52_04_9582.jpg', 2), ('/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_54_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_44_9563.jpg', '/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_35_10574.jpg', '/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_24_9564.jpg', '/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_14_10592.jpg', '/home/nano/Desktop/images/14042025/22/51/image_14042025_22_52_04_9582.jpg', '/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_54_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_44_9563.jpg
/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_35_10574.jpg
/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_24_9564.jpg
/home/nano/Desktop/images/14042025/22/52/image_14042025_22_52_14_10592.jpg
/home/nano/Desktop/images/14042025/22/51/image_14042025_22_52_04_9582.jpg
/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_54_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353174057","1353174197","1353174284","1353174140","1353174029","1353174088"],"photo_ids_order":["1353174029","1353174057","1353174088","1353174140","1353174197","1353174284"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c37a0fcc2cb3b6641b1e17576a5fbb1e.jpg","text":"TemporaryFile(/tmp/multipartBody2523260385209235110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439904339,"filename":"image_14042025_22_52_35_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dc5eefcc596c95cc336ae5c805bff0b7.jpg","text":"TemporaryFile(/tmp/multipartBody1828949229520968188asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439904339,"filename":"image_14042025_22_52_04_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/546183484c8fcc6cf69a12c8bdb04714.jpg","text":"TemporaryFile(/tmp/multipartBody4395082759743067047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439904339,"filename":"image_14042025_22_51_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3c64f4f69c3c119d6bfe2b27e0dfd6b9.jpg","text":"TemporaryFile(/tmp/multipartBody1579288335242317315asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439904339,"filename":"image_14042025_22_52_14_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d985d7bc50d878095b1065bc753386da.jpg","text":"TemporaryFile(/tmp/multipartBody1512855518022426550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439904339,"filename":"image_14042025_22_52_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/eb3334a3d32b39bcb66bcbe3ed89399f.jpg","text":"TemporaryFile(/tmp/multipartBody2916498214642074898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439904339,"filename":"image_14042025_22_52_24_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353174088","file1":"1353174057","file0":"1353174029","file4":"1353174197","file5":"1353174284","file3":"1353174140"},"map_files_photo_id_array":[{"photo_id":"1353174284","filename":"file5"},{"photo_id":"1353174088","filename":"file2"},{"photo_id":"1353174197","filename":"file4"},{"photo_id":"1353174057","filename":"file1"},{"photo_id":"1353174029","filename":"file0"},{"photo_id":"1353174140","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353174057":["hashtag1","hashtag2"]},{"1353174197":["hashtag1","hashtag2"]},{"1353174284":["hashtag1","hashtag2"]},{"1353174140":["hashtag1","hashtag2"]},{"1353174029":["hashtag1","hashtag2"]},{"1353174088":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353174057, 1353174197, 1353174284, 1353174140, 1353174029, 1353174088)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.76020121574402 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:25:02.540128
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_45_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_34_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_25_10574.jpg', 2), ('/home/nano/Desktop/images/14042025/22/50/image_14042025_22_51_04_10587.jpg', 2), ('/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_54_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_44_10588.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_45_10573.jpg', '/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_34_9566.jpg', '/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_25_10574.jpg', '/home/nano/Desktop/images/14042025/22/50/image_14042025_22_51_04_10587.jpg', '/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_54_9565.jpg', '/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_44_10588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_45_10573.jpg
/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_34_9566.jpg
/home/nano/Desktop/images/14042025/22/51/image_14042025_22_51_25_10574.jpg
/home/nano/Desktop/images/14042025/22/50/image_14042025_22_51_04_10587.jpg
/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_54_9565.jpg
/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_44_10588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353174808","1353174765","1353174806","1353174799","1353174784","1353174835"],"photo_ids_order":["1353174765","1353174784","1353174799","1353174806","1353174808","1353174835"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e5846f33d8ab60da9f1e5a461269b505.jpg","text":"TemporaryFile(/tmp/multipartBody7316880549343931418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439964434,"filename":"image_14042025_22_48_54_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4f282998db7277c05bd9a67ea823666.jpg","text":"TemporaryFile(/tmp/multipartBody3529942765786890474asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439964434,"filename":"image_14042025_22_51_45_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3d065486535375e580716b9c7b091854.jpg","text":"TemporaryFile(/tmp/multipartBody9055616395753408673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439964434,"filename":"image_14042025_22_51_04_10587.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ce873ad5282f92814290b21ff2f277c8.jpg","text":"TemporaryFile(/tmp/multipartBody6751900270644813074asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439964434,"filename":"image_14042025_22_51_25_10574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a9c9d43f89858c2b7cce5ccde028e8ce.jpg","text":"TemporaryFile(/tmp/multipartBody8094981907975096606asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439964434,"filename":"image_14042025_22_51_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/534d9985f5bd9d856c6c97ea2f9d5527.jpg","text":"TemporaryFile(/tmp/multipartBody3571636850674681723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745439964434,"filename":"image_14042025_22_48_44_10588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353174799","file1":"1353174784","file0":"1353174765","file4":"1353174808","file5":"1353174835","file3":"1353174806"},"map_files_photo_id_array":[{"photo_id":"1353174835","filename":"file5"},{"photo_id":"1353174799","filename":"file2"},{"photo_id":"1353174808","filename":"file4"},{"photo_id":"1353174784","filename":"file1"},{"photo_id":"1353174765","filename":"file0"},{"photo_id":"1353174806","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353174808":["hashtag1","hashtag2"]},{"1353174765":["hashtag1","hashtag2"]},{"1353174806":["hashtag1","hashtag2"]},{"1353174799":["hashtag1","hashtag2"]},{"1353174784":["hashtag1","hashtag2"]},{"1353174835":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353174808, 1353174765, 1353174806, 1353174799, 1353174784, 1353174835)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.608012437820435 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:26:02.514996
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_24_9570.jpg', 2), ('/home/nano/Desktop/images/14042025/22/47/image_14042025_22_47_54_10582.jpg', 2), ('/home/nano/Desktop/images/14042025/22/47/image_14042025_22_47_44_9570.jpg', 2), ('/home/nano/Desktop/images/14042025/22/46/image_14042025_22_46_34_9573.jpg', 2), ('/home/nano/Desktop/images/14042025/22/46/image_14042025_22_46_24_9576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/44/image_14042025_22_44_34_9574.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_24_9570.jpg', '/home/nano/Desktop/images/14042025/22/47/image_14042025_22_47_54_10582.jpg', '/home/nano/Desktop/images/14042025/22/47/image_14042025_22_47_44_9570.jpg', '/home/nano/Desktop/images/14042025/22/46/image_14042025_22_46_34_9573.jpg', '/home/nano/Desktop/images/14042025/22/46/image_14042025_22_46_24_9576.jpg', '/home/nano/Desktop/images/14042025/22/44/image_14042025_22_44_34_9574.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/48/image_14042025_22_48_24_9570.jpg
/home/nano/Desktop/images/14042025/22/47/image_14042025_22_47_54_10582.jpg
/home/nano/Desktop/images/14042025/22/47/image_14042025_22_47_44_9570.jpg
/home/nano/Desktop/images/14042025/22/46/image_14042025_22_46_34_9573.jpg
/home/nano/Desktop/images/14042025/22/46/image_14042025_22_46_24_9576.jpg
/home/nano/Desktop/images/14042025/22/44/image_14042025_22_44_34_9574.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353175335","1353175251","1353174990","1353175041","1353175413","1353174988"],"photo_ids_order":["1353174988","1353174990","1353175041","1353175251","1353175335","1353175413"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/18dee3494a14b77e9538218ba24d21ac.jpg","text":"TemporaryFile(/tmp/multipartBody4705531492193820292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440024523,"filename":"image_14042025_22_46_24_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d3f43b11685d2d9fffdeba03f8db1c18.jpg","text":"TemporaryFile(/tmp/multipartBody7310417936738355937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440024523,"filename":"image_14042025_22_46_34_9573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/81d22f6b6b76f67b7c16582b1d40ecb5.jpg","text":"TemporaryFile(/tmp/multipartBody5524941068005230448asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440024523,"filename":"image_14042025_22_47_54_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e8146e106497c0d080dd7df240243a05.jpg","text":"TemporaryFile(/tmp/multipartBody2465907843652904927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440024523,"filename":"image_14042025_22_47_44_9570.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1524cdc5f225945fd20b0abb90ec3829.jpg","text":"TemporaryFile(/tmp/multipartBody6590644985887801180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440024523,"filename":"image_14042025_22_44_34_9574.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f4a5d41dc73e11e144ff486a35b1b269.jpg","text":"TemporaryFile(/tmp/multipartBody4842762557035199982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440024523,"filename":"image_14042025_22_48_24_9570.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353175041","file1":"1353174990","file0":"1353174988","file4":"1353175335","file5":"1353175413","file3":"1353175251"},"map_files_photo_id_array":[{"photo_id":"1353175413","filename":"file5"},{"photo_id":"1353175041","filename":"file2"},{"photo_id":"1353175335","filename":"file4"},{"photo_id":"1353174990","filename":"file1"},{"photo_id":"1353174988","filename":"file0"},{"photo_id":"1353175251","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353175335":["hashtag1","hashtag2"]},{"1353175251":["hashtag1","hashtag2"]},{"1353174990":["hashtag1","hashtag2"]},{"1353175041":["hashtag1","hashtag2"]},{"1353175413":["hashtag1","hashtag2"]},{"1353174988":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353175335, 1353175251, 1353174990, 1353175041, 1353175413, 1353174988)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.009119510650635 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:27:02.747729
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/44/image_14042025_22_44_24_9569.jpg', 2), ('/home/nano/Desktop/images/14042025/22/43/image_14042025_22_44_04_9597.jpg', 2), ('/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_54_10583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_34_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_24_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/44/image_14042025_22_44_24_9569.jpg', '/home/nano/Desktop/images/14042025/22/43/image_14042025_22_44_04_9597.jpg', '/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_54_10583.jpg', '/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_44_9565.jpg', '/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_34_10573.jpg', '/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_24_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/44/image_14042025_22_44_24_9569.jpg
/home/nano/Desktop/images/14042025/22/43/image_14042025_22_44_04_9597.jpg
/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_54_10583.jpg
/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_44_9565.jpg
/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_34_10573.jpg
/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_24_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353175866","1353175895","1353175940","1353175786","1353175756","1353175816"],"photo_ids_order":["1353175756","1353175786","1353175816","1353175866","1353175895","1353175940"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/15800f08e7f6d3f661a32386961aee53.jpg","text":"TemporaryFile(/tmp/multipartBody2391637950896831498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440084073,"filename":"image_14042025_22_43_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d79918f8c8f7eb2bcb89c798629fc3c5.jpg","text":"TemporaryFile(/tmp/multipartBody2586663882227132182asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440084073,"filename":"image_14042025_22_43_34_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0b5e89f4ae8f192cfa49febaea9dfc8f.jpg","text":"TemporaryFile(/tmp/multipartBody7831431678871908696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440084073,"filename":"image_14042025_22_43_24_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a3f1b58020aded70e182d8be6b4a4acb.jpg","text":"TemporaryFile(/tmp/multipartBody5012799966664406007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440084073,"filename":"image_14042025_22_44_04_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f19021ead0dcdd99c9a64aa3555f6446.jpg","text":"TemporaryFile(/tmp/multipartBody2599032751118588763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440084073,"filename":"image_14042025_22_44_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d4996046b8dd3fc472ee12fec8c2e161.jpg","text":"TemporaryFile(/tmp/multipartBody6929277567363519913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440084073,"filename":"image_14042025_22_43_54_10583.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353175816","file1":"1353175786","file0":"1353175756","file4":"1353175895","file5":"1353175940","file3":"1353175866"},"map_files_photo_id_array":[{"photo_id":"1353175940","filename":"file5"},{"photo_id":"1353175816","filename":"file2"},{"photo_id":"1353175895","filename":"file4"},{"photo_id":"1353175786","filename":"file1"},{"photo_id":"1353175756","filename":"file0"},{"photo_id":"1353175866","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353175866":["hashtag1","hashtag2"]},{"1353175895":["hashtag1","hashtag2"]},{"1353175940":["hashtag1","hashtag2"]},{"1353175786":["hashtag1","hashtag2"]},{"1353175756":["hashtag1","hashtag2"]},{"1353175816":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353175866, 1353175895, 1353175940, 1353175786, 1353175756, 1353175816)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.122411489486694 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:28:02.811771
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_14_9597.jpg', 2), ('/home/nano/Desktop/images/14042025/22/42/image_14042025_22_43_05_10605.jpg', 2), ('/home/nano/Desktop/images/14042025/22/42/image_14042025_22_42_54_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/42/image_14042025_22_42_15_10591.jpg', 2), ('/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_44_9564.jpg', 2), ('/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_24_9579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_14_9597.jpg', '/home/nano/Desktop/images/14042025/22/42/image_14042025_22_43_05_10605.jpg', '/home/nano/Desktop/images/14042025/22/42/image_14042025_22_42_54_9566.jpg', '/home/nano/Desktop/images/14042025/22/42/image_14042025_22_42_15_10591.jpg', '/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_44_9564.jpg', '/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_24_9579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/43/image_14042025_22_43_14_9597.jpg
/home/nano/Desktop/images/14042025/22/42/image_14042025_22_43_05_10605.jpg
/home/nano/Desktop/images/14042025/22/42/image_14042025_22_42_54_9566.jpg
/home/nano/Desktop/images/14042025/22/42/image_14042025_22_42_15_10591.jpg
/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_44_9564.jpg
/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_24_9579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353176135","1353176114","1353176117","1353176125","1353176121","1353176130"],"photo_ids_order":["1353176114","1353176117","1353176121","1353176125","1353176130","1353176135"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5447da5f46da7baf3754a0429bdb8d99.jpg","text":"TemporaryFile(/tmp/multipartBody3783771606000975009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440144770,"filename":"image_14042025_22_41_24_9579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4bf336a5a319f73350caa1e8ab5af58a.jpg","text":"TemporaryFile(/tmp/multipartBody8862637115938155690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440144770,"filename":"image_14042025_22_43_14_9597.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c7ab470c3cac0161062a8f63cd9e0570.jpg","text":"TemporaryFile(/tmp/multipartBody760163523402886444asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440144770,"filename":"image_14042025_22_43_05_10605.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fc7201f4661de55b8b2af73491556a7.jpg","text":"TemporaryFile(/tmp/multipartBody5781980663556098019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440144770,"filename":"image_14042025_22_42_15_10591.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3e39dbcc055615b9524fc03117c229a.jpg","text":"TemporaryFile(/tmp/multipartBody4367802397803221133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440144770,"filename":"image_14042025_22_42_54_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c11ac12c47291d60889b1295e07cf212.jpg","text":"TemporaryFile(/tmp/multipartBody1071152262635944044asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440144770,"filename":"image_14042025_22_41_44_9564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353176121","file1":"1353176117","file0":"1353176114","file4":"1353176130","file5":"1353176135","file3":"1353176125"},"map_files_photo_id_array":[{"photo_id":"1353176135","filename":"file5"},{"photo_id":"1353176121","filename":"file2"},{"photo_id":"1353176130","filename":"file4"},{"photo_id":"1353176117","filename":"file1"},{"photo_id":"1353176114","filename":"file0"},{"photo_id":"1353176125","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353176135":["hashtag1","hashtag2"]},{"1353176114":["hashtag1","hashtag2"]},{"1353176117":["hashtag1","hashtag2"]},{"1353176125":["hashtag1","hashtag2"]},{"1353176121":["hashtag1","hashtag2"]},{"1353176130":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353176135, 1353176114, 1353176117, 1353176125, 1353176121, 1353176130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.01287865638733 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:29:03.343964
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_24_9675.jpg', 2), ('/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_14_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/22/27/image_23042025_22_28_04_10698.jpg', 2), ('/home/nano/Desktop/images/23042025/22/21/image_23042025_22_21_13_9710.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_24_9675.jpg', '/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_14_9696.jpg', '/home/nano/Desktop/images/23042025/22/27/image_23042025_22_28_04_10698.jpg', '/home/nano/Desktop/images/23042025/22/21/image_23042025_22_21_13_9710.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_24_9675.jpg
/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_14_9696.jpg
/home/nano/Desktop/images/23042025/22/27/image_23042025_22_28_04_10698.jpg
/home/nano/Desktop/images/23042025/22/21/image_23042025_22_21_13_9710.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353176306","1353176356","1353176329","1353176301"],"photo_ids_order":["1353176301","1353176306","1353176329","1353176356"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e97b19022409b4b6900e35532172693.jpg","text":"TemporaryFile(/tmp/multipartBody3076306356343686470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440204766,"filename":"image_23042025_22_28_14_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1a9ee0e886739b7f00346ea19e7ffeba.jpg","text":"TemporaryFile(/tmp/multipartBody3508107406013371435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440204766,"filename":"image_23042025_22_21_13_9710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22e6cb47aa7cfb87fa18f2ef7564feb2.jpg","text":"TemporaryFile(/tmp/multipartBody1712459724200728792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440204766,"filename":"image_23042025_22_28_04_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9f420d6cc5d732dd35fe691bd5e8feb.jpg","text":"TemporaryFile(/tmp/multipartBody8831828104029531545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440204766,"filename":"image_23042025_22_28_24_9675.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353176329","file1":"1353176306","file0":"1353176301","file3":"1353176356"},"map_files_photo_id_array":[{"photo_id":"1353176329","filename":"file2"},{"photo_id":"1353176306","filename":"file1"},{"photo_id":"1353176301","filename":"file0"},{"photo_id":"1353176356","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353176306":["hashtag1","hashtag2"]},{"1353176356":["hashtag1","hashtag2"]},{"1353176329":["hashtag1","hashtag2"]},{"1353176301":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353176306, 1353176356, 1353176329, 1353176301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 25.211047649383545 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:29:32.254317
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/29/image_23042025_22_29_14_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/22/28/image_23042025_22_29_04_10705.jpg', 2), ('/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_34_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/29/image_23042025_22_29_14_9705.jpg', '/home/nano/Desktop/images/23042025/22/28/image_23042025_22_29_04_10705.jpg', '/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_34_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/29/image_23042025_22_29_14_9705.jpg
/home/nano/Desktop/images/23042025/22/28/image_23042025_22_29_04_10705.jpg
/home/nano/Desktop/images/23042025/22/28/image_23042025_22_28_34_10681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353176396","1353176426","1353176389"],"photo_ids_order":["1353176389","1353176396","1353176426"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b477584826450daab9a1629b9aae709.jpg","text":"TemporaryFile(/tmp/multipartBody8162173261342699740asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440233493,"filename":"image_23042025_22_29_04_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6cd559d395d812ab517cf0e00803510.jpg","text":"TemporaryFile(/tmp/multipartBody2310727259313145664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440233493,"filename":"image_23042025_22_28_34_10681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4780da9d41b23a4bbb83460ece0b8de.jpg","text":"TemporaryFile(/tmp/multipartBody2404084160056379556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440233493,"filename":"image_23042025_22_29_14_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353176426","file1":"1353176396","file0":"1353176389"},"map_files_photo_id_array":[{"photo_id":"1353176426","filename":"file2"},{"photo_id":"1353176396","filename":"file1"},{"photo_id":"1353176389","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353176396":["hashtag1","hashtag2"]},{"1353176426":["hashtag1","hashtag2"]},{"1353176389":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353176396, 1353176426, 1353176389)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.613112688064575 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:30:02.880418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_14_9609.jpg', 2), ('/home/nano/Desktop/images/14042025/22/40/image_14042025_22_41_05_10592.jpg', 2), ('/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_54_9567.jpg', 2), ('/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_44_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_34_9567.jpg', 2), ('/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_24_10592.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_14_9609.jpg', '/home/nano/Desktop/images/14042025/22/40/image_14042025_22_41_05_10592.jpg', '/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_54_9567.jpg', '/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_44_10575.jpg', '/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_34_9567.jpg', '/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_24_10592.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/41/image_14042025_22_41_14_9609.jpg
/home/nano/Desktop/images/14042025/22/40/image_14042025_22_41_05_10592.jpg
/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_54_9567.jpg
/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_44_10575.jpg
/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_34_9567.jpg
/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_24_10592.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353176474","1353176462","1353176491","1353176479","1353176469","1353176484"],"photo_ids_order":["1353176462","1353176469","1353176474","1353176479","1353176484","1353176491"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0aa21de7c0c5eb243ed583bfc6fa6c8b.jpg","text":"TemporaryFile(/tmp/multipartBody6555744081513463878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440264693,"filename":"image_14042025_22_40_54_9567.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c6bb3ca35638b5df473660deb611c93f.jpg","text":"TemporaryFile(/tmp/multipartBody3794142367413180156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440264693,"filename":"image_14042025_22_41_14_9609.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5060677b51fd3dc6814afab16d5e6be1.jpg","text":"TemporaryFile(/tmp/multipartBody6211506453931838763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440264693,"filename":"image_14042025_22_40_24_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f5dc0d46d54779878f8909effb51a842.jpg","text":"TemporaryFile(/tmp/multipartBody2583439521576002563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440264693,"filename":"image_14042025_22_40_44_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e37cb6afa33c365e9ed0786ca251c3ad.jpg","text":"TemporaryFile(/tmp/multipartBody7206341127877279166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440264693,"filename":"image_14042025_22_41_05_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/422ef9defe8121720f006f2d3e2d993b.jpg","text":"TemporaryFile(/tmp/multipartBody7931357541861822567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440264693,"filename":"image_14042025_22_40_34_9567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353176474","file1":"1353176469","file0":"1353176462","file4":"1353176484","file5":"1353176491","file3":"1353176479"},"map_files_photo_id_array":[{"photo_id":"1353176491","filename":"file5"},{"photo_id":"1353176474","filename":"file2"},{"photo_id":"1353176484","filename":"file4"},{"photo_id":"1353176469","filename":"file1"},{"photo_id":"1353176462","filename":"file0"},{"photo_id":"1353176479","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353176474":["hashtag1","hashtag2"]},{"1353176462":["hashtag1","hashtag2"]},{"1353176491":["hashtag1","hashtag2"]},{"1353176479":["hashtag1","hashtag2"]},{"1353176469":["hashtag1","hashtag2"]},{"1353176484":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353176474, 1353176462, 1353176491, 1353176479, 1353176469, 1353176484)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.344295263290405 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:31:03.207501
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_14_9603.jpg', 2), ('/home/nano/Desktop/images/14042025/22/39/image_14042025_22_40_04_9572.jpg', 2), ('/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_55_10582.jpg', 2), ('/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_44_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_34_10592.jpg', 2), ('/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_24_9566.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_14_9603.jpg', '/home/nano/Desktop/images/14042025/22/39/image_14042025_22_40_04_9572.jpg', '/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_55_10582.jpg', '/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_44_9583.jpg', '/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_34_10592.jpg', '/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_24_9566.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/40/image_14042025_22_40_14_9603.jpg
/home/nano/Desktop/images/14042025/22/39/image_14042025_22_40_04_9572.jpg
/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_55_10582.jpg
/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_44_9583.jpg
/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_34_10592.jpg
/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_24_9566.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353176873","1353176927","1353176918","1353176920","1353176937","1353176703"],"photo_ids_order":["1353176703","1353176873","1353176918","1353176920","1353176927","1353176937"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/583f3b3a649c106de39fd24d61131308.jpg","text":"TemporaryFile(/tmp/multipartBody8340594002584108674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440324988,"filename":"image_14042025_22_40_04_9572.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/54eb598c94e9254425ba1c9baf53a536.jpg","text":"TemporaryFile(/tmp/multipartBody7865878563326575263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440324988,"filename":"image_14042025_22_39_34_10592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bec822008be1ac47e41c56b7be88eed6.jpg","text":"TemporaryFile(/tmp/multipartBody7345650789760066183asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440324988,"filename":"image_14042025_22_39_55_10582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ab3bccb996bd70122d67d62299d349de.jpg","text":"TemporaryFile(/tmp/multipartBody2344212791175049370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440324988,"filename":"image_14042025_22_39_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57e821b88a0af57e490a944664bb2cca.jpg","text":"TemporaryFile(/tmp/multipartBody3744453498349287927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440324988,"filename":"image_14042025_22_39_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/69fd6f89956e8c0bd06971ee1f65a6ad.jpg","text":"TemporaryFile(/tmp/multipartBody8283002173816168566asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440324988,"filename":"image_14042025_22_40_14_9603.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353176918","file1":"1353176873","file0":"1353176703","file4":"1353176927","file5":"1353176937","file3":"1353176920"},"map_files_photo_id_array":[{"photo_id":"1353176937","filename":"file5"},{"photo_id":"1353176918","filename":"file2"},{"photo_id":"1353176927","filename":"file4"},{"photo_id":"1353176873","filename":"file1"},{"photo_id":"1353176703","filename":"file0"},{"photo_id":"1353176920","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353176873":["hashtag1","hashtag2"]},{"1353176927":["hashtag1","hashtag2"]},{"1353176918":["hashtag1","hashtag2"]},{"1353176920":["hashtag1","hashtag2"]},{"1353176937":["hashtag1","hashtag2"]},{"1353176703":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353176873, 1353176927, 1353176918, 1353176920, 1353176937, 1353176703)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.18265414237976 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:32:03.083120
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_14_9596.jpg', 2), ('/home/nano/Desktop/images/14042025/22/38/image_14042025_22_39_05_10586.jpg', 2), ('/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_44_10591.jpg', 2), ('/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_34_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_24_9569.jpg', 2), ('/home/nano/Desktop/images/14042025/22/37/image_14042025_22_38_04_9600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_14_9596.jpg', '/home/nano/Desktop/images/14042025/22/38/image_14042025_22_39_05_10586.jpg', '/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_44_10591.jpg', '/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_34_9583.jpg', '/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_24_9569.jpg', '/home/nano/Desktop/images/14042025/22/37/image_14042025_22_38_04_9600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/39/image_14042025_22_39_14_9596.jpg
/home/nano/Desktop/images/14042025/22/38/image_14042025_22_39_05_10586.jpg
/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_44_10591.jpg
/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_34_9583.jpg
/home/nano/Desktop/images/14042025/22/38/image_14042025_22_38_24_9569.jpg
/home/nano/Desktop/images/14042025/22/37/image_14042025_22_38_04_9600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353177428","1353177419","1353177355","1353177328","1353177423","1353177398"],"photo_ids_order":["1353177328","1353177355","1353177398","1353177419","1353177423","1353177428"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8d721647c89fd0dbb2c92d2c63fe4528.jpg","text":"TemporaryFile(/tmp/multipartBody6760029102295295779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440385430,"filename":"image_14042025_22_38_04_9600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84315f96553a5309ae6c39817d3fb879.jpg","text":"TemporaryFile(/tmp/multipartBody172043412618813850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440385430,"filename":"image_14042025_22_38_34_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/51deb02e67201e27aa8f9554ae12e5cd.jpg","text":"TemporaryFile(/tmp/multipartBody894889002464203058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440385430,"filename":"image_14042025_22_39_05_10586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/84bdefc8a749691951af9db8c5445986.jpg","text":"TemporaryFile(/tmp/multipartBody4805583699443224069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440385430,"filename":"image_14042025_22_39_14_9596.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/36e961a774ce0824cc64b66f2e4d6670.jpg","text":"TemporaryFile(/tmp/multipartBody2513563844632111244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440385430,"filename":"image_14042025_22_38_24_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/19d8ad25631f071fedf7d3f00888f856.jpg","text":"TemporaryFile(/tmp/multipartBody3252616872354792739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440385430,"filename":"image_14042025_22_38_44_10591.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353177398","file1":"1353177355","file0":"1353177328","file4":"1353177423","file5":"1353177428","file3":"1353177419"},"map_files_photo_id_array":[{"photo_id":"1353177428","filename":"file5"},{"photo_id":"1353177398","filename":"file2"},{"photo_id":"1353177423","filename":"file4"},{"photo_id":"1353177355","filename":"file1"},{"photo_id":"1353177328","filename":"file0"},{"photo_id":"1353177419","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353177428":["hashtag1","hashtag2"]},{"1353177419":["hashtag1","hashtag2"]},{"1353177355":["hashtag1","hashtag2"]},{"1353177328":["hashtag1","hashtag2"]},{"1353177423":["hashtag1","hashtag2"]},{"1353177398":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353177428, 1353177419, 1353177355, 1353177328, 1353177423, 1353177398)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.12184262275696 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:33:03.365263
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/32/image_23042025_22_32_44_10672.jpg', 2), ('/home/nano/Desktop/images/23042025/22/29/image_23042025_22_29_44_9674.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/32/image_23042025_22_32_44_10672.jpg', '/home/nano/Desktop/images/23042025/22/29/image_23042025_22_29_44_9674.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/32/image_23042025_22_32_44_10672.jpg
/home/nano/Desktop/images/23042025/22/29/image_23042025_22_29_44_9674.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353177560","1353177553"],"photo_ids_order":["1353177553","1353177560"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/aef46087f9af9d291ddf716627b83d92.jpg","text":"TemporaryFile(/tmp/multipartBody1895503895438080028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440444116,"filename":"image_23042025_22_29_44_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6d5ab7d6816caf5be447c05847253ed8.jpg","text":"TemporaryFile(/tmp/multipartBody249146655733188326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440444116,"filename":"image_23042025_22_32_44_10672.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353177560","file0":"1353177553"},"map_files_photo_id_array":[{"photo_id":"1353177560","filename":"file1"},{"photo_id":"1353177553","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353177560":["hashtag1","hashtag2"]},{"1353177553":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353177560, 1353177553)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 16.23857307434082 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:33:32.747417
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_44_10690.jpg', 2), ('/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_34_9681.jpg', 2), ('/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_14_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/22/32/image_23042025_22_33_04_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/22/32/image_23042025_22_32_54_9679.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_44_10690.jpg', '/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_34_9681.jpg', '/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_14_10707.jpg', '/home/nano/Desktop/images/23042025/22/32/image_23042025_22_33_04_9674.jpg', '/home/nano/Desktop/images/23042025/22/32/image_23042025_22_32_54_9679.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_44_10690.jpg
/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_34_9681.jpg
/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_14_10707.jpg
/home/nano/Desktop/images/23042025/22/32/image_23042025_22_33_04_9674.jpg
/home/nano/Desktop/images/23042025/22/32/image_23042025_22_32_54_9679.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353177781","1353177750","1353177687","1353177813","1353177717"],"photo_ids_order":["1353177687","1353177717","1353177750","1353177781","1353177813"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2e614c0e0249d94dd167186d46835dcd.jpg","text":"TemporaryFile(/tmp/multipartBody8247377309510604374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440474466,"filename":"image_23042025_22_33_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3e303c5e54132b0a0b1b001ee7b39b65.jpg","text":"TemporaryFile(/tmp/multipartBody5302185246970968816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440474466,"filename":"image_23042025_22_33_14_10707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/13b5c9ab40bb72c51baa65b6ce988456.jpg","text":"TemporaryFile(/tmp/multipartBody6520427668821081250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440474466,"filename":"image_23042025_22_33_44_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/10f0775dbae7d4eb363f5ea08f2259dd.jpg","text":"TemporaryFile(/tmp/multipartBody4730284306517118435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440474466,"filename":"image_23042025_22_32_54_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02435990957a185200b1f6d32c983ae9.jpg","text":"TemporaryFile(/tmp/multipartBody2958209248161837528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440474466,"filename":"image_23042025_22_33_34_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353177750","file1":"1353177717","file0":"1353177687","file4":"1353177813","file3":"1353177781"},"map_files_photo_id_array":[{"photo_id":"1353177750","filename":"file2"},{"photo_id":"1353177813","filename":"file4"},{"photo_id":"1353177717","filename":"file1"},{"photo_id":"1353177687","filename":"file0"},{"photo_id":"1353177781","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353177781":["hashtag1","hashtag2"]},{"1353177750":["hashtag1","hashtag2"]},{"1353177687":["hashtag1","hashtag2"]},{"1353177813":["hashtag1","hashtag2"]},{"1353177717":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353177781, 1353177750, 1353177687, 1353177813, 1353177717)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 29.88603115081787 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:34:31.897479
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_44_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_34_9688.jpg', 2), ('/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_24_10698.jpg', 2), ('/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_13_9702.jpg', 2), ('/home/nano/Desktop/images/23042025/22/33/image_23042025_22_34_04_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_54_9699.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_44_9720.jpg', '/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_34_9688.jpg', '/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_24_10698.jpg', '/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_13_9702.jpg', '/home/nano/Desktop/images/23042025/22/33/image_23042025_22_34_04_9705.jpg', '/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_54_9699.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_44_9720.jpg
/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_34_9688.jpg
/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_24_10698.jpg
/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_13_9702.jpg
/home/nano/Desktop/images/23042025/22/33/image_23042025_22_34_04_9705.jpg
/home/nano/Desktop/images/23042025/22/33/image_23042025_22_33_54_9699.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353178204","1353178263","1353178245","1353178239","1353178308","1353178292"],"photo_ids_order":["1353178204","1353178239","1353178245","1353178263","1353178292","1353178308"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/57448bedb83eb66f2a810799b5063161.jpg","text":"TemporaryFile(/tmp/multipartBody7834597095236285487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440533628,"filename":"image_23042025_22_34_44_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0bc277b0ae61be80dda63f3e152b48a4.jpg","text":"TemporaryFile(/tmp/multipartBody1461191349398190398asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440533628,"filename":"image_23042025_22_34_13_9702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d92ef56a8753389432048dfe15ec225.jpg","text":"TemporaryFile(/tmp/multipartBody4097964802512631291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440533628,"filename":"image_23042025_22_34_24_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e09bf36f6183a4cab3d0b72272d6c65f.jpg","text":"TemporaryFile(/tmp/multipartBody6027168142876961548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440533628,"filename":"image_23042025_22_34_34_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5a3a7d5d9c4cabe1d8adb4a3086c372d.jpg","text":"TemporaryFile(/tmp/multipartBody7321039191840524555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440533628,"filename":"image_23042025_22_33_54_9699.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/abc528b6e853a5a7310026bdba7312a9.jpg","text":"TemporaryFile(/tmp/multipartBody2411528895760710385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440533628,"filename":"image_23042025_22_34_04_9705.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353178245","file1":"1353178239","file0":"1353178204","file4":"1353178292","file5":"1353178308","file3":"1353178263"},"map_files_photo_id_array":[{"photo_id":"1353178308","filename":"file5"},{"photo_id":"1353178245","filename":"file2"},{"photo_id":"1353178292","filename":"file4"},{"photo_id":"1353178239","filename":"file1"},{"photo_id":"1353178204","filename":"file0"},{"photo_id":"1353178263","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353178204":["hashtag1","hashtag2"]},{"1353178263":["hashtag1","hashtag2"]},{"1353178245":["hashtag1","hashtag2"]},{"1353178239":["hashtag1","hashtag2"]},{"1353178308":["hashtag1","hashtag2"]},{"1353178292":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353178204, 1353178263, 1353178245, 1353178239, 1353178308, 1353178292)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.958092212677 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:35:31.979265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_54_10579.jpg', 2), ('/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_44_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_24_9568.jpg', 2), ('/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_14_9588.jpg', 2), ('/home/nano/Desktop/images/14042025/22/36/image_14042025_22_37_05_10590.jpg', 2), ('/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_44_10593.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_54_10579.jpg', '/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_44_9566.jpg', '/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_24_9568.jpg', '/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_14_9588.jpg', '/home/nano/Desktop/images/14042025/22/36/image_14042025_22_37_05_10590.jpg', '/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_44_10593.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_54_10579.jpg
/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_44_9566.jpg
/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_24_9568.jpg
/home/nano/Desktop/images/14042025/22/37/image_14042025_22_37_14_9588.jpg
/home/nano/Desktop/images/14042025/22/36/image_14042025_22_37_05_10590.jpg
/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_44_10593.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353178768","1353178548","1353178772","1353178577","1353178658","1353178780"],"photo_ids_order":["1353178548","1353178577","1353178658","1353178768","1353178772","1353178780"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e91686f618bd69c03ac07551531a91b3.jpg","text":"TemporaryFile(/tmp/multipartBody6758478454041502802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440593587,"filename":"image_14042025_22_37_14_9588.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d841ec5ed1bab96a05120588995108f9.jpg","text":"TemporaryFile(/tmp/multipartBody1637947125398845662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440593587,"filename":"image_14042025_22_37_54_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61860ef304827733e59c5f0652829c7c.jpg","text":"TemporaryFile(/tmp/multipartBody2800339808407986565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440593587,"filename":"image_14042025_22_37_05_10590.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a391ccd71ee8de0591c8a228a45c8a99.jpg","text":"TemporaryFile(/tmp/multipartBody2584230686374533147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440593587,"filename":"image_14042025_22_37_44_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1e7716ff27fa3c34bcdc043076f6c74b.jpg","text":"TemporaryFile(/tmp/multipartBody1479795165032217140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440593587,"filename":"image_14042025_22_37_24_9568.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6e0752b5fc98fe99826af942a6c0b1a.jpg","text":"TemporaryFile(/tmp/multipartBody6717151557824603419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440593587,"filename":"image_14042025_22_36_44_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353178658","file1":"1353178577","file0":"1353178548","file4":"1353178772","file5":"1353178780","file3":"1353178768"},"map_files_photo_id_array":[{"photo_id":"1353178780","filename":"file5"},{"photo_id":"1353178658","filename":"file2"},{"photo_id":"1353178772","filename":"file4"},{"photo_id":"1353178577","filename":"file1"},{"photo_id":"1353178548","filename":"file0"},{"photo_id":"1353178768","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353178768":["hashtag1","hashtag2"]},{"1353178548":["hashtag1","hashtag2"]},{"1353178772":["hashtag1","hashtag2"]},{"1353178577":["hashtag1","hashtag2"]},{"1353178658":["hashtag1","hashtag2"]},{"1353178780":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353178768, 1353178548, 1353178772, 1353178577, 1353178658, 1353178780)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 31.72239398956299 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:36:32.136405
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_23_9719.jpg', 2), ('/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_14_9753.jpg', 2), ('/home/nano/Desktop/images/23042025/22/35/image_23042025_22_36_04_9696.jpg', 2), ('/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_54_10708.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_23_9719.jpg', '/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_14_9753.jpg', '/home/nano/Desktop/images/23042025/22/35/image_23042025_22_36_04_9696.jpg', '/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_54_10708.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_23_9719.jpg
/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_14_9753.jpg
/home/nano/Desktop/images/23042025/22/35/image_23042025_22_36_04_9696.jpg
/home/nano/Desktop/images/23042025/22/34/image_23042025_22_34_54_10708.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353179038","1353179097","1353178997","1353178993"],"photo_ids_order":["1353178993","1353178997","1353179038","1353179097"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/32e060312c785f7a74837c38787a49eb.jpg","text":"TemporaryFile(/tmp/multipartBody3606696631092136691asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440653661,"filename":"image_23042025_22_36_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27bdfb90690c732746970224f92c0afe.jpg","text":"TemporaryFile(/tmp/multipartBody6339345405969874492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440653661,"filename":"image_23042025_22_34_54_10708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b8f8a39f5f3f891f1ff87703123b6b7e.jpg","text":"TemporaryFile(/tmp/multipartBody4363433818171815353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440653661,"filename":"image_23042025_22_36_14_9753.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5c875016fcc5205054c8dcad1aa391f.jpg","text":"TemporaryFile(/tmp/multipartBody7338961812945700800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440653661,"filename":"image_23042025_22_36_23_9719.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353179038","file1":"1353178997","file0":"1353178993","file3":"1353179097"},"map_files_photo_id_array":[{"photo_id":"1353179038","filename":"file2"},{"photo_id":"1353178997","filename":"file1"},{"photo_id":"1353178993","filename":"file0"},{"photo_id":"1353179097","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353179038":["hashtag1","hashtag2"]},{"1353179097":["hashtag1","hashtag2"]},{"1353178997":["hashtag1","hashtag2"]},{"1353178993":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353179038, 1353179097, 1353178997, 1353178993)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 34.52676224708557 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:37:32.233796
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/37/image_23042025_22_37_14_10748.jpg', 2), ('/home/nano/Desktop/images/23042025/22/36/image_23042025_22_37_03_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_34_10733.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/37/image_23042025_22_37_14_10748.jpg', '/home/nano/Desktop/images/23042025/22/36/image_23042025_22_37_03_9723.jpg', '/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_34_10733.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/37/image_23042025_22_37_14_10748.jpg
/home/nano/Desktop/images/23042025/22/36/image_23042025_22_37_03_9723.jpg
/home/nano/Desktop/images/23042025/22/36/image_23042025_22_36_34_10733.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353179629","1353179680","1353179656"],"photo_ids_order":["1353179629","1353179656","1353179680"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/081c2bf5b68b1d5f1b4929cb35277bc6.jpg","text":"TemporaryFile(/tmp/multipartBody4846595567839528376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440713528,"filename":"image_23042025_22_37_14_10748.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4c104f1c52ae0897a1ab19c358ab9ce9.jpg","text":"TemporaryFile(/tmp/multipartBody7818532155664320397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440713528,"filename":"image_23042025_22_36_34_10733.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0e656add0117dc7c950d4513098bd256.jpg","text":"TemporaryFile(/tmp/multipartBody9205003246905721592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440713528,"filename":"image_23042025_22_37_03_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353179680","file1":"1353179656","file0":"1353179629"},"map_files_photo_id_array":[{"photo_id":"1353179680","filename":"file2"},{"photo_id":"1353179656","filename":"file1"},{"photo_id":"1353179629","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353179629":["hashtag1","hashtag2"]},{"1353179680":["hashtag1","hashtag2"]},{"1353179656":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353179629, 1353179680, 1353179656)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 20.924190998077393 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:38:02.813798
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_24_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_15_10601.jpg', 2), ('/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_55_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_24_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_14_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/34/image_14042025_22_35_05_10600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_24_9566.jpg', '/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_15_10601.jpg', '/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_55_10576.jpg', '/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_24_9566.jpg', '/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_14_9583.jpg', '/home/nano/Desktop/images/14042025/22/34/image_14042025_22_35_05_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_24_9566.jpg
/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_15_10601.jpg
/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_55_10576.jpg
/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_24_9566.jpg
/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_14_9583.jpg
/home/nano/Desktop/images/14042025/22/34/image_14042025_22_35_05_10600.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.6854381561279297 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:38:32.394077
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_34_9692.jpg', 2), ('/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_24_9695.jpg', 2), ('/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_14_10634.jpg', 2), ('/home/nano/Desktop/images/23042025/22/37/image_23042025_22_38_04_9674.jpg', 2), ('/home/nano/Desktop/images/23042025/22/37/image_23042025_22_37_24_9719.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_34_9692.jpg', '/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_24_9695.jpg', '/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_14_10634.jpg', '/home/nano/Desktop/images/23042025/22/37/image_23042025_22_38_04_9674.jpg', '/home/nano/Desktop/images/23042025/22/37/image_23042025_22_37_24_9719.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_34_9692.jpg
/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_24_9695.jpg
/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_14_10634.jpg
/home/nano/Desktop/images/23042025/22/37/image_23042025_22_38_04_9674.jpg
/home/nano/Desktop/images/23042025/22/37/image_23042025_22_37_24_9719.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353180058","1353180093","1353180018","1353180062","1353180026"],"photo_ids_order":["1353180018","1353180026","1353180058","1353180062","1353180093"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/382123ed948288089d35e91c9d81a8c6.jpg","text":"TemporaryFile(/tmp/multipartBody5331969864401452926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440774843,"filename":"image_23042025_22_38_14_10634.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c0538561e0b34d8c630197d488667842.jpg","text":"TemporaryFile(/tmp/multipartBody1554645363982868557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440774843,"filename":"image_23042025_22_37_24_9719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea5a9caf177aa4d9342636d1370ff70c.jpg","text":"TemporaryFile(/tmp/multipartBody407146203901775978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440774843,"filename":"image_23042025_22_38_34_9692.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e0551fe03a07136564cc85fc2bb134c3.jpg","text":"TemporaryFile(/tmp/multipartBody4738114434378560397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440774843,"filename":"image_23042025_22_38_04_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ffe59f6adfaa2519b659dac073378bf0.jpg","text":"TemporaryFile(/tmp/multipartBody2545991336551564615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440774843,"filename":"image_23042025_22_38_24_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353180058","file1":"1353180026","file0":"1353180018","file4":"1353180093","file3":"1353180062"},"map_files_photo_id_array":[{"photo_id":"1353180058","filename":"file2"},{"photo_id":"1353180093","filename":"file4"},{"photo_id":"1353180026","filename":"file1"},{"photo_id":"1353180018","filename":"file0"},{"photo_id":"1353180062","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353180058":["hashtag1","hashtag2"]},{"1353180093":["hashtag1","hashtag2"]},{"1353180018":["hashtag1","hashtag2"]},{"1353180062":["hashtag1","hashtag2"]},{"1353180026":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353180058, 1353180093, 1353180018, 1353180062, 1353180026)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 28.2832772731781 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:39:03.393644
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_24_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_15_10601.jpg', 2), ('/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_55_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_24_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_14_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/34/image_14042025_22_35_05_10600.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_24_9566.jpg', '/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_15_10601.jpg', '/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_55_10576.jpg', '/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_24_9566.jpg', '/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_14_9583.jpg', '/home/nano/Desktop/images/14042025/22/34/image_14042025_22_35_05_10600.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_24_9566.jpg
/home/nano/Desktop/images/14042025/22/36/image_14042025_22_36_15_10601.jpg
/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_55_10576.jpg
/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_24_9566.jpg
/home/nano/Desktop/images/14042025/22/35/image_14042025_22_35_14_9583.jpg
/home/nano/Desktop/images/14042025/22/34/image_14042025_22_35_05_10600.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353180215","1353180229","1353180217","1353180291","1353180254","1353180212"],"photo_ids_order":["1353180212","1353180215","1353180217","1353180229","1353180254","1353180291"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ede7c2e03b0ac5c70d66a4a53d87ec57.jpg","text":"TemporaryFile(/tmp/multipartBody8098535430248697196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440804914,"filename":"image_14042025_22_36_15_10601.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f3c1d789674eff4e2e5ca819748f8af2.jpg","text":"TemporaryFile(/tmp/multipartBody9126120167583324346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440804914,"filename":"image_14042025_22_35_24_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f0e49f943b7cced7d35b1a1f589c333.jpg","text":"TemporaryFile(/tmp/multipartBody3737183104789622805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440804914,"filename":"image_14042025_22_35_55_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28b6c5bf8305251f0ccf324b889d4b75.jpg","text":"TemporaryFile(/tmp/multipartBody5795385255843165146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440804914,"filename":"image_14042025_22_35_05_10600.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cc83d077ed82257c079d12892615911b.jpg","text":"TemporaryFile(/tmp/multipartBody787989683974287209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440804914,"filename":"image_14042025_22_35_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/935b05b32d1c42f057041661863f50a5.jpg","text":"TemporaryFile(/tmp/multipartBody7560731168685902520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440804914,"filename":"image_14042025_22_36_24_9566.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353180217","file1":"1353180215","file0":"1353180212","file4":"1353180254","file5":"1353180291","file3":"1353180229"},"map_files_photo_id_array":[{"photo_id":"1353180291","filename":"file5"},{"photo_id":"1353180217","filename":"file2"},{"photo_id":"1353180254","filename":"file4"},{"photo_id":"1353180215","filename":"file1"},{"photo_id":"1353180212","filename":"file0"},{"photo_id":"1353180229","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353180215":["hashtag1","hashtag2"]},{"1353180229":["hashtag1","hashtag2"]},{"1353180217":["hashtag1","hashtag2"]},{"1353180291":["hashtag1","hashtag2"]},{"1353180254":["hashtag1","hashtag2"]},{"1353180212":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353180215, 1353180229, 1353180217, 1353180291, 1353180254, 1353180212)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.03013586997986 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:40:03.075986
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_44_10705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_44_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/38/image_23042025_22_38_44_10705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353180379"],"photo_id":"1353180379","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b14777d8ddb798957a02e85142f8f7c0.jpg","text":"TemporaryFile(/tmp/multipartBody8052493375810964807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440863835,"filename":"image_23042025_22_38_44_10705.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353180379"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353180379"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 11.856318712234497 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:40:32.547978
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/34/image_14042025_22_34_44_10577.jpg', 2), ('/home/nano/Desktop/images/14042025/22/34/image_14042025_22_34_14_9592.jpg', 2), ('/home/nano/Desktop/images/14042025/22/33/image_14042025_22_34_04_9571.jpg', 2), ('/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_55_10577.jpg', 2), ('/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_44_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_14_9613.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/34/image_14042025_22_34_44_10577.jpg', '/home/nano/Desktop/images/14042025/22/34/image_14042025_22_34_14_9592.jpg', '/home/nano/Desktop/images/14042025/22/33/image_14042025_22_34_04_9571.jpg', '/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_55_10577.jpg', '/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_44_9583.jpg', '/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_14_9613.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/34/image_14042025_22_34_44_10577.jpg
/home/nano/Desktop/images/14042025/22/34/image_14042025_22_34_14_9592.jpg
/home/nano/Desktop/images/14042025/22/33/image_14042025_22_34_04_9571.jpg
/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_55_10577.jpg
/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_44_9583.jpg
/home/nano/Desktop/images/14042025/22/33/image_14042025_22_33_14_9613.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353180496","1353180571","1353180468","1353180576","1353180555","1353180531"],"photo_ids_order":["1353180468","1353180496","1353180531","1353180555","1353180571","1353180576"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9b1a7fbf23a188dd7b32a0a74e1594f.jpg","text":"TemporaryFile(/tmp/multipartBody2324125946438854762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440893841,"filename":"image_14042025_22_34_14_9592.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0fbeb06ca40eb6fd8781eee4c959bd73.jpg","text":"TemporaryFile(/tmp/multipartBody2181548431180802281asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440893841,"filename":"image_14042025_22_33_44_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/766684010b18437079a32e5bacddd7c0.jpg","text":"TemporaryFile(/tmp/multipartBody2112886358694948069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440893841,"filename":"image_14042025_22_34_44_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/029ffe52eee0d46e2c66d74a40906e8a.jpg","text":"TemporaryFile(/tmp/multipartBody4971650692218235778asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440893841,"filename":"image_14042025_22_33_14_9613.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0293ba2327e4a6726bf5adfba3534ef6.jpg","text":"TemporaryFile(/tmp/multipartBody2745736285309451558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440893841,"filename":"image_14042025_22_33_55_10577.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0f131e3c9e5db3dd01ac07361fa6089c.jpg","text":"TemporaryFile(/tmp/multipartBody9075770197308587416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440893841,"filename":"image_14042025_22_34_04_9571.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353180531","file1":"1353180496","file0":"1353180468","file4":"1353180571","file5":"1353180576","file3":"1353180555"},"map_files_photo_id_array":[{"photo_id":"1353180576","filename":"file5"},{"photo_id":"1353180531","filename":"file2"},{"photo_id":"1353180571","filename":"file4"},{"photo_id":"1353180496","filename":"file1"},{"photo_id":"1353180468","filename":"file0"},{"photo_id":"1353180555","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353180496":["hashtag1","hashtag2"]},{"1353180571":["hashtag1","hashtag2"]},{"1353180468":["hashtag1","hashtag2"]},{"1353180576":["hashtag1","hashtag2"]},{"1353180555":["hashtag1","hashtag2"]},{"1353180531":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353180496, 1353180571, 1353180468, 1353180576, 1353180555, 1353180531)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.0409677028656 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:41:32.656222
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/32/image_14042025_22_33_05_10589.jpg', 2), ('/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_54_9587.jpg', 2), ('/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_44_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_34_9569.jpg', 2), ('/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_24_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_55_10579.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/32/image_14042025_22_33_05_10589.jpg', '/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_54_9587.jpg', '/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_44_10576.jpg', '/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_34_9569.jpg', '/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_24_10575.jpg', '/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_55_10579.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/32/image_14042025_22_33_05_10589.jpg
/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_54_9587.jpg
/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_44_10576.jpg
/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_34_9569.jpg
/home/nano/Desktop/images/14042025/22/32/image_14042025_22_32_24_10575.jpg
/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_55_10579.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353180886","1353180969","1353181053","1353180957","1353181014","1353180929"],"photo_ids_order":["1353180886","1353180929","1353180957","1353180969","1353181014","1353181053"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f70bbbf600edf7c1af971e714d9b9567.jpg","text":"TemporaryFile(/tmp/multipartBody412172791406588699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440954337,"filename":"image_14042025_22_33_05_10589.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f7e8a308e94195c7c5a70ae11c14bc0f.jpg","text":"TemporaryFile(/tmp/multipartBody1503111974727934395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440954337,"filename":"image_14042025_22_32_34_9569.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/05935e4dd0ff60ae7f59dc64a161efa8.jpg","text":"TemporaryFile(/tmp/multipartBody925182055691399599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440954337,"filename":"image_14042025_22_31_55_10579.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/013df4cfa922b0cfe73e72a1464dadc8.jpg","text":"TemporaryFile(/tmp/multipartBody1028165201721341283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440954337,"filename":"image_14042025_22_32_44_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d89f844b92e24c3302a1c8f72718aa68.jpg","text":"TemporaryFile(/tmp/multipartBody6470987023863989319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440954337,"filename":"image_14042025_22_32_24_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0bb4162f9d8c5652f96b0b53d8114c80.jpg","text":"TemporaryFile(/tmp/multipartBody9216872751468530610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745440954337,"filename":"image_14042025_22_32_54_9587.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353180957","file1":"1353180929","file0":"1353180886","file4":"1353181014","file5":"1353181053","file3":"1353180969"},"map_files_photo_id_array":[{"photo_id":"1353181053","filename":"file5"},{"photo_id":"1353180957","filename":"file2"},{"photo_id":"1353181014","filename":"file4"},{"photo_id":"1353180929","filename":"file1"},{"photo_id":"1353180886","filename":"file0"},{"photo_id":"1353180969","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353180886":["hashtag1","hashtag2"]},{"1353180969":["hashtag1","hashtag2"]},{"1353181053":["hashtag1","hashtag2"]},{"1353180957":["hashtag1","hashtag2"]},{"1353181014":["hashtag1","hashtag2"]},{"1353180929":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353180886, 1353180969, 1353181053, 1353180957, 1353181014, 1353180929)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.919562101364136 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:42:31.741976
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_34_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_14_10593.jpg', 2), ('/home/nano/Desktop/images/14042025/22/30/image_14042025_22_31_04_9576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_45_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_34_9563.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_44_9565.jpg', '/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_34_10573.jpg', '/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_14_10593.jpg', '/home/nano/Desktop/images/14042025/22/30/image_14042025_22_31_04_9576.jpg', '/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_45_10575.jpg', '/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_34_9563.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_44_9565.jpg
/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_34_10573.jpg
/home/nano/Desktop/images/14042025/22/31/image_14042025_22_31_14_10593.jpg
/home/nano/Desktop/images/14042025/22/30/image_14042025_22_31_04_9576.jpg
/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_45_10575.jpg
/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_34_9563.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353181315","1353181300","1353181278","1353181323","1353181319","1353181307"],"photo_ids_order":["1353181278","1353181300","1353181307","1353181315","1353181319","1353181323"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ea21e079c1a219f7ba7beb510b51c2e0.jpg","text":"TemporaryFile(/tmp/multipartBody1872773796947675133asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441013288,"filename":"image_14042025_22_31_04_9576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a20c11047d95c5b03869578418f383d4.jpg","text":"TemporaryFile(/tmp/multipartBody2100420684984526101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441013288,"filename":"image_14042025_22_31_34_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/617b6591476519cbba114c157dbf0d7c.jpg","text":"TemporaryFile(/tmp/multipartBody3515753601853487166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441013288,"filename":"image_14042025_22_31_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0318d1e4d7f0156c2924dd00d9219d89.jpg","text":"TemporaryFile(/tmp/multipartBody451392243556488085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441013288,"filename":"image_14042025_22_30_34_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/88b075b5b5033bcacf964653f81cf414.jpg","text":"TemporaryFile(/tmp/multipartBody3179248467794255599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441013288,"filename":"image_14042025_22_30_45_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b33f9679e9e039e8d34346b13c9d973d.jpg","text":"TemporaryFile(/tmp/multipartBody9169693472905259922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441013288,"filename":"image_14042025_22_31_14_10593.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353181307","file1":"1353181300","file0":"1353181278","file4":"1353181319","file5":"1353181323","file3":"1353181315"},"map_files_photo_id_array":[{"photo_id":"1353181323","filename":"file5"},{"photo_id":"1353181307","filename":"file2"},{"photo_id":"1353181319","filename":"file4"},{"photo_id":"1353181300","filename":"file1"},{"photo_id":"1353181278","filename":"file0"},{"photo_id":"1353181315","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353181315":["hashtag1","hashtag2"]},{"1353181300":["hashtag1","hashtag2"]},{"1353181278":["hashtag1","hashtag2"]},{"1353181323":["hashtag1","hashtag2"]},{"1353181319":["hashtag1","hashtag2"]},{"1353181307":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353181315, 1353181300, 1353181278, 1353181323, 1353181319, 1353181307)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.331961154937744 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:43:31.851522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_14_9612.jpg', 2), ('/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_55_10598.jpg', 2), ('/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_44_9580.jpg', 2), ('/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_34_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_24_9582.jpg', 2), ('/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_14_9585.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_14_9612.jpg', '/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_55_10598.jpg', '/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_44_9580.jpg', '/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_34_10576.jpg', '/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_24_9582.jpg', '/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_14_9585.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/30/image_14042025_22_30_14_9612.jpg
/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_55_10598.jpg
/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_44_9580.jpg
/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_34_10576.jpg
/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_24_9582.jpg
/home/nano/Desktop/images/14042025/22/29/image_14042025_22_29_14_9585.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353181353","1353181358","1353181346","1353181349","1353181340","1353181363"],"photo_ids_order":["1353181340","1353181346","1353181349","1353181353","1353181358","1353181363"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3fea9a68f176a1ed54c3009b27b5867c.jpg","text":"TemporaryFile(/tmp/multipartBody6171160537378454557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441073706,"filename":"image_14042025_22_29_34_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5314efbe08a9df7d63db8a3334ad7369.jpg","text":"TemporaryFile(/tmp/multipartBody6219200804317161965asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441073706,"filename":"image_14042025_22_29_24_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3233e79881c1099e145997dd0839db79.jpg","text":"TemporaryFile(/tmp/multipartBody2479617042022485835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441073706,"filename":"image_14042025_22_29_55_10598.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4231b47e1d18df9673c7f3939127f6a5.jpg","text":"TemporaryFile(/tmp/multipartBody1845605194193578252asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441073706,"filename":"image_14042025_22_29_44_9580.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3383f6afcff8bed0929276c6c3772ab8.jpg","text":"TemporaryFile(/tmp/multipartBody4592212547615604569asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441073706,"filename":"image_14042025_22_30_14_9612.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8cf6219e203724787d25deeeb85ac966.jpg","text":"TemporaryFile(/tmp/multipartBody4702405735030958724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441073706,"filename":"image_14042025_22_29_14_9585.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353181349","file1":"1353181346","file0":"1353181340","file4":"1353181358","file5":"1353181363","file3":"1353181353"},"map_files_photo_id_array":[{"photo_id":"1353181363","filename":"file5"},{"photo_id":"1353181349","filename":"file2"},{"photo_id":"1353181358","filename":"file4"},{"photo_id":"1353181346","filename":"file1"},{"photo_id":"1353181340","filename":"file0"},{"photo_id":"1353181353","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353181353":["hashtag1","hashtag2"]},{"1353181358":["hashtag1","hashtag2"]},{"1353181346":["hashtag1","hashtag2"]},{"1353181349":["hashtag1","hashtag2"]},{"1353181340":["hashtag1","hashtag2"]},{"1353181363":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353181353, 1353181358, 1353181346, 1353181349, 1353181340, 1353181363)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.8837206363678 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:44:31.948088
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_43_9667.jpg', 2), ('/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_24_10687.jpg', 2), ('/home/nano/Desktop/images/23042025/22/39/image_23042025_22_39_13_9743.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_43_9667.jpg', '/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_24_10687.jpg', '/home/nano/Desktop/images/23042025/22/39/image_23042025_22_39_13_9743.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_43_9667.jpg
/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_24_10687.jpg
/home/nano/Desktop/images/23042025/22/39/image_23042025_22_39_13_9743.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353181380","1353181385","1353181511"],"photo_ids_order":["1353181380","1353181385","1353181511"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/30e5601d8ad123491a2180128c709755.jpg","text":"TemporaryFile(/tmp/multipartBody1548805968522498139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441133063,"filename":"image_23042025_22_44_43_9667.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0588314e19531ab757a2cdae9a229472.jpg","text":"TemporaryFile(/tmp/multipartBody4921345557623043835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441133063,"filename":"image_23042025_22_44_24_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a784bfd348528811f3b0d57079adc376.jpg","text":"TemporaryFile(/tmp/multipartBody68922709961614924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441133063,"filename":"image_23042025_22_39_13_9743.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353181511","file1":"1353181385","file0":"1353181380"},"map_files_photo_id_array":[{"photo_id":"1353181511","filename":"file2"},{"photo_id":"1353181385","filename":"file1"},{"photo_id":"1353181380","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353181380":["hashtag1","hashtag2"]},{"1353181385":["hashtag1","hashtag2"]},{"1353181511":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353181380, 1353181385, 1353181511)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.78463339805603 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:45:02.789714
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/28/image_14042025_22_29_05_10578.jpg', 2), ('/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_54_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_45_10571.jpg', 2), ('/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_34_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_24_10576.jpg', 2), ('/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_14_9586.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/28/image_14042025_22_29_05_10578.jpg', '/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_54_9563.jpg', '/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_45_10571.jpg', '/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_34_9563.jpg', '/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_24_10576.jpg', '/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_14_9586.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/28/image_14042025_22_29_05_10578.jpg
/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_54_9563.jpg
/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_45_10571.jpg
/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_34_9563.jpg
/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_24_10576.jpg
/home/nano/Desktop/images/14042025/22/28/image_14042025_22_28_14_9586.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353181642","1353181578","1353181748","1353181718","1353181613","1353181690"],"photo_ids_order":["1353181578","1353181613","1353181642","1353181690","1353181718","1353181748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/645d2b1c1a256511c1f6776f1e8bdf93.jpg","text":"TemporaryFile(/tmp/multipartBody7131701409432854913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441164368,"filename":"image_14042025_22_28_45_10571.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5d3fb03b64b9cb4fd9f3b1e3fe4be276.jpg","text":"TemporaryFile(/tmp/multipartBody8518491276122564563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441164368,"filename":"image_14042025_22_29_05_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e94c6ac86c1d5948724bc10b2664e2a5.jpg","text":"TemporaryFile(/tmp/multipartBody1653661818692890779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441164368,"filename":"image_14042025_22_28_14_9586.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/95f286ba035778a6890edb854745b418.jpg","text":"TemporaryFile(/tmp/multipartBody645292331560931615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441164368,"filename":"image_14042025_22_28_24_10576.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e903ab6db9a8301bb32b5f437e915cf3.jpg","text":"TemporaryFile(/tmp/multipartBody1684313866645591147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441164368,"filename":"image_14042025_22_28_54_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/02f9e6d69f5ccac186035be2b2768686.jpg","text":"TemporaryFile(/tmp/multipartBody3817875637232718321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441164368,"filename":"image_14042025_22_28_34_9563.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353181642","file1":"1353181613","file0":"1353181578","file4":"1353181718","file5":"1353181748","file3":"1353181690"},"map_files_photo_id_array":[{"photo_id":"1353181748","filename":"file5"},{"photo_id":"1353181642","filename":"file2"},{"photo_id":"1353181718","filename":"file4"},{"photo_id":"1353181613","filename":"file1"},{"photo_id":"1353181578","filename":"file0"},{"photo_id":"1353181690","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353181642":["hashtag1","hashtag2"]},{"1353181578":["hashtag1","hashtag2"]},{"1353181748":["hashtag1","hashtag2"]},{"1353181718":["hashtag1","hashtag2"]},{"1353181613":["hashtag1","hashtag2"]},{"1353181690":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353181642, 1353181578, 1353181748, 1353181718, 1353181613, 1353181690)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.804808139801025 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:46:02.641304
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/44/image_23042025_22_45_04_9682.jpg', 2), ('/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_54_10681.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/44/image_23042025_22_45_04_9682.jpg', '/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_54_10681.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/44/image_23042025_22_45_04_9682.jpg
/home/nano/Desktop/images/23042025/22/44/image_23042025_22_44_54_10681.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353182453","1353182500"],"photo_ids_order":["1353182453","1353182500"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e346b464c71a829b24834cdcfe71aa51.jpg","text":"TemporaryFile(/tmp/multipartBody7393215085741170013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441223454,"filename":"image_23042025_22_45_04_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0bfec481f099d5a118d7007cc6a56204.jpg","text":"TemporaryFile(/tmp/multipartBody75132334841090615asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441223454,"filename":"image_23042025_22_44_54_10681.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353182500","file0":"1353182453"},"map_files_photo_id_array":[{"photo_id":"1353182500","filename":"file1"},{"photo_id":"1353182453","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353182453":["hashtag1","hashtag2"]},{"1353182500":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353182453, 1353182500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 15.368539094924927 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:46:32.148230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/27/image_14042025_22_28_04_9579.jpg', 2), ('/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_55_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_44_9563.jpg', 2), ('/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_35_10573.jpg', 2), ('/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_14_10602.jpg', 2), ('/home/nano/Desktop/images/14042025/22/26/image_14042025_22_27_04_9578.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/27/image_14042025_22_28_04_9579.jpg', '/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_55_10575.jpg', '/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_44_9563.jpg', '/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_35_10573.jpg', '/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_14_10602.jpg', '/home/nano/Desktop/images/14042025/22/26/image_14042025_22_27_04_9578.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/27/image_14042025_22_28_04_9579.jpg
/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_55_10575.jpg
/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_44_9563.jpg
/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_35_10573.jpg
/home/nano/Desktop/images/14042025/22/27/image_14042025_22_27_14_10602.jpg
/home/nano/Desktop/images/14042025/22/26/image_14042025_22_27_04_9578.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353182964","1353183068","1353183122","1353183016","1353182883","1353182784"],"photo_ids_order":["1353182784","1353182883","1353182964","1353183016","1353183068","1353183122"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0ffe99ac071ef98f7b5f9483ab49d556.jpg","text":"TemporaryFile(/tmp/multipartBody1419955771508812037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441253773,"filename":"image_14042025_22_27_44_9563.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5bb2774f7b0d6ccb7ed00ac1bff8d14c.jpg","text":"TemporaryFile(/tmp/multipartBody8970945368876433338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441253773,"filename":"image_14042025_22_27_14_10602.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b43ed61f267d70b845b49f895192a3e4.jpg","text":"TemporaryFile(/tmp/multipartBody5075914650605190333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441253773,"filename":"image_14042025_22_27_04_9578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8e89f14572ffa58c0a26159bbf94eaeb.jpg","text":"TemporaryFile(/tmp/multipartBody4349804103834478681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441253773,"filename":"image_14042025_22_27_35_10573.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/47e9d766f3595a4e0d22ad3b38293935.jpg","text":"TemporaryFile(/tmp/multipartBody4604985815820237421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441253773,"filename":"image_14042025_22_27_55_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d12db737459781aa3a13c29007eb315b.jpg","text":"TemporaryFile(/tmp/multipartBody7366442659231269647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441253773,"filename":"image_14042025_22_28_04_9579.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353182964","file1":"1353182883","file0":"1353182784","file4":"1353183068","file5":"1353183122","file3":"1353183016"},"map_files_photo_id_array":[{"photo_id":"1353183122","filename":"file5"},{"photo_id":"1353182964","filename":"file2"},{"photo_id":"1353183068","filename":"file4"},{"photo_id":"1353182883","filename":"file1"},{"photo_id":"1353182784","filename":"file0"},{"photo_id":"1353183016","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353182964":["hashtag1","hashtag2"]},{"1353183068":["hashtag1","hashtag2"]},{"1353183122":["hashtag1","hashtag2"]},{"1353183016":["hashtag1","hashtag2"]},{"1353182883":["hashtag1","hashtag2"]},{"1353182784":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353182964, 1353183068, 1353183122, 1353183016, 1353182883, 1353182784)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.26632881164551 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:47:32.260182
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/25/image_14042025_22_26_04_10578.jpg', 2), ('/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_54_9582.jpg', 2), ('/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_44_9565.jpg', 2), ('/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_35_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_54_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_44_9564.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/25/image_14042025_22_26_04_10578.jpg', '/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_54_9582.jpg', '/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_44_9565.jpg', '/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_35_10575.jpg', '/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_54_10575.jpg', '/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_44_9564.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/25/image_14042025_22_26_04_10578.jpg
/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_54_9582.jpg
/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_44_9565.jpg
/home/nano/Desktop/images/14042025/22/25/image_14042025_22_25_35_10575.jpg
/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_54_10575.jpg
/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_44_9564.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353183756","1353183874","1353183928","1353184077","1353183811","1353184011"],"photo_ids_order":["1353183756","1353183811","1353183874","1353183928","1353184011","1353184077"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1681a1b91e581915c078b2ec6cd0ad31.jpg","text":"TemporaryFile(/tmp/multipartBody9017993090487622665asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441313958,"filename":"image_14042025_22_26_04_10578.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1667daff7608f3107083bb79ae119a3c.jpg","text":"TemporaryFile(/tmp/multipartBody4265052367967705660asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441313958,"filename":"image_14042025_22_25_44_9565.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fcd1845e074bfaa29187b8a6f529ccbb.jpg","text":"TemporaryFile(/tmp/multipartBody2280449951790115277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441313958,"filename":"image_14042025_22_25_35_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/73f10325bedfb447e0a65bfa1a380c61.jpg","text":"TemporaryFile(/tmp/multipartBody294275071180390075asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441313958,"filename":"image_14042025_22_24_44_9564.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b0b77627ccf8dce41a383660eba1085c.jpg","text":"TemporaryFile(/tmp/multipartBody7813166882509604579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441313958,"filename":"image_14042025_22_25_54_9582.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/adfc47d180b2506c9dab45c3b96335e2.jpg","text":"TemporaryFile(/tmp/multipartBody8340515078036119808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441313958,"filename":"image_14042025_22_24_54_10575.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353183874","file1":"1353183811","file0":"1353183756","file4":"1353184011","file5":"1353184077","file3":"1353183928"},"map_files_photo_id_array":[{"photo_id":"1353184077","filename":"file5"},{"photo_id":"1353183874","filename":"file2"},{"photo_id":"1353184011","filename":"file4"},{"photo_id":"1353183811","filename":"file1"},{"photo_id":"1353183756","filename":"file0"},{"photo_id":"1353183928","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353183756":["hashtag1","hashtag2"]},{"1353183874":["hashtag1","hashtag2"]},{"1353183928":["hashtag1","hashtag2"]},{"1353184077":["hashtag1","hashtag2"]},{"1353183811":["hashtag1","hashtag2"]},{"1353184011":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353183756, 1353183874, 1353183928, 1353184077, 1353183811, 1353184011)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.342273235321045 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:48:32.330089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_34_9566.jpg', 2), ('/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_25_10575.jpg', 2), ('/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_14_9583.jpg', 2), ('/home/nano/Desktop/images/14042025/22/23/image_14042025_22_24_04_10599.jpg', 2), ('/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_54_9704.jpg', 2), ('/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_44_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_34_9566.jpg', '/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_25_10575.jpg', '/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_14_9583.jpg', '/home/nano/Desktop/images/14042025/22/23/image_14042025_22_24_04_10599.jpg', '/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_54_9704.jpg', '/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_44_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_34_9566.jpg
/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_25_10575.jpg
/home/nano/Desktop/images/14042025/22/24/image_14042025_22_24_14_9583.jpg
/home/nano/Desktop/images/14042025/22/23/image_14042025_22_24_04_10599.jpg
/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_54_9704.jpg
/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_44_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353184439","1353184474","1353184540","1353184581","1353184551","1353184608"],"photo_ids_order":["1353184439","1353184474","1353184540","1353184551","1353184581","1353184608"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8b5c3a94c45db6a8a1ab6adca71d6f2c.jpg","text":"TemporaryFile(/tmp/multipartBody2208668549064148673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441374008,"filename":"image_14042025_22_24_34_9566.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/707f7b9909483256065d2f14fafd63ea.jpg","text":"TemporaryFile(/tmp/multipartBody4392019959129097336asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441374008,"filename":"image_14042025_22_24_25_10575.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ba89117acc454b105b4f2c4adc584bfe.jpg","text":"TemporaryFile(/tmp/multipartBody1242789340889418331asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441374008,"filename":"image_14042025_22_24_14_9583.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e51a0f87a9e8aee6e4e6eb85e95c20b1.jpg","text":"TemporaryFile(/tmp/multipartBody2604011777024798616asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441374008,"filename":"image_14042025_22_23_54_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98be044ee6abfc113c64fdefe0a7e53e.jpg","text":"TemporaryFile(/tmp/multipartBody5810997599593254926asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441374008,"filename":"image_14042025_22_24_04_10599.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00e95e116ebb5d59ff95140c92d31a23.jpg","text":"TemporaryFile(/tmp/multipartBody1402850623893911927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441374008,"filename":"image_14042025_22_23_44_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353184540","file1":"1353184474","file0":"1353184439","file4":"1353184581","file5":"1353184608","file3":"1353184551"},"map_files_photo_id_array":[{"photo_id":"1353184608","filename":"file5"},{"photo_id":"1353184540","filename":"file2"},{"photo_id":"1353184581","filename":"file4"},{"photo_id":"1353184474","filename":"file1"},{"photo_id":"1353184439","filename":"file0"},{"photo_id":"1353184551","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353184439":["hashtag1","hashtag2"]},{"1353184474":["hashtag1","hashtag2"]},{"1353184540":["hashtag1","hashtag2"]},{"1353184581":["hashtag1","hashtag2"]},{"1353184551":["hashtag1","hashtag2"]},{"1353184608":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353184439, 1353184474, 1353184540, 1353184581, 1353184551, 1353184608)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.95336627960205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:49:32.442130
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/48/image_23042025_22_49_04_10689.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/48/image_23042025_22_49_04_10689.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/48/image_23042025_22_49_04_10689.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353184876"],"photo_id":"1353184876","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/34a305ad3c9cba062effddfb3ecd0ae5.jpg","text":"TemporaryFile(/tmp/multipartBody6657808155918625608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441432976,"filename":"image_23042025_22_49_04_10689.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353184876"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353184876"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.090014219284058 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:50:02.933086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_14_9718.jpg', 2), ('/home/nano/Desktop/images/14042025/22/22/image_14042025_22_23_04_9704.jpg', 2), ('/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_44_9686.jpg', 2), ('/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_34_9695.jpg', 2), ('/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_25_10698.jpg', 2), ('/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_14_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_14_9718.jpg', '/home/nano/Desktop/images/14042025/22/22/image_14042025_22_23_04_9704.jpg', '/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_44_9686.jpg', '/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_34_9695.jpg', '/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_25_10698.jpg', '/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_14_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/23/image_14042025_22_23_14_9718.jpg
/home/nano/Desktop/images/14042025/22/22/image_14042025_22_23_04_9704.jpg
/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_44_9686.jpg
/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_34_9695.jpg
/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_25_10698.jpg
/home/nano/Desktop/images/14042025/22/22/image_14042025_22_22_14_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353185318","1353185347","1353185329","1353185295","1353185355","1353185379"],"photo_ids_order":["1353185295","1353185318","1353185329","1353185347","1353185355","1353185379"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/239586ebefc8e45cb7e68521035f225b.jpg","text":"TemporaryFile(/tmp/multipartBody5230453963664349292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441465233,"filename":"image_14042025_22_23_04_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/195bc31e10e47c9995718525e741028e.jpg","text":"TemporaryFile(/tmp/multipartBody9072628138963400775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441465233,"filename":"image_14042025_22_22_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6faa4ea00f934bcefa26291e3f687ecf.jpg","text":"TemporaryFile(/tmp/multipartBody879994713184642014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441465233,"filename":"image_14042025_22_22_44_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ad2278a5ef4fb062566c904244327cfd.jpg","text":"TemporaryFile(/tmp/multipartBody8920336079751776997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441465233,"filename":"image_14042025_22_23_14_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6851e70caf38384ffda7e6e350233208.jpg","text":"TemporaryFile(/tmp/multipartBody5796571714755042998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441465233,"filename":"image_14042025_22_22_25_10698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dd936017c58ac5d80085c29ee625c633.jpg","text":"TemporaryFile(/tmp/multipartBody1066022277711505363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441465233,"filename":"image_14042025_22_22_14_9715.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353185329","file1":"1353185318","file0":"1353185295","file4":"1353185355","file5":"1353185379","file3":"1353185347"},"map_files_photo_id_array":[{"photo_id":"1353185379","filename":"file5"},{"photo_id":"1353185329","filename":"file2"},{"photo_id":"1353185355","filename":"file4"},{"photo_id":"1353185318","filename":"file1"},{"photo_id":"1353185295","filename":"file0"},{"photo_id":"1353185347","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353185318":["hashtag1","hashtag2"]},{"1353185347":["hashtag1","hashtag2"]},{"1353185329":["hashtag1","hashtag2"]},{"1353185295":["hashtag1","hashtag2"]},{"1353185355":["hashtag1","hashtag2"]},{"1353185379":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353185318, 1353185347, 1353185329, 1353185295, 1353185355, 1353185379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.636038303375244 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:51:03.216161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_44_9687.jpg', 2), ('/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_34_9727.jpg', 2), ('/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_24_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_15_10714.jpg', 2), ('/home/nano/Desktop/images/14042025/22/20/image_14042025_22_21_04_9678.jpg', 2), ('/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_45_10687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_44_9687.jpg', '/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_34_9727.jpg', '/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_24_9681.jpg', '/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_15_10714.jpg', '/home/nano/Desktop/images/14042025/22/20/image_14042025_22_21_04_9678.jpg', '/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_45_10687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_44_9687.jpg
/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_34_9727.jpg
/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_24_9681.jpg
/home/nano/Desktop/images/14042025/22/21/image_14042025_22_21_15_10714.jpg
/home/nano/Desktop/images/14042025/22/20/image_14042025_22_21_04_9678.jpg
/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_45_10687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353185689","1353185623","1353185710","1353185715","1353185664","1353185648"],"photo_ids_order":["1353185623","1353185648","1353185664","1353185689","1353185710","1353185715"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e7321ff1f7abd1d9492c93da7b671415.jpg","text":"TemporaryFile(/tmp/multipartBody5913980396770586297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441528071,"filename":"image_14042025_22_21_15_10714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4ad4dc914837e97e7fea39ba3e4228e7.jpg","text":"TemporaryFile(/tmp/multipartBody8867807688448672006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441528071,"filename":"image_14042025_22_21_44_9687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22c63e8fab4e5155cd203dcf84009380.jpg","text":"TemporaryFile(/tmp/multipartBody1928478333018271297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441528071,"filename":"image_14042025_22_21_04_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a8933b4e9936448f4acdb1ad5f26520a.jpg","text":"TemporaryFile(/tmp/multipartBody1897692741459889645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441528071,"filename":"image_14042025_22_20_45_10687.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3a83bff62641edd54c17646f2e1dd10.jpg","text":"TemporaryFile(/tmp/multipartBody2592808151792050278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441528071,"filename":"image_14042025_22_21_24_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/55ef338d5f4a2fbf4b56893e8c26ad0b.jpg","text":"TemporaryFile(/tmp/multipartBody4702093173218580601asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441528071,"filename":"image_14042025_22_21_34_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353185664","file1":"1353185648","file0":"1353185623","file4":"1353185710","file5":"1353185715","file3":"1353185689"},"map_files_photo_id_array":[{"photo_id":"1353185715","filename":"file5"},{"photo_id":"1353185664","filename":"file2"},{"photo_id":"1353185710","filename":"file4"},{"photo_id":"1353185648","filename":"file1"},{"photo_id":"1353185623","filename":"file0"},{"photo_id":"1353185689","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353185689":["hashtag1","hashtag2"]},{"1353185623":["hashtag1","hashtag2"]},{"1353185710":["hashtag1","hashtag2"]},{"1353185715":["hashtag1","hashtag2"]},{"1353185664":["hashtag1","hashtag2"]},{"1353185648":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353185689, 1353185623, 1353185710, 1353185715, 1353185664, 1353185648)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.00723147392273 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:52:03.287652
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_34_9678.jpg', 2), ('/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_24_9674.jpg', 2), ('/home/nano/Desktop/images/14042025/22/19/image_14042025_22_20_04_9682.jpg', 2), ('/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_54_9670.jpg', 2), ('/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_44_10700.jpg', 2), ('/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_34_9676.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_34_9678.jpg', '/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_24_9674.jpg', '/home/nano/Desktop/images/14042025/22/19/image_14042025_22_20_04_9682.jpg', '/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_54_9670.jpg', '/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_44_10700.jpg', '/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_34_9676.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_34_9678.jpg
/home/nano/Desktop/images/14042025/22/20/image_14042025_22_20_24_9674.jpg
/home/nano/Desktop/images/14042025/22/19/image_14042025_22_20_04_9682.jpg
/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_54_9670.jpg
/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_44_10700.jpg
/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_34_9676.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353185900","1353185794","1353185796","1353185928","1353185969","1353185864"],"photo_ids_order":["1353185794","1353185796","1353185864","1353185900","1353185928","1353185969"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c9a7fd2c52db954fe6d9e1581e420005.jpg","text":"TemporaryFile(/tmp/multipartBody46365099771226816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441586625,"filename":"image_14042025_22_19_54_9670.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/537da5914dcdf2af7d4ae305c8d4275a.jpg","text":"TemporaryFile(/tmp/multipartBody5329131995202071236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441586625,"filename":"image_14042025_22_20_34_9678.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5e730c3fd869e3d35c49807e5dbbbbac.jpg","text":"TemporaryFile(/tmp/multipartBody3336517653821805624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441586625,"filename":"image_14042025_22_20_24_9674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9fc4ef210799e1e2451c042fdbac58a9.jpg","text":"TemporaryFile(/tmp/multipartBody1226452857851459835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441586625,"filename":"image_14042025_22_19_44_10700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7e0f1ca4d8a44fa062780e66c5bed884.jpg","text":"TemporaryFile(/tmp/multipartBody6959361293854718482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441586625,"filename":"image_14042025_22_19_34_9676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/98e7352e7442b9439b408261898aad88.jpg","text":"TemporaryFile(/tmp/multipartBody7963647187987617438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441586625,"filename":"image_14042025_22_20_04_9682.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353185864","file1":"1353185796","file0":"1353185794","file4":"1353185928","file5":"1353185969","file3":"1353185900"},"map_files_photo_id_array":[{"photo_id":"1353185969","filename":"file5"},{"photo_id":"1353185864","filename":"file2"},{"photo_id":"1353185928","filename":"file4"},{"photo_id":"1353185796","filename":"file1"},{"photo_id":"1353185794","filename":"file0"},{"photo_id":"1353185900","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353185900":["hashtag1","hashtag2"]},{"1353185794":["hashtag1","hashtag2"]},{"1353185796":["hashtag1","hashtag2"]},{"1353185928":["hashtag1","hashtag2"]},{"1353185969":["hashtag1","hashtag2"]},{"1353185864":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353185900, 1353185794, 1353185796, 1353185928, 1353185969, 1353185864)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 43.65548801422119 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:53:02.576656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_24_9676.jpg', 2), ('/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_14_10701.jpg', 2), ('/home/nano/Desktop/images/14042025/22/18/image_14042025_22_19_04_9675.jpg', 2), ('/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_54_9675.jpg', 2), ('/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_44_9672.jpg', 2), ('/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_35_10682.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_24_9676.jpg', '/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_14_10701.jpg', '/home/nano/Desktop/images/14042025/22/18/image_14042025_22_19_04_9675.jpg', '/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_54_9675.jpg', '/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_44_9672.jpg', '/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_35_10682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_24_9676.jpg
/home/nano/Desktop/images/14042025/22/19/image_14042025_22_19_14_10701.jpg
/home/nano/Desktop/images/14042025/22/18/image_14042025_22_19_04_9675.jpg
/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_54_9675.jpg
/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_44_9672.jpg
/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_35_10682.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353186238","1353186307","1353186266","1353186311","1353186295","1353186206"],"photo_ids_order":["1353186206","1353186238","1353186266","1353186295","1353186307","1353186311"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d6adc3fbc9d182fbb55cebf298694884.jpg","text":"TemporaryFile(/tmp/multipartBody1213869383496072208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441645727,"filename":"image_14042025_22_19_14_10701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8ed34778e55e82a794e98140f4a7f834.jpg","text":"TemporaryFile(/tmp/multipartBody5029136095157425559asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441645727,"filename":"image_14042025_22_18_44_9672.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a5716297e081f31b9d0a2e95dc82d91b.jpg","text":"TemporaryFile(/tmp/multipartBody3418289208453989876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441645727,"filename":"image_14042025_22_19_04_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/29ce96878675d8d6dae3dc278c7cd29e.jpg","text":"TemporaryFile(/tmp/multipartBody9095786580368988339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441645727,"filename":"image_14042025_22_18_35_10682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/09ffeea5ba8ea1cdab3cb865dcf36429.jpg","text":"TemporaryFile(/tmp/multipartBody1866273748302279696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441645727,"filename":"image_14042025_22_18_54_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0d36d134cf8f140ce0e4b0ae8515a82f.jpg","text":"TemporaryFile(/tmp/multipartBody6175063738479288416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441645727,"filename":"image_14042025_22_19_24_9676.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353186266","file1":"1353186238","file0":"1353186206","file4":"1353186307","file5":"1353186311","file3":"1353186295"},"map_files_photo_id_array":[{"photo_id":"1353186311","filename":"file5"},{"photo_id":"1353186266","filename":"file2"},{"photo_id":"1353186307","filename":"file4"},{"photo_id":"1353186238","filename":"file1"},{"photo_id":"1353186206","filename":"file0"},{"photo_id":"1353186295","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353186238":["hashtag1","hashtag2"]},{"1353186307":["hashtag1","hashtag2"]},{"1353186266":["hashtag1","hashtag2"]},{"1353186311":["hashtag1","hashtag2"]},{"1353186295":["hashtag1","hashtag2"]},{"1353186206":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353186238, 1353186307, 1353186266, 1353186311, 1353186295, 1353186206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.437166929244995 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:54:02.898338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_24_9673.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_54_9673.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_44_9679.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_35_10723.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_14_9738.jpg', 2), ('/home/nano/Desktop/images/14042025/22/16/image_14042025_22_17_04_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_24_9673.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_54_9673.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_44_9679.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_35_10723.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_14_9738.jpg', '/home/nano/Desktop/images/14042025/22/16/image_14042025_22_17_04_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_24_9673.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_54_9673.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_44_9679.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_35_10723.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_14_9738.jpg
/home/nano/Desktop/images/14042025/22/16/image_14042025_22_17_04_9720.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.839560031890869 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:54:31.950152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_24_9673.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_54_9673.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_44_9679.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_35_10723.jpg', 2), ('/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_14_9738.jpg', 2), ('/home/nano/Desktop/images/14042025/22/16/image_14042025_22_17_04_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_24_9673.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_54_9673.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_44_9679.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_35_10723.jpg', '/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_14_9738.jpg', '/home/nano/Desktop/images/14042025/22/16/image_14042025_22_17_04_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/18/image_14042025_22_18_24_9673.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_54_9673.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_44_9679.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_35_10723.jpg
/home/nano/Desktop/images/14042025/22/17/image_14042025_22_17_14_9738.jpg
/home/nano/Desktop/images/14042025/22/16/image_14042025_22_17_04_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353186523","1353186511","1353186527","1353186521","1353186515","1353186518"],"photo_ids_order":["1353186511","1353186515","1353186518","1353186521","1353186523","1353186527"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1fb9a19fe4da6f96527d246a95b4214b.jpg","text":"TemporaryFile(/tmp/multipartBody4875542645709859408asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441733834,"filename":"image_14042025_22_17_14_9738.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2b32e8eb4da5fd06cc8b8e913e79b8d.jpg","text":"TemporaryFile(/tmp/multipartBody4338370018486572909asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441733834,"filename":"image_14042025_22_18_24_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c10e870ba19a935eed0a491c24a90e21.jpg","text":"TemporaryFile(/tmp/multipartBody7896795406089139091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441733834,"filename":"image_14042025_22_17_04_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c1f34cfee4a61c9ff35d1c39e335b8ef.jpg","text":"TemporaryFile(/tmp/multipartBody1984808070278389152asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441733834,"filename":"image_14042025_22_17_35_10723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7ddead1add61c332d24de536c883f8ae.jpg","text":"TemporaryFile(/tmp/multipartBody9181449659676542599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441733834,"filename":"image_14042025_22_17_54_9673.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/40c4e8fb1dca28ef7f670f5979a75fe2.jpg","text":"TemporaryFile(/tmp/multipartBody6360821515476915416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441733834,"filename":"image_14042025_22_17_44_9679.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353186518","file1":"1353186515","file0":"1353186511","file4":"1353186523","file5":"1353186527","file3":"1353186521"},"map_files_photo_id_array":[{"photo_id":"1353186527","filename":"file5"},{"photo_id":"1353186518","filename":"file2"},{"photo_id":"1353186523","filename":"file4"},{"photo_id":"1353186515","filename":"file1"},{"photo_id":"1353186511","filename":"file0"},{"photo_id":"1353186521","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353186523":["hashtag1","hashtag2"]},{"1353186511":["hashtag1","hashtag2"]},{"1353186527":["hashtag1","hashtag2"]},{"1353186521":["hashtag1","hashtag2"]},{"1353186515":["hashtag1","hashtag2"]},{"1353186518":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353186523, 1353186511, 1353186527, 1353186521, 1353186515, 1353186518)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.77075004577637 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:55:32.050873
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_55_10723.jpg', 2), ('/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_44_9707.jpg', 2), ('/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_34_9705.jpg', 2), ('/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_25_10693.jpg', 2), ('/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_44_9668.jpg', 2), ('/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_34_9675.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_55_10723.jpg', '/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_44_9707.jpg', '/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_34_9705.jpg', '/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_25_10693.jpg', '/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_44_9668.jpg', '/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_34_9675.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_55_10723.jpg
/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_44_9707.jpg
/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_34_9705.jpg
/home/nano/Desktop/images/14042025/22/16/image_14042025_22_16_25_10693.jpg
/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_44_9668.jpg
/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_34_9675.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353186553","1353186556","1353186559","1353186561","1353186551","1353186548"],"photo_ids_order":["1353186548","1353186551","1353186553","1353186556","1353186559","1353186561"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0be37faae7ee7866aa2fb655f44d6d84.jpg","text":"TemporaryFile(/tmp/multipartBody5914005217168756739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441794319,"filename":"image_14042025_22_16_34_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/dbd11d5bf23f75d5166adf5accb42237.jpg","text":"TemporaryFile(/tmp/multipartBody7285485824082544266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441794319,"filename":"image_14042025_22_16_25_10693.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a4ce8c3658088c7a660754d25f9fd739.jpg","text":"TemporaryFile(/tmp/multipartBody227554304905485697asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441794319,"filename":"image_14042025_22_15_44_9668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2be8ff6fc7cc5e3dc876396b06898501.jpg","text":"TemporaryFile(/tmp/multipartBody6668947956381965570asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441794319,"filename":"image_14042025_22_15_34_9675.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/97442b7cb901c435718ea9b397625d55.jpg","text":"TemporaryFile(/tmp/multipartBody5402461910374757346asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441794319,"filename":"image_14042025_22_16_44_9707.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/825f4ac71b74324b8365dc9740e3a0d0.jpg","text":"TemporaryFile(/tmp/multipartBody2268806164910209664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441794319,"filename":"image_14042025_22_16_55_10723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353186553","file1":"1353186551","file0":"1353186548","file4":"1353186559","file5":"1353186561","file3":"1353186556"},"map_files_photo_id_array":[{"photo_id":"1353186561","filename":"file5"},{"photo_id":"1353186553","filename":"file2"},{"photo_id":"1353186559","filename":"file4"},{"photo_id":"1353186551","filename":"file1"},{"photo_id":"1353186548","filename":"file0"},{"photo_id":"1353186556","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353186553":["hashtag1","hashtag2"]},{"1353186556":["hashtag1","hashtag2"]},{"1353186559":["hashtag1","hashtag2"]},{"1353186561":["hashtag1","hashtag2"]},{"1353186551":["hashtag1","hashtag2"]},{"1353186548":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353186553, 1353186556, 1353186559, 1353186561, 1353186551, 1353186548)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.60875058174133 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:56:32.147720
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_14_9686.jpg', 2), ('/home/nano/Desktop/images/14042025/22/14/image_14042025_22_15_04_9664.jpg', 2), ('/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_54_10676.jpg', 2), ('/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_44_9666.jpg', 2), ('/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_34_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_24_10691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_14_9686.jpg', '/home/nano/Desktop/images/14042025/22/14/image_14042025_22_15_04_9664.jpg', '/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_54_10676.jpg', '/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_44_9666.jpg', '/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_34_9681.jpg', '/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_24_10691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/15/image_14042025_22_15_14_9686.jpg
/home/nano/Desktop/images/14042025/22/14/image_14042025_22_15_04_9664.jpg
/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_54_10676.jpg
/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_44_9666.jpg
/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_34_9681.jpg
/home/nano/Desktop/images/14042025/22/14/image_14042025_22_14_24_10691.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353186694","1353186730","1353186706","1353186709","1353186720","1353186685"],"photo_ids_order":["1353186685","1353186694","1353186706","1353186709","1353186720","1353186730"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f6e32d2b9d2e8cb9980f03aa238bd3eb.jpg","text":"TemporaryFile(/tmp/multipartBody3899467545861296763asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441854232,"filename":"image_14042025_22_15_04_9664.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3f2d1cfa57244d4995e9b56727345fe2.jpg","text":"TemporaryFile(/tmp/multipartBody5405927028250582034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441854232,"filename":"image_14042025_22_14_24_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8554dc174a31eacdaf8762c26076610a.jpg","text":"TemporaryFile(/tmp/multipartBody4943317409636770835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441854232,"filename":"image_14042025_22_14_54_10676.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/604855909ba95ad22d2843c99fe7de26.jpg","text":"TemporaryFile(/tmp/multipartBody2446643534829918680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441854232,"filename":"image_14042025_22_14_44_9666.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3435c000ad6192d702795f31e13fdd19.jpg","text":"TemporaryFile(/tmp/multipartBody5853460732248108593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441854232,"filename":"image_14042025_22_14_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e019e025a33b48445fd73c1a373f9cc2.jpg","text":"TemporaryFile(/tmp/multipartBody260540244019554678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745441854232,"filename":"image_14042025_22_15_14_9686.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353186706","file1":"1353186694","file0":"1353186685","file4":"1353186720","file5":"1353186730","file3":"1353186709"},"map_files_photo_id_array":[{"photo_id":"1353186730","filename":"file5"},{"photo_id":"1353186706","filename":"file2"},{"photo_id":"1353186720","filename":"file4"},{"photo_id":"1353186694","filename":"file1"},{"photo_id":"1353186685","filename":"file0"},{"photo_id":"1353186709","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353186694":["hashtag1","hashtag2"]},{"1353186730":["hashtag1","hashtag2"]},{"1353186706":["hashtag1","hashtag2"]},{"1353186709":["hashtag1","hashtag2"]},{"1353186720":["hashtag1","hashtag2"]},{"1353186685":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353186694, 1353186730, 1353186706, 1353186709, 1353186720, 1353186685)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 32.54665279388428 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:57:32.252045
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_14_04_9698.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_54_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_45_10692.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_34_9679.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_15_10711.jpg', 2), ('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_13_04_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/13/image_14042025_22_14_04_9698.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_54_9681.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_45_10692.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_34_9679.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_15_10711.jpg', '/home/nano/Desktop/images/14042025/22/12/image_14042025_22_13_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_14_04_9698.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_54_9681.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_45_10692.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_34_9679.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_15_10711.jpg
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_13_04_9715.jpg
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:59:03.396009
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/22/58/image_23042025_22_58_14_10692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/22/58/image_23042025_22_58_14_10692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/22/58/image_23042025_22_58_14_10692.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353187336"],"photo_id":"1353187336","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00a4a118b014d79a0a8042d426ca3e33.jpg","text":"TemporaryFile(/tmp/multipartBody4127111050616168536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442004066,"filename":"image_23042025_22_58_14_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353187336"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353187336"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.73153018951416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 22:59:32.240604
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_14_04_9698.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_54_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_45_10692.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_34_9679.jpg', 2), ('/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_15_10711.jpg', 2), ('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_13_04_9715.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/13/image_14042025_22_14_04_9698.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_54_9681.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_45_10692.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_34_9679.jpg', '/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_15_10711.jpg', '/home/nano/Desktop/images/14042025/22/12/image_14042025_22_13_04_9715.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_14_04_9698.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_54_9681.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_45_10692.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_34_9679.jpg
/home/nano/Desktop/images/14042025/22/13/image_14042025_22_13_15_10711.jpg
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_13_04_9715.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353187593","1353187748","1353187715","1353187559","1353187663","1353187627"],"photo_ids_order":["1353187559","1353187593","1353187627","1353187663","1353187715","1353187748"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2790389c708a0306d3b24ce7c6f92d4.jpg","text":"TemporaryFile(/tmp/multipartBody1476760058060559510asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442034981,"filename":"image_14042025_22_13_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ff206492820a5478d15fd46db6e8e6fd.jpg","text":"TemporaryFile(/tmp/multipartBody6304241334647341176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442034981,"filename":"image_14042025_22_13_04_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b7c7f12cbd44856062ff41772c9eb0f.jpg","text":"TemporaryFile(/tmp/multipartBody7215706745336329586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442034981,"filename":"image_14042025_22_13_15_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bf5ffa08a2dc48727c3f27fff811983.jpg","text":"TemporaryFile(/tmp/multipartBody4587726218872231072asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442034981,"filename":"image_14042025_22_14_04_9698.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b5adb3bca7f080efe2a00af184052e05.jpg","text":"TemporaryFile(/tmp/multipartBody4459406563397721513asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442034981,"filename":"image_14042025_22_13_34_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed8042466ec88d9a8ca2f75e290c660a.jpg","text":"TemporaryFile(/tmp/multipartBody5487794102982522817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442034981,"filename":"image_14042025_22_13_45_10692.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353187627","file1":"1353187593","file0":"1353187559","file4":"1353187715","file5":"1353187748","file3":"1353187663"},"map_files_photo_id_array":[{"photo_id":"1353187748","filename":"file5"},{"photo_id":"1353187627","filename":"file2"},{"photo_id":"1353187715","filename":"file4"},{"photo_id":"1353187593","filename":"file1"},{"photo_id":"1353187559","filename":"file0"},{"photo_id":"1353187663","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353187593":["hashtag1","hashtag2"]},{"1353187748":["hashtag1","hashtag2"]},{"1353187715":["hashtag1","hashtag2"]},{"1353187559":["hashtag1","hashtag2"]},{"1353187663":["hashtag1","hashtag2"]},{"1353187627":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353187593, 1353187748, 1353187715, 1353187559, 1353187663, 1353187627)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 35.22614884376526 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:00:32.334072
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/00/image_23042025_23_00_14_10750.jpg', 2), ('/home/nano/Desktop/images/23042025/22/59/image_23042025_23_00_03_9684.jpg', 2), ('/home/nano/Desktop/images/23042025/22/45/image_23042025_22_45_14_9691.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/00/image_23042025_23_00_14_10750.jpg', '/home/nano/Desktop/images/23042025/22/59/image_23042025_23_00_03_9684.jpg', '/home/nano/Desktop/images/23042025/22/45/image_23042025_22_45_14_9691.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/00/image_23042025_23_00_14_10750.jpg
/home/nano/Desktop/images/23042025/22/59/image_23042025_23_00_03_9684.jpg
/home/nano/Desktop/images/23042025/22/45/image_23042025_22_45_14_9691.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353188283","1353188211","1353188276"],"photo_ids_order":["1353188211","1353188276","1353188283"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/5085d9b83d3bd563044020861fbdf88e.jpg","text":"TemporaryFile(/tmp/multipartBody873009902046913117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442093602,"filename":"image_23042025_22_45_14_9691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e737239a41857edc64191e3a5d835e99.jpg","text":"TemporaryFile(/tmp/multipartBody8909825418428083586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442093602,"filename":"image_23042025_23_00_14_10750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/342d1bb72d210d05454ba8e68bb9e6d9.jpg","text":"TemporaryFile(/tmp/multipartBody7416760388716393803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442093602,"filename":"image_23042025_23_00_03_9684.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353188283","file1":"1353188276","file0":"1353188211"},"map_files_photo_id_array":[{"photo_id":"1353188283","filename":"file2"},{"photo_id":"1353188276","filename":"file1"},{"photo_id":"1353188211","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353188283":["hashtag1","hashtag2"]},{"1353188211":["hashtag1","hashtag2"]},{"1353188276":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353188283, 1353188211, 1353188276)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 29.28779101371765 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:01:03.121872
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_54_9706.jpg', 2), ('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_44_9715.jpg', 2), ('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_35_10717.jpg', 2), ('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_24_9727.jpg', 2), ('/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_14_9834.jpg', 2), ('/home/nano/Desktop/images/14042025/22/11/image_14042025_22_12_04_9751.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_54_9706.jpg', '/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_44_9715.jpg', '/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_35_10717.jpg', '/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_24_9727.jpg', '/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_14_9834.jpg', '/home/nano/Desktop/images/14042025/22/11/image_14042025_22_12_04_9751.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_54_9706.jpg
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_44_9715.jpg
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_35_10717.jpg
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_24_9727.jpg
/home/nano/Desktop/images/14042025/22/12/image_14042025_22_12_14_9834.jpg
/home/nano/Desktop/images/14042025/22/11/image_14042025_22_12_04_9751.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353188291","1353188296","1353188347","1353188302","1353188311","1353188305"],"photo_ids_order":["1353188291","1353188296","1353188302","1353188305","1353188311","1353188347"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e1b5e8382551e8f6cedf1f4f0ef52204.jpg","text":"TemporaryFile(/tmp/multipartBody9150730213663887690asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442126040,"filename":"image_14042025_22_12_54_9706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c15d99381141af59ac183ac0ac21a71c.jpg","text":"TemporaryFile(/tmp/multipartBody2733422884872428974asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442126040,"filename":"image_14042025_22_12_44_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b1c18455b329646d0671d86b9b715ef6.jpg","text":"TemporaryFile(/tmp/multipartBody9013082184091791730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442126040,"filename":"image_14042025_22_12_04_9751.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3184b8a286cdbbc59dcd269cc30d907.jpg","text":"TemporaryFile(/tmp/multipartBody1688417360405493457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442126040,"filename":"image_14042025_22_12_35_10717.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/edbc202326cecfbe9b87349cda75e753.jpg","text":"TemporaryFile(/tmp/multipartBody8696940031157738591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442126040,"filename":"image_14042025_22_12_14_9834.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d2daa4c5b3e0f699394ae33ae6ae3da8.jpg","text":"TemporaryFile(/tmp/multipartBody25718540047923780asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442126040,"filename":"image_14042025_22_12_24_9727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353188302","file1":"1353188296","file0":"1353188291","file4":"1353188311","file5":"1353188347","file3":"1353188305"},"map_files_photo_id_array":[{"photo_id":"1353188347","filename":"file5"},{"photo_id":"1353188302","filename":"file2"},{"photo_id":"1353188311","filename":"file4"},{"photo_id":"1353188296","filename":"file1"},{"photo_id":"1353188291","filename":"file0"},{"photo_id":"1353188305","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353188291":["hashtag1","hashtag2"]},{"1353188296":["hashtag1","hashtag2"]},{"1353188347":["hashtag1","hashtag2"]},{"1353188302":["hashtag1","hashtag2"]},{"1353188311":["hashtag1","hashtag2"]},{"1353188305":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353188291, 1353188296, 1353188347, 1353188302, 1353188311, 1353188305)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.53606605529785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:02:03.012815
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_55_10754.jpg', 2), ('/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_44_9737.jpg', 2), ('/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_34_9737.jpg', 2), ('/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_24_10674.jpg', 2), ('/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_14_9688.jpg', 2), ('/home/nano/Desktop/images/14042025/22/10/image_14042025_22_11_04_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_55_10754.jpg', '/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_44_9737.jpg', '/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_34_9737.jpg', '/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_24_10674.jpg', '/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_14_9688.jpg', '/home/nano/Desktop/images/14042025/22/10/image_14042025_22_11_04_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_55_10754.jpg
/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_44_9737.jpg
/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_34_9737.jpg
/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_24_10674.jpg
/home/nano/Desktop/images/14042025/22/11/image_14042025_22_11_14_9688.jpg
/home/nano/Desktop/images/14042025/22/10/image_14042025_22_11_04_9694.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353189006","1353189036","1353188967","1353188868","1353188837","1353188790"],"photo_ids_order":["1353188790","1353188837","1353188868","1353188967","1353189006","1353189036"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e3b98d9eb78134f271d72d0af967e0c6.jpg","text":"TemporaryFile(/tmp/multipartBody1356479541026365543asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442186140,"filename":"image_14042025_22_11_14_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ed8e9e03cf7b234dfadb93ed148766d5.jpg","text":"TemporaryFile(/tmp/multipartBody3915397726704350706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442186140,"filename":"image_14042025_22_11_04_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/adccd6c6f2853cd75b23a877d65b4912.jpg","text":"TemporaryFile(/tmp/multipartBody5886121617318350732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442186140,"filename":"image_14042025_22_11_24_10674.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0912e4786c4e988f96477a3aaca0afc5.jpg","text":"TemporaryFile(/tmp/multipartBody6552654267473623599asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442186140,"filename":"image_14042025_22_11_34_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8bff5faeaa0c98ea26658865772ee832.jpg","text":"TemporaryFile(/tmp/multipartBody1679724668987033110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442186140,"filename":"image_14042025_22_11_44_9737.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89e912b21835434a3606ac56ecc1c923.jpg","text":"TemporaryFile(/tmp/multipartBody3918367151386772706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442186140,"filename":"image_14042025_22_11_55_10754.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353188868","file1":"1353188837","file0":"1353188790","file4":"1353189006","file5":"1353189036","file3":"1353188967"},"map_files_photo_id_array":[{"photo_id":"1353189036","filename":"file5"},{"photo_id":"1353188868","filename":"file2"},{"photo_id":"1353189006","filename":"file4"},{"photo_id":"1353188837","filename":"file1"},{"photo_id":"1353188790","filename":"file0"},{"photo_id":"1353188967","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353189006":["hashtag1","hashtag2"]},{"1353189036":["hashtag1","hashtag2"]},{"1353188967":["hashtag1","hashtag2"]},{"1353188868":["hashtag1","hashtag2"]},{"1353188837":["hashtag1","hashtag2"]},{"1353188790":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353189006, 1353189036, 1353188967, 1353188868, 1353188837, 1353188790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 37.23706102371216 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:03:03.202621
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_45_10715.jpg', 2), ('/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_34_9689.jpg', 2), ('/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_24_9688.jpg', 2), ('/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_15_10691.jpg', 2), ('/home/nano/Desktop/images/14042025/22/09/image_14042025_22_10_04_9727.jpg', 2), ('/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_54_9701.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_45_10715.jpg', '/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_34_9689.jpg', '/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_24_9688.jpg', '/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_15_10691.jpg', '/home/nano/Desktop/images/14042025/22/09/image_14042025_22_10_04_9727.jpg', '/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_54_9701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_45_10715.jpg
/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_34_9689.jpg
/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_24_9688.jpg
/home/nano/Desktop/images/14042025/22/10/image_14042025_22_10_15_10691.jpg
/home/nano/Desktop/images/14042025/22/09/image_14042025_22_10_04_9727.jpg
/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_54_9701.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353189444","1353189530","1353189416","1353189388","1353189502","1353189474"],"photo_ids_order":["1353189388","1353189416","1353189444","1353189474","1353189502","1353189530"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bb4d99c810ee8cbcd9c6ce02052d251d.jpg","text":"TemporaryFile(/tmp/multipartBody7598052677918915385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442247527,"filename":"image_14042025_22_10_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b152198750b7408c98094f929f89fbe7.jpg","text":"TemporaryFile(/tmp/multipartBody386356214495252913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442247527,"filename":"image_14042025_22_09_54_9701.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3aafcba2666b3bc6069f84e7f7ab8789.jpg","text":"TemporaryFile(/tmp/multipartBody651871972662103320asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442247527,"filename":"image_14042025_22_10_34_9689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/9e832af6bf62660d71141c17aedcf9e3.jpg","text":"TemporaryFile(/tmp/multipartBody5261804891530284asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442247527,"filename":"image_14042025_22_10_45_10715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a0bfa30452dc4e85e7c6bddbdb0d6cbc.jpg","text":"TemporaryFile(/tmp/multipartBody2669637371494153540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442247527,"filename":"image_14042025_22_10_04_9727.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/61cee35545b8968d66cf5406d949beb0.jpg","text":"TemporaryFile(/tmp/multipartBody7963838825850847941asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442247527,"filename":"image_14042025_22_10_15_10691.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353189444","file1":"1353189416","file0":"1353189388","file4":"1353189502","file5":"1353189530","file3":"1353189474"},"map_files_photo_id_array":[{"photo_id":"1353189530","filename":"file5"},{"photo_id":"1353189444","filename":"file2"},{"photo_id":"1353189502","filename":"file4"},{"photo_id":"1353189416","filename":"file1"},{"photo_id":"1353189388","filename":"file0"},{"photo_id":"1353189474","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353189444":["hashtag1","hashtag2"]},{"1353189530":["hashtag1","hashtag2"]},{"1353189416":["hashtag1","hashtag2"]},{"1353189388":["hashtag1","hashtag2"]},{"1353189502":["hashtag1","hashtag2"]},{"1353189474":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353189444, 1353189530, 1353189416, 1353189388, 1353189502, 1353189474)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.67068004608154 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:04:03.569209
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_44_10702.jpg', 2), ('/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_24_9688.jpg', 2), ('/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_14_9700.jpg', 2), ('/home/nano/Desktop/images/14042025/22/08/image_14042025_22_09_05_10709.jpg', 2), ('/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_44_9688.jpg', 2), ('/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_35_10697.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_44_10702.jpg', '/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_24_9688.jpg', '/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_14_9700.jpg', '/home/nano/Desktop/images/14042025/22/08/image_14042025_22_09_05_10709.jpg', '/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_44_9688.jpg', '/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_35_10697.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_44_10702.jpg
/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_24_9688.jpg
/home/nano/Desktop/images/14042025/22/09/image_14042025_22_09_14_9700.jpg
/home/nano/Desktop/images/14042025/22/08/image_14042025_22_09_05_10709.jpg
/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_44_9688.jpg
/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_35_10697.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353190167","1353190050","1353190280","1353189984","1353190222","1353190105"],"photo_ids_order":["1353189984","1353190050","1353190105","1353190167","1353190222","1353190280"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e84767aca4f953496f3847d247433d1e.jpg","text":"TemporaryFile(/tmp/multipartBody6032059458232410758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442307104,"filename":"image_14042025_22_09_05_10709.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d7b91583763c5a8ad16d49996c61773f.jpg","text":"TemporaryFile(/tmp/multipartBody1220826305705776767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442307104,"filename":"image_14042025_22_09_24_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8eb2d94431988d59e5c60fc4ad659b5c.jpg","text":"TemporaryFile(/tmp/multipartBody3572783354599160572asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442307104,"filename":"image_14042025_22_08_35_10697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c42a018fd646af5f5f739d8195055757.jpg","text":"TemporaryFile(/tmp/multipartBody5696102806176214592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442307104,"filename":"image_14042025_22_09_44_10702.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/8f4e1a5164b51b51ff9e3dd669c37d4e.jpg","text":"TemporaryFile(/tmp/multipartBody3925081858317392388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442307104,"filename":"image_14042025_22_08_44_9688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/efb993ff44e1d7b09f4ec983e4d221fd.jpg","text":"TemporaryFile(/tmp/multipartBody2957068946989236581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442307104,"filename":"image_14042025_22_09_14_9700.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353190105","file1":"1353190050","file0":"1353189984","file4":"1353190222","file5":"1353190280","file3":"1353190167"},"map_files_photo_id_array":[{"photo_id":"1353190280","filename":"file5"},{"photo_id":"1353190105","filename":"file2"},{"photo_id":"1353190222","filename":"file4"},{"photo_id":"1353190050","filename":"file1"},{"photo_id":"1353189984","filename":"file0"},{"photo_id":"1353190167","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353190167":["hashtag1","hashtag2"]},{"1353190050":["hashtag1","hashtag2"]},{"1353190280":["hashtag1","hashtag2"]},{"1353189984":["hashtag1","hashtag2"]},{"1353190222":["hashtag1","hashtag2"]},{"1353190105":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353190167, 1353190050, 1353190280, 1353189984, 1353190222, 1353190105)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.145745277404785 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:05:02.633884
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_24_9679.jpg', 2), ('/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_14_9714.jpg', 2), ('/home/nano/Desktop/images/14042025/22/07/image_14042025_22_08_05_10690.jpg', 2), ('/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_54_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_44_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_34_10711.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_24_9679.jpg', '/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_14_9714.jpg', '/home/nano/Desktop/images/14042025/22/07/image_14042025_22_08_05_10690.jpg', '/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_54_9681.jpg', '/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_44_9681.jpg', '/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_34_10711.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_24_9679.jpg
/home/nano/Desktop/images/14042025/22/08/image_14042025_22_08_14_9714.jpg
/home/nano/Desktop/images/14042025/22/07/image_14042025_22_08_05_10690.jpg
/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_54_9681.jpg
/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_44_9681.jpg
/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_34_10711.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353191198","1353190832","1353190888","1353191104","1353190930","1353191148"],"photo_ids_order":["1353190832","1353190888","1353190930","1353191104","1353191148","1353191198"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/358ec34aa797c5706f5271d428b273ff.jpg","text":"TemporaryFile(/tmp/multipartBody2050297797869231038asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442365945,"filename":"image_14042025_22_07_34_10711.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/c446880e9850591c3c2a6f4298012420.jpg","text":"TemporaryFile(/tmp/multipartBody5382409552926341285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442365945,"filename":"image_14042025_22_08_24_9679.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0098192ad54f1379db6518c8ef350ec7.jpg","text":"TemporaryFile(/tmp/multipartBody2875393746922425686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442365945,"filename":"image_14042025_22_08_14_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6575146a628420860de5441d144eedb5.jpg","text":"TemporaryFile(/tmp/multipartBody5024645887836230831asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442365945,"filename":"image_14042025_22_07_54_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/160cb1d8c085b851962d85c0dd46f644.jpg","text":"TemporaryFile(/tmp/multipartBody7987613439681653828asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442365945,"filename":"image_14042025_22_08_05_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fec415215b8c1e849d2f42aba6a7663d.jpg","text":"TemporaryFile(/tmp/multipartBody2161445989116821104asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442365945,"filename":"image_14042025_22_07_44_9681.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353190930","file1":"1353190888","file0":"1353190832","file4":"1353191148","file5":"1353191198","file3":"1353191104"},"map_files_photo_id_array":[{"photo_id":"1353191198","filename":"file5"},{"photo_id":"1353190930","filename":"file2"},{"photo_id":"1353191148","filename":"file4"},{"photo_id":"1353190888","filename":"file1"},{"photo_id":"1353190832","filename":"file0"},{"photo_id":"1353191104","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353191198":["hashtag1","hashtag2"]},{"1353190832":["hashtag1","hashtag2"]},{"1353190888":["hashtag1","hashtag2"]},{"1353191104":["hashtag1","hashtag2"]},{"1353190930":["hashtag1","hashtag2"]},{"1353191148":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353191198, 1353190832, 1353190888, 1353191104, 1353190930, 1353191148)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.23940849304199 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:06:02.453496
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_24_9700.jpg', 2), ('/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_14_9723.jpg', 2), ('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_07_04_9699.jpg', 2), ('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_55_10691.jpg', 2), ('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_44_9694.jpg', 2), ('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_34_9695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_24_9700.jpg', '/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_14_9723.jpg', '/home/nano/Desktop/images/14042025/22/06/image_14042025_22_07_04_9699.jpg', '/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_55_10691.jpg', '/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_44_9694.jpg', '/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_34_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_24_9700.jpg
/home/nano/Desktop/images/14042025/22/07/image_14042025_22_07_14_9723.jpg
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_07_04_9699.jpg
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_55_10691.jpg
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_44_9694.jpg
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_34_9695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353191706","1353191770","1353191647","1353191734","1353191595","1353191676"],"photo_ids_order":["1353191595","1353191647","1353191676","1353191706","1353191734","1353191770"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/d1a634834d1b4881cf027b765a52150e.jpg","text":"TemporaryFile(/tmp/multipartBody7057256136360582604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442425275,"filename":"image_14042025_22_06_55_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7b7e9c0b150e863e57c5ff7763618333.jpg","text":"TemporaryFile(/tmp/multipartBody8718075540222493531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442425275,"filename":"image_14042025_22_06_34_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1103aa1ca845a5ff583a2cc66c821593.jpg","text":"TemporaryFile(/tmp/multipartBody3488872846854280843asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442425275,"filename":"image_14042025_22_07_14_9723.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/125abbb4fd52473c6c06fcd683a5a2ba.jpg","text":"TemporaryFile(/tmp/multipartBody6414810865800314176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442425275,"filename":"image_14042025_22_06_44_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3bc3e99892dbc7f8275caf890545f81b.jpg","text":"TemporaryFile(/tmp/multipartBody3701108040538868305asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442425275,"filename":"image_14042025_22_07_24_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2f80cdc10fe1d4c3242e994c44f3eaf1.jpg","text":"TemporaryFile(/tmp/multipartBody5978316281261967722asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442425275,"filename":"image_14042025_22_07_04_9699.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353191676","file1":"1353191647","file0":"1353191595","file4":"1353191734","file5":"1353191770","file3":"1353191706"},"map_files_photo_id_array":[{"photo_id":"1353191770","filename":"file5"},{"photo_id":"1353191676","filename":"file2"},{"photo_id":"1353191734","filename":"file4"},{"photo_id":"1353191647","filename":"file1"},{"photo_id":"1353191595","filename":"file0"},{"photo_id":"1353191706","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353191706":["hashtag1","hashtag2"]},{"1353191770":["hashtag1","hashtag2"]},{"1353191647":["hashtag1","hashtag2"]},{"1353191734":["hashtag1","hashtag2"]},{"1353191595":["hashtag1","hashtag2"]},{"1353191676":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353191706, 1353191770, 1353191647, 1353191734, 1353191595, 1353191676)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 41.170809268951416 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:07:02.834596
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/07/image_23042025_23_07_24_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/07/image_23042025_23_07_24_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/07/image_23042025_23_07_24_10668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353192224"],"photo_id":"1353192224","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e604fda9520167d1e4715c92b8129d6c.jpg","text":"TemporaryFile(/tmp/multipartBody316726851643637233asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442483712,"filename":"image_23042025_23_07_24_10668.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353192224"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353192224"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.342096090316772 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:07:32.049082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_25_10686.jpg', 2), ('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_14_9707.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_54_10690.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_44_9660.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_34_9659.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_14_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_25_10686.jpg', '/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_14_9707.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_54_10690.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_44_9660.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_34_9659.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_14_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_25_10686.jpg
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_14_9707.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_54_10690.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_44_9660.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_34_9659.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_14_9704.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 2.4695076942443848 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your 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
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:08:02.730445
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_25_10686.jpg', 2), ('/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_14_9707.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_54_10690.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_44_9660.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_34_9659.jpg', 2), ('/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_14_9704.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_25_10686.jpg', '/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_14_9707.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_54_10690.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_44_9660.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_34_9659.jpg', '/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_14_9704.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_25_10686.jpg
/home/nano/Desktop/images/14042025/22/06/image_14042025_22_06_14_9707.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_54_10690.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_44_9660.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_34_9659.jpg
/home/nano/Desktop/images/14042025/22/05/image_14042025_22_05_14_9704.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353193012","1353192970","1353192787","1353192940","1353193044","1353192896"],"photo_ids_order":["1353192787","1353192896","1353192940","1353192970","1353193012","1353193044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ac3472e02bacd2d30a75ef3f0c2c99dc.jpg","text":"TemporaryFile(/tmp/multipartBody2167826404506672469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442544542,"filename":"image_14042025_22_05_34_9659.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/224c9ec159b91c987ec7526d0323338f.jpg","text":"TemporaryFile(/tmp/multipartBody8407663864874587681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442544542,"filename":"image_14042025_22_05_44_9660.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7be5b4ae91a65980306df5254f85f003.jpg","text":"TemporaryFile(/tmp/multipartBody4719341807043217149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442544542,"filename":"image_14042025_22_06_25_10686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6b284e8dfcac27546c1c076d8cd05cad.jpg","text":"TemporaryFile(/tmp/multipartBody3178827830116179573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442544542,"filename":"image_14042025_22_05_54_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4ec387cef5416947db3733e1570b2f1.jpg","text":"TemporaryFile(/tmp/multipartBody7520730169435043417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442544542,"filename":"image_14042025_22_05_14_9704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/89215a98f64eb8055f7e467071dbac66.jpg","text":"TemporaryFile(/tmp/multipartBody9060741661835335329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442544542,"filename":"image_14042025_22_06_14_9707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353192940","file1":"1353192896","file0":"1353192787","file4":"1353193012","file5":"1353193044","file3":"1353192970"},"map_files_photo_id_array":[{"photo_id":"1353193044","filename":"file5"},{"photo_id":"1353192940","filename":"file2"},{"photo_id":"1353193012","filename":"file4"},{"photo_id":"1353192896","filename":"file1"},{"photo_id":"1353192787","filename":"file0"},{"photo_id":"1353192970","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353193012":["hashtag1","hashtag2"]},{"1353192970":["hashtag1","hashtag2"]},{"1353192787":["hashtag1","hashtag2"]},{"1353192940":["hashtag1","hashtag2"]},{"1353193044":["hashtag1","hashtag2"]},{"1353192896":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353193012, 1353192970, 1353192787, 1353192940, 1353193044, 1353192896)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 36.327972650527954 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:09:03.181770
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/04/image_14042025_22_05_04_9653.jpg', 2), ('/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_54_9718.jpg', 2), ('/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_45_10724.jpg', 2), ('/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_34_9750.jpg', 2), ('/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_24_9745.jpg', 2), ('/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_14_9788.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/04/image_14042025_22_05_04_9653.jpg', '/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_54_9718.jpg', '/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_45_10724.jpg', '/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_34_9750.jpg', '/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_24_9745.jpg', '/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_14_9788.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/04/image_14042025_22_05_04_9653.jpg
/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_54_9718.jpg
/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_45_10724.jpg
/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_34_9750.jpg
/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_24_9745.jpg
/home/nano/Desktop/images/14042025/22/04/image_14042025_22_04_14_9788.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353193357","1353193488","1353193411","1353193440","1353193385","1353193325"],"photo_ids_order":["1353193325","1353193357","1353193385","1353193411","1353193440","1353193488"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/cd0ecb4620f50e56e4ec7a17d0a0ab1c.jpg","text":"TemporaryFile(/tmp/multipartBody3806712224932487814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442606175,"filename":"image_14042025_22_04_54_9718.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ceb964a932390f276dc21ed9958dd056.jpg","text":"TemporaryFile(/tmp/multipartBody6782808585737383511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442606175,"filename":"image_14042025_22_04_14_9788.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/96195d39e260a36bb19e9f430acddabf.jpg","text":"TemporaryFile(/tmp/multipartBody5981800162578216998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442606175,"filename":"image_14042025_22_04_34_9750.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/779fafc0b1a09ce38057200da7d81f1d.jpg","text":"TemporaryFile(/tmp/multipartBody7525631456260534365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442606175,"filename":"image_14042025_22_04_24_9745.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22809e4f0d88be6e83cf97550ecbc743.jpg","text":"TemporaryFile(/tmp/multipartBody3434693858893524146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442606175,"filename":"image_14042025_22_04_45_10724.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/add36032b6408e595060e7add3467a62.jpg","text":"TemporaryFile(/tmp/multipartBody5753187744908921970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442606175,"filename":"image_14042025_22_05_04_9653.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353193385","file1":"1353193357","file0":"1353193325","file4":"1353193440","file5":"1353193488","file3":"1353193411"},"map_files_photo_id_array":[{"photo_id":"1353193488","filename":"file5"},{"photo_id":"1353193385","filename":"file2"},{"photo_id":"1353193440","filename":"file4"},{"photo_id":"1353193357","filename":"file1"},{"photo_id":"1353193325","filename":"file0"},{"photo_id":"1353193411","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353193357":["hashtag1","hashtag2"]},{"1353193488":["hashtag1","hashtag2"]},{"1353193411":["hashtag1","hashtag2"]},{"1353193440":["hashtag1","hashtag2"]},{"1353193385":["hashtag1","hashtag2"]},{"1353193325":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353193357, 1353193488, 1353193411, 1353193440, 1353193385, 1353193325)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.270567893981934 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:10:02.702230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/03/image_14042025_22_04_05_10749.jpg', 2), ('/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_54_9720.jpg', 2), ('/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_44_9714.jpg', 2), ('/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_35_10757.jpg', 2), ('/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_24_9680.jpg', 2), ('/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_14_9686.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/03/image_14042025_22_04_05_10749.jpg', '/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_54_9720.jpg', '/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_44_9714.jpg', '/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_35_10757.jpg', '/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_24_9680.jpg', '/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_14_9686.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/03/image_14042025_22_04_05_10749.jpg
/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_54_9720.jpg
/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_44_9714.jpg
/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_35_10757.jpg
/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_24_9680.jpg
/home/nano/Desktop/images/14042025/22/03/image_14042025_22_03_14_9686.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353193762","1353193756","1353193773","1353193766","1353193769","1353193760"],"photo_ids_order":["1353193756","1353193760","1353193762","1353193766","1353193769","1353193773"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/3505c4fda3f6f1ee8dd82db5a578df76.jpg","text":"TemporaryFile(/tmp/multipartBody5153074851743832157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442665676,"filename":"image_14042025_22_03_44_9714.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/37f11a20cc46ece23f58394832181f7c.jpg","text":"TemporaryFile(/tmp/multipartBody3322939749677753897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442665676,"filename":"image_14042025_22_04_05_10749.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/28b973e90a72c5f534dd5c5a9c046a11.jpg","text":"TemporaryFile(/tmp/multipartBody5630128538226354515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442665676,"filename":"image_14042025_22_03_14_9686.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/14fad34935e329867bdf7669cd6aa806.jpg","text":"TemporaryFile(/tmp/multipartBody8962558694264634529asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442665676,"filename":"image_14042025_22_03_35_10757.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/00e12a3aa693492eb839dc0824d22864.jpg","text":"TemporaryFile(/tmp/multipartBody6470191905858449709asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442665676,"filename":"image_14042025_22_03_24_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/07e7584cec982f99b96f2311090680a9.jpg","text":"TemporaryFile(/tmp/multipartBody3390312778699676045asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442665676,"filename":"image_14042025_22_03_54_9720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353193762","file1":"1353193760","file0":"1353193756","file4":"1353193769","file5":"1353193773","file3":"1353193766"},"map_files_photo_id_array":[{"photo_id":"1353193773","filename":"file5"},{"photo_id":"1353193762","filename":"file2"},{"photo_id":"1353193769","filename":"file4"},{"photo_id":"1353193760","filename":"file1"},{"photo_id":"1353193756","filename":"file0"},{"photo_id":"1353193766","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353193762":["hashtag1","hashtag2"]},{"1353193756":["hashtag1","hashtag2"]},{"1353193773":["hashtag1","hashtag2"]},{"1353193766":["hashtag1","hashtag2"]},{"1353193769":["hashtag1","hashtag2"]},{"1353193760":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353193762, 1353193756, 1353193773, 1353193766, 1353193769, 1353193760)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47577404975891 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:11:03.084063
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/00/image_23042025_23_00_24_9745.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/00/image_23042025_23_00_24_9745.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/00/image_23042025_23_00_24_9745.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353193969"],"photo_id":"1353193969","photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/26a7d9be937dd2821bd4ade931249a7d.jpg","text":"TemporaryFile(/tmp/multipartBody6224198264635393608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442723677,"filename":"image_23042025_23_00_24_9745.jpg","height":0,"width":0}],"map_files_photo_id":{"file0":"1353193969"},"map_files_photo_id_array":[{"photo_id":"file0","filename":"1353193969"}],"hashtags":[],"portfolio_id":"22322020","result":[],"list_datou_current":[]}'
Result OK !
uploaded 1 photos
time to upload: 10.63370680809021 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:11:32.502095
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/10/image_23042025_23_11_04_9704.jpg', 2), ('/home/nano/Desktop/images/23042025/23/10/image_23042025_23_10_54_10668.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/10/image_23042025_23_11_04_9704.jpg', '/home/nano/Desktop/images/23042025/23/10/image_23042025_23_10_54_10668.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/10/image_23042025_23_11_04_9704.jpg
/home/nano/Desktop/images/23042025/23/10/image_23042025_23_10_54_10668.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353194251","1353194220"],"photo_ids_order":["1353194220","1353194251"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/68d4f571fcbd7b6eb8d098da0f35c3c5.jpg","text":"TemporaryFile(/tmp/multipartBody7482743023501975177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442753489,"filename":"image_23042025_23_10_54_10668.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/db81cdc3eae5d365908aef8b38163e29.jpg","text":"TemporaryFile(/tmp/multipartBody8052833072524269000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442753489,"filename":"image_23042025_23_11_04_9704.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353194251","file0":"1353194220"},"map_files_photo_id_array":[{"photo_id":"1353194251","filename":"file1"},{"photo_id":"1353194220","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353194251":["hashtag1","hashtag2"]},{"1353194220":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353194251, 1353194220)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.440920352935791 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:12:03.191807
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/02/image_14042025_22_03_04_9685.jpg', 2), ('/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_55_10690.jpg', 2), ('/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_44_9683.jpg', 2), ('/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_34_9700.jpg', 2), ('/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_25_10710.jpg', 2), ('/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_14_9702.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/02/image_14042025_22_03_04_9685.jpg', '/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_55_10690.jpg', '/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_44_9683.jpg', '/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_34_9700.jpg', '/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_25_10710.jpg', '/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_14_9702.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/02/image_14042025_22_03_04_9685.jpg
/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_55_10690.jpg
/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_44_9683.jpg
/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_34_9700.jpg
/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_25_10710.jpg
/home/nano/Desktop/images/14042025/22/02/image_14042025_22_02_14_9702.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353194869","1353194803","1353194985","1353194739","1353194925","1353195044"],"photo_ids_order":["1353194739","1353194803","1353194869","1353194925","1353194985","1353195044"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e4202068920525e4e139b5ca20509a8f.jpg","text":"TemporaryFile(/tmp/multipartBody24772702860522790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442786250,"filename":"image_14042025_22_02_44_9683.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/032fa2fdabdb26b2c779ddb632d66945.jpg","text":"TemporaryFile(/tmp/multipartBody742371571368683703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442786250,"filename":"image_14042025_22_02_55_10690.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/4023457cbb8c98b5edfd90e9224b1c8e.jpg","text":"TemporaryFile(/tmp/multipartBody1380987912492805779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442786250,"filename":"image_14042025_22_02_25_10710.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/71ca657523f9b021b59dcea989d4283c.jpg","text":"TemporaryFile(/tmp/multipartBody8302684411301157036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442786250,"filename":"image_14042025_22_03_04_9685.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/846a333ab99809f4b359880381c9053e.jpg","text":"TemporaryFile(/tmp/multipartBody4226174064006575156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442786250,"filename":"image_14042025_22_02_34_9700.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b3ea8299cf09b5c914b94cad05a3b6c3.jpg","text":"TemporaryFile(/tmp/multipartBody851353688776036662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442786250,"filename":"image_14042025_22_02_14_9702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353194869","file1":"1353194803","file0":"1353194739","file4":"1353194985","file5":"1353195044","file3":"1353194925"},"map_files_photo_id_array":[{"photo_id":"1353195044","filename":"file5"},{"photo_id":"1353194869","filename":"file2"},{"photo_id":"1353194985","filename":"file4"},{"photo_id":"1353194803","filename":"file1"},{"photo_id":"1353194739","filename":"file0"},{"photo_id":"1353194925","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353194869":["hashtag1","hashtag2"]},{"1353194803":["hashtag1","hashtag2"]},{"1353194985":["hashtag1","hashtag2"]},{"1353194739":["hashtag1","hashtag2"]},{"1353194925":["hashtag1","hashtag2"]},{"1353195044":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353194869, 1353194803, 1353194985, 1353194739, 1353194925, 1353195044)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 33.47307634353638 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:13:03.475472
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_44_10706.jpg', 2), ('/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_24_9723.jpg', 2), ('/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_14_9715.jpg', 2), ('/home/nano/Desktop/images/23042025/23/11/image_23042025_23_12_04_10719.jpg', 2), ('/home/nano/Desktop/images/23042025/23/11/image_23042025_23_11_54_9712.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_44_10706.jpg', '/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_24_9723.jpg', '/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_14_9715.jpg', '/home/nano/Desktop/images/23042025/23/11/image_23042025_23_12_04_10719.jpg', '/home/nano/Desktop/images/23042025/23/11/image_23042025_23_11_54_9712.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_44_10706.jpg
/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_24_9723.jpg
/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_14_9715.jpg
/home/nano/Desktop/images/23042025/23/11/image_23042025_23_12_04_10719.jpg
/home/nano/Desktop/images/23042025/23/11/image_23042025_23_11_54_9712.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353196089","1353196446","1353196449","1353196427","1353196291"],"photo_ids_order":["1353196089","1353196291","1353196427","1353196446","1353196449"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0453040b89ac53c9556bb10b9119e374.jpg","text":"TemporaryFile(/tmp/multipartBody7535748559058584808asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442845882,"filename":"image_23042025_23_12_44_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2510f04ea27d3a187197677a2f6fa12f.jpg","text":"TemporaryFile(/tmp/multipartBody1611767611521316541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442845882,"filename":"image_23042025_23_12_04_10719.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a18f1e711081f1229f8eefa871a1799c.jpg","text":"TemporaryFile(/tmp/multipartBody1923887442465030541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442845882,"filename":"image_23042025_23_11_54_9712.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2795dc0996fff87cb2a02b9cbd5af2fc.jpg","text":"TemporaryFile(/tmp/multipartBody4427749307548661608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442845882,"filename":"image_23042025_23_12_14_9715.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/85949c7b0a0d2a2ff4699cf8b353a168.jpg","text":"TemporaryFile(/tmp/multipartBody4821918627039988507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442845882,"filename":"image_23042025_23_12_24_9723.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353196427","file1":"1353196291","file0":"1353196089","file4":"1353196449","file3":"1353196446"},"map_files_photo_id_array":[{"photo_id":"1353196427","filename":"file2"},{"photo_id":"1353196449","filename":"file4"},{"photo_id":"1353196291","filename":"file1"},{"photo_id":"1353196089","filename":"file0"},{"photo_id":"1353196446","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353196089":["hashtag1","hashtag2"]},{"1353196446":["hashtag1","hashtag2"]},{"1353196449":["hashtag1","hashtag2"]},{"1353196427":["hashtag1","hashtag2"]},{"1353196291":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353196089, 1353196446, 1353196449, 1353196427, 1353196291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 30.803645372390747 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:14:02.700893
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/13/image_23042025_23_13_34_9694.jpg', 2), ('/home/nano/Desktop/images/23042025/23/12/image_23042025_23_13_03_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_54_9695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/13/image_23042025_23_13_34_9694.jpg', '/home/nano/Desktop/images/23042025/23/12/image_23042025_23_13_03_9697.jpg', '/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_54_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/13/image_23042025_23_13_34_9694.jpg
/home/nano/Desktop/images/23042025/23/12/image_23042025_23_13_03_9697.jpg
/home/nano/Desktop/images/23042025/23/12/image_23042025_23_12_54_9695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353196650","1353196730","1353196863"],"photo_ids_order":["1353196650","1353196730","1353196863"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f9e4d00de968a04798612e19efa76a38.jpg","text":"TemporaryFile(/tmp/multipartBody7963362994271192895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442903973,"filename":"image_23042025_23_13_34_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/44d06b4594d0c689197a03141be044a9.jpg","text":"TemporaryFile(/tmp/multipartBody8278390355866260166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442903973,"filename":"image_23042025_23_13_03_9697.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/1b9b8710492271ccf1ede4f151347781.jpg","text":"TemporaryFile(/tmp/multipartBody2603687768717042493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442903973,"filename":"image_23042025_23_12_54_9695.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353196863","file1":"1353196730","file0":"1353196650"},"map_files_photo_id_array":[{"photo_id":"1353196863","filename":"file2"},{"photo_id":"1353196730","filename":"file1"},{"photo_id":"1353196650","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353196650":["hashtag1","hashtag2"]},{"1353196730":["hashtag1","hashtag2"]},{"1353196863":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353196650, 1353196730, 1353196863)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.59523916244507 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:14:31.799562
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/14/image_23042025_23_14_13_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/23/13/image_23042025_23_13_44_10705.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/14/image_23042025_23_14_13_9716.jpg', '/home/nano/Desktop/images/23042025/23/13/image_23042025_23_13_44_10705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/14/image_23042025_23_14_13_9716.jpg
/home/nano/Desktop/images/23042025/23/13/image_23042025_23_13_44_10705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353197395","1353197341"],"photo_ids_order":["1353197341","1353197395"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/510e986bc952d6e7ed92254d8c8e47e6.jpg","text":"TemporaryFile(/tmp/multipartBody6009298521676648901asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442932643,"filename":"image_23042025_23_13_44_10705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/7f802ea51cbba25c6a584c9e07addb8e.jpg","text":"TemporaryFile(/tmp/multipartBody6318422999430315247asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442932643,"filename":"image_23042025_23_14_13_9716.jpg","height":0,"width":0}],"map_files_photo_id":{"file1":"1353197395","file0":"1353197341"},"map_files_photo_id_array":[{"photo_id":"1353197395","filename":"file1"},{"photo_id":"1353197341","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353197395":["hashtag1","hashtag2"]},{"1353197341":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353197395, 1353197341)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 2 photos
time to upload: 14.487135887145996 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:15:02.647145
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_55_10689.jpg', 2), ('/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_44_9682.jpg', 2), ('/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_34_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_24_10688.jpg', 2), ('/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_14_9706.jpg', 2), ('/home/nano/Desktop/images/14042025/22/00/image_14042025_22_01_04_9696.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_55_10689.jpg', '/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_44_9682.jpg', '/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_34_9681.jpg', '/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_24_10688.jpg', '/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_14_9706.jpg', '/home/nano/Desktop/images/14042025/22/00/image_14042025_22_01_04_9696.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_55_10689.jpg
/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_44_9682.jpg
/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_34_9681.jpg
/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_24_10688.jpg
/home/nano/Desktop/images/14042025/22/01/image_14042025_22_01_14_9706.jpg
/home/nano/Desktop/images/14042025/22/00/image_14042025_22_01_04_9696.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353198089","1353198028","1353198246","1353198141","1353197967","1353198194"],"photo_ids_order":["1353197967","1353198028","1353198089","1353198141","1353198194","1353198246"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ec810974f4b2100317f7824e425d0d72.jpg","text":"TemporaryFile(/tmp/multipartBody4366003219324798441asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442966239,"filename":"image_14042025_22_01_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/22eaafe9c652b44ab7076273f6265785.jpg","text":"TemporaryFile(/tmp/multipartBody5576340657216221192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442966239,"filename":"image_14042025_22_01_44_9682.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/ebe2e4761157b4efe4745588187997be.jpg","text":"TemporaryFile(/tmp/multipartBody3729073411197978870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442966239,"filename":"image_14042025_22_01_04_9696.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/fe66d52e6c289db75cc603bda42ba53d.jpg","text":"TemporaryFile(/tmp/multipartBody669434138859000862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442966239,"filename":"image_14042025_22_01_24_10688.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/f266eb063caf4eb17852e2bd7937b823.jpg","text":"TemporaryFile(/tmp/multipartBody469796120217772295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442966239,"filename":"image_14042025_22_01_55_10689.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/35a47803f30586213e1b45c781e25f5c.jpg","text":"TemporaryFile(/tmp/multipartBody2355383227471592775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745442966239,"filename":"image_14042025_22_01_14_9706.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353198089","file1":"1353198028","file0":"1353197967","file4":"1353198194","file5":"1353198246","file3":"1353198141"},"map_files_photo_id_array":[{"photo_id":"1353198246","filename":"file5"},{"photo_id":"1353198089","filename":"file2"},{"photo_id":"1353198194","filename":"file4"},{"photo_id":"1353198028","filename":"file1"},{"photo_id":"1353197967","filename":"file0"},{"photo_id":"1353198141","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353198089":["hashtag1","hashtag2"]},{"1353198028":["hashtag1","hashtag2"]},{"1353198246":["hashtag1","hashtag2"]},{"1353198141":["hashtag1","hashtag2"]},{"1353197967":["hashtag1","hashtag2"]},{"1353198194":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353198089, 1353198028, 1353198246, 1353198141, 1353197967, 1353198194)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 34.16137480735779 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:16:02.450019
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_34_10707.jpg', 2), ('/home/nano/Desktop/images/23042025/23/15/image_23042025_23_15_34_10706.jpg', 2), ('/home/nano/Desktop/images/23042025/23/14/image_23042025_23_14_54_10706.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_34_10707.jpg', '/home/nano/Desktop/images/23042025/23/15/image_23042025_23_15_34_10706.jpg', '/home/nano/Desktop/images/23042025/23/14/image_23042025_23_14_54_10706.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_34_10707.jpg
/home/nano/Desktop/images/23042025/23/15/image_23042025_23_15_34_10706.jpg
/home/nano/Desktop/images/23042025/23/14/image_23042025_23_14_54_10706.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353199201","1353199123","1353199046"],"photo_ids_order":["1353199046","1353199123","1353199201"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/6eb0f867c7d0b5601c4dcbd79389071a.jpg","text":"TemporaryFile(/tmp/multipartBody3230647515227606255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443023630,"filename":"image_23042025_23_14_54_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/e309b5349f666fd3f9129d593723e683.jpg","text":"TemporaryFile(/tmp/multipartBody4733198520324609760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443023630,"filename":"image_23042025_23_15_34_10706.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/94880d37c5657f2f092ac7d8897c3a61.jpg","text":"TemporaryFile(/tmp/multipartBody2262059163678654283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443023630,"filename":"image_23042025_23_16_34_10707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353199201","file1":"1353199123","file0":"1353199046"},"map_files_photo_id_array":[{"photo_id":"1353199201","filename":"file2"},{"photo_id":"1353199123","filename":"file1"},{"photo_id":"1353199046","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353199201":["hashtag1","hashtag2"]},{"1353199123":["hashtag1","hashtag2"]},{"1353199046":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353199201, 1353199123, 1353199046)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 19.15176820755005 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:16:31.987924
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_14_9720.jpg', 2), ('/home/nano/Desktop/images/23042025/23/15/image_23042025_23_16_04_10721.jpg', 2), ('/home/nano/Desktop/images/23042025/23/15/image_23042025_23_15_44_9695.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_14_9720.jpg', '/home/nano/Desktop/images/23042025/23/15/image_23042025_23_16_04_10721.jpg', '/home/nano/Desktop/images/23042025/23/15/image_23042025_23_15_44_9695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_14_9720.jpg
/home/nano/Desktop/images/23042025/23/15/image_23042025_23_16_04_10721.jpg
/home/nano/Desktop/images/23042025/23/15/image_23042025_23_15_44_9695.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353199599","1353200211","1353200018"],"photo_ids_order":["1353199599","1353200018","1353200211"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a97323213ba6e30d422ca3ed32f7007a.jpg","text":"TemporaryFile(/tmp/multipartBody7488838549259923156asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443053200,"filename":"image_23042025_23_16_14_9720.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/115c770e5dfd791829fc00702018f946.jpg","text":"TemporaryFile(/tmp/multipartBody7247309710260279043asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443053200,"filename":"image_23042025_23_15_44_9695.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/263c2fd6cd40d3278fcca2585378e798.jpg","text":"TemporaryFile(/tmp/multipartBody8786595024794631509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443053200,"filename":"image_23042025_23_16_04_10721.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353200211","file1":"1353200018","file0":"1353199599"},"map_files_photo_id_array":[{"photo_id":"1353200211","filename":"file2"},{"photo_id":"1353200018","filename":"file1"},{"photo_id":"1353199599","filename":"file0"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353199599":["hashtag1","hashtag2"]},{"1353200211":["hashtag1","hashtag2"]},{"1353200018":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353199599, 1353200211, 1353200018)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 3 photos
time to upload: 24.596257209777832 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:17:02.596418
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13042025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14042025
  port_id : 22346183
  datou_current_id : 2754703
in upload_from_sqlite, uploading in 22346183
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250403 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250404 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250405 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250406 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250407 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250408 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250409 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250410 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250411 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250412 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250413 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250414 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_54_9680.jpg', 2), ('/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_45_10691.jpg', 2), ('/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_34_9681.jpg', 2), ('/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_24_9708.jpg', 2), ('/home/nano/Desktop/images/14042025/21/59/image_14042025_22_00_04_9703.jpg', 2), ('/home/nano/Desktop/images/14042025/21/59/image_14042025_21_59_54_9687.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_54_9680.jpg', '/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_45_10691.jpg', '/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_34_9681.jpg', '/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_24_9708.jpg', '/home/nano/Desktop/images/14042025/21/59/image_14042025_22_00_04_9703.jpg', '/home/nano/Desktop/images/14042025/21/59/image_14042025_21_59_54_9687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2754703&datou=0
/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_54_9680.jpg
/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_45_10691.jpg
/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_34_9681.jpg
/home/nano/Desktop/images/14042025/22/00/image_14042025_22_00_24_9708.jpg
/home/nano/Desktop/images/14042025/21/59/image_14042025_22_00_04_9703.jpg
/home/nano/Desktop/images/14042025/21/59/image_14042025_21_59_54_9687.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353201066","1353200775","1353201138","1353200916","1353201374","1353201454"],"photo_ids_order":["1353200775","1353200916","1353201066","1353201138","1353201374","1353201454"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b980a8ee0cafae48a56216fe02a0a63d.jpg","text":"TemporaryFile(/tmp/multipartBody2220432999435287655asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443085308,"filename":"image_14042025_22_00_34_9681.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/333400432ea8571d248bb09617caa280.jpg","text":"TemporaryFile(/tmp/multipartBody6658492073923237020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443085308,"filename":"image_14042025_22_00_54_9680.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b9079334fe8e02e7be093f3601e1e3bd.jpg","text":"TemporaryFile(/tmp/multipartBody502321859923119802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443085308,"filename":"image_14042025_22_00_24_9708.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/b4772d889af1d84d38db0786efd558f3.jpg","text":"TemporaryFile(/tmp/multipartBody2945506658712630411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443085308,"filename":"image_14042025_22_00_45_10691.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/2da685f3a73e5b599d5667839fb557d0.jpg","text":"TemporaryFile(/tmp/multipartBody2294417753649556796asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443085308,"filename":"image_14042025_22_00_04_9703.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/27d5cd92279a7a988231b1952292ade2.jpg","text":"TemporaryFile(/tmp/multipartBody4286968499605098492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443085308,"filename":"image_14042025_21_59_54_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353201066","file1":"1353200916","file0":"1353200775","file4":"1353201374","file5":"1353201454","file3":"1353201138"},"map_files_photo_id_array":[{"photo_id":"1353201454","filename":"file5"},{"photo_id":"1353201066","filename":"file2"},{"photo_id":"1353201374","filename":"file4"},{"photo_id":"1353200916","filename":"file1"},{"photo_id":"1353200775","filename":"file0"},{"photo_id":"1353201138","filename":"file3"}],"portfolio_id":22346183,"hashtag_by_photo_ids":[{"1353201066":["hashtag1","hashtag2"]},{"1353200775":["hashtag1","hashtag2"]},{"1353201138":["hashtag1","hashtag2"]},{"1353200916":["hashtag1","hashtag2"]},{"1353201374":["hashtag1","hashtag2"]},{"1353201454":["hashtag1","hashtag2"]}],"comms":"Portfolio 22346183 used, photo_id : ArrayBuffer(1353201066, 1353200775, 1353201138, 1353200916, 1353201374, 1353201454)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 39.357738971710205 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --interval 10 --last_days 20 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:18:02.789675
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_44_10704.jpg', 2), ('/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_34_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/23/16/image_23042025_23_17_03_9705.jpg', 2), ('/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_54_9694.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_44_10704.jpg', '/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_34_9697.jpg', '/home/nano/Desktop/images/23042025/23/16/image_23042025_23_17_03_9705.jpg', '/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_54_9694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_44_10704.jpg
/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_34_9697.jpg
/home/nano/Desktop/images/23042025/23/16/image_23042025_23_17_03_9705.jpg
/home/nano/Desktop/images/23042025/23/16/image_23042025_23_16_54_9694.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1353202079","1353202268","1353202222","1353202155"],"photo_ids_order":["1353202079","1353202155","1353202222","1353202268"],"photo_detail":[{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/a908521759543f1f1bd255fa0f35e70f.jpg","text":"TemporaryFile(/tmp/multipartBody4100318592789211262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443144837,"filename":"image_23042025_23_17_44_10704.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/bc848093c1564ea4ba9e4eda1f8eff21.jpg","text":"TemporaryFile(/tmp/multipartBody9114482991627732224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443144837,"filename":"image_23042025_23_16_54_9694.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/0266036d382702114ac5a4e5720cbe21.jpg","text":"TemporaryFile(/tmp/multipartBody264529251150103907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443144837,"filename":"image_23042025_23_17_03_9705.jpg","height":0,"width":0},{"mtr_user_id":1042,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/4/23/690a043b5628d171c5ded0421ae0808a.jpg","text":"TemporaryFile(/tmp/multipartBody6830043308146943339asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1745443144837,"filename":"image_23042025_23_17_34_9697.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1353202222","file1":"1353202155","file0":"1353202079","file3":"1353202268"},"map_files_photo_id_array":[{"photo_id":"1353202222","filename":"file2"},{"photo_id":"1353202155","filename":"file1"},{"photo_id":"1353202079","filename":"file0"},{"photo_id":"1353202268","filename":"file3"}],"portfolio_id":22322020,"hashtag_by_photo_ids":[{"1353202079":["hashtag1","hashtag2"]},{"1353202268":["hashtag1","hashtag2"]},{"1353202222":["hashtag1","hashtag2"]},{"1353202155":["hashtag1","hashtag2"]}],"comms":"Portfolio 22322020 used, photo_id : ArrayBuffer(1353202079, 1353202268, 1353202222, 1353202155)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 24.4486141204834 secondes ---
Start to upload photos with parameters : -o DESC -n Sevran_3025 -u marlene.fotonower.com -f /home/nano/Desktop/images -t e243aac39fb012c084cfefeb2a6a3641 --datou_id=0 --threshold=89 -j upload_by_sql_test -v --last_days 20 --interval 10 --status_upload 2 --file_local_db /home/nano/.fotonower_config/sqlite.db
2025-04-23 23:18:32.201824
  port_id : 22322020
  datou_current_id : 2750420
in upload_from_sqlite, uploading in 22322020
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250423 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_43_9697.jpg', 2), ('/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_24_10706.jpg', 2), ('/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_13_9716.jpg', 2), ('/home/nano/Desktop/images/23042025/23/17/image_23042025_23_18_04_9707.jpg', 2), ('/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_54_9692.jpg', 2)]
in upload media
 Upload medias :  ['/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_43_9697.jpg', '/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_24_10706.jpg', '/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_13_9716.jpg', '/home/nano/Desktop/images/23042025/23/17/image_23042025_23_18_04_9707.jpg', '/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_54_9692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=e243aac39fb012c084cfefeb2a6a3641&datou_current_id=2750420&datou=0
/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_43_9697.jpg
/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_24_10706.jpg
/home/nano/Desktop/images/23042025/23/18/image_23042025_23_18_13_9716.jpg
/home/nano/Desktop/images/23042025/23/17/image_23042025_23_18_04_9707.jpg
/home/nano/Desktop/images/23042025/23/17/image_23042025_23_17_54_9692.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
